Errors in Couchbase Sync Gateway console

Hello,

quite often I get errors like this in the console:

09:39:14.961195 ←[31mWARNING: Error from Incr in _reserveSequences(1): MCRespons
e status=DELTA_BADVAL, opcode=INCREMENT, opaque=0, msg: Non-numeric server-side
value for incr or decr←[0m←[2m – db.(*sequenceAllocator)._reserveSequences() at
sequence_allocator.go:59←[0m
09:39:14.961195 ←[31mWARNING: Error applying change from external bucket: MCResp
onse status=DELTA_BADVAL, opcode=INCREMENT, opaque=0, msg: Non-numeric server-si
de value for incr or decr←[0m←[2m – db.(*Shadower).readTapFeed() at shadower.go
:77←[0m

I have identified two cases when this happens

  1. When starting the sync gateway. Sometimes it requires 2-3 attempts to be able to start the sync gateway.
  2. On sending a POST for user update. Sometimes it works, sometimes it doesn’t and I don’t really understand in which cases it doesn’t.

Thanks,
Yuzkan

Please file a bug report at https://github.com/couchbase/sync_gateway/issues/new