mongodb-partners / mongo-rocks

MongoDB storage integration layer for the Rocks storage engine
401 stars 100 forks source link

collection count may mismatch when rename collection #156

Closed wolfkdy closed 4 years ago

wolfkdy commented 4 years ago

mongoRocks did not implement "okToRename" interface, in which counterMgr should do a flush.

wolfkdy commented 4 years ago

Not quite sure but it seems legacy. since the very early implementation, okToRename is left blank.

wolfkdy commented 4 years ago

it won't happen since the ident is not changed during rename. Though official mongodb does a size-storer but I still think it is not necessary.