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

Remove invariant that fast count is 0 when creating an index on an empty collection

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc2, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-05-04
    • 17

      This invariant tests a legal condition, and should be removed.

      After an unclean shutdown fast-counts can be inaccurate Fast counts are not valid during startup recovery, so the number of records may not be correct even if the collection is empty.

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: