coolbeevip commented on a change in pull request #398: [SCB-1130] Fix single
point failure of Alpha cluster when scanner enabled node shutdown
URL: https://github.com/apache/servicecomb-pack/pull/398#discussion_r251735872
##########
File path:
alpha/alpha-server/src/main/java/org/apache/servicecomb/pack/alpha/server/AlphaConfig.java
##########
@@ -100,7 +110,7 @@ TxConsistentService txConsistentService(
if (eventScannerEnabled) {
new EventScanner(scheduler,
eventRepository, commandRepository, timeoutRepository,
- omegaCallback, eventPollingInterval).run();
+ omegaCallback, eventPollingInterval, nodeType).run();
Review comment:
In the masterCheck method of the ClusterLockService class
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services