Open axpwx opened 1 year ago
If I remove workers = ["worker0", "worker1", "worker2"]
, the synchronization result is correct.
Hi @axpwx when you run with workers enabled you need to have 1 monstache process per worker. This is because workers means that, e.g. 3 processes will read from MongoDB but each process will only index 1/3 of the documents read.
mongodb:
ES:
config.toml:
Exit normally, no exception log
re-run many times, the result is the same. The t_posts._id field of mongodb is a custom hexadecimal value, like: ObjectId("00000033e5910ccd053f679c") ObjectId("ffffff90af74b6e8e3d023ff")