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

actionlog should not log every single balancer round

    • Fully Compatible
    • v3.0
    • Sharding 10 (02/19/16), Sharding 11 (03/11/16)

      The sharding config collection actionlog added for SERVER-8752 logs every single balancer round, including when the balancer acquires the balancer lock and finds absolutely nothing to do.

      If you have several dozen mongos processes, it's conceivable that each of these balancing rounds will be happening every second or two and since actionlog is 2MB capped collection, after about 3-4 hours we will have overwritten all previous actions. Is there value of recording "balancer thread woke up, got the lock, found nothing to do and did nothing"? If there was nothing to do during balancing round, did it really happen? Even if it did, is there any value to recording that over and over again?

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: