Our Couchbase server 4.5.1 sometimes stops working due to index service not responding. Most times restart server restores its behavior, sometimes we need to drop and rebuild some index to have our apps to work again. Today, the restore procedure we usually follow was not enough to restore server operation. Running a query gives the following error:
{
"code": 5000,
"msg": "WSARecv tcp 127.0.0.1:51752: An existing connection was forcibly closed by the remote host. - cause: WSARecv tcp 127.0.0.1:51752: An existing connection was forcibly closed by the remote host."
}
In server’s logs I find this error when query fails:
Service 'indexer' exited with status 1. Restarting. Messages: 0fd0 31 36 34 34 30 5d 2c 5b 31 35 33 35 30 2c 31 35 16440],[15350,15
0fe0 33 35 30 5d 2c 5b 31 36 32 31 35 2c 31 36 32 31 350],[16215,1621
0ff0 00 00 00 00 00 00 84 d5 00 07 00 00 00 00 00 dd ................
assertion failed [rsize && rsize <= trie->chunksize] at ..\forestdb\src\hbtrie.cc:84 (0000000000000000 != 00000000161734E0)
[goport] 2019/04/18 19:21:20 d:/FF3D/Couchbase/bin/indexer.exe terminated: exit status 3
Any suggestion how to fix this problem?