Skip to content
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

increment() fails in a transaction #93

Closed
Bilge opened this issue Jul 28, 2024 · 2 comments
Closed

increment() fails in a transaction #93

Bilge opened this issue Jul 28, 2024 · 2 comments

Comments

@Bilge
Copy link
Contributor

Bilge commented Jul 28, 2024

$redis->execute('MULTI');
$redis->increment('foo'); // 'QUEUED'

TypeError : Amp\Redis\RedisClient::increment(): Return value must be of type int, string returned

@Bilge Bilge changed the title increment() fails on 6.0.16 increment() fails in a transaction Jul 28, 2024
@kelunik
Copy link
Member

kelunik commented Aug 9, 2024

I think #90 is enough for that and there's no need for reporting individual commands failing within transactions?

@Bilge
Copy link
Contributor Author

Bilge commented Aug 9, 2024

At the time I did not realise how broken transactions are in Redis. Literally every command just emits "QUEUED" whilst in a transaction.

@Bilge Bilge closed this as completed Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants