Replace sleep based loop with condition variable when transitioning to catchup phase in initialSync

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      When transitioning from kCollectionCopy phase to kCatchupPhase, the I/O thread waits till the changeEvents buffer is drained. This wait is currently done using a while loop that sleeps till the condition we want is met.

      Replace this with a condition variable.

            Assignee:
            Unassigned
            Reporter:
            Mayuresh Kulkarni
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: