Skip to content
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

Delete pit service layer changes #8

Open
wants to merge 30 commits into
base: createpitservice
Choose a base branch
from

Commits on Jul 15, 2022

  1. Create pit service layer changes

    Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
    bharath-techie committed Jul 15, 2022
    Configuration menu
    Copy the full SHA
    a8be024 View commit details
    Browse the repository at this point in the history
  2. Create pit service layer changes

    Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
    bharath-techie committed Jul 15, 2022
    Configuration menu
    Copy the full SHA
    8a8f708 View commit details
    Browse the repository at this point in the history
  3. Delete pit service layer changes

    Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
    bharath-techie committed Jul 15, 2022
    Configuration menu
    Copy the full SHA
    f20dbdc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8f673c5 View commit details
    Browse the repository at this point in the history
  5. changing to consistent action names

    Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
    bharath-techie committed Jul 15, 2022
    Configuration menu
    Copy the full SHA
    97c4f77 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. Configuration menu
    Copy the full SHA
    9497923 View commit details
    Browse the repository at this point in the history
  2. Addressing review comments

    Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
    bharath-techie committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    8fcc25c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ab3f0d4 View commit details
    Browse the repository at this point in the history
  4. Create pit service layer changes (opensearch-project#3921)

    * Create pit service layer changes
    
    Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
    bharath-techie authored Jul 19, 2022
    Configuration menu
    Copy the full SHA
    55eb86d View commit details
    Browse the repository at this point in the history
  5. Resolving conflicts

    Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
    bharath-techie committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    41d342d View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2022

  1. Addressing comments

    Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
    bharath-techie committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    25bb645 View commit details
    Browse the repository at this point in the history
  2. [Segment Replication] Fixing flaky test failure happening for testSha…

    …rdAlreadyReplicating() (opensearch-project#3943)
    
    * Fixing flaky test failure happening for testShardAlreadyReplicating()
    
    Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
    Rishikesh1159 authored Jul 20, 2022
    Configuration menu
    Copy the full SHA
    4466a1f View commit details
    Browse the repository at this point in the history
  3. Rename and deprecate public methods that contains 'master' in the nam…

    …e in 'server' directory (opensearch-project#3647)
    
    Signed-off-by: Tianli Feng <ftianli@amazon.com>
    Tianli Feng authored Jul 20, 2022
    Configuration menu
    Copy the full SHA
    1510b94 View commit details
    Browse the repository at this point in the history
  4. Upgrading Joda version (opensearch-project#3935)

    * Updating Joda
    
    Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
    
    * Fixing Tests
    
    Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
    
    * update SHAs
    
    Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
    saratvemulapalli authored Jul 20, 2022
    Configuration menu
    Copy the full SHA
    29adf2a View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2022

  1. Addressing comments

    Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
    bharath-techie committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    717cd66 View commit details
    Browse the repository at this point in the history
  2. Fix possible flaky test for testBeforeIndexShardClosed_CancelsOngoing…

    …Replications() (opensearch-project#3963)
    
    * Fixing flaky test failure happening for testShardAlreadyReplicating()
    
    Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
    Rishikesh1159 authored Jul 21, 2022
    Configuration menu
    Copy the full SHA
    8b5a10c View commit details
    Browse the repository at this point in the history
  3. [Segment Replication] Checkpoint Replay on Replica Shard (opensearch-…

    …project#3658)
    
    * Adding Latest Recevied checkpoint, replay checkpoint logic along with tests
    
    Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
    Rishikesh1159 authored Jul 21, 2022
    Configuration menu
    Copy the full SHA
    bb593d6 View commit details
    Browse the repository at this point in the history
  4. Make HybridDirectory MMAP Extensions Configurable (opensearch-project…

    …#3837)
    
    * Make HybridDirectory MMAP Extensions Configurable
    
    Make the HybridDirectory's list of mmap extensions configurable
    via index settings instead of being hard-coded to a specfic set.
    Set defaults to the list of currently hard-coded values for
    backwards compatibility.
    
    Signed-off-by: Matt Weber <matt@mattweber.org>
    
    * Add javadoc to INDEX_STORE_HYBRID_MMAP_EXTENSIONS.
    
    Signed-off-by: Matt Weber <matt@mattweber.org>
    mattweber authored Jul 21, 2022
    Configuration menu
    Copy the full SHA
    b08a2b8 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2022

  1. Deprecate public methods and variables that contain 'master' terminol…

    …ogy in 'client' directory (opensearch-project#3966)
    
    * Deprecate public methods and variables that contain 'master' terminology in 'client' directory
    
    Signed-off-by: Tianli Feng <ftianli@amazon.com>
    
    * Change 3 String type usages with 'master' to 'cluster manager'
    
    Signed-off-by: Tianli Feng <ftianli@amazon.com>
    Tianli Feng authored Jul 22, 2022
    Configuration menu
    Copy the full SHA
    ccf1d15 View commit details
    Browse the repository at this point in the history
  2. Addressing review comment

    Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
    bharath-techie committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    f4db20b View commit details
    Browse the repository at this point in the history
  3. [Segment Replication] Wire up segment replication with peer recovery …

    …and add ITs. (opensearch-project#3743)
    
    * Add null check when computing max segment version.
    
    With segment replication enabled it is possible Lucene does not set the SegmentInfos
    min segment version, leaving the default value as null.
    
    Signed-off-by: Marc Handalian <handalm@amazon.com>
    
    * Update peer recovery to set the translogUUID of replicas to the UUID generated on the primary.
    
    This change updates the UUID when the translog is created to the value stored in the passed segment userdata.
    This is to ensure during failover scenarios that the replica can be promoted and not have a uuid mismatch with the value stored in user data.
    
    Signed-off-by: Marc Handalian <handalm@amazon.com>
    
    * Wire up Segment Replication under the feature flag.
    
    This PR wires up segment replication and adds some initial integration tests.
    
    Signed-off-by: Marc Handalian <handalm@amazon.com>
    
    * Add test to ensure replicas use primary translog uuid with segrep.
    
    Signed-off-by: Marc Handalian <handalm@amazon.com>
    
    * Update SegmentReplicationIT to assert previous commit points are valid and SegmentInfos can be built.
    Fix nitpicks in PR feedback.
    
    Signed-off-by: Marc Handalian <handalm@amazon.com>
    
    * Fix test with Assert.fail to include a message.
    
    Signed-off-by: Marc Handalian <handalm@amazon.com>
    mch2 authored Jul 22, 2022
    Configuration menu
    Copy the full SHA
    197909c View commit details
    Browse the repository at this point in the history
  4. Adds a new parameter, max_analyzer_offset, for the highlighter (opens…

    …earch-project#3893)
    
    * opensearch-project#3842 adds a new parameter to the highlighter, the max_analyzer_offset. When this parameter is provided the highlight stops in its value. This prevents the highlighter to go beyond the index maxAnalyzedOffset.
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * Adds a test for the new parameter
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * Fix the test add in the previous commit;
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * This was checking against the wrong field
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * Only runs the test for the correct version
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * Skips the test in Elasticsearch as well;
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * Remove elastic 3.0 to test
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * Skips all versions
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * Remove unnecessary fields as pointed by @reta
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * Compute if fieldMaxAnalyzedIsNotValid in the constructor as suggest by @reta
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * As discussed, it is better to throws different exceptions for when the fieldMaxAnalyzed is not valid and for when it is disabled;
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * hint what to do to allow highlight of bigger documents
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * Let the user define the new parameter globally for all fields highlighted
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * Change the  fieldMaxAnalyzedOffset Integer in order to use null when it is absent in highlight. This allows the error messages to much more precise, showing invalid for all negative numbers;
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * Update javadocs and implements the stream methods for the new fields;
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * builder.field do not accept null, so check before calling the method is necessary
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * Only send and read the new fields if the version supports it
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * the previous commit was checking the wrong field
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * Check for version 3.0.0 instead of current version
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * Update server/src/main/java/org/apache/lucene/search/uhighlight/CustomUnifiedHighlighter.java
    
    Co-authored-by: Andriy Redko <drreta@gmail.com>
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    * Execute the test after version 3.0.0
    
    Signed-off-by: Hauck <joaoh14@gmail.com>
    
    Co-authored-by: Andriy Redko <drreta@gmail.com>
    hauck-jvsh and reta authored Jul 22, 2022
    Configuration menu
    Copy the full SHA
    931813f View commit details
    Browse the repository at this point in the history
  5. Deprecate public methods and variables that contain 'master' terminol…

    …ogy in 'test/framework' directory (opensearch-project#3978)
    
    * Deprecate methods with 'master' name mainly in class 'InternalTestCluster', 'NodeRoles', and 'AbstractSnapshotIntegTestCase'
    
    * Deprecate variables contain 'master' in the name in class 'InternalTestCluster'
    
    Signed-off-by: Tianli Feng <ftianli@amazon.com>
    Tianli Feng authored Jul 22, 2022
    Configuration menu
    Copy the full SHA
    5db75c1 View commit details
    Browse the repository at this point in the history
  6. Parallelize stale blobs deletion during snapshot delete (opensearch-p…

    …roject#3796)
    
    * Parallelize stale blobs deletion during snapshot delete
    
    Signed-off-by: Piyush Daftary <pdaftary@amazon.com>
    
    * Adding test which throws exception
    
    Signed-off-by: Piyush Daftary <pdaftary@amazon.com>
    
    * Adusting identation for spotlessJavaCheck
    
    Signed-off-by: Piyush Daftary <pdaftary@amazon.com>
    
    * Adding more description to MAX_SHARD_BLOB_DELETE_BATCH_SIZE
    
    Signed-off-by: Piyush Daftary <pdaftary@amazon.com>
    
    * Renaming max_shard_blob_delete_batch_size to max_snapshot_shard_blob_delete_batch_size
    
    Signed-off-by: Piyush Daftary <pdaftary@amazon.com>
    piyushdaftary authored Jul 22, 2022
    Configuration menu
    Copy the full SHA
    1c787e8 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2022

  1. Add guidelines for code contributions (opensearch-project#3976)

    A set of guidelines to decide whether a feature should be included in OpenSearch.
    
    Signed-off-by: Rabi Panda <adnapibar@gmail.com>
    adnapibar authored Jul 23, 2022
    Configuration menu
    Copy the full SHA
    efde8c5 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Use bash in systemd-entrypoint shebang (opensearch-project#4008)

    Uses a shell environment where `-o pipefail` is available.
    
    Closes opensearch-project#4005
    
    Signed-off-by: Cole White <cwhite@wikimedia.org>
    shdubsh authored Jul 26, 2022
    Configuration menu
    Copy the full SHA
    b24b02f View commit details
    Browse the repository at this point in the history
  2. Addressing review comment - adding tests to test concurrency

    Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
    bharath-techie committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    3f08013 View commit details
    Browse the repository at this point in the history
  3. Addressing review comment - adding tests to test concurrency

    Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
    bharath-techie committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    f76fa24 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d870dd5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ae618ff View commit details
    Browse the repository at this point in the history