Skip to content

Commit 6dd2aee

Browse files
committed
Merge branch 'main' into larger_runner
2 parents 8b8bd0a + da81f39 commit 6dd2aee

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

.github/workflows/ci.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Test
88
runs-on: ubuntu-latest-m
99
container:
10-
image: node:18
10+
image: node:20
1111
strategy:
1212
matrix:
1313
searchdb-host: [elastic7, elastic8, opensearch1, opensearch2]
@@ -25,18 +25,21 @@ jobs:
2525
image: elasticsearch:7.17.9
2626
env:
2727
discovery.type: single-node
28+
options: --ulimit memlock=-1:-1 --ulimit nofile=65536:65536
2829
elastic8:
2930
image: elasticsearch:8.13.4
3031
env:
3132
discovery.type: single-node
3233
xpack.security.enabled: false
34+
options: --ulimit memlock=-1:-1 --ulimit nofile=65536:65536
3335
opensearch1:
3436
image: opensearchproject/opensearch:1.3.16
3537
env:
3638
discovery.type: single-node
3739
plugins.security.disabled: true
3840
OPENSEARCH_JAVA_OPTS: -Xms512m -Xmx512m
3941
DISABLE_INSTALL_DEMO_CONFIG: true
42+
options: --ulimit memlock=-1:-1 --ulimit nofile=65536:65536
4043
opensearch2:
4144
image: opensearchproject/opensearch:2.13.0
4245
env:
@@ -45,13 +48,14 @@ jobs:
4548
OPENSEARCH_JAVA_OPTS: -Xms512m -Xmx512m
4649
DISABLE_INSTALL_DEMO_CONFIG: true
4750
OPENSEARCH_INITIAL_ADMIN_PASSWORD: temba
51+
options: --ulimit memlock=-1:-1 --ulimit nofile=65536:65536
4852

4953
steps:
5054
- name: Checkout code
51-
uses: actions/checkout@v3
55+
uses: actions/checkout@v4
5256

5357
- name: Install Go
54-
uses: actions/setup-go@v3
58+
uses: actions/setup-go@v5
5559
with:
5660
go-version: ${{ env.go-version }}
5761

@@ -65,7 +69,7 @@ jobs:
6569

6670
- name: Upload coverage
6771
if: success()
68-
uses: codecov/codecov-action@v3
72+
uses: codecov/codecov-action@v4
6973
with:
7074
token: ${{ secrets.CODECOV_TOKEN }}
7175
fail_ci_if_error: true

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
v9.1.3 (2024-05-16)
2+
-------------------------
3+
* Reduce batch size to 100,000
4+
* Test with OpenSearch 2.13 as well
5+
16
v9.1.2 (2024-05-14)
27
-------------------------
38
* Remove deprecated _doc from mapping to support ES8 / OS2

indexers/contacts.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ SELECT org_id, id, modified_on, is_active, row_to_json(t) FROM (
150150
FROM contacts_contact
151151
WHERE modified_on >= $1
152152
ORDER BY modified_on ASC
153-
LIMIT 500000
153+
LIMIT 100000
154154
) t;
155155
`
156156

0 commit comments

Comments
 (0)