Cosmos DB SQL API MaxItemCount pagination consistency across concurrent writes
Goal: Paginate a large Azure Cosmos DB SQL API container using MaxItemCount and continuation tokens while preventing skipped or duplicated items when concurrent writes occur between pages. Constraints: Continuation tokens reflect the indexed state at query start and are not isolated snapshots. Session consistency can return different values across pages unle