-
Notifications
You must be signed in to change notification settings - Fork 106
Slowlog implementation #883
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #883 +/- ##
==========================================
+ Coverage 81.21% 81.30% +0.09%
==========================================
Files 54 54
Lines 8145 8179 +34
==========================================
+ Hits 6615 6650 +35
+ Misses 1530 1529 -1
Continue to review full report at Codecov.
|
DvirDukhan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks very good!
please note the comments on the python file
and updated redismodule.h file
for python <3.7 compatibility
search for the command in the last 10 commands
improved test_slowlog_time_dag_modelexecute_financialNet_autobatch test
RedisModule_BlockedClientMeasureTime functions (supported from version 6.2)
Added 'patch' argument for skip_if_not_version command. Added comments in test_slowlog_time_dag_modelexecute_financialNet_autobatch test.
until additional support will be added
* added slowlog timer implementation and updated redismodule.h file * added test for slowlog timer implementation * replaced time_ns() with time() for python <3.7 compatibility * splited asserts for better error catching * instead of assuming last command was DAGEXECUTE, search for the command in the last 10 commands * Added a wrapper for skipping test by redis version improved test_slowlog_time_dag_modelexecute_financialNet_autobatch test * added a check for version before using RedisModule_BlockedClientMeasureTime functions (supported from version 6.2) * Review fixes: Added 'patch' argument for skip_if_not_version command. Added comments in test_slowlog_time_dag_modelexecute_financialNet_autobatch test. * Valgring test will run on 6.0 redis, until additional support will be added
* Slowlog implementation (#883) * added slowlog timer implementation and updated redismodule.h file * added test for slowlog timer implementation * replaced time_ns() with time() for python <3.7 compatibility * splited asserts for better error catching * instead of assuming last command was DAGEXECUTE, search for the command in the last 10 commands * Added a wrapper for skipping test by redis version improved test_slowlog_time_dag_modelexecute_financialNet_autobatch test * added a check for version before using RedisModule_BlockedClientMeasureTime functions (supported from version 6.2) * Review fixes: Added 'patch' argument for skip_if_not_version command. Added comments in test_slowlog_time_dag_modelexecute_financialNet_autobatch test. * Valgring test will run on 6.0 redis, until additional support will be added * Slowlog impl fix (#885) * fix for circleci valgrind-cluster test: uses 6.2.5-x64-bullseye again * fix the debug messege: will display the test-function name now * update valgrind test to 6.2
No description provided.