CBL-6131 error on 3.2.1

my couchbase-lite version update from 3.1.9 to 3.2.1, has this error when open database , is like Jira

[JAVA] CBL-ANDROID Initialized: CouchbaseLite Android v3.2.1-9@34 (EE/release, Commit/2109502be2@02fbcb1b8b44 Core/3.2.1 (19) at 2024-10-30T23:05:00.165275899Z) on Java; Android 12; WGRR-W09
2024-11-28 11:07:01.448 6007-6007 KSyncBundle com.onyx.galaxy.note I couchbase init
2024-11-28 11:07:01.466 6007-32128 CouchbaseLite/DATABASE com.onyx.galaxy.note E SQLite error (code 1): no such table: kv_.ONYX_ACCOUNT_MODEL in “ALTER TABLE “kv_.ONYX_ACCOUNT_MODEL” ADD COLUMN expiration INTEGER; CREATE INDEX “kv_.ONYX_ACCOUNT_MODEL_expiration” ON “kv_.ONYX_ACCOUNT_MODEL” (expiration) WHERE expiration not null”
2024-11-28 11:07:01.466 6007-32128 CouchbaseLite/DATABASE com.onyx.galaxy.note E no such table: kv_.ONYX_ACCOUNT_MODEL (1/1)
2024-11-28 11:07:01.467 6007-32128 CouchbaseLite/DATABASE com.onyx.galaxy.note E no such table: kv_.ONYX_ACCOUNT_MODEL – ALTER TABLE “kv_.ONYX_ACCOUNT_MODEL” ADD COLUMN expiration INTEGER; CREATE INDEX “kv_.ONYX_ACCOUNT_MODEL_expiration” ON “kv_.ONYX_ACCOUNT_MODEL” (expiration) WHERE expiration not null (1/1)
2024-11-28 11:07:01.476 6007-32128 CouchHolder com.onyx.galaxy.note E open couch db error : true /data/user/0/com.onyx.galaxy.note/files/couch APP_DATA
CouchbaseLiteException{CouchbaseLite.SQLite, 1: no such table: kv_.ONYX_ACCOUNT_MODEL – ALTER TABLE “kv_.ONYX_ACCOUNT_MODEL” ADD COLUMN expiration INTEGER; CREATE INDEX “kv_.ONYX_ACCOUNT_MODEL_expiration” ON “kv_.ONYX_ACCOUNT_MODEL” (expiration) WHERE expiration not null [3, 1]
at com.couchbase.lite.AbstractDatabase.openC4Db(AbstractDatabase.java:1345)
at com.couchbase.lite.AbstractDatabase.(AbstractDatabase.java:277)
at com.couchbase.lite.AbstractDatabase.(AbstractDatabase.java:254)
at com.couchbase.lite.Database.(Database.java:85)
at com.onyx.android.sdk.data.couchbase.CouchHolder.open(CouchHolder.kt:106)
at com.onyx.android.sdk.data.couchbase.CouchHolder.ensureDB(CouchHolder.kt:68)
at com.onyx.android.sdk.data.couchbase.CouchDBManager.createCouchHolder(CouchDBManager.kt:33)
at com.onyx.android.sdk.data.couchbase.CouchDBManager.access$createCouchHolder(CouchDBManager.kt:11)
at com.onyx.android.sdk.data.couchbase.CouchDBManager$getCouchHolder$1.invoke(CouchDBManager.kt:18)
at com.onyx.android.sdk.data.couchbase.CouchDBManager$getCouchHolder$1.invoke(CouchDBManager.kt:17)
at com.onyx.android.sdk.data.couchbase.CouchDBManager.getCouchHolder$lambda$0(CouchDBManager.kt:17)
at com.onyx.android.sdk.data.couchbase.CouchDBManager.$r8$lambda$hag6DUC549Q24J31gb_e7sxMNpw(Unknown Source:0)
at com.onyx.android.sdk.data.couchbase.CouchDBManager$$ExternalSyntheticLambda0.apply(Unknown Source:2)
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1730)
at com.onyx.android.sdk.data.couchbase.CouchDBManager.getCouchHolder(CouchDBManager.kt:17)

Yes. You have, very likely, encountered the bug described in CBL-6131. You will note that that bug is closed. The fix will be available in soon to be released versions of the Mobile platform.

In the main time, the work around is to avoid concurrent use of a collection: simultaneous use of a single collection is what drives the issue.
FWIW, concurrent access to a database almost never productive. At heart, the database is a file: I/O speeds dwarf any other latency and file access is always synchronous.

@lxm : Upon further analysis, we find that you have encountered an issue that appears to be caused by our fix to CBL-6131. I have opened CBL-6534 to track it.

Is ONYX_ACCOUNT_MODEL a CBL database or collection in the default scope?

@lxm I don’t believe the fix for CBL-6131 itself has caused this issue, but this is simply where the issue arises.
A ‘no such table’ error at this point is very puzzling.
Is there anything from your environment you can share with us, for example a code sample or a database sample?