Skip to content

Commit

Permalink
temporarily roll back Java clients versions
Browse files Browse the repository at this point in the history
  • Loading branch information
agrgr committed Jul 22, 2024
1 parent 20839ea commit 8556dd2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
21 changes: 16 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@
<spring-cloud-starter-bootstrap>4.1.2</spring-cloud-starter-bootstrap>
<maven.javadoc.plugin>3.3.0</maven.javadoc.plugin>
<maven.gpg.plugin>1.6</maven.gpg.plugin>
<aerospike-client-jdk8>8.1.2</aerospike-client-jdk8>
<aerospike-reactor-client>8.1.2</aerospike-reactor-client>
<!-- <aerospike-client-jdk8>8.1.2</aerospike-client-jdk8>-->
<!-- <aerospike-reactor-client>8.1.2</aerospike-reactor-client>-->
<aerospike-client>7.2.1</aerospike-client>
<aerospike-reactor-client>7.1.0</aerospike-reactor-client>
<aerospike-proxy-client>8.1.2</aerospike-proxy-client>
<reactor-test>3.6.1</reactor-test>
<embedded-aerospike>3.1.6</embedded-aerospike>
Expand Down Expand Up @@ -193,10 +195,15 @@
<version>${springdata.spring-boot}</version>
<scope>compile</scope>
</dependency>
<!-- <dependency>-->
<!-- <groupId>com.aerospike</groupId>-->
<!-- <artifactId>aerospike-client-jdk8</artifactId>-->
<!-- <version>${aerospike-client-jdk8}</version>-->
<!-- </dependency>-->
<dependency>
<groupId>com.aerospike</groupId>
<artifactId>aerospike-client-jdk8</artifactId>
<version>${aerospike-client-jdk8}</version>
<artifactId>aerospike-client</artifactId>
<version>${aerospike-client}</version>
</dependency>
<dependency>
<groupId>com.aerospike</groupId>
Expand Down Expand Up @@ -252,9 +259,13 @@
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
</dependency>
<!-- <dependency>-->
<!-- <groupId>com.aerospike</groupId>-->
<!-- <artifactId>aerospike-client-jdk8</artifactId>-->
<!-- </dependency>-->
<dependency>
<groupId>com.aerospike</groupId>
<artifactId>aerospike-client-jdk8</artifactId>
<artifactId>aerospike-client</artifactId>
</dependency>
<dependency>
<groupId>com.aerospike</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ public void shouldSaveAllVersionedDocumentsIfDuplicatesNotWithinOneBatch() {
assertThat(newFirst.getVersion()).isSameAs(0);
assertThat(newSecond.getVersion()).isSameAs(0);

template.saveAll(List.of(newFirst, newSecond));
template.saveAll(List.of(newFirst, newSecond)); // OptimisticLockingFailure Failed to save the record with ID 'newId2' due to versions mismatch
assertThat(newFirst.getVersion()).isSameAs(1);
assertThat(newSecond.getVersion()).isSameAs(1);

Expand Down

0 comments on commit 8556dd2

Please sign in to comment.