Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-379

Capture default startAtOperationTime for change stream from Session instead of APM

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.4.0
    • Component/s: None
    • None

      When PHPLIB-351 added support for resuming change streams via startAtOperationTime, we resorted to capturing the operationTime from the initial aggregate command using APM. Since aggregate always uses a session, let's see if we can instead pull the operationTime from that session, since libmongoc should update the sessions operation time from any command responses.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: