diff options
author | nehakhatri5 <neha.khatr@mongodb.com> | 2018-02-01 23:00:54 +1100 |
---|---|---|
committer | nehakhatri5 <neha.khatr@mongodb.com> | 2018-02-07 13:54:10 +1100 |
commit | 43fbd6a4fbac7d1630a62b3b471c9eeb3222b7e5 (patch) | |
tree | f312d8f95b314906b539ea44c963bf74e0b5b7c4 /src/third_party | |
parent | 603ffac833b945fddf962fc450c65bb67c7733a1 (diff) | |
download | mongo-43fbd6a4fbac7d1630a62b3b471c9eeb3222b7e5.tar.gz |
SERVER-32756 Enable selection of V2 format unique index
A new unique index format would get added in MongoDB4.0 to overcome the
anonmaly of duplicate keys in unique index on secondary instances. Enabled
selection of new V2 format unique index via a gating variable. The
IndexDescriptor::IndexVersion now has a new flag kV2Unique. The version in an
IndexDescriptor object can be either kV2 or kV2Unique. A version value kV2Unique
means a V2 format unique index would be created. In this commit all of the
V2 format unique index implemetation is a copy of V1(unique index) format. It
would change in future commits.
Diffstat (limited to 'src/third_party')
0 files changed, 0 insertions, 0 deletions