Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Remove unused MultiReaderIterator and multiReader method ([#667](https://github.com/opensearch-project/opensearch-hadoop/pull/667))

### Fixed
- Fixed serverless mode writes failing with 404 on _refresh endpoint ([#692](https://github.com/opensearch-project/opensearch-hadoop/pull/692))
- Fixed opensearch-spark-40 dependency license SHAs and added dependabot config for sql-40 module ([#688](https://github.com/opensearch-project/opensearch-hadoop/pull/688))
- Fixed global refresh when using dynamic index patterns ([#686](https://github.com/opensearch-project/opensearch-hadoop/pull/686))
- Fixed build failures when downloading Apache project dependencies (Hadoop, Hive, Spark) ([#595](https://github.com/opensearch-project/opensearch-hadoop/pull/595))
Expand Down
6 changes: 6 additions & 0 deletions mr/src/main/java/org/opensearch/hadoop/rest/RestClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,12 @@ public void refresh(Resource resource) {
}

public void refreshIndex(String index) {
if (settings.getServerlessMode()) {
if (LOG.isDebugEnabled()) {
LOG.debug("Serverless mode - skipping refreshIndex (not supported in serverless)");
}
return;
}
execute(POST, index + "/_refresh");
}

Expand Down
Loading