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

Structured log improvements to split_vector/chunk_splitter lines 22107 and 21908

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v4.4

    Description

      Log line 22107 ("Requested split points lookup") logs dehydrated minKey and maxKey attributes as structured data, which for compound shard keys could present the same parsing difficulties for duplicate key names discussed in SERVER-50432.

      An operationally related log line, 21908 ("autpsplitted chunk") does have a readable, hydrated chunk range, but it's within a single semi-structured chunk string that includes shard, lastmod, and a hydrated chunk key range (this seems to be from chunk.toString().

      I think that ideally we would have the best of both worlds in each of these lines, structured data AND a hydrated key range.

      To provide a specific request as a strawperson:

      1) In 22107, hydrate minKey and maxKey values
      2) In 21908, replace the chunk attribute with separate lastmod and hydrated minKey, and maxKey attributes (omitting shard given that autosplitting is now local to the node)

      Attachments

        Issue Links

          Activity

            People

              paolo.polato@mongodb.com Paolo Polato
              eric.sedor@mongodb.com Eric Sedor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: