mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-12 10:55:46 +02:00
chore: some pytests and logging improvements
1. pytest extensions and fixes - allows running them with the existing local server by providing its port (--existing <port>). 2. Extend "DEBUG WATCHED" command to provide more information about watched state. 3. Improve debug/vlog printings around the code. This noisy PR is a preparation before BRPOP fix that will follow later. Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
f9ec60ee5f
commit
c96f637f73
14 changed files with 124 additions and 95 deletions
|
@ -24,6 +24,10 @@ class BlockingController {
|
|||
return !awakened_transactions_.empty();
|
||||
}
|
||||
|
||||
const auto& awakened_transactions() const {
|
||||
return awakened_transactions_;
|
||||
}
|
||||
|
||||
// Iterates over awakened key candidates in each db and moves verified ones into
|
||||
// global verified_awakened_ array.
|
||||
// Returns true if there are active awakened keys, false otherwise.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue