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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-rc2, 4.7.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Execution Team 2020-05-04
    • Linked BF Score:
      17

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: