这个错误是replica set中经常看到的一个错误,原因是主节点记录插入的记录速度超过了oplog的同步,官方有这个错误的解释,以及一些处理的方法。http://www.mongodb.org/display/DOCS/Resyncing+a+Very+Stale+Replica+Set+Member
官方介绍了几种解决的方法:一个是重新完全同步,需要把原来的数据全部删除。一个是从另外一个节点拷贝一份数据,完了做快速同步。第三种方法,1.8以上的已经不需要了,可以忽略。
大家知道replica set是通过oplog记录操作,并且主副节点的同步都是通过oplog来同步的,那么如果oplog不够大,而且同步的速度跟不上oplog的插入速度,那么就会造成error RS102错误。所以在设置oplog的时候不要太小
分享到:
相关推荐
mongodb主从结构的配置的配置文件,从公司服务器上下载下来的,分享给大家参考参考。
$ docker build -t stale-issue-cleanup .$ docker run --label stale-issue-cleanup --env-file test/local-docker.env stale-issue-cleanup 出来配置您的本地测试选项。 当您对它的工作方式满意后,就可以创建一...
《2007年10月浙江自考试题单片机原理及应用试卷》 《2008年1月自考历年试题浙江单片机原理及应用试卷》 《江省2008年10月自考试题单片机原理及应用》 《浙江省2009年1月自考单片机原理及应用试题》等共16份
Progress report: Project catch-up: An educational program for junior high students from American-Indian, Mexican And Caucasian ethnic backgrounds PROGRESS REPORT: PROJECT CATCH-UP: AN EDUCATIONAL ...
Stale Android Toasts made tasty. Android Toasts are amazing, but they have a few major drawbacks: You cannot control when they show up as well as their duration. Other apps can enqueue toasts that ...
一、Vlc视频播放器的plugins文件lib库支持win_x86和win_x64。 二、c#实现vlc视频播放器的源代码。
根据以下模板创建.github/stale.yml 。 它将在24小时内开始扫描陈旧问题和/或请求请求。 要启用该插件,需要一个.github/stale.yml文件。 该文件可以为空,或者可以覆盖以下任何默认设置: # Configuration for ...
* "git clone --recurse-submodules" learned to set up the submodules to ignore commit object names recorded in the superproject gitlink and instead use the commits that happen to be at the tip of ...
Resolved issue 2749: Update Switch To Frame error checks to match latest W3C spec [[Pri-3]] Resolved issue 2716: Clearing Text Boxes [[Pri-3]] Resolved issue 2714: ConnectException: Failed to connect ...
Resolved issue 2749: Update Switch To Frame error checks to match latest W3C spec [[Pri-3]] Resolved issue 2716: Clearing Text Boxes [[Pri-3]] Resolved issue 2714: ConnectException: Failed to connect ...
构建gem的目的是实现一个类,该类将为ActionController::ConditionalGet#stale?创建选项ActionController::ConditionalGet#stale? 方法。 它允许缓存任何类型的对象,而不仅仅是记录或集合(不同于#stale? )。安装...
Commercial Web search engines have to process user queries over huge Web indexes under tight latency constraints. In practice, to achieve low latency, large result caches are employed and a portion of...
Inspire people to pick up the development for other platforms (yes you @predominant) The Original Challenges Challenge Index 01 - Hello World 02 - Hello Image 03 - Hello Image World 04 - Hello Y
In addition, it helps individuals who have worked in stale- or siloed-thinking enterprises make the transition to a process or improvement-oriented culture and teaches those who are unfamiliar with ...
百度新闻是中国著名的中文新闻平台,在PC、移动商每日分别获得数千万用户浏览。虽然百度新闻已在移动端坐拥超级人气,但如何合理规划 资源,实现收入飞跃?如何平衡广告展现与用户体验?种种问题,不仅困扰着百度...
It then pops up advice showing you how to edit each sentence. Using StyleWriter typically cuts 25 percent of the words from the document and removes the stale writing habits so common in ...
Progress report: Project catch-up: An educational program for junior high students from American-Indian, Mexican And Caucasian ethnic backgrounds PROGRESS REPORT: PROJECT CATCH-UP: AN EDUCATIONAL ...
Even ifthe content is slightly stale, even ifyou don't have any ofthe devices listed in the tutorial chapters, we still urge you to read it carefully so that you are better prepared to understand as ...
陈旧的插件-使您的Dokuwiki缓存陈旧关于Stale是一个,用于触摸配置文件(即,仅更改修改日期,而不更改内容),以使缓存变旧。 为什么 ? 因为这些文件是缓存依赖项,如果被触摸,则将禁止下一个请求使用缓存。配置...
语言:English 如果您正在阅读旧的新闻文章,此扩展名将警告您 此扩展名可检查新闻文章的日期,并在您阅读旧文章时警告您-有助于突出显示(并希望防止)伪装成社交媒体当前新闻的旧新闻。 当前受支持:BBC新闻,CNN,...