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

Consider sleeping only if there are more to fetch in ReshardingOplogFetcher

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Cluster Scalability
    • 5

    Description

      Consider moving this sleep to maybe the following then statement. And perhaps change this line to something like this:

      // original comment on why we're sleeping
      return executor->sleepFor(Seconds{1}, cancelToken).then([...] {
        return _reschedule(std::move(executor), cancelToken, factory);
      });
      

      Attachments

        Activity

          People

            backlog-server-cluster-scalability Backlog - Cluster Scalability
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: