ForestDB error: invalid compaction mode (-22), Assertion failed: _refCount == 0


Upon a fresh install in the iOS simulator, a call to viewNamed() results in the following error:

10:39:53.739| WARNING: ForestDB error: invalid compaction mode (-22) {at FDBLogCallback:68} 10:39:53.740| WARNING: ForestDB error: Assertion failed: _refCount == 0 (/Users/jenkins/jenkins/workspace/couchbase-lite-ios-builds/couchbase-lite-ios-community/vendor/CBForest/C/c4Impl.hh:115, in ~RefCounted) {at FDBLogCallback:68} libc++abi.dylib: terminating with uncaught exception of type cbforest::error: unknown error

Version: 1.3.1
Client OS: iOS 10.1.1
Server: 4.1.0-5005 Community Edition

GitHub Issue

If you filed an issue on Github, there’s no need to start a thread here too.