Commit 43d16c9
authored
Slowlog implementation - cherry pick (#886)
* 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.21 parent 712e013 commit 43d16c9
File tree
5 files changed
+284
-10
lines changed- .circleci
- src
- execution
- DAG
- tests/flow
5 files changed
+284
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
| 362 | + | |
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | 213 | | |
215 | 214 | | |
216 | 215 | | |
| |||
686 | 685 | | |
687 | 686 | | |
688 | 687 | | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
689 | 692 | | |
690 | 693 | | |
691 | 694 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
74 | 78 | | |
75 | 79 | | |
0 commit comments