Skip to content

[Messenger] [Redis] Prepare turning delete_after_ack to true in 6.0 #42163

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
Jul 19, 2021

Conversation

chalasr
Copy link
Member

@chalasr chalasr commented Jul 16, 2021

Q A
Branch? 5.4
Bug fix? no
New feature? no
Deprecations? yes
Tickets Fix #42122
License MIT
Docs PR todo

Having this option turned on makes redis-messenger much more consistent with other transports, more adapted to the 80% use case and more importantly, prevents having to deal with OOM issues.

@chalasr chalasr requested a review from sroze as a code owner July 16, 2021 22:14
@carsonbot carsonbot changed the title [Messenger][Redis] Prepare turning delete_after_ack to true in 6.0 [Messenger] [Redis] Prepare turning delete_after_ack to true in 6.0 Jul 16, 2021
@chalasr chalasr force-pushed the del-after-ack branch 2 times, most recently from d18171f to 80f94d4 Compare July 17, 2021 12:04
@alexander-schranz
Copy link
Contributor

alexander-schranz commented Jul 17, 2021

Thank you @chalasr. Think consistents between to transports are important here and did lead in do past in unexpected errors.

@chalasr chalasr added this to the 5.4 milestone Jul 18, 2021
derrabus added a commit that referenced this pull request Jul 18, 2021
This PR was merged into the 4.4 branch.

Discussion
----------

[CI] Fix wrongly skipped integration tests

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

The integration tests from bridges located in components (e.g. `Notifier/Bridge/Discord/Tests` or `Messenger/Bridge/Redis/Tests`) were excluded from the CI.

Spotted while working on #42163 - Some redis-messenger tests are currently broken on 5.x, which we didn't spot because of the missing entry in the phpunit config.

Commits
-------

438a503 [ci] Fix wrongly skipped integration tests
Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

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

I agree with this change.

I would like you two write "Redis" where it make sense. I also have one question.

@chalasr
Copy link
Member Author

chalasr commented Jul 19, 2021

Thanks for the review Tobias, suggestions applied.

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

(with minor comments)

@chalasr chalasr force-pushed the del-after-ack branch 2 times, most recently from 0b44408 to 1439f37 Compare July 19, 2021 09:08
@chalasr
Copy link
Member Author

chalasr commented Jul 19, 2021

@nicolas-grekas Thanks, all fixed

@chalasr chalasr force-pushed the del-after-ack branch 3 times, most recently from 755cf01 to 3be461b Compare July 19, 2021 12:55
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.

[Messenger] [DX] Redis default configuration lead to fill server
5 participants