Skip to content

Commit

Permalink
Merge pull request #265 from actiontech/issue-264
Browse files Browse the repository at this point in the history
#264, mark exactly the role of sharding server
  • Loading branch information
yanhuqing666 authored Sep 18, 2017
2 parents e800b7a + 77b1729 commit eb16c48
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 eb16c48

Please sign in to comment.