mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
* bug(snapshot) : Do not preempt inside OnDbChange Signed-off-by: adi_holden <adi@dragonflydb.io>
This commit is contained in:
parent
90233bfdc8
commit
4b44fb6baf
8 changed files with 50 additions and 109 deletions
|
@ -90,10 +90,6 @@ JournalReader::JournalReader(io::Source* source, DbIndex dbid)
|
|||
: source_{source}, buf_{4_KB}, dbid_{dbid} {
|
||||
}
|
||||
|
||||
void JournalReader::SetDb(DbIndex dbid) {
|
||||
dbid_ = dbid;
|
||||
}
|
||||
|
||||
void JournalReader::SetSource(io::Source* source) {
|
||||
CHECK_EQ(buf_.InputLen(), 0ULL);
|
||||
source_ = source;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue