SAP / cloud-sdk

The SAP Cloud SDK documentation and support repository.
https://sap.github.io/cloud-sdk/
Apache License 2.0
45 stars 41 forks source link

Race Condition in DefaultCachingDecorator #550

Closed danielchiaradia closed 2 years ago

danielchiaradia commented 2 years ago

Issue Description

If you configure caching for a call to the com.sap.cloud.sdk.cloudplatform.resilience.ResilienceDecorator the underlying com.sap.cloud.sdk.frameworks.resilience4j.Resilience4jDecorationStrategy will initialize the caches lazily in com.sap.cloud.sdk.frameworks.resilience4j.DefaultCachingDecorator.decorateCallable(Callable, ResilienceConfiguration). The decorator checks first if there is any cache present for the given name and will create one when the cache manager returns null. If you have two threads concurrently calling the ResilienceDecorator for the same service class then it can happen that both threads retrieve null from the cache manager and both threads try to create the cache. JCache will then synchronize the cache creation and throws an exception when there is already a cache for the given name. The result is that one thread creates the caches successfully and the other gets an exception. The reason is the race condition in DefaultCachingDecorator#decorateCallable where the lookup and cache creation are not synchronized. This problem occurs only on the first call and only if there is more than one thread involved.

The call to the resilience execution looks more or less as follows:

ResilienceConfiguration cfg = ResilienceConfiguration.of(SearchCommand.class);
CacheConfigurationBuilder cacheBuilder = CacheConfiguration.of(Duration.ofDays(1));
cfg.cacheConfiguration(cacheBuilder.withParameters("123"));

return ResilienceDecorator.executeSupplier(
                () -> searchCommand.search("123"),
                cfg);

Impact / Priority

Impact: Inconvenience. Users might see an error in the application have to redo their task (mostly searching for something).

Error Message

 javax.cache.CacheException: Cache com.sample.SearchCommand already exists
    at com.github.benmanes.caffeine.jcache.CacheManagerImpl.lambda$createCache$0(CacheManagerImpl.java:98)
    at java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1877)
    at com.github.benmanes.caffeine.jcache.CacheManagerImpl.createCache(CacheManagerImpl.java:96)
    at com.sap.cloud.sdk.frameworks.resilience4j.DefaultCachingDecorator.decorateCallable(DefaultCachingDecorator.java:88)
    at com.sap.cloud.sdk.frameworks.resilience4j.DefaultCachingDecorator.decorateCallable(DefaultCachingDecorator.java:24)
    at com.sap.cloud.sdk.frameworks.resilience4j.Resilience4jDecorationStrategy.decorateCallable(Resilience4jDecorationStrategy.java:231)
    at com.sap.cloud.sdk.frameworks.resilience4j.Resilience4jDecorationStrategy.decorateSupplier(Resilience4jDecorationStrategy.java:202)
    at com.sap.cloud.sdk.frameworks.resilience4j.Resilience4jDecorationStrategy.decorateSupplier(Resilience4jDecorationStrategy.java:181)
    at com.sap.cloud.sdk.cloudplatform.resilience.ResilienceDecorationStrategy.decorateSupplier(ResilienceDecorationStrategy.java:108)
    at com.sap.cloud.sdk.cloudplatform.resilience.ResilienceDecorationStrategy.executeSupplier(ResilienceDecorationStrategy.java:128)
    at com.sap.cloud.sdk.cloudplatform.resilience.ResilienceDecorator.executeSupplier(ResilienceDecorator.java:141)
    at ...

Dependencies

[INFO] +- javax.servlet:javax.servlet-api:jar:4.0.1:compile
[INFO] +- com.sap.cloud.servicesdk.prov:odata2.web:jar:1.40.11:compile
[INFO] |  +- com.sap.cloud.servicesdk.prov:odata2.cds:jar:1.40.11:compile
[INFO] |  |  +- com.sap.cloud.servicesdk:hana.connectivity.cds-core:jar:1.40.11:compile
[INFO] |  |  |  \- com.sap.cds:cds4j-runtime:jar:1.13.1:compile
[INFO] |  |  |     \- com.sap.cds:cds4j-core:jar:1.13.1:compile
[INFO] |  |  +- com.sap.cloud.servicesdk.prov:odata2.cdx:jar:1.40.11:compile
[INFO] |  |  +- com.sap.cloud.servicesdk.prov:api:jar:1.40.11:compile
[INFO] |  |  |  +- javax.transaction:javax.transaction-api:jar:1.3:compile
[INFO] |  |  |  +- commons-beanutils:commons-beanutils:jar:1.9.4:compile
[INFO] |  |  |  |  \- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] |  |  |  \- com.sap.cds:cds4j-api:jar:1.13.1:compile
[INFO] |  |  +- com.healthmarketscience.sqlbuilder:sqlbuilder:jar:2.1.7:compile
[INFO] |  |  |  \- com.healthmarketscience.common:common-util:jar:1.1.1:compile
[INFO] |  |  |     \- commons-lang:commons-lang:jar:2.6:compile
[INFO] |  |  \- joda-time:joda-time:jar:2.10.5:compile
[INFO] |  +- com.sap.cloud.servicesdk.prov:odata2.api:jar:1.40.11:compile
[INFO] |  |  \- com.sap.cloud.servicesdk.prov:odatav2-lib:jar:1.40.11:compile
[INFO] |  +- com.sap.cloud.servicesdk.prov:odata2.core:jar:1.40.11:compile
[INFO] |  |  +- com.sap.cloud.servicesdk.prov:multitenant-core:jar:1.40.11:compile
[INFO] |  |  |  +- com.sap.cloud.instancemanager:client:jar:1.14.0:compile
[INFO] |  |  |  |  +- com.sap.cloud.instancemanager:util:jar:1.14.0:compile
[INFO] |  |  |  |  \- com.sap.cloud.instancemanager:client-api:jar:1.14.0:compile
[INFO] |  |  |  \- cglib:cglib:jar:2.2.2:compile
[INFO] |  |  |     \- asm:asm:jar:3.3.1:compile
[INFO] |  |  +- org.apache.poi:poi:jar:4.1.1:compile
[INFO] |  |  |  +- org.apache.commons:commons-collections4:jar:4.4:compile
[INFO] |  |  |  \- org.apache.commons:commons-math3:jar:3.6.1:compile
[INFO] |  |  +- org.apache.poi:poi-ooxml:jar:4.1.1:compile
[INFO] |  |  |  +- org.apache.commons:commons-compress:jar:1.19:compile
[INFO] |  |  |  \- com.github.virtuald:curvesapi:jar:1.06:compile
[INFO] |  |  \- org.apache.poi:poi-ooxml-schemas:jar:4.1.1:compile
[INFO] |  |     \- org.apache.xmlbeans:xmlbeans:jar:3.1.0:compile
[INFO] |  +- com.sap.cloud.servicesdk.prov:edmxparser:jar:1.40.11:compile
[INFO] |  |  +- commons-io:commons-io:jar:2.8.0:compile
[INFO] |  |  \- com.sap.cloud.servicesdk:developer_license:jar:1.40.11:compile
[INFO] |  +- com.sap.cloud.servicesdk.prov:odata-core:jar:1.40.11:compile
[INFO] |  |  \- javax.ws.rs:javax.ws.rs-api:jar:2.1.1:compile
[INFO] |  \- com.sap.cloud.servicesdk.prov:odatav2-prov:jar:1.40.11:compile
[INFO] +- org.projectlombok:lombok:jar:1.18.20:provided
[INFO] +- com.sap.cloud.sdk.cloudplatform:scp-cf:jar:3.45.0:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:auditlog-scp-cf:jar:3.45.0:compile
[INFO] |  |  \- com.sap.cloud.sdk.cloudplatform:auditlog:jar:3.45.0:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:caching:jar:3.45.0:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:cloudplatform-core-scp-cf:jar:3.45.0:compile
[INFO] |  |  \- com.mikesamuel:json-sanitizer:jar:1.2.2:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:cloudplatform-connectivity-scp-cf:jar:3.45.0:compile
[INFO] |  |  +- com.sap.cloud.sdk.cloudplatform:cloudplatform-connectivity-scp:jar:3.45.0:compile
[INFO] |  |  +- com.sap.cloud.security.xsuaa:token-client:jar:2.8.8:compile
[INFO] |  |  +- org.apache.httpcomponents:httpcore:jar:4.4.14:compile
[INFO] |  |  +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[INFO] |  |  +- org.apache.commons:commons-lang3:jar:3.12.0:compile
[INFO] |  |  +- com.jayway.jsonpath:json-path:jar:2.5.0:compile
[INFO] |  |  \- com.sap.cloud.security:java-api:jar:2.8.8:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:security-scp-cf:jar:3.45.0:compile
[INFO] |  |  \- com.sap.cloud.security:java-security:jar:2.8.8:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:servlet:jar:3.45.0:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:tenant-scp-cf:jar:3.45.0:compile
[INFO] |  \- com.sap.cloud.sdk.cloudplatform:metering:jar:3.45.0:compile
[INFO] +- com.sap.cloud.sdk.s4hana:s4hana-all:jar:3.45.0:compile
[INFO] |  +- com.sap.cloud.sdk.s4hana:s4hana-core:jar:3.45.0:compile
[INFO] |  |  \- com.sap.cloud.sdk.datamodel:fluent-result:jar:3.45.0:compile
[INFO] |  +- com.sap.cloud.sdk.s4hana:s4hana-connectivity:jar:3.45.0:compile
[INFO] |  +- com.sap.cloud.sdk.s4hana:s4hana-api-odata:jar:3.45.0:compile
[INFO] |  |  +- com.sap.cloud.sdk.datamodel:odata-core:jar:3.45.0:compile
[INFO] |  |  |  \- org.jsoup:jsoup:jar:1.13.1:compile
[INFO] |  |  \- com.sap.cloud.servicesdk:odata-v2-lib:jar:1.40.11:compile
[INFO] |  +- com.sap.cloud.sdk.s4hana:s4hana-api-odata-v4:jar:3.45.0:compile
[INFO] |  |  +- com.sap.cloud.sdk.datamodel:odata-v4-core:jar:3.45.0:compile
[INFO] |  |  \- com.sap.cloud.sdk.datamodel:odata-client:jar:3.45.0:compile
[INFO] |  +- com.sap.cloud.sdk.datamodel:soap:jar:3.45.0:compile
[INFO] |  |  +- org.apache.axis2:axis2-adb:jar:1.7.9:compile
[INFO] |  |  |  \- org.apache.ws.commons.axiom:axiom-dom:jar:1.2.21:runtime
[INFO] |  |  |     \- org.codehaus.woodstox:woodstox-core-asl:jar:4.2.0:runtime
[INFO] |  |  |        \- org.codehaus.woodstox:stax2-api:jar:3.1.1:runtime
[INFO] |  |  +- org.apache.axis2:axis2-transport-http:jar:1.7.9:compile
[INFO] |  |  +- org.apache.axis2:axis2-kernel:jar:1.7.9:compile
[INFO] |  |  |  +- org.apache.ws.commons.axiom:axiom-api:jar:1.2.21:compile
[INFO] |  |  |  |  +- org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.1:compile
[INFO] |  |  |  |  +- jaxen:jaxen:jar:1.2.0:compile
[INFO] |  |  |  |  +- org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile
[INFO] |  |  |  |  \- org.apache.james:apache-mime4j-core:jar:0.7.2:compile
[INFO] |  |  |  +- org.apache.ws.commons.axiom:axiom-impl:jar:1.2.21:runtime
[INFO] |  |  |  +- org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec:jar:1.1.2:compile
[INFO] |  |  |  +- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1:compile
[INFO] |  |  |  +- wsdl4j:wsdl4j:jar:1.6.3:compile
[INFO] |  |  |  +- org.apache.ws.xmlschema:xmlschema-core:jar:2.2.1:compile
[INFO] |  |  |  +- org.apache.neethi:neethi:jar:3.0.3:compile
[INFO] |  |  |  \- org.apache.woden:woden-core:jar:1.0M10:compile
[INFO] |  |  \- org.apache.axis2:axis2-transport-local:jar:1.7.9:runtime
[INFO] |  +- com.sap.cloud.sdk.s4hana:rfc:jar:3.45.0:compile
[INFO] |  |  +- com.sap.cloud.sdk.quality:common:jar:3.45.0:compile
[INFO] |  |  |  \- org.apache.commons:commons-csv:jar:1.8:compile
[INFO] |  |  \- org.json:json:jar:20210307:compile
[INFO] |  \- com.sap.cloud.servicesdk:odatav2-connectivity-sdk3:jar:1.40.11:compile
[INFO] |     \- com.sap.cloud.servicesdk:jacksonutil-sdk3:jar:1.40.11:compile
[INFO] +- com.sap.cloud.sdk.services:scp-workflow-cf:jar:3.45.0:compile
[INFO] |  +- com.sap.cloud.sdk.datamodel:openapi-core:jar:3.45.0:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:cloudplatform-connectivity:jar:3.45.0:compile
[INFO] |  +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] |  +- com.google.code.gson:gson:jar:2.8.6:compile
[INFO] |  +- com.google.guava:guava:jar:30.1.1-jre:compile
[INFO] |  |  +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] |  |  +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] |  |  \- com.google.j2objc:j2objc-annotations:jar:1.3:compile
[INFO] |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.3:compile
[INFO] |  +- org.springframework:spring-core:jar:5.3.4:compile
[INFO] |  |  \- org.springframework:spring-jcl:jar:5.3.4:compile
[INFO] |  \- org.springframework:spring-web:jar:5.3.4:compile
[INFO] +- com.sap.cloud.sdk.frameworks:resilience4j:jar:3.45.0:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:cloudplatform-core:jar:3.45.0:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:resilience:jar:3.45.0:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:tenant:jar:3.45.0:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:security:jar:3.45.0:compile
[INFO] |  +- io.vavr:vavr:jar:0.10.3:compile
[INFO] |  |  \- io.vavr:vavr-match:jar:0.10.3:compile
[INFO] |  +- io.github.resilience4j:resilience4j-circuitbreaker:jar:1.7.0:compile
[INFO] |  |  \- io.github.resilience4j:resilience4j-core:jar:1.7.0:compile
[INFO] |  +- io.github.resilience4j:resilience4j-bulkhead:jar:1.7.0:compile
[INFO] |  +- io.github.resilience4j:resilience4j-timelimiter:jar:1.7.0:compile
[INFO] |  +- io.github.resilience4j:resilience4j-cache:jar:1.7.0:compile
[INFO] |  +- io.github.resilience4j:resilience4j-retry:jar:1.7.0:compile
[INFO] |  \- com.google.errorprone:error_prone_annotations:jar:2.6.0:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.7.30:compile
[INFO] +- org.slf4j:jcl-over-slf4j:jar:1.7.30:runtime
[INFO] +- ch.qos.logback:logback-classic:jar:1.2.3:compile
[INFO] |  \- ch.qos.logback:logback-core:jar:1.2.3:compile
[INFO] +- com.sap.hcp.cf.logging:cf-java-logging-support-logback:jar:3.4.0:compile
[INFO] |  \- com.sap.hcp.cf.logging:cf-java-logging-support-core:jar:3.4.0:compile
[INFO] |     \- com.fasterxml.jackson.jr:jackson-jr-objects:jar:2.12.3:compile
[INFO] +- com.sap.hcp.cf.logging:cf-java-logging-support-servlet:jar:3.0.1:compile
[INFO] |  \- com.auth0:java-jwt:jar:3.15.0:compile
[INFO] +- org.springframework.boot:spring-boot-starter:jar:2.2.1.RELEASE:compile
[INFO] |  +- org.springframework.boot:spring-boot:jar:2.2.1.RELEASE:compile
[INFO] |  +- org.springframework.boot:spring-boot-autoconfigure:jar:2.2.1.RELEASE:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-logging:jar:2.2.1.RELEASE:compile
[INFO] |  |  +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.12.1:compile
[INFO] |  |  |  \- org.apache.logging.log4j:log4j-api:jar:2.12.1:compile
[INFO] |  |  \- org.slf4j:jul-to-slf4j:jar:1.7.30:compile
[INFO] |  +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
[INFO] |  \- org.yaml:snakeyaml:jar:1.25:runtime
[INFO] +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.2.1.RELEASE:compile
[INFO] |  +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.27:compile
[INFO] |  +- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.27:compile
[INFO] |  \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.27:compile
[INFO] +- org.springframework.boot:spring-boot-actuator:jar:2.2.1.RELEASE:compile
[INFO] +- org.springframework:spring-webmvc:jar:5.3.4:compile
[INFO] |  +- org.springframework:spring-aop:jar:5.3.4:compile
[INFO] |  +- org.springframework:spring-beans:jar:5.3.4:compile
[INFO] |  +- org.springframework:spring-context:jar:5.3.4:compile
[INFO] |  \- org.springframework:spring-expression:jar:5.3.4:compile
[INFO] +- org.springframework.cloud:spring-cloud-spring-service-connector:jar:2.0.6.RELEASE:compile
[INFO] |  \- org.springframework.cloud:spring-cloud-connectors-core:jar:2.0.6.RELEASE:compile
[INFO] +- org.springframework.cloud:spring-cloud-cloudfoundry-connector:jar:2.0.6.RELEASE:compile
[INFO] |  \- com.fasterxml.jackson.core:jackson-databind:jar:2.12.3:compile
[INFO] +- com.sap.cloud.security.xsuaa:xsuaa-spring-boot-starter:jar:2.6.0:compile
[INFO] |  +- com.sap.cloud.security.xsuaa:spring-xsuaa:jar:2.6.0:compile
[INFO] |  |  \- com.sap.cloud.security.xsuaa:api:jar:2.6.0:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-security:jar:2.2.1.RELEASE:compile
[INFO] |  +- org.springframework.security:spring-security-oauth2-jose:jar:5.4.5:compile
[INFO] |  |  +- com.nimbusds:nimbus-jose-jwt:jar:8.20.2:compile
[INFO] |  |  |  +- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile
[INFO] |  |  |  \- net.minidev:json-smart:jar:2.3:compile (version selected from constraint [1.3.1,2.3])
[INFO] |  |  |     \- net.minidev:accessors-smart:jar:1.2:compile
[INFO] |  |  |        \- org.ow2.asm:asm:jar:5.0.4:compile
[INFO] |  |  \- org.springframework.security:spring-security-oauth2-core:jar:5.4.5:compile
[INFO] |  \- org.springframework.security:spring-security-oauth2-resource-server:jar:5.4.5:compile
[INFO] +- org.springframework.security:spring-security-jwt:jar:1.1.0.RELEASE:compile
[INFO] |  \- org.bouncycastle:bcpkix-jdk15on:jar:1.64:compile
[INFO] |     \- org.bouncycastle:bcprov-jdk15on:jar:1.64:compile
[INFO] +- org.springframework.security.oauth:spring-security-oauth2:jar:2.3.3.RELEASE:compile
[INFO] |  +- org.springframework.security:spring-security-core:jar:5.4.5:compile
[INFO] |  +- org.springframework.security:spring-security-config:jar:5.4.5:compile
[INFO] |  +- org.springframework.security:spring-security-web:jar:5.4.5:compile
[INFO] |  +- commons-codec:commons-codec:jar:1.15:compile
[INFO] |  \- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
[INFO] |     \- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
[INFO] +- org.springframework.boot:spring-boot-starter-data-jpa:jar:2.2.1.RELEASE:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-aop:jar:2.2.1.RELEASE:compile
[INFO] |  |  \- org.aspectj:aspectjweaver:jar:1.9.4:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-jdbc:jar:2.2.1.RELEASE:compile
[INFO] |  |  +- com.zaxxer:HikariCP:jar:3.4.1:compile
[INFO] |  |  \- org.springframework:spring-jdbc:jar:5.3.4:compile
[INFO] |  +- jakarta.activation:jakarta.activation-api:jar:1.2.1:compile
[INFO] |  +- jakarta.persistence:jakarta.persistence-api:jar:2.2.3:compile
[INFO] |  +- jakarta.transaction:jakarta.transaction-api:jar:1.3.3:compile
[INFO] |  +- org.hibernate:hibernate-core:jar:5.4.8.Final:compile
[INFO] |  |  +- org.javassist:javassist:jar:3.24.0-GA:compile
[INFO] |  |  +- net.bytebuddy:byte-buddy:jar:1.10.2:compile
[INFO] |  |  +- antlr:antlr:jar:2.7.7:compile
[INFO] |  |  +- org.jboss:jandex:jar:2.0.5.Final:compile
[INFO] |  |  +- org.dom4j:dom4j:jar:2.1.1:compile
[INFO] |  |  +- org.hibernate.common:hibernate-commons-annotations:jar:5.1.0.Final:compile
[INFO] |  |  \- org.glassfish.jaxb:jaxb-runtime:jar:2.3.2:compile
[INFO] |  |     +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.2:compile
[INFO] |  |     +- org.glassfish.jaxb:txw2:jar:2.3.2:compile
[INFO] |  |     +- com.sun.istack:istack-commons-runtime:jar:3.0.8:compile
[INFO] |  |     +- org.jvnet.staxex:stax-ex:jar:1.8.1:compile
[INFO] |  |     \- com.sun.xml.fastinfoset:FastInfoset:jar:1.2.16:compile
[INFO] |  +- org.springframework.data:spring-data-jpa:jar:2.2.1.RELEASE:compile
[INFO] |  |  +- org.springframework.data:spring-data-commons:jar:2.2.1.RELEASE:compile
[INFO] |  |  +- org.springframework:spring-orm:jar:5.3.4:compile
[INFO] |  |  \- org.springframework:spring-tx:jar:5.3.4:compile
[INFO] |  \- org.springframework:spring-aspects:jar:5.3.4:compile
[INFO] +- com.querydsl:querydsl-jpa:jar:4.2.1:compile
[INFO] |  +- com.querydsl:querydsl-core:jar:4.2.1:compile
[INFO] |  |  +- com.mysema.commons:mysema-commons-lang:jar:0.2.4:compile
[INFO] |  |  \- com.infradna.tool:bridge-method-annotation:jar:1.13:compile
[INFO] |  \- javax.inject:javax.inject:jar:1:compile
[INFO] +- com.h2database:h2:jar:1.4.196:runtime
[INFO] +- org.hibernate.validator:hibernate-validator:jar:6.0.18.Final:compile
[INFO] |  +- javax.validation:validation-api:jar:2.0.1.Final:compile
[INFO] |  +- org.jboss.logging:jboss-logging:jar:3.4.1.Final:compile
[INFO] |  \- com.fasterxml:classmate:jar:1.5.1:compile
[INFO] +- com.sap.cloud.sdk.frameworks:liquibase:jar:3.45.0:compile
[INFO] |  \- org.liquibase:liquibase-core:jar:3.10.3:compile
[INFO] |     \- javax.xml.bind:jaxb-api:jar:2.3.1:compile
[INFO] |        \- javax.activation:javax.activation-api:jar:1.2.0:compile
[INFO] +- com.sap.foss.hana:liquibase-hana:jar:1.0.0:compile
[INFO] +- com.sap.hana.cloud:spring-cloud-cloudfoundry-hana-service-connector:jar:1.0.4.RELEASE:compile
[INFO] |  +- com.sap.hana.cloud:spring-cloud-sap-core:jar:1.0.4.RELEASE:compile
[INFO] |  \- org.springframework.cloud:spring-cloud-core:jar:1.2.0.RELEASE:compile
[INFO] +- org.mapstruct:mapstruct:jar:1.3.1.Final:compile
[INFO] +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.12.5:compile
[INFO] |  \- com.fasterxml.jackson.core:jackson-core:jar:2.12.3:compile
[INFO] +- com.github.ben-manes.caffeine:jcache:jar:2.8.0:compile
[INFO] |  +- com.github.ben-manes.caffeine:caffeine:jar:2.9.0:compile
[INFO] |  |  \- org.checkerframework:checker-qual:jar:3.10.0:compile
[INFO] |  +- javax.cache:cache-api:jar:1.1.1:compile
[INFO] |  \- com.typesafe:config:jar:1.3.4:compile
[INFO] \- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO]    \- commons-logging:commons-logging:jar:1.0.4:compile

Project Details

Checklist

KavithaSiva commented 2 years ago

Hi @danielchiaradia,

Thanks a lot for reaching out to us with your findings. We are aware of the issue and working on fixing this race condition. I will let you know as soon as progress is made here.

Regards, Kavitha

MatKuhr commented 2 years ago

Update: A fix has been implemented and will presumably be available in the upcoming 3.61.0 which is expected for CW2 2022. We'll update here once it is available

MatKuhr commented 2 years ago

FYI 3.61.0 is released now, so I'll close this. Please re-open should any problems remain.