diff options
author | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2018-08-21 15:08:08 -0400 |
---|---|---|
committer | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2018-08-22 16:56:39 -0400 |
commit | 600351dc35fba5ef1f0a7987770e307a38ffbcd4 (patch) | |
tree | 826dc5e2403a39e688fedc7caa5561cc168e9e86 /src/mongo/db/storage/sorted_data_interface.h | |
parent | 0f0436f7f17fab66910efb85c390a407f859f308 (diff) | |
download | mongo-600351dc35fba5ef1f0a7987770e307a38ffbcd4.tar.gz |
SERVER-36280 Create a feature tracker bit indicating the existence of KeyString with long TypeBits
Diffstat (limited to 'src/mongo/db/storage/sorted_data_interface.h')
-rw-r--r-- | src/mongo/db/storage/sorted_data_interface.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mongo/db/storage/sorted_data_interface.h b/src/mongo/db/storage/sorted_data_interface.h index aa6d1e6e51d..b6bc690d95b 100644 --- a/src/mongo/db/storage/sorted_data_interface.h +++ b/src/mongo/db/storage/sorted_data_interface.h @@ -393,8 +393,14 @@ public: * * This is called outside of any WriteUnitOfWork to allow implementations to split this up * into multiple units. + * + * TODO SERVER-36385: Change the return type from "Status" back to "void" as that was a hack + * introduced in SERVER-36280 for detecting long TypeBits in an edge case in one of the unique + * index builder implementations. */ - virtual void commit(bool mayInterrupt) {} + virtual Status commit(bool mayInterrupt) { + return Status::OK(); + } }; } // namespace mongo |