Operational Defect Database

BugZero found this defect 26 days ago.

MongoDB | 2651736

Retry _flushRoutingTableCacheUpdates command if it fails in retry_on_transient_error_basic.js

Last update date:

4/23/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

The _flushRoutingTableCacheUpdates command can fail if run right after startup. This is because _flushRoutingTableCacheUpdates requires a key in the key cache to correctly work. However on startup, the key cache is empty and the KeyCollectionManager which periodically refreshes keys into the key cache is not guaranteed to be run by the time _flushRoutingTableCacheUpdates is run. I think the easiest solution is just to have the retry_on_transient_error_basic.js retry the _flushRoutingTableCacheUpdates command if it fails (via assert.soon).

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...