-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
Labels:
-
Replication
-
ALL
Rollback has a check that oplog entries are under 500MB. It misleadingly claims this is the oplog size when it's really just the size of a single oplog entry. Oplog entries can't be larger than 16MB so this will always be true.
Status rollback_internal::updateFixUpInfoFromLocalOplogEntry(FixUpInfo& fixUpInfo, const BSONObj& ourObj) { const char* op = ourObj.getStringField("op"); if (*op == 'n') return Status::OK(); if (ourObj.objsize() > 512 * 1024 * 1024) throw RSFatalException(str::stream() << "Rollback too large, oplog size: " << ourObj.objsize());