Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-16117

[Server] countDocsDeletedOnDonor name is misleading

    XMLWordPrintableJSON

Details

    Description

      Original Downstream Change Summary

      After this commit the results of the sharding statistics in the server status command will change, specifically countDocsDeletedOnDonor is now named countDocsDeletedByRangeDeleter.

      The description of this field should say in the docs:

      Cumulative, always-increasing count of documents that have been deleted on this member due to chunk migrations.

      Description of Linked Ticket

      countDocsDeletedOnDonor is a sharding statistic that is being updated every time a document is deleted by the range deleter. The name of the statistic ends up being misleading because the range deletion might also be triggered in the recipient by an aborted migration.

      To make this clearer, we could, for example, change the name of the statistic to countDocsDeletedByRangeDeleter

      Attachments

        Activity

          People

            jocelyn.mendez@mongodb.com Jocelyn Mendez
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              28 weeks, 6 days ago