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

Fix AIORedis Concurrency Bug #574

Merged
merged 3 commits into from
Jun 23, 2022

Conversation

TimPansino
Copy link
Contributor

Before contributing, please read our contributing guidelines and code of conduct.

Overview

  • Fix datastore information storage bug for concurrent calls.

@TimPansino TimPansino changed the base branch from main to develop-aioredis June 23, 2022 16:52
@github-actions
Copy link

github-actions bot commented Jun 23, 2022

MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON bandit 15 0 1.1s
✅ PYTHON black 15 13 0 1.99s
❌ PYTHON flake8 15 31 1.07s
✅ PYTHON isort 15 13 0 0.29s
✅ PYTHON pylint 15 0 10.61s

See errors details in artifact MegaLinter reports on CI Job page
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

@TimPansino TimPansino force-pushed the fix-aioredis-concurrency-bug branch from 4112a9d to b69d747 Compare June 23, 2022 16:57
@TimPansino TimPansino marked this pull request as ready for review June 23, 2022 17:01
@TimPansino TimPansino requested a review from a team June 23, 2022 17:01
@umaannamalai umaannamalai added this to the v7.14.0.177 milestone Jun 23, 2022
@umaannamalai umaannamalai merged commit e527232 into develop-aioredis Jun 23, 2022
@umaannamalai umaannamalai deleted the fix-aioredis-concurrency-bug branch June 23, 2022 18:52
TimPansino added a commit that referenced this pull request Jun 28, 2022
* Add aioredis Instrumentation (#567)

* Add aioredis instrumentation

Co-authored-by: Uma Annamalai <[email protected]>
Co-authored-by: Nyenty Ayuk <[email protected]>
Co-authored-by: ccedacero-nr <[email protected]>

* [Mega-Linter] Apply linters fixes

* Bump Tests

* Fix double wrapping

Co-authored-by: Uma Annamalai <[email protected]>
Co-authored-by: Nyenty Ayuk <[email protected]>
Co-authored-by: ccedacero-nr <[email protected]>
Co-authored-by: TimPansino <[email protected]>

* Add aioredis test infrastructure. (#568)

* Add aioredis test infra.

* Fix flake8 errors.

* Aredis concurrency bug reproduction. (#569)

Co-authored-by: Uma Annamalai <[email protected]>

Co-authored-by: Uma Annamalai <[email protected]>

* Add aioredis tests (#573)

* Add get and set tests.

* Add more testing for aioredis.

* Add aioredis testing.

Co-authored-by: Tim Pansino <[email protected]>
Co-authored-by: Cristian Cedacero <[email protected]>
Co-authored-by: Nyenty Ayuk-Enow <[email protected]>

* Patch broken tests

* Final aioredis testing cleanup

Co-authored-by: Nyenty Ayuk <[email protected]>
Co-authored-by: ccedacero-nr <[email protected]>
Co-authored-by: Uma Annamalai <[email protected]>

* Parametrize multiple db tests.

* Add missing arg.

* Fix typo.

* Add missing comma.

* Add background_task decorator.

* Parametrize instance info tests.

* Fix formatting

Co-authored-by: Tim Pansino <[email protected]>
Co-authored-by: Cristian Cedacero <[email protected]>
Co-authored-by: Nyenty Ayuk-Enow <[email protected]>
Co-authored-by: Tim Pansino <[email protected]>
Co-authored-by: ccedacero-nr <[email protected]>
Co-authored-by: Uma Annamalai <[email protected]>
Co-authored-by: Timothy Pansino <[email protected]>

* Fix AIORedis Concurrency Bug (#574)

* Add test for concurrency bug

* Fix aioredis concurrency

* Fix func signature

* Fix ARedis Concurrency Bug (#570)

* Patch aredis concurrency bug

* Remove xfail marker

* Format

* Move fixture import

Co-authored-by: Uma Annamalai <[email protected]>

* Increase concurrency of redis tests (#575)

* Instrument All Redis Client Methods (#576)

* Initial test files

* Fully instrument uninstrumented redis client methods

Co-authored-by: Uma Annamalai <[email protected]>
Co-authored-by: ccedacero-nr <[email protected]>
Co-authored-by: Nyenty Ayuk <[email protected]>

* Fix older redis client tests

* Fix missing redis client method

* Remove sentinel from commands list

* Fix sentinels again

Co-authored-by: Uma Annamalai <[email protected]>
Co-authored-by: ccedacero-nr <[email protected]>
Co-authored-by: Nyenty Ayuk <[email protected]>

* Add aioredis v1 support (#579)

* Add aioredis v1 tests

* Fix aioredis v1

Co-authored-by: Uma Annamalai <[email protected]>

* Adjust multiple dbs tests

* Fix megalinter default base

* Fix megalinter base take two

* Fix aioredis version parser

* Uncomment instance info tests

* Fix import issues

Co-authored-by: Uma Annamalai <[email protected]>

Co-authored-by: Timothy Pansino <[email protected]>
Co-authored-by: Uma Annamalai <[email protected]>
Co-authored-by: Nyenty Ayuk <[email protected]>
Co-authored-by: ccedacero-nr <[email protected]>
Co-authored-by: TimPansino <[email protected]>
Co-authored-by: Tim Pansino <[email protected]>
Co-authored-by: Cristian Cedacero <[email protected]>
Co-authored-by: Tim Pansino <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants