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

Call GLE after shard major version change for shardedConns

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None

    Description

      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 )

      Attachments

        Activity

          People

            greg_10gen Greg Studer
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: