問題描述
我們可以在不同版本的 marklogic 之間進行森林或數據複製嗎? (Can we have forests or data replication between different versions of marklogic?)
目前我們正在從 Marklogic 版本 8 遷移到 Marklogic 版本 10。
我們可以在相同版本的 Marklogic‑v10 到 Marklogic‑v10 的森林之間進行複制,所以我需要了解我們是否可以進行複制在 ML‑v8 到 ML‑v10 的森林之間,如果可以的話,如果我們嘗試這樣做會出現什麼問題?
參考解法
方法 1:
Flexible Replication works between MarkLogic 8 and MarkLogic 10, Database Replication as far as I know not. Where Database Replication operates on a fairly low level (it sends journal frames, and forest data across) with a configurable allowed Replication Lag, Flexible Replication operates on fairly highly level of abstraction, and uses asynchronous communication by design (master does not wait for its completion).
Database Replication allows for a certain level of consistency. Flexible Replication however can be used for instance in master‑master scenarios. Each has its own use cases, but if you need to maintain different major versions of MarkLogic, Flexible Replication is the only option of the two.
Next to that, there are also ways to move data between clusters outside of MarkLogic, using tools like MLCP, Corb, or NiFi for instance. But those are usually more suited for one‑time migrations in such cases.
Please note that MarkLogic 8 has reached End of Life: https://help.marklogic.com/
HTH!