jstest + design: FLE update must handle shard-key change cleanly

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Companion artifact for SERVER-96199 (FLE update to shard key fails).

      Identified collision: FLE re-write of BatchedCommandRequest drops WCOS flag, shard-key-change internal txn spawns with stmtId=0, dedup collapses, abort. Test is contract-shaped (accepts success OR clean structured error).

      Files in worktree mongo-w4-30:

      • jstests/fle2/fle_update_shard_key_field.js
      • src/mongo/db/SERVER-96199-design.md

      Status: Draft.

            Assignee:
            Unassigned
            Reporter:
            Mehar Grewal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: