Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Messenger] Ensure that a TransportException is thrown on redis error #31298

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
Apr 28, 2019

Conversation

chalasr
Copy link
Member

@chalasr chalasr commented Apr 27, 2019

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

@chalasr chalasr added this to the next milestone Apr 27, 2019
@chalasr chalasr force-pushed the redis-errors branch 6 times, most recently from bec60ac to 4d7f3c0 Compare April 28, 2019 12:39
@sroze
Copy link
Contributor

sroze commented Apr 28, 2019

Thank you @chalasr.

@sroze sroze merged commit 1857395 into symfony:master Apr 28, 2019
sroze added a commit that referenced this pull request Apr 28, 2019
…n redis error (chalasr)

This PR was merged into the 4.3-dev branch.

Discussion
----------

[Messenger] Ensure that a TransportException is thrown on redis error

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

<!--
Write a short README entry for your feature/bugfix here (replace this comment block.)
This will help people understand your PR and can be used as a start of the Doc PR.
Additionally:
 - Bug fixes must be submitted against the lowest branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the master branch.
-->

Commits
-------

1857395 [Messenger] Ensure that a TransportException is thrown on redis error
@chalasr chalasr deleted the redis-errors branch April 28, 2019 15:32
}

public function setup(): void
{
$this->connection->xgroup('CREATE', $this->stream, $this->group, 0, true);
try {
$this->connection->xGroup('CREATE', $this->stream, $this->group, 0, true);
Copy link
Contributor

Choose a reason for hiding this comment

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

@chalasr Thanks for the fixes. Just to mention it here if mocking this with prophecy the function need to be called the lowercase version. See phpredis/phpredis#1489

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks! see #31346

@nicolas-grekas nicolas-grekas modified the milestones: next, 4.3 Apr 30, 2019
fabpot added a commit that referenced this pull request May 2, 2019
This PR was merged into the 4.3-dev branch.

Discussion
----------

[Messenger] Lowercased method calls on \Redis

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #31298 (comment)
| License       | MIT
| Doc PR        | n/a

https://github.com/phpredis/phpredis/blob/64e71b5307b76f49a71ff43a09e984a80d9a7f12/php_redis.h#L231-L244

Commits
-------

2d41976 [Messenger] Lowercased method calls on \Redis
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.

5 participants