Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit ec41e65

Browse files
Remove COMPILER FENCE
1 parent 91b8c11 commit ec41e65

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/concurrency/timestamp_ordering_transaction_manager.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ bool TimestampOrderingTransactionManager::SetLastReaderCommitId(
6666
// then set last_reader_cid to current_cid.
6767
if (*ts_ptr < current_cid) {
6868
*ts_ptr = current_cid;
69-
// Since we need this memory address to be updated before other
70-
// transactions attempt to modify/read the tuple.
71-
COMPILER_MEMORY_FENCE;
7269
}
7370

7471
GetSpinLatchField(tile_group_header, tuple_id)->Unlock();

0 commit comments

Comments
 (0)