Skip to content

[Session] fix MongoDb session handler to gc all expired sessions #24448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 5, 2017

Conversation

Tobion
Copy link
Contributor

@Tobion Tobion commented Oct 5, 2017

Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

MongoDB session handler gc wrongly only deleted one random expired session instead of all of them.
Care when merging to master as this will conflict with #24447

@fabpot
Copy link
Member

fabpot commented Oct 5, 2017

Thank you @Tobion.

@fabpot fabpot merged commit e6895bf into symfony:2.7 Oct 5, 2017
fabpot added a commit that referenced this pull request Oct 5, 2017
…ssions (Tobion)

This PR was merged into the 2.7 branch.

Discussion
----------

[Session] fix MongoDb session handler to gc all expired sessions

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md files -->
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

MongoDB session handler `gc` wrongly only deleted one random expired session instead of all of them.
Care when merging to master as this will conflict with #24447

Commits
-------

e6895bf [Session] fix MongoDb session handler to gc all expired sessions
This was referenced Oct 5, 2017
@Tobion Tobion deleted the fix-mongo-session-gc branch October 5, 2017 23:29
@fabpot fabpot mentioned this pull request Oct 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants