1. 09 Jul, 2019 5 commits
    • Jeremy Mikola's avatar
      PHPLIB-451: ChangeStream::rewind() should never execute getMore · 84c365c0
      Jeremy Mikola authored
      Tests were revised to no longer expect rewind() to encounter an error and resume. In most tests, rewind() is a NOP because the change stream has no events to return upon creation.
      
      Since Watch now always executes aggregate commands with APM, the check for startAtOperationTime support was moved to createResumeCallable(). We continue to only capture operationTime from the very first aggregate command.
      
      Various assertions for current() returning null were also changed to instead check valid(). Both forms are equivalent, but checking valid() is more consistent with our iteration examples.
      84c365c0
    • Jeremy Mikola's avatar
      PHPLIB-451: Internal TailableCursorIterator class · b6c7f117
      Jeremy Mikola authored
      This can be used to ensure rewinding is a NOP (i.e. getMore will not be executed) for tailable cursors with an empty firstBatch.
      b6c7f117
    • Jeremy Mikola's avatar
      Use w:majority for operations in change stream tests · 746c0f07
      Jeremy Mikola authored
      This will avoid spurious test failures due to timing and ensure that each acknowledged write is returned in the next change stream iteration.
      746c0f07
    • Jeremy Mikola's avatar
      Merge pull request #637 · 80cee6f6
      Jeremy Mikola authored
      80cee6f6
    • Jeremy Mikola's avatar
      PHPLIB-407: Support startAfter change stream option · d49ab3ab
      Jeremy Mikola authored
      Note: this does not address using the startAfter option for resuming. That will be implemented in PHPLIB-411 with the introduction of a resume token accessor method and support for postBatchResumeToken.
      d49ab3ab
  2. 03 Jul, 2019 6 commits
  3. 02 Jul, 2019 9 commits
  4. 25 Jun, 2019 12 commits
  5. 21 Jun, 2019 8 commits