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

Create serverStatus metrics for determining how many collections are using recordIdsReplicated:true

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution

      The point of this metric is to be able to determine whether all a user's collections use recordIdsReplicated:true or not. The goal is for there to be a formula:

      // Below "user replicated collections" are collections that are replicated via
      // the oplog, i.e. collections that are NOT in the 'local' (unreplicated DB),
      // 'config' (not user DB) or 'admin' (not user DB) databases
      bool canDowngrade = ("total user replicated collections" - "total user replicated collections with recordIdsReplicated:true") == 0;
      

      So if the "total user replicated collections" metric is wrong, we need to fix that here too or provide a new metric to get that stat.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: