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

implement insert into system.indexes codepath using createIndexes command

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc0
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • Labels:
      None
    • Fully Compatible

      In instance.cpp:
      receivedInsert() should call into createIndexes command logic.
      checkAndInsert() should fassert if it is called to insert into system.indexes.

      Note: in batch_executor.cpp, singleCreateIndex() needs a similar modification. The error handling is different than for receivedInsert() but the rest of the logic should be the same.

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: