Skip to content

Add latestCommittedWriteRegion ReadConsistencyStrategy #49007

@jeet1995

Description

@jeet1995

Summary

The CosmosClient instance should be able to route read requests to the write region and perform quorum reads against that write region.

Details

Add a new latestCommittedWriteRegion value to the ReadConsistencyStrategy enum that:

  • Routes read requests to the current write region
  • Performs quorum reads against that write region
  • Ensures reads reflect the latest committed writes

Motivation

This enables strong consistency reads by targeting the write region directly, avoiding cross-region replication lag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConsistencyCosmosfeature-requestThis issue requires a new behavior in the product in order be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions