Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-88230

Prevent resharding for unsharded capped collection from stashing collection

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • 149

      PM-3364 is enabling tracking of capped unsharded collection. Snapshot reads were unavailable for capped collections preventing resharding from running on capped collections (SERVER-86290 fixed it).

      The next error they are encountering is in the linked BF, it is an error for transactions on capped collections. Resharding stashes collection oplog entries from multiple donor nodes to ensure they are applied in order. The application happens inside the transaction. A capped unsplittable collection exists only on a single shard, so resharding can relax this restriction by not stashing the oplog entries for unsplittable/capped collection.

      Reproducer is attached to BF-32256

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            rachita.dhawan@mongodb.com Rachita Dhawan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: