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

Balancer stats generation calls 'listDatabases' on shards without maxTimeMS or timeout

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.4.4, 3.5.8
    • 3.4.6, 3.5.9
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • Sharding 2017-06-19

    Description

      The sharding balancer's statistics generation uses shardutil::retrieveTotalShardSize on each round in order to retrieve the shard's storage utilization.

      This in turn calls listDatabases against the shard, but does not use maxTimeMS or timeout, which can cause the balancer to get stuck indefinitely.

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: