[SERVER-76056] countDocsDeletedOnDonor name is misleading Created: 13/Apr/23  Updated: 06/Nov/23  Resolved: 10/May/23

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc1, 6.0.7, 5.0.19, 4.4.26

Type: Improvement Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: auto-reverted
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Documented
is documented by DOCS-16117 [Server] countDocsDeletedOnDonor name... Closed
Problem/Incident
Related
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0, v6.3, v6.0, v5.0, v4.4
Sprint: Sharding EMEA 2023-05-01, Sharding EMEA 2023-05-15
Participants:
Linked BF Score: 0

 Description   

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



 Comments   
Comment by Githook User [ 06/Nov/23 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-76056 Rename range deleter's docs deleted statistic from countDocsDeletedOnDonor to countDocsDeletedByRangeDeleter

(cherry picked from commit 5a3aafb2d7c938c7752a961a2266b9f7d1de6dae)
(cherry picked from commit 51f7854c4a91fcc029aebc578941e6b225dcb3bc)

GitOrigin-RevId: 5087a763c27dd26c43904801313dca6f9c6da1f6
Branch: v4.4
https://github.com/mongodb/mongo/commit/24fdae59c0c7f2a369d644eeab50e14b5ad1497b

Comment by Githook User [ 05/Nov/23 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-76056 Rename range deleter's docs deleted statistic from countDocsDeletedOnDonor to countDocsDeletedByRangeDeleter

(cherry picked from commit 5a3aafb2d7c938c7752a961a2266b9f7d1de6dae)
(cherry picked from commit 51f7854c4a91fcc029aebc578941e6b225dcb3bc)

GitOrigin-RevId: 2e224c19d4f8aa77de6034e8e2666f118fc6c6a2
Branch: v4.4
https://github.com/mongodb/mongo/commit/5087a763c27dd26c43904801313dca6f9c6da1f6

Comment by Githook User [ 05/Nov/23 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-76056 Rename range deleter's docs deleted statistic from countDocsDeletedOnDonor to countDocsDeletedByRangeDeleter

(cherry picked from commit 5a3aafb2d7c938c7752a961a2266b9f7d1de6dae)
(cherry picked from commit 51f7854c4a91fcc029aebc578941e6b225dcb3bc)

GitOrigin-RevId: 5b16077689965a30fbd878ed4615b1fd4a198881
Branch: v4.4
https://github.com/mongodb/mongo/commit/2e224c19d4f8aa77de6034e8e2666f118fc6c6a2

Comment by Githook User [ 04/Nov/23 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-76056 Rename range deleter's docs deleted statistic from countDocsDeletedOnDonor to countDocsDeletedByRangeDeleter

(cherry picked from commit 5a3aafb2d7c938c7752a961a2266b9f7d1de6dae)
(cherry picked from commit 51f7854c4a91fcc029aebc578941e6b225dcb3bc)

GitOrigin-RevId: 6dcbfddabe45baff7d782e1ccf2a5e6a390197e7
Branch: v4.4
https://github.com/mongodb/mongo/commit/5b16077689965a30fbd878ed4615b1fd4a198881

Comment by Githook User [ 01/Nov/23 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-76056 Rename range deleter's docs deleted statistic from countDocsDeletedOnDonor to countDocsDeletedByRangeDeleter

(cherry picked from commit 5a3aafb2d7c938c7752a961a2266b9f7d1de6dae)
(cherry picked from commit 51f7854c4a91fcc029aebc578941e6b225dcb3bc)

GitOrigin-RevId: 5ef7bd9126759c08304335f2a3d61235b1845683
Branch: v4.4
https://github.com/mongodb/mongo/commit/6dcbfddabe45baff7d782e1ccf2a5e6a390197e7

Comment by Githook User [ 16/May/23 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-76056 Rename range deleter's docs deleted statistic from countDocsDeletedOnDonor to countDocsDeletedByRangeDeleter

(cherry picked from commit 5a3aafb2d7c938c7752a961a2266b9f7d1de6dae)
(cherry picked from commit 51f7854c4a91fcc029aebc578941e6b225dcb3bc)
Branch: v5.0
https://github.com/mongodb/mongo/commit/ac697ae13dcb5567e34fe5a98bfa3ea2fdedb175

Comment by Githook User [ 16/May/23 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-76056 Rename range deleter's docs deleted statistic from countDocsDeletedOnDonor to countDocsDeletedByRangeDeleter

(cherry picked from commit 5a3aafb2d7c938c7752a961a2266b9f7d1de6dae)
(cherry picked from commit 51f7854c4a91fcc029aebc578941e6b225dcb3bc)
Branch: v6.0
https://github.com/mongodb/mongo/commit/6debd13407dc492aef1cec39b45c7cc9203a5d52

Comment by Githook User [ 16/May/23 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-76056 Rename range deleter's docs deleted statistic from countDocsDeletedOnDonor to countDocsDeletedByRangeDeleter

(cherry picked from commit 5a3aafb2d7c938c7752a961a2266b9f7d1de6dae)
(cherry picked from commit 51f7854c4a91fcc029aebc578941e6b225dcb3bc)
Branch: v7.0
https://github.com/mongodb/mongo/commit/233c94ec552de06e7eca9ce782f0738b7b995906

Comment by Githook User [ 10/May/23 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-76056 Fix multiversion scenario checking both countDocsDeletedOnDonor and countDocsDeletedByRangeDeleter
Branch: master
https://github.com/mongodb/mongo/commit/51f7854c4a91fcc029aebc578941e6b225dcb3bc

Comment by Githook User [ 09/May/23 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-76056 Rename range deleter's docs deleted statistic from countDocsDeletedOnDonor to countDocsDeletedByRangeDeleter
Branch: master
https://github.com/mongodb/mongo/commit/5a3aafb2d7c938c7752a961a2266b9f7d1de6dae

Comment by xgen-buildbaron-user [ 08/May/23 ]

Ticket re-opened due to revert. sharding_config_shard began a consistent failure of jstests/sharding/sharding_statistics_server_status.js

Comment by Githook User [ 08/May/23 ]

Author:

{'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}

Message: Revert "SERVER-76056 Rename range deleter's docs deleted statistic from countDocsDeletedOnDonor to countDocsDeletedByRangeDeleter"

This reverts commit dfd6b367420e4c2c1d63aaa48a5ef622e65affad.
Branch: master
https://github.com/mongodb/mongo/commit/3adcdac21fb8a2add8a0755f31984c493399a4c7

Comment by Githook User [ 08/May/23 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-76056 Rename range deleter's docs deleted statistic from countDocsDeletedOnDonor to countDocsDeletedByRangeDeleter
Branch: master
https://github.com/mongodb/mongo/commit/dfd6b367420e4c2c1d63aaa48a5ef622e65affad

Generated at Thu Feb 08 06:31:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.