From 538227bcc8b5c5ec2d6e889fcf8b10a0c31abac1 Mon Sep 17 00:00:00 2001
From: Andriy Redko <andriy.redko@aiven.io>
Date: Thu, 30 Jan 2025 15:21:10 -0500
Subject: [PATCH] Add release notes for 2.19.0 release

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
---
 .github/actions/run-bwc-suite/action.yaml                  | 2 +-
 .../customcodecs/bwc/CustomCodecsBwcCompatibilityIT.java   | 2 +-
 .../opensearch-custom-codecs.release-notes-2.19.0.0.md     | 7 +++++++
 3 files changed, 9 insertions(+), 2 deletions(-)
 create mode 100644 release-notes/opensearch-custom-codecs.release-notes-2.19.0.0.md

diff --git a/.github/actions/run-bwc-suite/action.yaml b/.github/actions/run-bwc-suite/action.yaml
index d66b7bc..426f852 100644
--- a/.github/actions/run-bwc-suite/action.yaml
+++ b/.github/actions/run-bwc-suite/action.yaml
@@ -49,7 +49,7 @@ runs:
           -Dbwc.version.previous=${{ steps.build-previous.outputs.built-version }}
           -Dbwc.version.next=${{ steps.build-next.outputs.built-version }} -i
 
-    - uses: alehechka/upload-tartifact@v2
+    - uses: actions/upload-artifact@v4
       if: always()
       with:
         name: ${{ inputs.report-artifact-name }}
diff --git a/bwc-test/src/test/java/org/opensearch/customcodecs/bwc/CustomCodecsBwcCompatibilityIT.java b/bwc-test/src/test/java/org/opensearch/customcodecs/bwc/CustomCodecsBwcCompatibilityIT.java
index b564655..9d204f3 100644
--- a/bwc-test/src/test/java/org/opensearch/customcodecs/bwc/CustomCodecsBwcCompatibilityIT.java
+++ b/bwc-test/src/test/java/org/opensearch/customcodecs/bwc/CustomCodecsBwcCompatibilityIT.java
@@ -175,7 +175,7 @@ public void testDataIngestionAndSearchBackwardsCompatibility() throws Exception
     private void ingestData(String index) throws IOException {
         assertTrue(indexExists(index));
         StringBuilder bulkRequestBody = new StringBuilder();
-        int numberOfRequests = Randomness.get().nextInt(10);
+        int numberOfRequests = Randomness.get().nextInt(10) + 1;
         while (numberOfRequests-- > 0) {
             for (int i = 0; i < Randomness.get().nextInt(100); i++) {
                 Map<String, Map<String, String>> indexRequest = new HashMap<>();
diff --git a/release-notes/opensearch-custom-codecs.release-notes-2.19.0.0.md b/release-notes/opensearch-custom-codecs.release-notes-2.19.0.0.md
new file mode 100644
index 0000000..15c9d89
--- /dev/null
+++ b/release-notes/opensearch-custom-codecs.release-notes-2.19.0.0.md
@@ -0,0 +1,7 @@
+## 2024-02-11 Version 2.19.0.0
+
+Compatible with OpenSearch 2.19.0
+
+### Bug fixes
+
+*  Wrap a call to QatZipper with AccessController.doPrivileged ([#211](https://github.com/opensearch-project/custom-codecs/pull/211))