Skip to content

Conversation

@SamHard
Copy link
Collaborator

@SamHard SamHard commented Mar 8, 2017

This change solves the issue of "Local node 'Node1' is not the owner for cluster 'v' (it is 'Node2')" when hosting a database on more than one server with multi-master replication. (JIRA SM-248) This solution was identified by Colin Leister from OrientDB.

…for cluster 'v' (it is 'Node2')" when hosting a database on more than one server with multi-master replication. (JIRA SM-248)
Copy link
Owner

@jpamp jpamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just have the one comment. Can you address?


if (_document.ORID == null)
{
var clusterId = _database.GetClusterIdFor(_document.OClassName);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need this line if we are not using the value anymore?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, that is not needed. Thanks!

@jpamp jpamp merged commit 13f6052 into Project_Base Mar 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants