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

TTL monitor doesn't sync userFlags on the secondary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 2.2.0-rc0
    • Fix Version/s: 2.2.0-rc1
    • Component/s: Usability
    • Labels:
      None
    • Operating System:
      ALL

      Description

      The TTL monitor syncs the collection-level userFlags when it runs. This is what triggers TTL collections to use the usePowerOf2Sizes feature to prevent fragmentation. Currently, if you create a TTL index on the primary, the index gets propagated to the secondary, but the userFlags don't get set on the secondary, because the TTL monitor returns immediately. This can cause large fragmentation on the secondaries.

      To fix this, the TTL monitor should sync the userFlags on the secondary (it just shouldn't do any deletes).

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: