Stale Channel Index - couchbase/sync_gateway GitHub Wiki

Test case: delete primary bucket, but not channel index

  • Bring up single Sync Gateway node, backed by Couchbase Server.
  • Configure such that the primary bucket and the channel index bucket are different (which is the norm)
  • Add several documents
  • Shutdown Sync Gateway
  • Flush the primary bucket, but do not touch the channel index bucket
  • Start Sync Gateway
  • Make sure that Sync Gateway starts without errors.