Skip to content

Commit 745b878

Browse files
committed
early return from invalidate
Signed-off-by: Matt Benjamin <[email protected]>
1 parent 1ab0a5f commit 745b878

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bucket_cache.h

+1
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ struct BucketCache : public Notifiable
394394
mdb_drop(*txn, b->dbi, 0); /* apparently, does not require
395395
* commit */
396396
b->flags &= ~Bucket::FLAG_FILLED;
397+
return 0; /* don't process any more events in this batch */
397398
}
398399
break;
399400
default:

0 commit comments

Comments
 (0)