tillrohrmann commented on a change in pull request #17485:
URL: https://github.com/apache/flink/pull/17485#discussion_r791747225
##########
File path:
flink-core/src/main/java/org/apache/flink/configuration/HighAvailabilityOptions.java
##########
@@ -204,6 +204,23 @@
.withDescription(
"The time before a JobManager after a fail over
recovers the current jobs.");
+ /**
+ * Safety hatch to fallback to the old ha services implementations.
+ *
+ * <p>Ideally, we can remove this option together with the old
implementations in the next
+ * release.
+ */
+ @Documentation.Section(Documentation.Sections.EXPERT_HIGH_AVAILABILITY)
Review comment:
https://issues.apache.org/jira/browse/FLINK-25806
##########
File path:
flink-core/src/main/java/org/apache/flink/configuration/HighAvailabilityOptions.java
##########
@@ -204,6 +204,23 @@
.withDescription(
"The time before a JobManager after a fail over
recovers the current jobs.");
+ /**
+ * Safety hatch to fallback to the old ha services implementations.
+ *
+ * <p>Ideally, we can remove this option together with the old
implementations in the next
+ * release.
+ */
+ @Documentation.Section(Documentation.Sections.EXPERT_HIGH_AVAILABILITY)
+ public static final ConfigOption<Boolean> USE_OLD_HA_SERVICES =
+ key("high-availability.use-old-ha-services")
+ .booleanType()
+ .defaultValue(false)
+ .withDescription(
+ Description.builder()
+ .text(
+ "Use this option to disable the
new HA service implementations for ZooKeeper and K8s. This is safety hatch in
case that the new ha services are buggy.")
Review comment:
Will correct it.
--
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]