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

Make the estimation of remaining time in resharding more robust

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2021-05-17
    • Story Points:
      1

      Description

      The resharding coordinator consumes the estimation of remaining operation time, reported by the recipients, to engage the critical section when recipients are about to finishing cloning and applying oplog entries.

      However, the estimation does not consider the possibility of having no oplog entries to fetch/apply. When there are no oplog entries to fetch, the estimation algorithm assumes fetching/applying oplog entires will take as long as the duration of cloning from donors, and the estimated remaining time will never reach zero. This would prevent the coordinator from automatically engaging the critical section.

      This ticket should improve the estimation algorithm (here) to account for the aforementioned situations.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              janna.golden Janna Golden
              Reporter:
              amirsaman.memaripour Amirsaman Memaripour
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: