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

Investigate behavior when query against unsharded collection runs concurrently with shardCollection and moveChunk

    XMLWordPrintable

Details

    • Task
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Suppose a query is running against an unsharded collection and a concurrent 'shardCollection' shards the collection and a 'moveChunk' moves a chunk away from the primary shard. When the query yields and reacquires a snapshot of the collection, it's not clear whether there's anything that will protect the query from 'observing' that the collection has not only become sharded, but also some of the data has moved away from the primary shard. This ticket tracks the work to write a test that demonstrates the current behavior of the above scenario.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-sharding Backlog - Sharding Team
              mihai.andrei@mongodb.com Mihai Andrei
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: