Skip to content

Conversation

@GromNaN
Copy link
Member

@GromNaN GromNaN commented Nov 24, 2025

@GromNaN GromNaN changed the title PHPLIB-1725 Add Session::getSnapshotTime in spec tests [skip ci] PHPLIB-1725 Add Session::getSnapshotTime in spec tests Nov 24, 2025
return $session->endSession();

case 'getSnapshotTime':
throw new \RuntimeException('TODO: Implement getSnapshotTime');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean to add test skips to this PR? Or is it really waiting on PHPLIB-1725 to implemented? I think we're going to need a PHPC ticket between that and CDRIVER-6098 to track the MongoDB\Driver\Session API changes.

I found this property documented in ClientSession Changes in the Snapshot Sessions spec. The change dates back to mongodb/specifications@03795d2 and DRIVERS-2782, although the JIRA title doesn't mention this field.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've followed up as DRIVERS-2782 is still in review, meaning that the downstream tickets are still blocked. That said, I've cloned PHPLIB-1725 to PHPC-2658 as we have to expose this as a new method in the MongoDB\Driver\Session class first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants