[SERVER-3617] enforce minimum oplog size (probably 64M) Created: 16/Aug/11  Updated: 24/Sep/13  Resolved: 24/Sep/13

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

if smaller than max object size will get errors like this and the object will be inserted but not replicated:

Tue Aug 16 16:06:43 [conn2] insert test.foo exception: assertion db/pdfile.cpp:1880 5ms
Tue Aug 16 16:06:45 [clientcursormon] mem (MB) res:57 virt:12508 mapped:6174
Tue Aug 16 16:07:56 [conn2] couldn't make room for new record (len: 2097248) in capped ns local.oplog.$main
Extent 0 (capExtent)
magic: 41424344 extent->ns: local.oplog.$main
fr: null lr: null extent->len: 1052672
local.oplog.$main Assertion failure !loc.isNull() db/pdfile.cpp 1880
0x574233 0x573403 0x57a8a9 0x6f67a9 0x6b47d8 0x6b1d12 0x6de5b7 0x6e2544 0x6e376b 0x7ffff8 0x5d60f2 0x7fa6a8bf1d40 0x7fa6a7211aed
./mongod(_ZN5mongo15printStackTraceERSo+0x23) [0x574233]
./mongod(_ZN5mongo12sayDbContextEPKc+0xc3) [0x573403]
./mongod(_ZN5mongo8assertedEPKcS1_j+0xf9) [0x57a8a9]
./mongod() [0x6f67a9]
./mongod() [0x6b47d8]
./mongod(_ZN5mongo5logOpEPKcS1_RKNS_7BSONObjEPS2_Pb+0x42) [0x6b1d12]
./mongod(_ZN5mongo14checkAndInsertEPKcRNS_7BSONObjE+0xc7) [0x6de5b7]
./mongod(_ZN5mongo14receivedInsertERNS_7MessageERNS_5CurOpE+0x474) [0x6e2544]
./mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x114b) [0x6e376b]
./mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x88) [0x7ffff8]
./mongod(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x262) [0x5d60f2]
/lib/libpthread.so.0(+0x7d40) [0x7fa6a8bf1d40]
/lib/libc.so.6(clone+0x6d) [0x7fa6a7211aed]
Tue Aug 16 16:07:56 [conn2] insert test.foo exception: assertion db/pdfile.cpp:1880 4ms


Generated at Thu Feb 08 03:03:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.