bipinprasad commented on a change in pull request #3328:
URL: https://github.com/apache/storm/pull/3328#discussion_r482318073
##########
File path: storm-client/src/jvm/org/apache/storm/Config.java
##########
@@ -355,12 +362,30 @@
@IsStringList
public static final String TOPOLOGY_SPREAD_COMPONENTS =
"topology.spread.components";
/**
- * The maximum number of states that will be searched looking for a
solution in the constraint solver strategy.
+ * The maximum number of states that will be searched looking for a
solution in resource aware strategies, e.g.
+ * in BaseResourceAwareStrategy.
*/
@IsInteger
@IsPositiveNumber
public static final String TOPOLOGY_RAS_CONSTRAINT_MAX_STATE_SEARCH =
"topology.ras.constraint.max.state.search";
/**
+ * The maximum number of states that will be searched looking for a
solution in resource aware strategies, e.g.
+ * in BaseResourceAwareStrategy. Backward compatibility config value for
old topologies.
+ * @deprecated please use {@link
Config#TOPOLOGY_RAS_CONSTRAINT_MAX_STATE_SEARCH}
+ */
+ @IsInteger
+ @IsPositiveNumber
+ @Deprecated
+ public static final String TOPOLOGY_RAS_CONSTRAINT_MAX_STATE_TRAVERSAL =
"topology.ras.constraint.max.state.traversal";
Review comment:
Will remove this also. No point adding a new deprecated variable.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]