我看到doc2.1.x描述了自定义群集选择策略,如下所示:
将实施注册为服务。您可以通过在META-INF/service
下创建新文件来执行此操作。使用文件名com.orientechnologies.orient.core.metadata.schema.clusterselection.OClusterSelectionStrategy
。对于其内容,请使用完整的包对您的类进行编码。
这是否意味着我必须修改源代码项目,编译和发布?
答案 0 :(得分:0)
是的,您必须修改源代码项目并进行编译。 我按照文档http://orientdb.com/docs/2.1/Cluster-Selection.html#custom-cluster-selection-strategies进行了操作 它有效。