Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-71924

Reduce verbosity of chunk merge change log event

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0, 6.0.5
    • Affects Version/s: 6.0.3, 6.2.0-rc2
    • Component/s: None
    • None
    • Sharding EMEA
    • Fully Compatible
    • v6.2, v6.0
    • Sharding EMEA 2023-01-09, Sharding EMEA 2023-01-23

      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.

            silvia.surroca@mongodb.com Silvia Surroca
            tommaso.tocci@mongodb.com Tommaso Tocci
            0 Vote for this issue
            2 Start watching this issue