Call GLE after shard major version change for shardedConns

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This would preserve the ordering of unverified inserts to mongodb without the need to call GLE after every update, even if a version change occurred resulting in the updates being redirected via the WritebackListener.

      Optimizations could also be added so that GLE would only be called once-per-migration-per-mongos (this could also be done for setShardVersion as well), and inserts or updates in the same ns not impacted by the migration could be allowed to continue in the meantime.

      conn.waitForShardVersionIfNeeded( update )

            Assignee:
            Greg Studer (Inactive)
            Reporter:
            Greg Studer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: