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

Consider sleeping only if there are more to fetch in ReshardingOplogFetcher

    • Cluster Scalability
    • Fully Compatible
    • ClusterScalability Mar31-Apr14
    • 5
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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);
      });
      

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None