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

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

Merged
merged 1 commit into from Oct 5, 2017

Conversation

Projects
None yet
3 participants
@Tobion
Member

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

fabpot approved these changes Oct 5, 2017

@fabpot

This comment has been minimized.

Show comment
Hide comment
@fabpot

fabpot Oct 5, 2017

Member

Thank you @Tobion.

Member

fabpot commented Oct 5, 2017

Thank you @Tobion.

@fabpot fabpot merged commit e6895bf into symfony:2.7 Oct 5, 2017

2 of 3 checks passed

fabbot.io Some changes should be done to comply with our standards.
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

fabpot added a commit that referenced this pull request Oct 5, 2017

bug #24448 [Session] fix MongoDb session handler to gc all expired se…
…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 Tobion:fix-mongo-session-gc branch Oct 5, 2017

@fabpot fabpot referenced this pull request Oct 5, 2017

Merged

Release v3.3.10 #24452

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