Skip to content

Commit e734878

Browse files
authored
Merge branch 'main' into dependabot/gradle/plugins/repository-gcs/com.google.api.grpc-proto-google-common-protos-2.54.1
Signed-off-by: Craig Perkins <[email protected]>
2 parents 71006eb + a64bfdb commit e734878

File tree

6 files changed

+16
-4
lines changed

6 files changed

+16
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1818

1919
### Changed
2020
- Migrate BC libs to their FIPS counterparts ([#14912](https://github.com/opensearch-project/OpenSearch/pull/14912))
21+
- Increase the floor segment size to 16MB ([#17699](https://github.com/opensearch-project/OpenSearch/pull/17699))
2122

2223
### Dependencies
2324
- Bump `com.nimbusds:nimbus-jose-jwt` from 9.41.1 to 10.0.2 ([#17607](https://github.com/opensearch-project/OpenSearch/pull/17607), [#17669](https://github.com/opensearch-project/OpenSearch/pull/17669))
@@ -32,6 +33,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
3233
- Bump `com.github.luben:zstd-jni` from 1.5.5-1 to 1.5.6-1 ([#17674](https://github.com/opensearch-project/OpenSearch/pull/17674))
3334
- Bump `lycheeverse/lychee-action` from 2.3.0 to 2.4.0 ([#17731](https://github.com/opensearch-project/OpenSearch/pull/17731))
3435
- Bump `com.netflix.nebula.ospackage-base` from 11.11.1 to 11.11.2 ([#17734](https://github.com/opensearch-project/OpenSearch/pull/17734))
36+
- Bump `com.nimbusds:oauth2-oidc-sdk` from 11.21 to 11.23.1 ([#17729](https://github.com/opensearch-project/OpenSearch/pull/17729))
3537
- Bump `com.google.api.grpc:proto-google-common-protos` from 2.52.0 to 2.54.1 ([#17733](https://github.com/opensearch-project/OpenSearch/pull/17733))
3638

3739
### Changed

plugins/repository-azure/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ dependencies {
6262
api 'com.microsoft.azure:msal4j-persistence-extension:1.3.0'
6363
api "net.java.dev.jna:jna-platform:${versions.jna}"
6464
api 'com.microsoft.azure:msal4j:1.18.0'
65-
api 'com.nimbusds:oauth2-oidc-sdk:11.21'
65+
api 'com.nimbusds:oauth2-oidc-sdk:11.23.1'
6666
api 'com.nimbusds:nimbus-jose-jwt:10.0.2'
6767
api 'com.nimbusds:content-type:2.3'
6868
api 'com.nimbusds:lang-tag:1.7'

plugins/repository-azure/licenses/oauth2-oidc-sdk-11.21.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
17facb3e3fa9e048f87b34c706e1163cad660e6d

server/src/main/java/org/opensearch/index/LogByteSizeMergePolicyProvider.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ public class LogByteSizeMergePolicyProvider implements MergePolicyProvider {
5050
private final Logger logger;
5151
private final boolean mergesEnabled;
5252

53-
public static final ByteSizeValue DEFAULT_MIN_MERGE = new ByteSizeValue(2, ByteSizeUnit.MB);
53+
/**
54+
* Use 16MB floor size to match Lucene default.
55+
* See <a href="https://github.com/apache/lucene/pull/14189">...</a>
56+
*/
57+
public static final ByteSizeValue DEFAULT_MIN_MERGE = new ByteSizeValue(16, ByteSizeUnit.MB);
5458
public static final int DEFAULT_MERGE_FACTOR = 10;
5559

5660
public static final ByteSizeValue DEFAULT_MAX_MERGED_SEGMENT = new ByteSizeValue(5, ByteSizeUnit.GB);

server/src/main/java/org/opensearch/index/TieredMergePolicyProvider.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,13 @@ public final class TieredMergePolicyProvider implements MergePolicyProvider {
136136
private final boolean mergesEnabled;
137137

138138
public static final double DEFAULT_EXPUNGE_DELETES_ALLOWED = 10d;
139-
public static final ByteSizeValue DEFAULT_FLOOR_SEGMENT = new ByteSizeValue(2, ByteSizeUnit.MB);
139+
140+
/**
141+
* Use 16MB floor size to match Lucene default.
142+
* See <a href="https://github.com/apache/lucene/pull/14189">...</a>
143+
*/
144+
public static final ByteSizeValue DEFAULT_FLOOR_SEGMENT = new ByteSizeValue(16, ByteSizeUnit.MB);
145+
140146
public static final int DEFAULT_MAX_MERGE_AT_ONCE = 10;
141147
public static final ByteSizeValue DEFAULT_MAX_MERGED_SEGMENT = new ByteSizeValue(5, ByteSizeUnit.GB);
142148
public static final double DEFAULT_SEGMENTS_PER_TIER = 10.0d;

0 commit comments

Comments
 (0)