xintongsong commented on code in PR #24853:
URL: https://github.com/apache/flink/pull/24853#discussion_r1618145159
##########
flink-core/src/main/java/org/apache/flink/configuration/NettyShuffleEnvironmentOptions.java:
##########
@@ -316,7 +316,11 @@ public enum CompressionCodec {
/**
* Parallelism threshold to switch between sort-based blocking shuffle and
hash-based blocking
* shuffle.
+ *
+ * @deprecated The hash-based blocking shuffle is deprecated in 1.20 and
will be totally removed
+ * in 2.0.
*/
+ @Deprecated
@Documentation.Section(Documentation.Sections.ALL_TASK_MANAGER_NETWORK)
Review Comment:
This can also be removed, because deprecated config options won't appear in
docs.
##########
flink-core/src/main/java/org/apache/flink/configuration/NettyShuffleEnvironmentOptions.java:
##########
@@ -428,6 +455,21 @@ public enum CompressionCodec {
+ "tasks have occupied all the buffers and
the downstream tasks are waiting for the exclusive buffers. The timeout breaks"
+ "the tie by failing the request of
exclusive buffers and ask users to increase the number of total buffers.");
+ /** The timeout for requesting buffers for each channel. */
+ @Documentation.ExcludeFromDocumentation(
+ "This option is purely implementation related, and may be removed
as the implementation changes.")
+ public static final ConfigOption<Duration> NETWORK_BUFFERS_REQUEST_TIMEOUT
=
Review Comment:
The old `ConfigOption` can be removed as it is already covered by
`withDeprecatedKeys` of the new option.
##########
flink-core/src/main/java/org/apache/flink/configuration/NettyShuffleEnvironmentOptions.java:
##########
@@ -316,7 +316,11 @@ public enum CompressionCodec {
/**
* Parallelism threshold to switch between sort-based blocking shuffle and
hash-based blocking
* shuffle.
+ *
+ * @deprecated The hash-based blocking shuffle is deprecated in 1.20 and
will be totally removed
+ * in 2.0.
*/
+ @Deprecated
@Documentation.Section(Documentation.Sections.ALL_TASK_MANAGER_NETWORK)
Review Comment:
Same for other deprecated options with documentation related annotations.
--
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]