Skip to content

Commit d5df236

Browse files
committed
Added idempotent flag for cache internal requests
1 parent 181b2e1 commit d5df236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jdbc/src/main/java/tech/ydb/jdbc/context/YdbCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public class YdbCache {
6262

6363
public YdbCache(YdbContext ctx, YdbQueryProperties queryOptions, int cacheSize, boolean fullScanDetector) {
6464
this.ctx = ctx;
65-
this.retryCtx = SessionRetryContext.create(ctx.getTableClient()).build();
65+
this.retryCtx = SessionRetryContext.create(ctx.getTableClient()).idempotent(true).build();
6666
this.queryOptions = queryOptions;
6767

6868
if (cacheSize > 0) {

0 commit comments

Comments
 (0)