diff options
author | Eric Milkie <milkie@10gen.com> | 2017-04-06 15:30:59 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2017-08-22 13:45:12 -0400 |
commit | 77dc6917428ffad4b9ff2d54d78fa9b225f78a4b (patch) | |
tree | fa2483cb4214fd6858db09ca80523751f65888f5 /src/mongo/unittest | |
parent | b1a36aaa34f48df1573d76439419552282f18cbf (diff) | |
download | mongo-77dc6917428ffad4b9ff2d54d78fa9b225f78a4b.tar.gz |
SERVER-28620 Adorn all oplog writes with timestamps
These timestamps are now used to implement oplog visibility rules, in place of the current
in-memory vector of uncommitted ops that the WiredTiger glue code currently uses.
This change also introduces a TimestampedBSONObj class, which encapsulates a BSONObject with its
associated write timestamp.
Diffstat (limited to 'src/mongo/unittest')
-rw-r--r-- | src/mongo/unittest/temp_dir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/unittest/temp_dir.h b/src/mongo/unittest/temp_dir.h index a3dd3fcc2d2..6ea1d1ed4fd 100644 --- a/src/mongo/unittest/temp_dir.h +++ b/src/mongo/unittest/temp_dir.h @@ -26,6 +26,8 @@ * then also delete it in the license file. */ +#pragma once + #include <string> #include "mongo/base/disallow_copying.h" |