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

Increase analyzeShardKeySplitPointExpirationSecs in analyze_shard_key.js workload

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Cluster Scalability 2023-11-13
    • 42
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The analyze_shard_key.js workload sets analyzeShardKeySplitPointExpirationSecs to 10 and ttlMonitorSleepSecs to 1. Based on HELP-30625, it may take more than 10 seconds for the $_analyzeShardKeyReadWriteDistribution aggregate command to start runnnig and reading the split point documents. Consequently, no split point documents are found (since they have already been deleted by the TTL monitor). To avoid this scenario, we should increase analyzeShardKeySplitPointExpirationSecs to a larger value.  

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: