[SERVER-71924] Reduce verbosity of chunk merge change log event Created: 07/Dec/22  Updated: 29/Oct/23  Resolved: 12/Jan/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 6.0.3, 6.2.0-rc2
Fix Version/s: 6.3.0-rc0, 6.0.5

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

Issue Links:
Backports
Related
related to SERVER-72849 Complete TODO listed in SERVER-71924 Closed
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.2, v6.0
Sprint: Sharding EMEA 2023-01-09, Sharding EMEA 2023-01-23
Participants:

 Description   

After committing a chunks merge operation we emit a change log event containing all the merged chunks. Thus if we are merging 1000 chunks the relative event will contain a list of 1000 chunks.
I think there is no need to list all the merged chunks and instead we could simply include in the log event:

  • The new merged chunks from which we can infer the range (min/max) that we merged
  • Total number of merged chunks.


 Comments   
Comment by Githook User [ 13/Jan/23 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-71924 Reduce verbosity of chunk merge change log event

(cherry picked from commit 04df1909dad97e26e26d45e6dfabf60ec67e20a9)
Branch: v6.0
https://github.com/mongodb/mongo/commit/1b13e43a0c1262c6390f448d0ed692a9caa27166

Comment by Githook User [ 12/Jan/23 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-71924 Reduce verbosity of chunk merge change log event
Branch: master
https://github.com/mongodb/mongo/commit/04df1909dad97e26e26d45e6dfabf60ec67e20a9

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