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

OAK-10150 | Add a test for index purge command where the latest OOB i… #875

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

nit0906
Copy link
Contributor

@nit0906 nit0906 commented Mar 21, 2023

…ndex is disabled and the queries are served by a lower versioned index

…ndex is disabled and the queries are served by a lower versioned index
Copy link
Contributor

@nfsantos nfsantos left a comment

Choose a reason for hiding this comment

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

LGTM

.setProperty(":originalType", "lucene");
store.merge(rootBuilder, EmptyHook.INSTANCE, CommitInfo.EMPTY);

addMockHiddenOakMount(fixture.getNodeStore(), Arrays.asList("fooIndex-3-custom-1", "fooIndex-3-custom-2"));
Copy link
Contributor

Choose a reason for hiding this comment

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

Since OAK now requires Java 11 as a baseline, we can now use the List.of() factory method which was introduced in Java 9.

@nit0906 nit0906 merged commit 0720de7 into apache:trunk Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants