Operational Defect Database

BugZero found this defect 82 days ago.

MongoDB | 2591351

Unexpected checkpoint taken at start time

Last update date:

3/11/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

The checkpoint coordinator takes a checkpoint based (amongst other things) on the time delta between `steady_clock::now()` and `_lastCheckpointTimestamp` (here)] However `_lastCheckpointTimestamp` is only being default constructed and so starts off at the epoch of `steady_clock` which in general might already be behind `now()` by more than the checkpoint interval. So we may end up with an unexpected checkpoint at start time.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...