1. 30 Jul, 2019 2 commits
  2. 29 Jul, 2019 9 commits
  3. 26 Jul, 2019 2 commits
  4. 25 Jul, 2019 7 commits
  5. 23 Jul, 2019 1 commit
  6. 16 Jul, 2019 4 commits
  7. 15 Jul, 2019 2 commits
  8. 13 Jul, 2019 1 commit
  9. 11 Jul, 2019 8 commits
  10. 09 Jul, 2019 4 commits
    • Jeremy Mikola's avatar
      Merge pull request #636 · 8c7a92cc
      Jeremy Mikola authored
      8c7a92cc
    • 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