We are facing a really strange behavior which caused revision increase. What we do is really simple, through sync gw rest api, we open a document in our browser with get call. However, each refresh, increments the revision by one. When I checked the logs, I saw the below lines:
2019-09-17T08:23:46.944Z [INF] HTTP: #3284: GET /abc-db/WorkOrder::123(as ADMIN) 2019-09-17T08:23:46.949Z [INF] Import: Created new rev ID 56-3d4690bb5fc7b07ef45f651aa6fb7178
Moreover, this won’t happen other types of document, only the documents whose type field is WorkOrder are affected. The bad thing is we use a web socket in our backend app and listen all the changes. Hence, we want to understand this issue and get rid of it.
Lastly, our couchbase server version is 5.0.0 build 3519 and sync gw version is 2.1.1(17;fea9947).