Skip to content

Commit fefd5e0

Browse files
committed
reset sample state on recovery, for now
1 parent a390949 commit fefd5e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/recovery.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ class SparseRecovery {
113113
// THIS IS A NON_DESTRUCTIVE OPERATION
114114
// (but cannot be marked const)
115115
RecoveryResult recover() {
116+
this->cleanup_sketch->reset_sample_state();
116117
updates_since_recovery_attempt = 0;
117118
// TODO - DYNAMIc allocation grossness
118119
std::vector<Bucket> recovered_indices;

0 commit comments

Comments
 (0)