add assert to sequential-optimized write path
This commit is contained in:
parent
a3e7fc0fe2
commit
7815d2f792
1 changed files with 1 additions and 0 deletions
|
@ -214,6 +214,7 @@ static inline stasis_buffer_concurrent_hash_tls_t * populateTLS(stasis_buffer_ma
|
|||
break;
|
||||
} else {
|
||||
if(succ) {
|
||||
assert(tmp == tls->p);
|
||||
// can only reach this if writes are sequential, and the page is dirty.
|
||||
unlock(tls->p->loadlatch);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue