Skip to content

Conversation

lkts
Copy link
Contributor

@lkts lkts commented Oct 24, 2024

No description provided.

@lkts lkts added >test Issues or PRs that are addressing/adding tests auto-backport Automatically create backport pull requests when merged :StorageEngine/Logs You know, for Logs labels Oct 24, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

}

@Override
public Response indexContenderDocuments(CheckedSupplier<List<XContentBuilder>, IOException> documentsSupplier) throws IOException {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This method exists in a base class, just a clean up.

}

@Override
public Response indexContenderDocuments(CheckedSupplier<List<XContentBuilder>, IOException> documentsSupplier) throws IOException {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This method exists in a base class, just a clean up.

}

void logsDbSettings(Settings.Builder builder) {
builder.put("index.mode", "logsdb");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Noticed this oversight, it only impacted reindex tests.

}

@Override
public void contenderSettings(Settings.Builder builder) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I am wondering if we should just create base classes like

SyntheticSourceAbstractChallengeRestTest
DisableSourceAbstractChallengeRestTest
StoredSourceAbstractChallengeRestTest

where the setting is applied and we can just inherit from them.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The thing is that sometimes baseline has stored source and sometimes the contender.

@lkts
Copy link
Contributor Author

lkts commented Oct 25, 2024

@elasticmachine update branch

@lkts lkts merged commit 9fffd29 into elastic:main Oct 25, 2024
16 checks passed
@lkts lkts deleted the logsdb_reindex_tests_new branch October 25, 2024 20:25
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

The backport operation could not be completed due to the following error:

There are no branches to backport to. Aborting.

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 115606

@lkts
Copy link
Contributor Author

lkts commented Oct 25, 2024

💚 All backports created successfully

Status Branch Result
8.x

Questions ?

Please refer to the Backport tool documentation

lkts added a commit to lkts/elasticsearch that referenced this pull request Oct 25, 2024
lkts added a commit that referenced this pull request Oct 25, 2024
jfreden pushed a commit to jfreden/elasticsearch that referenced this pull request Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged backport pending :StorageEngine/Logs You know, for Logs Team:StorageEngine >test Issues or PRs that are addressing/adding tests v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants