Skip to content

Commit 320f463

Browse files
committed
fix
1 parent aba80e5 commit 320f463

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ydb/core/kqp/common/kqp_tx_manager.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,12 @@ class TKqpTransactionManager : public IKqpTransactionManager {
187187
}
188188

189189
bool IsVolatile() const override {
190-
return !HasOlapTable();
190+
return !HasOlapTable()
191+
&& !IsReadOnly()
192+
&& !IsSingleShard();
193+
194+
// TODO: && !HasPersistentChannels;
195+
// Note: currently persistent channels are never used
191196
}
192197

193198
bool HasSnapshot() const override {

0 commit comments

Comments
 (0)