Skip to content

Commit

Permalink
#264, mark exactly the role of sharding server
Browse files Browse the repository at this point in the history
  • Loading branch information
ditdb committed Sep 18, 2017
1 parent e800b7a commit 77b1729
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public boolean isSlave(PhysicalDatasource ds) {
break;
}
}
islave = (currentIndex == activeIndex);
islave = (currentIndex != activeIndex);

return islave;
}
Expand Down

0 comments on commit 77b1729

Please sign in to comment.