-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug:update语句会报错Retryable writes are not supported #884
Comments
[13:27:42 UTC 2024/08/06] [CRIT] (github.com/alibaba/MongoShake/v2/executor.(*Executor).execute:124) Re |
一直以为是Retryable writes are not supported的原因,虽然说mongodb4.0不默认开启Retryable writes,然后在连接上增加retryWrites=true,发现于事无补;然后将目标库的对应的表重命名了,倒是会插入数据,但是checkpoint一直没变,大佬们,求助下 |
mongoshake 版本2.8.4,配置 sync_mode = all mongo_urls = mongodb://xxxx tunnel.address = mongodb://zxxxxx filter.namespace.black = transform.namespace = full_sync.collection_exist_drop = true full_sync.create_index = foreground >= 4.0 change_streamincr_sync.mongo_fetch_method = oplog incr_sync.executor.upsert = false incr_sync.executor.insert_on_dup_update = false |
对insert操作是可以同步,但是对update的操作,会报错:db.test.findOneAndUpdate( { _id: ObjectId("66b256226945c1c4cc9f603a") },
{ $set: vin: "TESTOTA16952187287"}})
The text was updated successfully, but these errors were encountered: