-
Notifications
You must be signed in to change notification settings - Fork 0
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
Updated changes to security #11
base: pitsegmentsrest
Are you sure you want to change the base?
Commits on Aug 9, 2022
-
Add IndexShard#getLatestReplicationCheckpoint behind segrep enable fe…
…ature flag (opensearch-project#4163) * Add IndexShard#getLatestReplicationCheckpoint behind segrep enable feature flag Signed-off-by: Suraj Singh <[email protected]> * Address review comment. Move tests to SegmentReplicationIndexShardTests Signed-off-by: Suraj Singh <[email protected]> * Add segrep enbaled index settings in TargetServiceTests, SourceHandlerTests Signed-off-by: Suraj Singh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a120dd2 - Browse repository at this point
Copy the full SHA a120dd2View commit details -
Refactor the src and test of GeoBoundsAggregation on GeoPoint from se…
…rver folder to geo module. Refactors the GeoBoundsAggregation for geo_point types from the core server to the geo module. Signed-off-by: Navneet Verma <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4751f3b - Browse repository at this point
Copy the full SHA 4751f3bView commit details
Commits on Aug 10, 2022
-
[Remote Store] Add validator that forces segment replication type bef…
…ore enabling remote store (opensearch-project#4175) * Add validator that forces segment replication type before enabling remote store Signed-off-by: Sachin Kale <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c3f034 - Browse repository at this point
Copy the full SHA 1c3f034View commit details -
[Segment Replication] Fix OngoingSegmentReplications to key by alloca…
…tion ID instead of DiscoveryNode. (opensearch-project#4182) * Fix OngoingSegmentReplications to key by allocation ID instead of DiscoveryNode. This change fixes segrep to work with multiple shards per node by keying ongoing replications on allocation ID. This also updates cancel methods to ensure state is properly cleared on shard cancel. Signed-off-by: Marc Handalian <[email protected]> * Clean up cancel methods. Signed-off-by: Marc Handalian <[email protected]> Signed-off-by: Marc Handalian <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7dad063 - Browse repository at this point
Copy the full SHA 7dad063View commit details
Commits on Aug 12, 2022
-
[Remote Store] Change remote_store setting validation message to make…
… it more clear (opensearch-project#4199) * Change remote_store setting validation message to make it more clear Signed-off-by: Sachin Kale <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ccedd8 - Browse repository at this point
Copy the full SHA 8ccedd8View commit details -
[Bug] [Segment Replication] Update store metadata recovery diff logic…
… to ignore missing files causing exception (opensearch-project#4185) * Update Store for segment replication dif Signed-off-by: Poojita Raj <[email protected]> Signed-off-by: Poojita Raj <[email protected]> * Update recoveryDiff logic to ingore missing files causing exception on replica during copy Signed-off-by: Suraj Singh <[email protected]> * Address review comments Signed-off-by: Suraj Singh <[email protected]> Signed-off-by: Poojita Raj <[email protected]> Signed-off-by: Suraj Singh <[email protected]> Co-authored-by: Poojita Raj <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b9a64cb - Browse repository at this point
Copy the full SHA b9a64cbView commit details
Commits on Aug 13, 2022
-
[Remote Store] Add RemoteSegmentStoreDirectory to interact with remot…
…e segment store (opensearch-project#4020) * Add RemoteSegmentStoreDirectory to interact with remote segment store Signed-off-by: Sachin Kale <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5f2e66b - Browse repository at this point
Copy the full SHA 5f2e66bView commit details
Commits on Aug 15, 2022
-
Update Gradle to 7.5.1 (opensearch-project#4211)
Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Andriy Redko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0dbbd72 - Browse repository at this point
Copy the full SHA 0dbbd72View commit details -
Bump com.diffplug.spotless from 6.9.0 to 6.9.1 (opensearch-project#4210)
Bumps com.diffplug.spotless from 6.9.0 to 6.9.1. --- updated-dependencies: - dependency-name: com.diffplug.spotless dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 46d7a47 - Browse repository at this point
Copy the full SHA 46d7a47View commit details -
[Segment Replication] Adding PrimaryMode check before publishing chec…
…kpoint and processing a received checkpoint. (opensearch-project#4157) * Adding PrimaryMode check before publishing checkpoint. Signed-off-by: Rishikesh1159 <[email protected]> * Applying spotless check Signed-off-by: Rishikesh1159 <[email protected]> * Moving segrep specific tests to SegmentReplicationIndexShardTests. Signed-off-by: Rishikesh1159 <[email protected]> * Adding logic and tests for rejecting checkpoints if shard is in PrimaryMode. Signed-off-by: Rishikesh1159 <[email protected]> * Applying ./gradlew :server:spotlessApply. Signed-off-by: Rishikesh1159 <[email protected]> * Applying ./gradlew :server:spotlessApply Signed-off-by: Rishikesh1159 <[email protected]> * Changing log level to warn in shouldProcessCheckpoint() of IndexShard.java class. Signed-off-by: Rishikesh1159 <[email protected]> * Removing unnecessary lazy logging in shouldProcessCheckpoint(). Signed-off-by: Rishikesh1159 <[email protected]> Signed-off-by: Rishikesh1159 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 96bfd1f - Browse repository at this point
Copy the full SHA 96bfd1fView commit details -
Set analyzer to regex query string search (opensearch-project#3967)
Sets analyzer to regex query string search Signed-off-by: yyyogev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea4cfcc - Browse repository at this point
Copy the full SHA ea4cfccView commit details -
[Upgrade] to lucene-9.4.0-snapshot-ddf0d0a (opensearch-project#4183)
Upgrades to lucene-9.4.0-snapshot-ddf0d0a by refactoring to TermOrdValComparator as a top level class. Signed-off-by: Nicholas Walter Knize <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 411321e - Browse repository at this point
Copy the full SHA 411321eView commit details -
Adding documentation about creation of uber-JARs (opensearch-project#…
…3785) * Adding documentation about creation of uber-JARs Signed-off-by: Pranav Garg <[email protected]> * Fixing linelint error Signed-off-by: Pranav Garg <[email protected]> * Comprehensive changes Signed-off-by: Pranav Garg <[email protected]> * Adding PR changes Signed-off-by: Pranav Garg <[email protected]> * PR changes Signed-off-by: Pranav Garg <[email protected]> Signed-off-by: Pranav Garg <[email protected]> Co-authored-by: Pranav Garg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a081f2f - Browse repository at this point
Copy the full SHA a081f2fView commit details
Commits on Aug 16, 2022
-
Segment Replication - Remove unnecessary call to markAllocationIdAsIn…
…Sync. (opensearch-project#4224) This PR Removes an unnecessary call to markAllocationIdAsInSync on the primary shard when replication events complete. Recovery will manage this initial call. Signed-off-by: Marc Handalian <[email protected]> Signed-off-by: Marc Handalian <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 280b938 - Browse repository at this point
Copy the full SHA 280b938View commit details -
[MUTE] search with uppercase regex in bwc testing (opensearch-project…
…#4226) Prevents "search with uppercase regex" in 190_index_prefix_search.yml from running in bwc testing until feature is backported. Signed-off-by: Nicholas Walter Knize <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e47b95 - Browse repository at this point
Copy the full SHA 1e47b95View commit details -
Introduce TranslogFactory for Local/Remote Translog support (opensear…
…ch-project#4172) * Introduce TranslogFactory for Local/Remote Translog support Signed-off-by: Bukhtawar Khan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 551f7c3 - Browse repository at this point
Copy the full SHA 551f7c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a625607 - Browse repository at this point
Copy the full SHA a625607View commit details -
Added bwc version 2.2.1 (opensearch-project#4194)
Co-authored-by: opensearch-ci-bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e17af2a - Browse repository at this point
Copy the full SHA e17af2aView commit details
Commits on Aug 17, 2022
-
[Segment Replication] Wait for documents to replicate to replica shar…
…ds (opensearch-project#4236) * [Segment Replication] Add thread sleep to account for replica lag in delete operations test Signed-off-by: Suraj Singh <[email protected]> * Address review comments, assertBusy on doc count rather than sleep Signed-off-by: Suraj Singh <[email protected]> Signed-off-by: Suraj Singh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 237f1a5 - Browse repository at this point
Copy the full SHA 237f1a5View commit details -
Segment Replication - Add additional unit tests for update & delete o…
…ps. (opensearch-project#4237) * Segment Replication - Add additional unit tests for update & delete operations. Signed-off-by: Marc Handalian <[email protected]> * Fix spotless. Signed-off-by: Marc Handalian <[email protected]> Signed-off-by: Marc Handalian <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a97d4c - Browse repository at this point
Copy the full SHA 3a97d4cView commit details -
Merge branch 'main' of https://github.com/opensearch-project/OpenSearch…
… into createpitrest
Configuration menu - View commit details
-
Copy full SHA for 78984d1 - Browse repository at this point
Copy the full SHA 78984d1View commit details -
Support shard promotion with Segment Replication. (opensearch-project…
…#4135) * Support shard promotion with Segment Replication. This change adds basic failover support with segment replication. Once selected, a replica will commit and reopen a writeable engine. Signed-off-by: Marc Handalian <[email protected]> * Add check to ensure a closed shard does not publish checkpoints. Signed-off-by: Marc Handalian <[email protected]> * Clean up in SegmentReplicationIT. Signed-off-by: Marc Handalian <[email protected]> * PR feedback. Signed-off-by: Marc Handalian <[email protected]> * Fix merge conflict. Signed-off-by: Marc Handalian <[email protected]> Signed-off-by: Marc Handalian <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f65e02d - Browse repository at this point
Copy the full SHA f65e02dView commit details -
Added timing data and more granular stages to SegmentReplicationState (…
…opensearch-project#4222) * Added timing data and more granular stages to SegmentReplicationState This change introduces instrumentation logging that measures the latency of the various stages of segment replication as seen by each replica. Logs have also been added to the source node for checkpoint publishing and checkpoint metadata responses. All logging is currently at the TRACE level. Signed-off-by: Kartik Ganesh <[email protected]> * Fixing SegmentReplicationTarget tests Signed-off-by: Kartik Ganesh <[email protected]> * Incorporated PR feedback Signed-off-by: Kartik Ganesh <[email protected]> * Fixing SegmentReplicationTargetService tests Signed-off-by: Kartik Ganesh <[email protected]> Signed-off-by: Kartik Ganesh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a2ba3a8 - Browse repository at this point
Copy the full SHA a2ba3a8View commit details
Commits on Aug 18, 2022
-
Handles the status code for
.
properties (opensearch-project#4246)* Return 400 status code for array out of bound Signed-off-by: Owais Kazi <[email protected]> * Spotless apply Signed-off-by: Owais Kazi <[email protected]> * PR comments Signed-off-by: Owais Kazi <[email protected]> Signed-off-by: Owais Kazi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 36f1d77 - Browse repository at this point
Copy the full SHA 36f1d77View commit details -
[Segment Replication] Update PrimaryShardAllocator to prefer replicas…
… with higher replication checkpoint (opensearch-project#4041) * [Segment Replication] Update PrimaryShardAllocator to prefer replicas having higher replication checkpoint Signed-off-by: Suraj Singh <[email protected]> * Use empty replication checkpoint to avoid NPE Signed-off-by: Suraj Singh <[email protected]> * Update NodeGatewayStartedShards to optionally wire in/out ReplicationCheckpoint field Signed-off-by: Suraj Singh <[email protected]> * Use default replication checkpoint causing EOF errors on empty checkpoint * Add indexSettings to GatewayAllocator to allow ReplicationCheckpoint comparator only for segrep enabled indices * Add unit tests for primary term first replica promotion & comparator fix * Fix NPE on empty IndexMetadata * Remove settings from AllocationService and directly inject in GatewayAllocator * Add more unit tests and minor code clean up Signed-off-by: Suraj Singh <[email protected]> * Address review comments & integration test Signed-off-by: Suraj Singh <[email protected]> * Fix comparator on null ReplicationCheckpoint Signed-off-by: Suraj Singh <[email protected]> Signed-off-by: Suraj Singh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d308a29 - Browse repository at this point
Copy the full SHA d308a29View commit details -
Signed-off-by: Bharathwaj G <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 96c8b3e - Browse repository at this point
Copy the full SHA 96c8b3eView commit details -
Fixing NodeGatewayStartedShards bwc (de)serialization issues (opensea…
…rch-project#4258) Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Andriy Redko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ee26e01 - Browse repository at this point
Copy the full SHA ee26e01View commit details
Commits on Aug 21, 2022
-
Fix AbstractStringFieldDataTestCase tests to account for TotalHits lo…
…wer bound (opensearch-project#4270) Fixes tests to account for TotalHits uncertainty as of Lucene 9. Signed-off-by: Daniel Widdis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4643620 - Browse repository at this point
Copy the full SHA 4643620View commit details
Commits on Aug 22, 2022
-
Bump com.gradle.enterprise from 3.10.3 to 3.11.1 (opensearch-project#…
…4273) Bumps com.gradle.enterprise from 3.10.3 to 3.11.1. --- updated-dependencies: - dependency-name: com.gradle.enterprise dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6629b09 - Browse repository at this point
Copy the full SHA 6629b09View commit details -
Refactored the src and test of GeoHashGrid and GeoTileGrid Aggregatio…
…ns on GeoPoint from server folder to geo module.(opensearch-project#4071) (opensearch-project#4072) (opensearch-project#4180) The changes also includes: * Updated Search plugin to provide the interface so that plugins can also register the composite aggregations * Added YAML test for the geo_grid, geo_tile and composite aggregation Signed-off-by: Navneet Verma <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5433056 - Browse repository at this point
Copy the full SHA 5433056View commit details
Commits on Aug 23, 2022
-
Merge branch 'main' of https://github.com/opensearch-project/OpenSearch…
… into pitsegmentsrest1
Configuration menu - View commit details
-
Copy full SHA for 3c8116c - Browse repository at this point
Copy the full SHA 3c8116cView commit details
Commits on Aug 28, 2022
-
Signed-off-by: Bharathwaj G <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa5940f - Browse repository at this point
Copy the full SHA fa5940fView commit details