v4.2.0
- #157 (@alecgibson) — Allow disabling the
src
/seq
/v
index: to be used in conjunction with[email protected]
, which tries to avoid hitting this index. The index can be opted out of with:
new ShareDbMongo(
mongoUrl,
{
disableIndexCreation: {
src_seq_v: true,
},
},
);
Existing indexes will need to be manually deleted if they're no longer desired.
Note that it's technically still possible to try to look documents up by src
/seq
/v
. The chance should be remote, but it's not impossible. Removing this index may lead to very bad performance in these corner cases.