[SERVER-50815] Improve database and collection version formatting on logs Created: 09/Sep/20  Updated: 29/Oct/23  Resolved: 01/Oct/20

Status: Closed
Project: Core Server
Component/s: Logging, Sharding
Affects Version/s: None
Fix Version/s: 4.8.0

Type: Task Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Sergi Mateo Bellido
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-46199 Implement collection cache on top of ... Closed
Related
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-10-05
Participants:

 Description   

At the moment the ComparableCollectionVersion and the ComparableDatabaseVersion are logged by the CatalogCache during refreshes, the problem is that at the moment they are formatted like this:

1|1|2||5f58e81dd7240de70041ca78|1

This makes difficult to understand which number conrespond to which component of the collection version.



 Comments   
Comment by Githook User [ 01/Oct/20 ]

Author:

{'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}

Message: SERVER-50815 Improve database and collection version formatting on logs
Branch: master
https://github.com/mongodb/mongo/commit/bfd22982681e0af44f52b586b432091174d17945

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