1

I'm using couchbase server & couchbase sync gateway as my backend databases. but the problem is once I configured the full setup _sync documents were saved to the central server. I only want to keep my master documents & transaction documents in the couchbase server. is there any approach or solution to resolve this issue?

Kasunt
  • 45
  • 1
  • 10

1 Answers1

2

Sync Gateway stores '_sync'-prefixed documents to the bucket to manage mobile replication and security information associated with that bucket. There isn't any way to avoid this at the present time.

adamcf
  • 201
  • 1
  • 1
  • Is there any possibility to order(our documents top in the bucket & _sync documents at last) in couchbase server GUI? – Kasunt Jun 26 '18 at 04:19
  • 1
    There's no 'order', but you could exclude them with `_sync is missing`. You could write a N1QL query to do the ordering in the Query Workbench. – Matthew Groves Jun 26 '18 at 12:41