Removing shadow bucket

I’m running a Couchbase Server 4 with Shadow bucket. (we’ve already migrated to latest Couchbase Server version - but are converting clients to the new system, thus need to maintain the old system as well)
Just couple of days from now we got a problem that Shadow bucket STOP RECEIVING changes from main bucket. There were couple of error relating to Hard Out of Memory issues.

I’ve been trying to increase memory of the cluster, main/shadow buckets but the problem still persists (though no more errors in logs).

I wonder if it is a good option to get rid of the Shadow bucket totally and point the sync gateway to the Main bucket directly. Is there any foreseen problem with this approach?

And better, any idea why the Shadow bucket stop receiving changes from Main bucket?

@chinhnguyen,

Try this.
https://docs.couchbase.com/sync-gateway/current/shared-bucket-access.html#migrating-from-bucket-shadowing

Note the 2nd Sync gateway can be connected to another CB cluster.