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

Fail collMod command converting index uniqueness when using wiredtiger in-memory engine

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

      When converting an index to unique/non-unique, we need to call alter on wiredtiger to change the index table's metadata. This is a no-op in the in-memory engine right now so the collMod command will not work correctly.

      We should fail the command early for in-memory storage engine.

      As part of the ticket, we should also investigate the implication in replication when there are a mix of nodes running on-disk and in-memory storage engine.

            Assignee:
            Unassigned Unassigned
            Reporter:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: