Skip to content

Commit

Permalink
Mark the features_supported feature as assumed (elastic#118849)
Browse files Browse the repository at this point in the history
Only do one here so we can verify the mechanisms
  • Loading branch information
thecoop authored Jan 3, 2025
1 parent 9a51c75 commit bd40f2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class FeatureService {
/**
* A feature indicating that node features are supported.
*/
public static final NodeFeature FEATURES_SUPPORTED = new NodeFeature("features_supported");
public static final NodeFeature FEATURES_SUPPORTED = new NodeFeature("features_supported", true);
public static final NodeFeature TEST_FEATURES_ENABLED = new NodeFeature("test_features_enabled");

private static final Logger logger = LogManager.getLogger(FeatureService.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @param id The feature id. Must be unique in the node.
* @param assumedAfterNextCompatibilityBoundary
* {@code true} if this feature is removed at the next compatibility boundary (ie next major version),
* and so should be assumed to be true for all nodes after that boundary.
* and so should be assumed to be met by all nodes after that boundary, even if they don't publish it.
*/
public record NodeFeature(String id, boolean assumedAfterNextCompatibilityBoundary) {

Expand Down

0 comments on commit bd40f2d

Please sign in to comment.