[SERVER-53471] Set rangeDeleterBatchSize to 128 Created: 21/Dec/20  Updated: 29/Oct/23  Resolved: 30/Dec/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 4.4.0, 4.4.1, 4.9.0, 4.4.2, 4.4.3
Fix Version/s: 4.9.0, 4.4.4

Type: Improvement Priority: Major - P3
Reporter: Garaudy Etienne Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
Related
related to DOCS-14078 Improve range deletion batch size doc... Closed
is related to SERVER-53463 Consider making the range-deleter syn... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Sharding 2021-01-11
Participants:
Case:
Linked BF Score: 0

 Description   

The range deleter batch size default value changed from 128 in MongoDB 4.2 to 1000 in MongoDB 4.4. This increased batch size speeds up overall range deletion. However it has led to a large number of chunk migrations failing. 

As a short-term fix, we would like to return to the 4.2 behavior by defaulting the rangeDeleterBatchSize value to 128. 

 



 Comments   
Comment by Ian Whalen (Inactive) [ 04/Jan/21 ]

Author:

{'username': u'evrg-bot-webhook', 'name': u'Pierlauro Sciarelli', 'email': u'pierlauro.sciarelli@mongodb.com'}

Message:SERVER-53471 use generated range deleter batch size (BACKPORT-8382)
Branch:v4.4
https://github.com/mongodb/mongo/commit/d32a8806d61a8c919815ce1fc92cc5855205b8f3

Comment by Githook User [ 04/Jan/21 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-53471 use generated range deleter batch size
Branch: master
https://github.com/mongodb/mongo/commit/801219cbc992f929abb0135d7425bedeb7587297

Comment by Githook User [ 04/Jan/21 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-53471 Set rangeDeleterBatchSize to 128 (BACKPORT-8382)
Branch: v4.4
https://github.com/mongodb/mongo/commit/3295541026dc0af5215478670585fc497b5d8728

Comment by Githook User [ 30/Dec/20 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-53471 Set rangeDeleterBatchSize to 128
Branch: master
https://github.com/mongodb/mongo/commit/95c5037e67db28463465b34f33a62872226508eb

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