error on un-implemented migrate to roaring

This commit is contained in:
Jason E. Aten 2020-10-29 02:11:28 +00:00
parent 3baa8ea0f6
commit bceabc9127

View file

@ -1309,6 +1309,11 @@ func (f *TxFactory) green2blue(holder *Holder) (err error) {
blueDest := f.types[0]
greenSrc := f.types[1]
if blueDest == roaringTxn {
return fmt.Errorf("error: cannot migration to 'roaring': not implemented.")
}
idxs := holder.Indexes()
verifyInsteadOfCopy := false