Skip to content

Commit

Permalink
incorporating review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
  • Loading branch information
sarthakaggarwal97 committed Sep 1, 2023
1 parent 54de39b commit e9eddc9
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 36 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- [Remote Store] Implicitly use replication type SEGMENT for remote store clusters ([#9264](https://github.com/opensearch-project/OpenSearch/pull/9264))
- Use non-concurrent path for sort request on timeseries index and field([#9562](https://github.com/opensearch-project/OpenSearch/pull/9562))
- Added sampler based on `Blanket Probabilistic Sampling rate` and `Override for on demand` ([#9621](https://github.com/opensearch-project/OpenSearch/issues/9621))
- Move ZStd to a plugin ([#9658](https://github.com/opensearch-project/OpenSearch/pull/9658))

### Deprecated

Expand Down
29 changes: 0 additions & 29 deletions plugins/custom-codecs/licenses/zstd-jni-LICENSE.txt

This file was deleted.

1 change: 0 additions & 1 deletion plugins/custom-codecs/licenses/zstd-jni-NOTICE.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import org.opensearch.test.OpenSearchIntegTestCase;

@OpenSearchIntegTestCase.ClusterScope(scope = OpenSearchIntegTestCase.Scope.TEST)
public class ZstdNotEnabledIT extends OpenSearchIntegTestCase {
public class ZstdNotEnabledIT extends OpenSearchIntegTestCase {

public void testZStdCodecsWithoutPluginInstalled() {

Expand All @@ -34,5 +34,4 @@ public void testZStdCodecsWithoutPluginInstalled() {
);
}


}
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public Supplier<RetentionLeases> retentionLeasesSupplier() {
// Though the external visible codec name is zstd or zstd_no_dict, internally it is registered as Lucene95CustomCodec
// Hence this check is required, Lucene95CustomCodec will not be part of availableCodecs if the custom-codecs plugin
// is not installed
if (("zstd".equals(s) || "zstd_no_dict".equals(s)) && Codec.availableCodecs().contains("Lucene95CustomCodec")){
if (("zstd".equals(s) || "zstd_no_dict".equals(s)) && Codec.availableCodecs().contains("Lucene95CustomCodec")) {
return s;
}
if (Codec.availableCodecs().contains(s) == false) { // we don't error message the not officially supported ones
Expand Down
3 changes: 0 additions & 3 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,3 @@ if (extraProjects.exists()) {
addSubProjects('', extraProjectDir)
}
}
include 'plugins:custom-codecs'
findProject(':plugins:custom-codecs')?.name = 'custom-codecs'

0 comments on commit e9eddc9

Please sign in to comment.