Issue Upgrading Couhbase to 6.5 using swap rebalance

I think we ran into the same problem. Until now we just updated the version in Dockerfile (FROM couchbase/server:enterprise-6.0.4). We then have a docker-compose file which maps the volume /opt/couchbase/var to our local disk and we just redeploy the newly built image.

Until now the new container always ran fine and the data and indexes were available in the new version of couchbase. Now the indexer in the 6.5/6.6 version seems to crash after such upgrade.

Similarly to these:

We also run into this log message in babysitter.log https://github.com/couchbase/kv_engine/blob/master/engines/ep/src/warmup.cc#L1016