是否支持 8.0 版本的同步?
#889 的重复issue。
我们近期会考虑进行mongoshake对8.0的同步测试。原理上,逻辑同步应该都支持。如果你在使用mongoshake同步到8.0版本过程中遇到了任何问题,欢迎反馈。
源端为8.0,目标为3.0,均为社区版mongodb,未作改动(目的是为了测试回退方案) 然后一直碰到已知问题:https://github.com/alibaba/MongoShake/issues/906:
[2025/07/07 17:14:50 CST] [EROR] delete data[[]] failed[cannot write to 'config.system.sessions'] [2025/07/07 17:14:50 CST] [CRIT] Replayer-0, executor-0, oplog for namespace[config.system.sessions] op[d] failed. error type[mongo.CommandError] error[cannot write to 'config.system.sessions'], logs number[2], firstLog: {"ts":{"T":1751874862,"I":24},"t":1,"h":null,"v":0,"op":"d","ns":"config.system.sessions","o":[{"Key":"_id","Value":[{"Key":"id","Value":{"Subtype":4,"Data":"qeakEiRFRWqWE4qqqqeNWg=="}},{"Key":"uid","Value":{"Subtype":0,"Data":"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="}}]}],"o2":null,"PrevOpTime":null,"ui":{"Subtype":4,"Data":"R1GMEfSeS8ecAcwRP2XZBg=="}} [17:14:50 CST 2025/07/07] [CRIT] (github.com/alibaba/MongoShake/v2/executor.(*Executor).execute:125) Replayer-0, executor-0, oplog for namespace[config.system.sessions] op[d] failed. error type[mongo.CommandError] error[cannot write to 'config.system.sessions'], logs number[2], firstLog: {"ts":{"T":1751874862,"I":24},"t":1,"h":null,"v":0,"op":"d","ns":"config.system.sessions","o":[{"Key":"_id","Value":[{"Key":"id","Value":{"Subtype":4,"Data":"qeakEiRFRWqWE4qqqqeNWg=="}},{"Key":"uid","Value":{"Subtype":0,"Data":"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="}}]}],"o2":null,"PrevOpTime":null,"ui":{"Subtype":4,"Data":"R1GMEfSeS8ecAcwRP2XZBg=="}}
目前遇到的是已知问题,辛苦在阿里云控制台提工单并补充“从mongoshake github过来,需要owner钟离支持”。我会提供暂时未release的二进制来fix此问题。