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

Investigate standardizing batch bounds between data consistency vs extra index keys check

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

      in collection check vs extra index keys check, we’re not consistent about whether we overlap the end of a batch vs the start of the next batch. In collection check we might split up batches like {{

      {start: minKey, end: 0}

      , {start: 0, end: 1}, {start: 1, end: maxKey}}} whereas in extra index keys check it would be like {{

      {start: minKey, end: 0}

      , {start: 1, end: 1}, {start:2, end: maxKey}.}} Essentially collection check expects end and start to overlap, whereas extra index keys check expects them to not overlap. We should see if we can standardize this.

            Assignee:
            Unassigned Unassigned
            Reporter:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: