[SERVER-26777] Improve logging around chunk metadata refresh Created: 25/Oct/16  Updated: 07/Dec/16  Resolved: 27/Oct/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.2.10, 3.4.0-rc1
Fix Version/s: 3.4.0-rc2

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

Issue Links:
Related
related to SERVER-25652 Slow chunk migrations when there are ... Closed
Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: Sharding 2016-10-31
Participants:
Case:

 Description   

The logging around chunk metadata refresh is confusing and is only done after the load has completed. This means that long refresh operations (which happen under a mutex) will block other calls, but will not output anything until the call completes.

In addition they are inconsistent between mongos and the shards.



 Comments   
Comment by Githook User [ 31/Oct/16 ]

Author:

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

Message: SERVER-26777 Improve logging around chunk refresh

(backport of commit e8cbb32624663fdf59f6df752594e5295c55247c)
Branch: v3.2
https://github.com/mongodb/mongo/commit/8f33cb99fc63a78d4398c5f286a5a34f97b91d52

Comment by Githook User [ 27/Oct/16 ]

Author:

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

Message: SERVER-26777 Improve logging around chunk refresh

Unifies the logging messages between mongos and mongod and adds timing
information.
Branch: master
https://github.com/mongodb/mongo/commit/e8cbb32624663fdf59f6df752594e5295c55247c

Comment by Kaloian Manassiev [ 27/Oct/16 ]

Author:

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

Message: SERVER-26683 Improve logging on catalog errors
Branch: master
https://github.com/mongodb/mongo/commit/78418816ec74ff0b9f48cf4e59b2b7fde13bd919

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