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

Rebase on main #363

Merged
merged 61 commits into from
Jul 21, 2023
Merged

Commits on Apr 26, 2023

  1. Update gradle version to 7.6 (opensearch-project#265)

    Signed-off-by: Vijayan Balasubramanian <[email protected]>
    VijayanB authored Apr 26, 2023
    Configuration menu
    Copy the full SHA
    49565b2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba16116 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3524683 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2023

  1. Update dependency org.json:json to v20230227 (opensearch-project#273)

    Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
    mend-for-github-com[bot] authored May 2, 2023
    Configuration menu
    Copy the full SHA
    d9884b3 View commit details
    Browse the repository at this point in the history
  2. Baseline owners and maintainers (opensearch-project#275)

    Signed-off-by: Vijayan Balasubramanian <[email protected]>
    VijayanB authored May 2, 2023
    Configuration menu
    Copy the full SHA
    b9db1c7 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2023

  1. Add Auto Release Workflow (opensearch-project#288)

    Signed-off-by: Naveen Tatikonda <[email protected]>
    naveentatikonda authored May 6, 2023
    Configuration menu
    Copy the full SHA
    7ee2f13 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2023

  1. Configuration menu
    Copy the full SHA
    55e7798 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2023

  1. Adding release notes for 2.8 (opensearch-project#323)

    Signed-off-by: Martin Gaievski <[email protected]>
    martin-gaievski authored May 26, 2023
    Configuration menu
    Copy the full SHA
    78e4005 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Add 2.9.0 release notes (opensearch-project#350)

    Signed-off-by: Junqiu Lei <[email protected]>
    junqiu-lei authored Jul 11, 2023
    Configuration menu
    Copy the full SHA
    ee06307 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Configuration menu
    Copy the full SHA
    806755f View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. Implement creation of ip2geo feature (opensearch-project#257)

    * Update gradle version to 7.6 (opensearch-project#265)
    
    Signed-off-by: Vijayan Balasubramanian <[email protected]>
    
    * Implement creation of ip2geo feature
    
    * Implementation of ip2geo datasource creation
    * Implementation of ip2geo processor creation
    
    Signed-off-by: Heemin Kim <[email protected]>
    ---------
    
    Signed-off-by: Vijayan Balasubramanian <[email protected]>
    Signed-off-by: Heemin Kim <[email protected]>
    Co-authored-by: Vijayan Balasubramanian <[email protected]>
    heemin32 and VijayanB committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    3c6dc55 View commit details
    Browse the repository at this point in the history
  2. Added unit tests with some refactoring of codes (opensearch-project#271)

    * Add Unit tests
    * Set cache true for search query
    * Remove in memory cache implementation (Two way door decision)
     * Relying on search cache without custom cache
    * Renamed datasource state from FAILED to CREATE_FAILED
    * Renamed class name from *Helper to *Facade
    * Changed updateIntervalInDays to updateInterval
    * Changed value type of default update_interval from TimeValue to Long
    * Read setting value from cluster settings directly
    
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    a3627a6 View commit details
    Browse the repository at this point in the history
  3. Sync from main (opensearch-project#280)

    * Update gradle version to 7.6 (opensearch-project#265)
    
    Signed-off-by: Vijayan Balasubramanian <[email protected]>
    
    * Exclude lombok generated code from jacoco coverage report (opensearch-project#268)
    
    Signed-off-by: Heemin Kim <[email protected]>
    
    * Make jacoco report to be generated faster in local (opensearch-project#267)
    
    Signed-off-by: Heemin Kim <[email protected]>
    
    * Update dependency org.json:json to v20230227 (opensearch-project#273)
    
    Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
    
    * Baseline owners and maintainers (opensearch-project#275)
    
    Signed-off-by: Vijayan Balasubramanian <[email protected]>
    
    ---------
    
    Signed-off-by: Vijayan Balasubramanian <[email protected]>
    Signed-off-by: Heemin Kim <[email protected]>
    Co-authored-by: Vijayan Balasubramanian <[email protected]>
    Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
    3 people committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    ee519a2 View commit details
    Browse the repository at this point in the history
  4. Add datasource name validation (opensearch-project#281)

    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    cc41bf5 View commit details
    Browse the repository at this point in the history
  5. Refactoring of code (opensearch-project#282)

    1. Change variable name from datasourceName to name
    2. Change variable name from id to name
    3. Added helper methods in test code
    
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    c31ded4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2bc5bb0 View commit details
    Browse the repository at this point in the history
  7. Implement get datasource api (opensearch-project#279)

    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    df6de87 View commit details
    Browse the repository at this point in the history
  8. Update index option (opensearch-project#284)

    1. Make geodata index as hidden
    2. Make geodata index as read only allow delete after creation is done
    3. Refresh datasource index immediately after update
    
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    6d5ffa5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    82e3430 View commit details
    Browse the repository at this point in the history
  10. Create datasource index explicitly (opensearch-project#283)

    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    932e1e1 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    fde10e1 View commit details
    Browse the repository at this point in the history
  12. Remove all unused client attributes (opensearch-project#293)

    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    d3f39b0 View commit details
    Browse the repository at this point in the history
  13. Update copyright header (opensearch-project#298)

    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    056159b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4622492 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    50a29e8 View commit details
    Browse the repository at this point in the history
  16. Implements delete datasource API (opensearch-project#291)

    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    235431e View commit details
    Browse the repository at this point in the history
  17. Set User-Agent in http request (opensearch-project#300)

    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    062d73b View commit details
    Browse the repository at this point in the history
  18. Implement datasource update API (opensearch-project#292)

    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    e42d65a View commit details
    Browse the repository at this point in the history
  19. Refactoring test code (opensearch-project#302)

    Make buildGeoJSONFeatureProcessorConfig method to be more general
    
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    befcf47 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    0da53eb View commit details
    Browse the repository at this point in the history
  21. Bug fix and refactoring of code (opensearch-project#305)

    1. Bugfix: Ingest metadata can be null if there is no processor created
    2. Refactoring: Moved private method to another class for better testing support
    3. Refactoring: Set some private static final variable as public so that unit test can use it
    4. Refactoring: Changed string value to static variable
    
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    8d5c6bf View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    3adb06a View commit details
    Browse the repository at this point in the history
  23. Add ConcurrentModificationException (opensearch-project#308)

    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    9da3d85 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    f5d5bee View commit details
    Browse the repository at this point in the history
  25. Bug fix on lock management and few performance improvements (opensear…

    …ch-project#310)
    
    * Release lock before response back to caller for update/delete API
    * Release lock in background task for creation API
    * Change index settings to improve indexing performance
    
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    3992850 View commit details
    Browse the repository at this point in the history
  26. Change index setting from read_only_allow_delete to write (opensearch…

    …-project#311)
    
    read_only_allow_delete does not block write to an index.
    The disk-based shard allocator may add and remove this block automatically.
    Therefore, use index.blocks.write instead.
    
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    75137e8 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    94b5bf7 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    34804c9 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    2bec196 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    21ae37a View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    1de266b View commit details
    Browse the repository at this point in the history
  32. Return null index name for expired data (opensearch-project#322)

    Return null index name for expired data so that it can be deleted
    by clean up process. Clean up process exclude current index from deleting.
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    91b99d8 View commit details
    Browse the repository at this point in the history
  33. Add new fields in datasource (opensearch-project#325)

    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    7a83df4 View commit details
    Browse the repository at this point in the history
  34. Delete index once it is expired (opensearch-project#326)

    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    a52bc8b View commit details
    Browse the repository at this point in the history
  35. Add restoring event listener (opensearch-project#328)

    In the listener, we trigger a geoip data update
    
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    661fe6a View commit details
    Browse the repository at this point in the history
  36. Reverse forcemerge and refresh order (opensearch-project#331)

    Otherwise, opensearch does not clear old segment files
    
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    d158239 View commit details
    Browse the repository at this point in the history
  37. Removed parameter and settings (opensearch-project#332)

    * Removed first_only parameter
    * Removed max_concurrency and batch_size setting
    
    first_only parameter was added as current geoip processor has it.
    However, the parameter have no benefit for ip2geo processor as we don't do a sequantial search for array data but use multi search.
    
    max_concurrency and batch_size setting is removed as these are only reveal internal implementation and could be a future blocker to improve performance later.
    
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    dff8206 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    860c902 View commit details
    Browse the repository at this point in the history
  39. Delete GeoIP data indices after restoring complete (opensearch-projec…

    …t#334)
    
    We don't want to use restored GeoIP data indices. Therefore we
    delete the indices once restoring process complete.
    
    When GeoIP metadata index is restored, we create a new GeoIP data index instead.
    
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    fb19948 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    10f9107 View commit details
    Browse the repository at this point in the history
  41. Run update/delete request in a new thread (opensearch-project#337)

    This is not to block transport thread
    
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    c43eae1 View commit details
    Browse the repository at this point in the history
  42. Remove IP2Geo processor validation (opensearch-project#336)

    Cannot query index to get data to validate IP2Geo processor.
    Will add validation when we decide to store some of data in cluster state metadata.
    
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    b505ca3 View commit details
    Browse the repository at this point in the history
  43. Acquire lock sychronously (opensearch-project#339)

    By acquiring lock asychronously, the remaining part of the code
    is being run by transport thread which does not allow blocking code.
    We want only single update happen in a node using single thread. However,
    it cannot be acheived if I acquire lock asynchronously and pass the listener.
    
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    8d8b949 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    b657fff View commit details
    Browse the repository at this point in the history
  45. Changed class name and package (opensearch-project#341)

    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    20b3a85 View commit details
    Browse the repository at this point in the history
  46. Refactoring of code (opensearch-project#342)

    1. Changed class name from Ip2GeoCache to Ip2GeoCachedDao
    2. Moved the Ip2GeoCachedDao from cache to dao package
    
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    a45760f View commit details
    Browse the repository at this point in the history
  47. Add geo data cache (opensearch-project#340)

    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    dd3f393 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    418c3bc View commit details
    Browse the repository at this point in the history
  49. Use _primary in query preference and few changes (opensearch-project#347

    )
    
    1. Use _primary preference to get datasource metadata so that it can read the latest data. RefreshPolicy.IMMEDIATE won't refresh replica shards immediately according to opensearch-project#346
    2. Update datasource metadata index mapping
    3. Move batch size from static value to setting
    
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    04e6d6d View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    90f3b7c View commit details
    Browse the repository at this point in the history
  51. Update packages according to a change in OpenSearch core (opensearch-…

    …project#354)
    
    * Update packages according to a change in OpenSearch core
    
    Signed-off-by: Heemin Kim <[email protected]>
    
    * Update packages according to a change in OpenSearch core (opensearch-project#353)
    
    Signed-off-by: Heemin Kim <[email protected]>
    
    ---------
    
    Signed-off-by: Heemin Kim <[email protected]>
    heemin32 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    c0987cb View commit details
    Browse the repository at this point in the history