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

Generate index idents outside of the DurableCatalog

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

      Objective

      Push index ident generation outside of the DurableCatalog while maintaining consistency between a catalog entry's 'idxIdent' and 'md.indexes'. 

      Current Code Structure
      Today, an entry in the Durable Catalog contains both
          (1) metadata ("md") with "md.indexes", an array with "IndexMetadata
          (2) "idxIdent" that is a mapping between an "index name" to "ident"
      The top level "idxIdent" holds information about where the index table is stored by the storage engine and 'md.indexes' holds information about each index (key pattern, uniqueness, etc). 

      To create an index table we

      In order to push index ident generation outside the DurableCatalog, we need a new way to ensure consistency between 'idxIdent' and 'md.indexes' for a catalog entry

            Assignee:
            Unassigned Unassigned
            Reporter:
            haley.connelly@mongodb.com Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None