couchbase / sync_gateway

Manages access and synchronization between Couchbase Lite and Couchbase Server
https://www.couchbase.com/products/sync-gateway
Other
447 stars 138 forks source link

CBG-4254 implement Sync Gateway peer #7160

Closed torcolvin closed 1 day ago

torcolvin commented 3 days ago

Depends on https://github.com/couchbase/sync_gateway/pull/7158, this is marked to merge there.

Since we need to do APIs using revtreeids for optimistic locking, but the REST api doesn't support using them, I decided to use db/crud.go APIs directly rather than parsing REST endpoints.

Pre-review checklist