I am seeing thousands of warnings like the one below each day in my sync gateway logs (v2.7):
2020-10-28T21:48:40.781Z [WRN] c:[42db87f4] MultiChangesFeed got error reading changes feed "all_stores": Changes feed terminated while waiting for view lock -- db.(*Database).SimpleMultiChangesFeed.func1() at changes.go:548
I would like to understand the impact of this lock contention and timeout. Is this impacting performance replicating to mobile devices? Could it cause the connection to the client to get dropped, because I also happen to see a lot of ‘connection reset by peer’ errors on the mobile devices? How do I correct this problem?