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

The Config Server primary should run resetPlacementHistory() when needed as part of its initialisation

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing

      The config.placementHistory contains a log of which shards stored data of user collections/databases throughout the time. Its consistency state and schema versioning is described by a couple of special documents (called "placement history initialization markers"), which causes a sub-optimal handling of change stream resources when missing or stale.

      Such a situation may be manually corrected  today through the invocation of the resetPlacementHistory command - but it should be automatically handled as part of the config server initialization for proper user experience.

            Assignee:
            Unassigned Unassigned
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: