Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IGNITE-24410 Implement filters and manual reset integration tests for HA #5219

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Cyrill
Copy link
Contributor

@Cyrill Cyrill commented Feb 12, 2025

@Cyrill Cyrill marked this pull request as ready for review February 12, 2025 11:11

assertDataNodesFromManager(distributionZoneManager, metaStorageManager::appliedRevision, catalogManager::latestCatalogVersion,
getZoneId(ZONE_NAME), Set.of(A, C), ZONE_MODIFICATION_AWAIT_TIMEOUT);
}


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redundant line

SCHEMA_NAME,
HA_TABLE_NAME,
true,
0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why 0? for manual reset it -1, according to javadoc

@@ -126,6 +140,100 @@ private void alterZoneSql(String filter, String zoneName) {
executeSql(String.format("ALTER ZONE \"%s\" SET \"DATA_NODES_FILTER\" = '%s'", zoneName, filter));
}

@Disabled("https://issues.apache.org/jira/browse/IGNITE-24467")
@Test
void testResetAfterChangeFilters() throws InterruptedException {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here and for all newly added tests: let's add steps from the doc to the javadoc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants