alibaba / alibaba/DataX

使用datax抛出 com.mongodb.MongoQueryException

Open
#1,719 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

环境:vmware安装的ubuntu22.04 LTS
JDK:1.8.0_135
python:python2.7.18
python3.10.6

com.mongodb.MongoQueryException: Query failed with error code 352 and error message 'Unsupported OP_QUERY command: find. The client driver may require an upgrade. For more details see https://dochub.mongodb.org/core/legacy-opcode-removal' on server *:27017

Contributor guide

No contributing guide indexed for this repository

Research direction

The report provides no source-file or test entry point; it names DataX, Java 8, Python 2/3, and MongoDB at port 27017. Start by locating DataX’s MongoDB reader and checking the MongoDB Java driver version it uses, then reproduce the reported OP_QUERY failure. Done means the compatibility issue is confirmed and covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mongodb
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.