-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* H2Dialect create tables * verify slice range within data partition * ci job with 4 data partitions * partition over multiple databases * all persistenceIds queries * retrieve from each data partition and combine the results * mention min number of projection instances * keep journalTableWithSchema for compatibility * mima filter * and utility to retrieve connection factory names
- Loading branch information
Showing
53 changed files
with
1,246 additions
and
425 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,6 +112,41 @@ jobs: | |
-Dakka.persistence.r2dbc.state.payload-column-type=JSONB \ | ||
"core/testOnly akka.persistence.r2dbc.PayloadSpec" | ||
test-postgres-data-partitions: | ||
name: Run test with Postgres and several data partitions | ||
runs-on: ubuntu-22.04 | ||
if: github.repository == 'akka/akka-persistence-r2dbc' | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Checkout GitHub merge | ||
if: github.event.pull_request | ||
run: |- | ||
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch | ||
git checkout scratch | ||
- name: Cache Coursier cache | ||
uses: coursier/[email protected] | ||
|
||
- name: Set up JDK 11 | ||
uses: coursier/[email protected] | ||
with: | ||
jvm: temurin:1.11.0 | ||
|
||
- name: Start DB | ||
run: |- | ||
docker compose -f docker/docker-compose-postgres-2.yml up --wait | ||
docker exec -i postgres-db-0 psql -U postgres -t < ddl-scripts/create_tables_postgres_0-1.sql | ||
docker exec -i postgres-db-1 psql -U postgres -t < ddl-scripts/create_tables_postgres_2-3.sql | ||
- name: sbt test | ||
run: |- | ||
cp .jvmopts-ci .jvmopts | ||
sbt -Dconfig.resource=application-postgres-data-partitions.conf test | ||
test-yugabyte: | ||
name: Run tests with Yugabyte | ||
runs-on: ubuntu-22.04 | ||
|
3 changes: 3 additions & 0 deletions
3
core/src/main/mima-filters/1.2.1.backwards.excludes/data-partition.excludes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# internals | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.persistence.r2dbc.internal.BySliceQuery#Dao.currentDbTimestamp") | ||
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.persistence.r2dbc.internal.BySliceQuery#Dao.currentDbTimestamp") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.