SzyWilliam commented on code in PR #15014:
URL: https://github.com/apache/iotdb/pull/15014#discussion_r2000834933
##########
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/cache/IFailureDetector.java:
##########
@@ -29,11 +29,14 @@ public interface IFailureDetector {
String FIXED_DETECTOR = "fixed";
String PHI_ACCRUAL_DETECTOR = "phi_accrual";
+ int PHI_COLD_START_THRESHOLD = 60;
+
/**
* Given the heartbeat history, decide whether this endpoint is still
available
*
+ * @param Id the unique identifier of the history owner
* @param history heartbeat history
* @return false if the endpoint is under failure
*/
- boolean isAvailable(List<AbstractHeartbeatSample> history);
+ boolean isAvailable(Object Id, List<AbstractHeartbeatSample> history);
Review Comment:
Fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]