You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When isCosmosDb is true, all LSN production must use wall-clock timestamps
(second precision, increment 0) to be consistent with getEventTimestamp()
wallTime-derived LSNs. Previously, createCheckpoint still used
session.operationTime (which has real increments) in some paths, causing
LSN comparisons to fail when both timestamps fell in the same second.
Changes:
- createCheckpoint accepts isCosmosDb option — skips operationTime,
always uses wall clock
- Removed wallclock-lsn mode in favor of isCosmosDb flag
- getClientCheckpoint (test util) passes isCosmosDb through
- Fixed test assertion (sentinel checkpoint: exact ID instead of matcher)
- Fixed resume test (set syncRulesContent on second context)
- Skipped write checkpoint test (needs real Cosmos DB, not cosmosDbMode)
0 commit comments