[SERVER-31848] Range deleter unnecessarily logs on each iteration Created: 07/Nov/17  Updated: 30/Oct/23  Resolved: 09/Nov/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.6.0-rc2
Fix Version/s: 3.6.0-rc4

Type: Bug Priority: Minor - P4
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2017-11-13
Participants:

 Description   

The range deleter unnecessarily logs on each work iteration, producing spam in the logs:

d20000| 2017-11-06T18:06:10.286-0500 I SHARDING [conn18] Scheduling immediate deletion of sbtest.move_chunk range [{ _id: 75000.0 }, { _id: MaxKey })
d20000| 2017-11-06T18:06:10.286-0500 I SHARDING [conn18] Waiting for cleanup of sbtest.move_chunk range [{ _id: 75000.0 }, { _id: MaxKey })
d20000| 2017-11-06T18:06:10.312-0500 I SHARDING [Collection Range Deleter] Deleted 128 documents in sbtest.move_chunk range [{ _id: 75000.0 }, { _id: MaxKey })

This logging should either be removed or set at a higher level.



 Comments   
Comment by Githook User [ 09/Nov/17 ]

Author:

{'name': 'Kaloian Manassiev', 'username': 'kaloianm', 'email': 'kaloian.manassiev@mongodb.com'}

Message: SERVER-31848 Lower the range deleter log verbosity
Branch: master
https://github.com/mongodb/mongo/commit/6889e9fc52241b9e9976926ded29ba917abe714b

Comment by Githook User [ 09/Nov/17 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloianm@mongodb.com'}

Message: SERVER-31848 Cleanup CollectionRangeDeleter
Branch: master
https://github.com/mongodb/mongo/commit/5f9e9f4291d6d0b345844d55517cedeb1d190d65

Generated at Thu Feb 08 04:28:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.