2026-03-17T14:14:55.072280Z node 16 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[16:7618227858475778033:2078];send_to=[0:7307199536658146131:7762515];
2026-03-17T14:14:55.072535Z node 16 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:85;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2026-03-17T14:14:55.083872Z node 16 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2026-03-17T14:14:55.086008Z node 16 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:137: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2026-03-17T14:14:55.084023Z node 15 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2026-03-17T14:14:55.087318Z node 15 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:137: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2026-03-17T14:14:55.087373Z node 15 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:85;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=incorrect path status: LookupError;
2026-03-17T14:14:55.117475Z node 15 :IMPORT WARN: schemeshard_import.cpp:466: Table profiles were not loaded
2026-03-17T14:14:55.122529Z node 15 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(16, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2026-03-17T14:14:55.122557Z node 15 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(16, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2026-03-17T14:14:55.131257Z node 15 :HIVE WARN: hive_impl.cpp:797: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 16 Cookie 16
2026-03-17T14:14:55.131609Z node 15 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(16, (0,0,0,0)) VolatileState: Connecting -> Connected
2026-03-17T14:14:55.137898Z node 15 :NET_CLASSIFIER WARN: net_classifier.cpp:190: distributable config is empty, broken or outdated, will use file: /home/runner/.ya/build/build_root/8zh7/003353/r3tmp/yandex2ouAcP.tmp
2026-03-17T14:14:55.137909Z node 15 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/8zh7/003353/r3tmp/yandex2ouAcP.tmp
2026-03-17T14:14:55.137967Z node 15 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/8zh7/003353/r3tmp/yandex2ouAcP.tmp
2026-03-17T14:14:55.137992Z node 15 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2026-03-17T14:14:55.148420Z INFO: TTestServer started on Port 7784 GrpcPort 25827
PQClient connected to localhost:25827
2026-03-17T14:14:55.174721Z node 15 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(15, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2026-03-17T14:14:55.174756Z node 15 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(15, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2026-03-17T14:14:55.176894Z node 15 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(15, (0,0,0,0)) VolatileState: Connecting -> Connected
2026-03-17T14:14:55.186832Z node 15 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976720657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
2026-03-17T14:14:55.208075Z node 15 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720659:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:689)
2026-03-17T14:14:55.314896Z node 15 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:137: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2026-03-17T14:14:55.342944Z node 16 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:137: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2026-03-17T14:14:55.558665Z node 16 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [16:7618227858475778344:2303], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2026-03-17T14:14:55.558692Z node 16 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [16:7618227858475778360:2306], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2026-03-17T14:14:55.558700Z node 16 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:352: [WorkloadService] [Service] Failed to fetch pool: default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2026-03-17T14:14:55.559619Z node 16 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [16:7618227858475778397:2308], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2026-03-17T14:14:55.559644Z node 16 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:352: [WorkloadService] [Service] Failed to fetch pool: default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2026-03-17T14:14:55.559697Z node 16 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [16:7618227858475778399:2309], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2026-03-17T14:14:55.559713Z node 16 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:352: [WorkloadService] [Service] Failed to fetch pool: default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2026-03-17T14:14:55.559875Z node 15 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateResourcePool, opId: 281474976715657:3, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:179)
2026-03-17T14:14:55.563950Z node 16 :KQP_WORKLOAD_SERVICE WARN: helpers.h:117: [WorkloadService] [TPoolCreatorActor] ActorId: [16:7618227858475778370:2307], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976715657 completed, doublechecking }
2026-03-17T14:14:55.597862Z node 15 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:627: Compilation failed, self: [15:7618227858137809385:2346], status: SCHEME_ERROR, issues: <main>: Error: Type annotation, code: 1030
    <main>:3:16: Error: At function: KiReadTable!
        <main>:3:16: Error: Cannot find table 'db.[/Root/PQ/Config/V2/Cluster]' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions., code: 2003
2026-03-17T14:14:55.598030Z node 15 :KQP_SESSION WARN: {KQPSA@kqp_session_actor.cpp:2941} SessionId: ydb://session/3?node_id=15&id=OTQ1YzEyNDgtNDZiNzg0OTMtZDI3Y2QzNzgtMjQyNTM3MWE=, ActorId: [15:7618227858137809344:2338], ActorState: ExecuteState, LegacyTraceId: 01kky2cmb9dskb6qtjwe2ha7c8, ReplyQueryCompileError, remove tx status# SCHEME_ERROR issues# { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 3 column: 16 } message: "At function: KiReadTable!" end_position { row: 3 column: 16 } severity: 1 issues { position { row: 3 column: 16 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Cluster]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 3 column: 16 } issue_code: 2003 severity: 1 } } } tx_id#  trace_id# 
2026-03-17T14:14:55.598576Z node 15 :PERSQUEUE_CLUSTER_TRACKER ERROR: cluster_tracker.cpp:167: failed to list clusters: { Response { QueryIssues { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 3 column: 16 } message: "At function: KiReadTable!" end_position { row: 3 column: 16 } severity: 1 issues { position { row: 3 column: 16 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Cluster]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 3 column: 16 } issue_code: 2003 severity: 1 } } } TxMeta { } EffectivePoolId: "default" } YdbStatus: SCHEME_ERROR ConsumedRu: 1 }
2026-03-17T14:14:55.600306Z node 15 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720662:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:689)
2026-03-17T14:14:55.616879Z node 15 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720663:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:689)
2026-03-17T14:14:55.632844Z node 16 :TX_PROXY ERROR: schemereq.cpp:631: Actor# [16:7618227858475778460:2170] txid# 281474976715658, issues: { message: "Check failed: path: \'/Root/.metadata/workload_manager/pools/default\', error: path exist, request accepts it (id: [OwnerId: 72057594046644480, LocalPathId: 45], type: EPathTypeResourcePool, state: EPathStateNoChanges), source_location: ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:92" severity: 1 }
2026-03-17T14:14:55.636973Z node 15 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720664:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:689)
2026-03-17T14:14:55.637786Z node 16 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:627: Compilation failed, self: [16:7618227858475778474:2317], status: SCHEME_ERROR, issues: <main>: Error: Type annotation, code: 1030
    <main>:5:17: Error: At function: KiReadTable!
        <main>:5:17: Error: Cannot find table 'db.[/Root/PQ/Config/V2/Versions]' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions., code: 2003
2026-03-17T14:14:55.637934Z node 16 :KQP_SESSION WARN: {KQPSA@kqp_session_actor.cpp:2941} SessionId: ydb://session/3?node_id=16&id=Y2FhOGYwMzUtNWZlZmM4NzgtODI1OWI5OWYtMTkzMWI2MWU=, ActorId: [16:7618227858475778330:2301], ActorState: ExecuteState, LegacyTraceId: 01kky2cma6epssj81cyhh95me1, ReplyQueryCompileError, remove tx status# SCHEME_ERROR issues# { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 5 column: 17 } message: "At function: KiReadTable!" end_position { row: 5 column: 17 } severity: 1 issues { position { row: 5 column: 17 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Versions]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 5 column: 17 } issue_code: 2003 severity: 1 } } } tx_id#  trace_id# 
2026-03-17T14:14:55.638085Z node 16 :PERSQUEUE_CLUSTER_TRACKER ERROR: cluster_tracker.cpp:167: failed to list clusters: { Response { QueryIssues { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 5 column: 17 } message: "At function: KiReadTable!" end_position { row: 5 column: 17 } severity: 1 issues { position { row: 5 column: 17 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Versions]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 5 column: 17 } issue_code: 2003 severity: 1 } } } TxMeta { } EffectivePoolId: "default" } YdbStatus: SCHEME_ERROR ConsumedRu: 1 }
=== Init DC: UPSERT INTO `/Root/PQ/Config/V2/Cluster` (name, balancer, local, enabled, weight) VALUES ("dc1", "localhost", true, true, 1000), ("dc2", "dc2.logbroker.yandex.net", false, true, 1000);
=== CheckClustersList. Subcribe to ClusterTracker from [15:7618227858137809761:3327] 
2026-03-17T14:14:56.072626Z node 15 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2026-03-17T14:14:56.074186Z node 16 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2026-03-17T14:15:00.072342Z node 16 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[16:7618227858475778033:2078];send_to=[0:7307199536658146131:7762515];
2026-03-17T14:15:00.072385Z node 16 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:85;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
=== CheckClustersList. Ok
PQ Client: create topic: rt3.dc1--topic1 with 10 partitions
CallPersQueueGRPC request to localhost:25827
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2026-03-17T14:15:00.809126Z node 15 :PQ_METACACHE ERROR: msgbus_server_pq_metacache.cpp:384: Handle SchemeCache response: result# { ErrorCount: 1 DatabaseName:  DomainOwnerId: 0 Instant: 2 ResultSet [{ Path: Root/PQ/rt3.dc1--topic1 TableId: [18446744073709551615:18446744073709551615:0] RequestType: ByPath Operation: OpList RedirectRequired: true ShowPrivatePath: false SyncVersion: true Status: PathErrorUnknown Kind: KindUnknown DomainInfo <null> }] }
2026-03-17T14:15:00.809167Z node 15 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 128
ErrorReason: "the following topics are not created: rt3.dc1--topic1, Marker# PQ95"
ErrorCode: UNKNOWN_TOPIC
CallPersQueueGRPC request to localhost:25827
MetaRequest {
  CmdCreateTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 10
    Config {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000
      }
      LocalDC: true
      Codecs {
        Ids: 0
        Ids: 1
        Ids: 2
        Codecs: "raw"
        Codecs: "gzip"
        Codecs: "lzop"
      }
      Consumers {
        Name: "user"
        ReadFromTimestampsMs: 0
        FormatVersion: 0
        Version: 0
      }
    }
  }
}
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976720671
  SchemeShardTabletId: 72057594046644480
  PathId: 49
}
ErrorCode: OK
AddTopic: rt3.dc1--topic1
===Run query:``DECLARE $version as Int64; DECLARE $path AS Utf8; DECLARE $cluster as Utf8; UPSERT INTO `/Root/PQ/Config/V2/Topics` (path, dc) VALUES ($path, $cluster); UPSERT INTO `/Root/PQ/Config/V2/Versions` (name, version) VALUES ("Topics", $version);`` with topic = topic1, dc = dc1
2026-03-17T14:15:00.816972Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][] pipe [15:7618227879612646586:3522] connected; active server actors: 1
2026-03-17T14:15:00.817313Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1521: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [3, 0, 1, 6, 8, 9, 2, 5, 7, 4]
2026-03-17T14:15:00.817739Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:765: [72075186224037894][rt3.dc1--topic1] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037894
2026-03-17T14:15:00.818276Z node 16 :PERSQUEUE NOTICE: pq_impl.cpp:928: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2026-03-17T14:15:00.818301Z node 16 :PERSQUEUE INFO: pq_impl.cpp:614: [PQ: 72075186224037893] doesn't have tx writes info
2026-03-17T14:15:00.818473Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:145: [72075186224037894][rt3.dc1--topic1] BALANCER INIT DONE for rt3.dc1--topic1: (0, 72075186224037892) (1, 72075186224037892) (2, 72075186224037893) (3, 72075186224037892) (4, 72075186224037893) (5, 72075186224037893) (6, 72075186224037892) (7, 72075186224037893) (8, 72075186224037892) (9, 72075186224037893) 
2026-03-17T14:15:00.818492Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:399: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037893, NodeId 16, Generation 1
2026-03-17T14:15:00.818865Z node 15 :PERSQUEUE NOTICE: pq_impl.cpp:928: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2026-03-17T14:15:00.818885Z node 15 :PERSQUEUE INFO: pq_impl.cpp:614: [PQ: 72075186224037892] doesn't have tx writes info
2026-03-17T14:15:00.818943Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:399: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037892, NodeId 15, Generation 1
2026-03-17T14:15:00.825949Z node 15 :PERSQUEUE INFO: partition_init.cpp:1175: [72075186224037892][Partition][3][StateInit] bootstrapping 3 [15:7618227879612646692:2453]
2026-03-17T14:15:00.826076Z node 16 :PERSQUEUE INFO: partition_init.cpp:1175: [72075186224037893][Partition][9][StateInit] bootstrapping 9 [16:7618227879950615333:2389]
2026-03-17T14:15:00.826724Z node 16 :PERSQUEUE INFO: partition.cpp:713: [72075186224037893][Partition][9][StateInit] init complete for topic 'rt3.dc1--topic1' partition 9 generation 1 [16:7618227879950615333:2389]
2026-03-17T14:15:00.826779Z node 15 :PERSQUEUE INFO: partition.cpp:713: [72075186224037892][Partition][3][StateInit] init complete for topic 'rt3.dc1--topic1' partition 3 generation 1 [15:7618227879612646692:2453]
2026-03-17T14:15:00.827061Z node 16 :PERSQUEUE INFO: partition_init.cpp:1175: [72075186224037893][Partition][2][StateInit] bootstrapping 2 [16:7618227879950615334:2389]
2026-03-17T14:15:00.827269Z node 15 :PERSQUEUE INFO: partition_init.cpp:1175: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [15:7618227879612646693:2453]
2026-03-17T14:15:00.827439Z node 16 :PERSQUEUE INFO: partition.cpp:713: [72075186224037893][Partition][2][StateInit] init complete for topic 'rt3.dc1--topic1' partition 2 generation 1 [16:7618227879950615334:2389]
2026-03-17T14:15:00.827704Z node 16 :PERSQUEUE INFO: partition_init.cpp:1175: [72075186224037893][Partition][5][StateInit] bootstrapping 5 [16:7618227879950615335:2389]
2026-03-17T14:15:00.827884Z node 15 :PERSQUEUE INFO: partition.cpp:713: [72075186224037892][Partition][0][StateInit] init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [15:7618227879612646693:2453]
2026-03-17T14:15:00.828038Z node 16 :PERSQUEUE INFO: partition.cpp:713: [72075186224037893][Partition][5][StateInit] init complete for topic 'rt3.dc1--topic1' partition 5 generation 1 [16:7618227879950615335:2389]
2026-03-17T14:15:00.828238Z node 15 :PERSQUEUE INFO: partition_init.cpp:1175: [72075186224037892][Partition][1][StateInit] bootstrapping 1 [15:7618227879612646694:2453]
2026-03-17T14:15:00.828282Z node 16 :PERSQUEUE INFO: partition_init.cpp:1175: [72075186224037893][Partition][7][StateInit] bootstrapping 7 [16:7618227879950615336:2389]
2026-03-17T14:15:00.828651Z node 16 :PERSQUEUE INFO: partition.cpp:713: [72075186224037893][Partition][7][StateInit] init complete for topic 'rt3.dc1--topic1' partition 7 generation 1 [16:7618227879950615336:2389]
2026-03-17T14:15:00.828804Z node 15 :PERSQUEUE INFO: partition.cpp:713: [72075186224037892][Partition][1][StateInit] init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [15:7618227879612646694:2453]
2026-03-17T14:15:00.828857Z node 16 :PERSQUEUE INFO: partition_init.cpp:1175: [72075186224037893][Partition][4][StateInit] bootstrapping 4 [16:7618227879950615337:2389]
2026-03-17T14:15:00.829165Z node 15 :PERSQUEUE INFO: partition_init.cpp:1175: [72075186224037892][Partition][6][StateInit] bootstrapping 6 [15:7618227879612646695:2453]
2026-03-17T14:15:00.829193Z node 16 :PERSQUEUE INFO: partition.cpp:713: [72075186224037893][Partition][4][StateInit] init complete for topic 'rt3.dc1--topic1' partition 4 generation 1 [16:7618227879950615337:2389]
2026-03-17T14:15:00.829662Z node 15 :PERSQUEUE INFO: partition.cpp:713: [72075186224037892][Partition][6][StateInit] init complete for topic 'rt3.dc1--topic1' partition 6 generation 1 [15:7618227879612646695:2453]
2026-03-17T14:15:00.830018Z node 15 :PERSQUEUE INFO: partition_init.cpp:1175: [72075186224037892][Partition][8][StateInit] bootstrapping 8 [15:7618227879612646696:2453]
2026-03-17T14:15:00.830524Z node 15 :PERSQUEUE INFO: partition.cpp:713: [72075186224037892][Partition][8][StateInit] init complete for topic 'rt3.dc1--topic1' partition 8 generation 1 [15:7618227879612646696:2453]
2026-03-17T14:15:00.830660Z node 16 :PERSQUEUE NOTICE: pq_impl.cpp:928: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
===Query complete
2026-03-17T14:15:00.832001Z node 15 :PERSQUEUE NOTICE: pq_impl.cpp:928: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
GetTopicVersionFromPath:  record Status: 128
StatusCode: PATH_NOT_EXIST
Issues {
  message: "Path not exist"
  issue_code: 200200
  severity: 1
}
SchemeStatus: 2
ErrorReason: "Path not found"
 name rt3.dc1--topic1 version0
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 49
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976720671
    CreateStep: 1773756900874
    ParentPathId: 38
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 1
    }
    ChildrenExist: false
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 49
    TotalGroupCount: 10
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000
      }
      LocalDC: true
      Codecs {
        Ids: 0
        Ids: 1
        Ids: 2
        Codecs: "raw"
        Codecs: "gzip"
        Codecs: "lzop"
      }
      YdbDatabasePath: "/Root"
      Consumers {
        Name: "user"
        ReadFromTimestampsMs: 0
        FormatVersion: 0
        Version: 0
      }
    }
    Partitions {
      PartitionId: 0
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 1
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 2
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 3
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 4
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 5
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 6
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 7
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 8
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 9
      TabletId: 72075186224037893
      Status: Active
    }
    AlterVersion: 1
    BalancerTabletID: 72075186224037894
    NextPartitionId: 10
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 1
      PlanResolution: 7
      Coordinators: 72057594046316545
      TimeCastBucketsPerMediator: 2
      Mediators: 72057594046382081
    }
    DomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    PathsInside: 48
    PathsLimit: 10000
    ShardsInside: 7
    ShardsLimit: 200000
    ResourcesDomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    DiskSpaceUsage {
      Tables {
        TotalSize: 0
        DataSize: 0
        IndexSize: 0
      }
      Topics {
        ReserveSize: 0
        AccountSize: 0
        DataSize: 0
        UsedReserveSize: 0
      }
    }
    PQPartitionsInside: 10
    PQPartitionsLimit: 1000000
    SchemeLimits {
      MaxDepth: 32
      MaxPaths: 10000
      MaxChildrenInDir: 100000
      MaxAclBytesSize: 10240
      MaxTableColumns: 200
      MaxTableColumnNameLength: 255
      MaxTableKeyColumns: 30
      MaxTableIndices: 20
      MaxShards: 200000
      MaxShardsInPath: 35000
      MaxConsistentCopyTargets: 10000
      MaxPathElementLength: 255
      ExtraPathSymbolsAllowed: "!\"#$%&\'()*+,-.:;<=>?@[\\]^_`{|}~"
      MaxPQPartitions: 1000000
      MaxTableCdcStreams: 5
      MaxExports: 10
      MaxImports: 10
      MaxColumnTableColumns: 10000
    }
  }
}
Path: "/Root/PQ/rt3.dc1--topic1"
 name rt3.dc1--topic1 version1
CallPersQueueGRPC request to localhost:25827
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2026-03-17T14:15:01.334819Z node 15 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 1
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 1
2026-03-17T14:15:01.336077Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.336093Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2026-03-17T14:15:01.336196Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "12345678" }
2026-03-17T14:15:01.336223Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:38314
2026-03-17T14:15:01.336228Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.336232Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.336523Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 1 sessionId:  describe result for acl check
2026-03-17T14:15:01.336546Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.336548Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.336549Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.336554Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614101:2464] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.336654Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614101:2464] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.360859Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907614101:2464] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.360913Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614135:2464] connected; active server actors: 1
2026-03-17T14:15:01.360927Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907614101:2464] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=12345678
2026-03-17T14:15:01.360931Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614101:2464] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.360983Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614135:2464] disconnected.
2026-03-17T14:15:01.360991Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614135:2464] disconnected; active server actors: 1
2026-03-17T14:15:01.360994Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614135:2464] disconnected no session
2026-03-17T14:15:01.378214Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614101:2464] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.378235Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614101:2464] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2026-03-17T14:15:01.378239Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614101:2464] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.378249Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 1 sessionId:  partition: 2 expectedGeneration: (NULL)
2026-03-17T14:15:01.378580Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.378724Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 12345678|52f785bc-f1f4c7db-140543e2-bc236efa_0 generated for partition 2 topic 'rt3.dc1--topic1' owner 12345678
2026-03-17T14:15:01.379109Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 1 partition: 2 MaxSeqNo: 0 sessionId: 12345678|52f785bc-f1f4c7db-140543e2-bc236efa_0
2026-03-17T14:15:01.379623Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: 12345678|52f785bc-f1f4c7db-140543e2-bc236efa_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.379631Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: 12345678|52f785bc-f1f4c7db-140543e2-bc236efa_0 grpc read failed
2026-03-17T14:15:01.379691Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:837: session v1 closed cookie: 1 sessionId: 12345678|52f785bc-f1f4c7db-140543e2-bc236efa_0
2026-03-17T14:15:01.379704Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: 12345678|52f785bc-f1f4c7db-140543e2-bc236efa_0 is DEAD
Finish: 0 
2026-03-17T14:15:01.379834Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.380209Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.380218Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2026-03-17T14:15:01.380472Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2026-03-17T14:15:01.380506Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 2 topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } from ipv6:[::1]:38314
2026-03-17T14:15:01.380518Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.380522Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.380956Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 2 sessionId:  describe result for acl check
2026-03-17T14:15:01.381004Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.381013Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.381016Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.381021Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614160:2474] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.381154Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614160:2474] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.382663Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907614160:2474] (SourceId=source, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.382754Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614175:2474] connected; active server actors: 1
2026-03-17T14:15:01.382770Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907614160:2474] (SourceId=source, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=source
2026-03-17T14:15:01.382779Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614160:2474] (SourceId=source, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.382832Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614175:2474] disconnected.
2026-03-17T14:15:01.382844Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614175:2474] disconnected; active server actors: 1
2026-03-17T14:15:01.382847Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614175:2474] disconnected no session
2026-03-17T14:15:01.384891Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614160:2474] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.384903Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614160:2474] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2026-03-17T14:15:01.384906Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614160:2474] (SourceId=source, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.384914Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 2 sessionId:  partition: 3 expectedGeneration: (NULL)
2026-03-17T14:15:01.385038Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.385088Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|6cd93a87-25712de7-208635be-63006f9b_0 generated for partition 3 topic 'rt3.dc1--topic1' owner source
2026-03-17T14:15:01.385223Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 2 partition: 3 MaxSeqNo: 0 sessionId: source|6cd93a87-25712de7-208635be-63006f9b_0
request: { write_request { sequence_numbers: 2 created_at_ms: 1773756901385 sent_at_ms: 1773756901385 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2026-03-17T14:15:01.385734Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|6cd93a87-25712de7-208635be-63006f9b_0 grpc read done: success: 1 data:  write_request[data omitted]
2026-03-17T14:15:01.385806Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2026-03-17T14:15:01.385857Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2026-03-17T14:15:01.386955Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 3 created_at_ms: 1773756901387 sent_at_ms: 1773756901387 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2026-03-17T14:15:01.387351Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|6cd93a87-25712de7-208635be-63006f9b_0 grpc read done: success: 1 data:  write_request[data omitted]
2026-03-17T14:15:01.387406Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2026-03-17T14:15:01.387476Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2026-03-17T14:15:01.388360Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 4 created_at_ms: 1773756901388 sent_at_ms: 1773756901388 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2026-03-17T14:15:01.388679Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|6cd93a87-25712de7-208635be-63006f9b_0 grpc read done: success: 1 data:  write_request[data omitted]
2026-03-17T14:15:01.388725Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2026-03-17T14:15:01.388771Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2026-03-17T14:15:01.389457Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 5 created_at_ms: 1773756901389 sent_at_ms: 1773756901389 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2026-03-17T14:15:01.389748Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|6cd93a87-25712de7-208635be-63006f9b_0 grpc read done: success: 1 data:  write_request[data omitted]
2026-03-17T14:15:01.389784Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2026-03-17T14:15:01.389828Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2026-03-17T14:15:01.390519Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2026-03-17T14:15:01.390769Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|6cd93a87-25712de7-208635be-63006f9b_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.390775Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: source|6cd93a87-25712de7-208635be-63006f9b_0 grpc read failed
2026-03-17T14:15:01.390839Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:837: session v1 closed cookie: 2 sessionId: source|6cd93a87-25712de7-208635be-63006f9b_0
2026-03-17T14:15:01.390849Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: source|6cd93a87-25712de7-208635be-63006f9b_0 is DEAD
1 0 
CallPersQueueGRPC request to localhost:25827
2026-03-17T14:15:01.390965Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2026-03-17T14:15:01.391793Z node 15 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 1
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 1
CallPersQueueGRPC request to localhost:25827
MetaRequest {
  CmdChangeTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 15
  }
}
2026-03-17T14:15:01.393121Z node 15 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterPersQueueGroup, opId: 281474976720677:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_alter_pq.cpp:308)
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976720677
  SchemeShardTabletId: 72057594046644480
}
ErrorCode: OK
Alter got 1
2026-03-17T14:15:01.396954Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1521: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [11, 13, 14, 12, 10]
2026-03-17T14:15:01.398688Z node 16 :PERSQUEUE NOTICE: pq_impl.cpp:928: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2026-03-17T14:15:01.398710Z node 16 :PERSQUEUE INFO: pq_impl.cpp:614: [PQ: 72075186224037895] doesn't have tx writes info
2026-03-17T14:15:01.401432Z node 16 :PERSQUEUE INFO: partition_init.cpp:1175: [72075186224037895][Partition][11][StateInit] bootstrapping 11 [16:7618227884245582721:2397]
2026-03-17T14:15:01.401864Z node 15 :PERSQUEUE NOTICE: pq_impl.cpp:928: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2026-03-17T14:15:01.401875Z node 16 :PERSQUEUE NOTICE: pq_impl.cpp:928: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2026-03-17T14:15:01.401999Z node 16 :PERSQUEUE INFO: partition.cpp:713: [72075186224037895][Partition][11][StateInit] init complete for topic 'rt3.dc1--topic1' partition 11 generation 1 [16:7618227884245582721:2397]
2026-03-17T14:15:01.402314Z node 16 :PERSQUEUE INFO: partition_init.cpp:1175: [72075186224037895][Partition][13][StateInit] bootstrapping 13 [16:7618227884245582723:2397]
2026-03-17T14:15:01.402729Z node 16 :PERSQUEUE INFO: partition.cpp:713: [72075186224037895][Partition][13][StateInit] init complete for topic 'rt3.dc1--topic1' partition 13 generation 1 [16:7618227884245582723:2397]
2026-03-17T14:15:01.402950Z node 16 :PERSQUEUE INFO: partition_init.cpp:1175: [72075186224037895][Partition][14][StateInit] bootstrapping 14 [16:7618227884245582728:2397]
2026-03-17T14:15:01.403274Z node 16 :PERSQUEUE INFO: partition.cpp:713: [72075186224037895][Partition][14][StateInit] init complete for topic 'rt3.dc1--topic1' partition 14 generation 1 [16:7618227884245582728:2397]
2026-03-17T14:15:01.403498Z node 16 :PERSQUEUE INFO: partition_init.cpp:1175: [72075186224037895][Partition][12][StateInit] bootstrapping 12 [16:7618227884245582731:2397]
2026-03-17T14:15:01.403843Z node 16 :PERSQUEUE INFO: partition.cpp:713: [72075186224037895][Partition][12][StateInit] init complete for topic 'rt3.dc1--topic1' partition 12 generation 1 [16:7618227884245582731:2397]
2026-03-17T14:15:01.404166Z node 16 :PERSQUEUE INFO: partition_init.cpp:1175: [72075186224037895][Partition][10][StateInit] bootstrapping 10 [16:7618227884245582736:2397]
2026-03-17T14:15:01.404584Z node 16 :PERSQUEUE INFO: partition.cpp:713: [72075186224037895][Partition][10][StateInit] init complete for topic 'rt3.dc1--topic1' partition 10 generation 1 [16:7618227884245582736:2397]
2026-03-17T14:15:01.407251Z node 16 :PERSQUEUE NOTICE: pq_impl.cpp:928: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
CallPersQueueGRPC request to localhost:25827
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2026-03-17T14:15:01.410473Z node 15 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 15
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 2
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 2
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 49
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976720671
    CreateStep: 1773756900874
    ParentPathId: 38
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 3
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 3
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 2
    }
    ChildrenExist: false
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 49
    TotalGroupCount: 15
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000
      }
      LocalDC: true
      Codecs {
        Ids: 0
        Ids: 1
        Ids: 2
        Codecs: "raw"
        Codecs: "gzip"
        Codecs: "lzop"
      }
      YdbDatabasePath: "/Root"
      Consumers {
        Name: "user"
        ReadFromTimestampsMs: 0
        FormatVersion: 0
        Version: 0
      }
    }
    Partitions {
      PartitionId: 0
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 1
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 2
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 3
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 4
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 5
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 6
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 7
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 8
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 9
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 10
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 11
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 12
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 13
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 14
      TabletId: 72075186224037895
      Status: Active
    }
    AlterVersion: 2
    BalancerTabletID: 72075186224037894
    NextPartitionId: 15
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 1
      PlanResolution: 7
      Coordinators: 72057594046316545
      TimeCastBucketsPerMediator: 2
      Mediators: 72057594046382081
    }
    DomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    PathsInside: 48
    PathsLimit: 10000
    ShardsInside: 8
    ShardsLimit: 200000
    ResourcesDomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    DiskSpaceUsage {
      Tables {
        TotalSize: 0
        DataSize: 0
        IndexSize: 0
      }
      Topics {
        ReserveSize: 0
        AccountSize: 0
        DataSize: 0
        UsedReserveSize: 0
      }
    }
    PQPartitionsInside: 15
    PQPartitionsLimit: 1000000
    SchemeLimits {
      MaxDepth: 32
      MaxPaths: 10000
      MaxChildrenInDir: 100000
      MaxAclBytesSize: 10240
      MaxTableColumns: 200
      MaxTableColumnNameLength: 255
      MaxTableKeyColumns: 30
      MaxTableIndices: 20
      MaxShards: 200000
      MaxShardsInPath: 35000
      MaxConsistentCopyTargets: 10000
      MaxPathElementLength: 255
      ExtraPathSymbolsAllowed: "!\"#$%&\'()*+,-.:;<=>?@[\\]^_`{|}~"
      MaxPQPartitions: 1000000
      MaxTableCdcStreams: 5
      MaxExports: 10
      MaxImports: 10
      MaxColumnTableColumns: 10000
    }
  }
}
Path: "/Root/PQ/rt3.dc1--topic1"
 name rt3.dc1--topic1 version2
2026-03-17T14:15:01.411926Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.411942Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2026-03-17T14:15:01.412099Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2026-03-17T14:15:01.412139Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 3 topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } from ipv6:[::1]:38314
2026-03-17T14:15:01.412150Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.412159Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.412523Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 3 sessionId:  describe result for acl check
2026-03-17T14:15:01.412559Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.412566Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.412568Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.412573Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614359:2490] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.412691Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614359:2490] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.414578Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614359:2490] (SourceId=source, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.417319Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614359:2490] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.417338Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614359:2490] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=0
2026-03-17T14:15:01.417342Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614359:2490] (SourceId=source, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.417351Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 3 sessionId:  partition: 3 expectedGeneration: (NULL)
2026-03-17T14:15:01.417564Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.417601Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|22cc2c0b-fc5f9da2-8f0e07df-4689b1a0_0 generated for partition 3 topic 'rt3.dc1--topic1' owner source
2026-03-17T14:15:01.417764Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 3 partition: 3 MaxSeqNo: 5 sessionId: source|22cc2c0b-fc5f9da2-8f0e07df-4689b1a0_0
request: { write_request { sequence_numbers: 6 created_at_ms: 1773756901418 sent_at_ms: 1773756901418 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2026-03-17T14:15:01.418343Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|22cc2c0b-fc5f9da2-8f0e07df-4689b1a0_0 grpc read done: success: 1 data:  write_request[data omitted]
2026-03-17T14:15:01.418414Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2026-03-17T14:15:01.418475Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2026-03-17T14:15:01.419522Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 7 created_at_ms: 1773756901419 sent_at_ms: 1773756901419 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2026-03-17T14:15:01.419989Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|22cc2c0b-fc5f9da2-8f0e07df-4689b1a0_0 grpc read done: success: 1 data:  write_request[data omitted]
2026-03-17T14:15:01.420042Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2026-03-17T14:15:01.420107Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2026-03-17T14:15:01.420910Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 8 created_at_ms: 1773756901421 sent_at_ms: 1773756901421 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2026-03-17T14:15:01.421227Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|22cc2c0b-fc5f9da2-8f0e07df-4689b1a0_0 grpc read done: success: 1 data:  write_request[data omitted]
2026-03-17T14:15:01.421270Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2026-03-17T14:15:01.421324Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2026-03-17T14:15:01.422062Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 9 created_at_ms: 1773756901422 sent_at_ms: 1773756901422 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2026-03-17T14:15:01.422363Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|22cc2c0b-fc5f9da2-8f0e07df-4689b1a0_0 grpc read done: success: 1 data:  write_request[data omitted]
2026-03-17T14:15:01.422402Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2026-03-17T14:15:01.422455Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2026-03-17T14:15:01.423086Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2026-03-17T14:15:01.423289Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|22cc2c0b-fc5f9da2-8f0e07df-4689b1a0_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.423297Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: source|22cc2c0b-fc5f9da2-8f0e07df-4689b1a0_0 grpc read failed
2026-03-17T14:15:01.423385Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:837: session v1 closed cookie: 3 sessionId: source|22cc2c0b-fc5f9da2-8f0e07df-4689b1a0_0
2026-03-17T14:15:01.423395Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: source|22cc2c0b-fc5f9da2-8f0e07df-4689b1a0_0 is DEAD
1 0 
2026-03-17T14:15:01.423514Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.423827Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.423840Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 4
2026-03-17T14:15:01.424004Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2026-03-17T14:15:01.424042Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 4 topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } from ipv6:[::1]:38314
2026-03-17T14:15:01.424054Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.424058Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.424462Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 4 sessionId:  describe result for acl check
2026-03-17T14:15:01.424516Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.424523Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.424525Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.424531Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614408:2494] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.424651Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614408:2494] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.426323Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614408:2494] (SourceId=source, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.428978Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614408:2494] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.428991Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614408:2494] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=0
2026-03-17T14:15:01.428994Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614408:2494] (SourceId=source, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.429003Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 4 sessionId:  partition: 3 expectedGeneration: (NULL)
2026-03-17T14:15:01.429148Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.429187Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|ce3bdd03-4e4363eb-d14d8ca4-32cf5631_0 generated for partition 3 topic 'rt3.dc1--topic1' owner source
2026-03-17T14:15:01.429310Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 4 partition: 3 MaxSeqNo: 9 sessionId: source|ce3bdd03-4e4363eb-d14d8ca4-32cf5631_0
request: { write_request { sequence_numbers: 10 sequence_numbers: 11 sequence_numbers: 12 sequence_numbers: 13 sequence_numbers: 14 created_at_ms: 1773756901429 created_at_ms: 1773756901429 created_at_ms: 1773756901429 created_at_ms: 1773756901429 created_at_ms: 1773756901429 sent_at_ms: 1773756901429 sent_at_ms: 1773756901429 sent_at_ms: 1773756901429 sent_at_ms: 1773756901429 sent_at_ms: 1773756901429 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2026-03-17T14:15:01.429856Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|ce3bdd03-4e4363eb-d14d8ca4-32cf5631_0 grpc read done: success: 1 data:  write_request[data omitted]
2026-03-17T14:15:01.429938Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2026-03-17T14:15:01.430001Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2026-03-17T14:15:01.431020Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 15 sequence_numbers: 16 sequence_numbers: 17 sequence_numbers: 18 sequence_numbers: 19 created_at_ms: 1773756901431 created_at_ms: 1773756901431 created_at_ms: 1773756901431 created_at_ms: 1773756901431 created_at_ms: 1773756901431 sent_at_ms: 1773756901431 sent_at_ms: 1773756901431 sent_at_ms: 1773756901431 sent_at_ms: 1773756901431 sent_at_ms: 1773756901431 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2026-03-17T14:15:01.431390Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|ce3bdd03-4e4363eb-d14d8ca4-32cf5631_0 grpc read done: success: 1 data:  write_request[data omitted]
2026-03-17T14:15:01.431448Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2026-03-17T14:15:01.431503Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2026-03-17T14:15:01.432263Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 20 sequence_numbers: 21 sequence_numbers: 22 sequence_numbers: 23 sequence_numbers: 24 created_at_ms: 1773756901432 created_at_ms: 1773756901432 created_at_ms: 1773756901432 created_at_ms: 1773756901432 created_at_ms: 1773756901432 sent_at_ms: 1773756901432 sent_at_ms: 1773756901432 sent_at_ms: 1773756901432 sent_at_ms: 1773756901432 sent_at_ms: 1773756901432 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2026-03-17T14:15:01.432565Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|ce3bdd03-4e4363eb-d14d8ca4-32cf5631_0 grpc read done: success: 1 data:  write_request[data omitted]
2026-03-17T14:15:01.432616Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2026-03-17T14:15:01.432673Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2026-03-17T14:15:01.433419Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 25 sequence_numbers: 26 sequence_numbers: 27 sequence_numbers: 28 sequence_numbers: 29 created_at_ms: 1773756901433 created_at_ms: 1773756901433 created_at_ms: 1773756901433 created_at_ms: 1773756901433 created_at_ms: 1773756901433 sent_at_ms: 1773756901433 sent_at_ms: 1773756901433 sent_at_ms: 1773756901433 sent_at_ms: 1773756901433 sent_at_ms: 1773756901433 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2026-03-17T14:15:01.433748Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|ce3bdd03-4e4363eb-d14d8ca4-32cf5631_0 grpc read done: success: 1 data:  write_request[data omitted]
2026-03-17T14:15:01.433800Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2026-03-17T14:15:01.433855Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2026-03-17T14:15:01.434560Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2026-03-17T14:15:01.434803Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|ce3bdd03-4e4363eb-d14d8ca4-32cf5631_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.434811Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 4 sessionId: source|ce3bdd03-4e4363eb-d14d8ca4-32cf5631_0 grpc read failed
2026-03-17T14:15:01.434879Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:837: session v1 closed cookie: 4 sessionId: source|ce3bdd03-4e4363eb-d14d8ca4-32cf5631_0
2026-03-17T14:15:01.434889Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 4 sessionId: source|ce3bdd03-4e4363eb-d14d8ca4-32cf5631_0 is DEAD
1 0 
2026-03-17T14:15:01.435012Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.435306Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.435320Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 5
2026-03-17T14:15:01.435431Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 5 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic2" message_group_id: "source" session_meta { key: "key" value: "value" } }
2026-03-17T14:15:01.435467Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 5 topic: "topic2" message_group_id: "source" session_meta { key: "key" value: "value" } from ipv6:[::1]:38314
2026-03-17T14:15:01.435479Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic2 in dc dc1 durationSec=0
2026-03-17T14:15:01.435483Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.435760Z node 15 :PQ_METACACHE ERROR: msgbus_server_pq_metacache.cpp:384: Handle SchemeCache response: result# { ErrorCount: 1 DatabaseName:  DomainOwnerId: 0 Instant: 10 ResultSet [{ Path: Root/PQ/rt3.dc1--topic2 TableId: [18446744073709551615:18446744073709551615:0] RequestType: ByPath Operation: OpList RedirectRequired: true ShowPrivatePath: false SyncVersion: true Status: PathErrorUnknown Kind: KindUnknown DomainInfo <null> }] }
2026-03-17T14:15:01.435811Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:828: session v1 error cookie: 5 reason: no path 'Root/PQ/rt3.dc1--topic2', Marker# PQ15 sessionId: 
2026-03-17T14:15:01.435921Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 5 sessionId:  is DEAD
{ status: SCHEME_ERROR issues { message: "no path \'Root/PQ/rt3.dc1--topic2\', Marker# PQ15" issue_code: 500017 severity: 1 } }
2026-03-17T14:15:01.436253Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.436261Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 6
2026-03-17T14:15:01.436338Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" partition_group_id: 2 }
2026-03-17T14:15:01.436364Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 6 topic: "topic1" message_group_id: "sid1" partition_group_id: 2 from ipv6:[::1]:38314
2026-03-17T14:15:01.436373Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.436376Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.436757Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 6 sessionId:  describe result for acl check
2026-03-17T14:15:01.436791Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.436798Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.436801Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.436806Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614466:2501] (SourceId=sid1, PreferedPartition=1) StartKqpSession
2026-03-17T14:15:01.436931Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614466:2501] (SourceId=sid1, PreferedPartition=1) Select from the table
2026-03-17T14:15:01.438557Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614466:2501] (SourceId=sid1, PreferedPartition=1) Update the table
2026-03-17T14:15:01.441356Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614466:2501] (SourceId=sid1, PreferedPartition=1) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.441369Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614466:2501] (SourceId=sid1, PreferedPartition=1) ReplyResult: Partition=1, SeqNo=(NULL)
2026-03-17T14:15:01.441372Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614466:2501] (SourceId=sid1, PreferedPartition=1) Start idle
2026-03-17T14:15:01.441392Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 6 sessionId:  partition: 1 expectedGeneration: (NULL)
2026-03-17T14:15:01.441548Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.441592Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|f679827-5fb1233e-12c60f48-5079a08b_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2026-03-17T14:15:01.441758Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 6 partition: 1 MaxSeqNo: 0 sessionId: sid1|f679827-5fb1233e-12c60f48-5079a08b_0
Init result: { status: SUCCESS init_response { session_id: "sid1|f679827-5fb1233e-12c60f48-5079a08b_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.442318Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId: sid1|f679827-5fb1233e-12c60f48-5079a08b_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.442329Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 6 sessionId: sid1|f679827-5fb1233e-12c60f48-5079a08b_0 grpc read failed
2026-03-17T14:15:01.442335Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 6 sessionId: sid1|f679827-5fb1233e-12c60f48-5079a08b_0 grpc closed
2026-03-17T14:15:01.442339Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 6 sessionId: sid1|f679827-5fb1233e-12c60f48-5079a08b_0 is DEAD
2026-03-17T14:15:01.442484Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.442660Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.442671Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 7
2026-03-17T14:15:01.442767Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" }
2026-03-17T14:15:01.442795Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 7 topic: "topic1" message_group_id: "sid1" from ipv6:[::1]:38314
2026-03-17T14:15:01.442806Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.442809Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.443190Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 7 sessionId:  describe result for acl check
2026-03-17T14:15:01.443224Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.443231Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.443233Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.443238Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614499:2505] (SourceId=sid1, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.443342Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614499:2505] (SourceId=sid1, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.445175Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614499:2505] (SourceId=sid1, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.448133Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614499:2505] (SourceId=sid1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.448148Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614499:2505] (SourceId=sid1, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2026-03-17T14:15:01.448151Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614499:2505] (SourceId=sid1, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.448160Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2026-03-17T14:15:01.448338Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.448390Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|18d19185-7051f72b-768a884-6700528_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2026-03-17T14:15:01.448552Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: sid1|18d19185-7051f72b-768a884-6700528_0
Init result: { status: SUCCESS init_response { session_id: "sid1|18d19185-7051f72b-768a884-6700528_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.449248Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId: sid1|18d19185-7051f72b-768a884-6700528_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.449261Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 7 sessionId: sid1|18d19185-7051f72b-768a884-6700528_0 grpc read failed
2026-03-17T14:15:01.449267Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 7 sessionId: sid1|18d19185-7051f72b-768a884-6700528_0 grpc closed
2026-03-17T14:15:01.449271Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 7 sessionId: sid1|18d19185-7051f72b-768a884-6700528_0 is DEAD
2026-03-17T14:15:01.449455Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.449465Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 8
2026-03-17T14:15:01.449501Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.449562Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sidx" }
2026-03-17T14:15:01.449592Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 8 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:38314
2026-03-17T14:15:01.449603Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.449607Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.449973Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 8 sessionId:  describe result for acl check
2026-03-17T14:15:01.450004Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.450012Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.450014Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.450019Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614532:2509] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.450127Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614532:2509] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.451761Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907614532:2509] (SourceId=sidx, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.451864Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614547:2509] connected; active server actors: 1
2026-03-17T14:15:01.451882Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907614532:2509] (SourceId=sidx, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sidx
2026-03-17T14:15:01.451892Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614532:2509] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.451943Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614547:2509] disconnected.
2026-03-17T14:15:01.451953Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614547:2509] disconnected; active server actors: 1
2026-03-17T14:15:01.451955Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614547:2509] disconnected no session
2026-03-17T14:15:01.454574Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614532:2509] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.454588Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614532:2509] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2026-03-17T14:15:01.454591Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614532:2509] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.454599Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 8 sessionId:  partition: 4 expectedGeneration: (NULL)
2026-03-17T14:15:01.454929Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.455026Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|6bacdc59-658c7ebc-a8521032-64e771be_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sidx
2026-03-17T14:15:01.455317Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 8 partition: 4 MaxSeqNo: 0 sessionId: sidx|6bacdc59-658c7ebc-a8521032-64e771be_0
Init result: { status: SUCCESS init_response { session_id: "sidx|6bacdc59-658c7ebc-a8521032-64e771be_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.455966Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId: sidx|6bacdc59-658c7ebc-a8521032-64e771be_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.455977Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 8 sessionId: sidx|6bacdc59-658c7ebc-a8521032-64e771be_0 grpc read failed
2026-03-17T14:15:01.455983Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 8 sessionId: sidx|6bacdc59-658c7ebc-a8521032-64e771be_0 grpc closed
2026-03-17T14:15:01.455988Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 8 sessionId: sidx|6bacdc59-658c7ebc-a8521032-64e771be_0 is DEAD
2026-03-17T14:15:01.456123Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.456451Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.456461Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 9
2026-03-17T14:15:01.456552Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sidx" }
2026-03-17T14:15:01.456581Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 9 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:38314
2026-03-17T14:15:01.456592Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.456596Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.456933Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 9 sessionId:  describe result for acl check
2026-03-17T14:15:01.456968Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.456975Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.456978Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.456982Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614566:2513] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.457115Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614566:2513] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.459030Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614566:2513] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.461841Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614566:2513] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.461857Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614566:2513] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=0
2026-03-17T14:15:01.461861Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614566:2513] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.461869Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 9 sessionId:  partition: 4 expectedGeneration: (NULL)
2026-03-17T14:15:01.462177Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.462256Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|a4885e72-bbd1218d-b2461973-817d086f_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sidx
2026-03-17T14:15:01.462566Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 9 partition: 4 MaxSeqNo: 0 sessionId: sidx|a4885e72-bbd1218d-b2461973-817d086f_0
Init result: { status: SUCCESS init_response { session_id: "sidx|a4885e72-bbd1218d-b2461973-817d086f_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.463179Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId: sidx|a4885e72-bbd1218d-b2461973-817d086f_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.463188Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 9 sessionId: sidx|a4885e72-bbd1218d-b2461973-817d086f_0 grpc read failed
2026-03-17T14:15:01.463193Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 9 sessionId: sidx|a4885e72-bbd1218d-b2461973-817d086f_0 grpc closed
2026-03-17T14:15:01.463198Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 9 sessionId: sidx|a4885e72-bbd1218d-b2461973-817d086f_0 is DEAD
2026-03-17T14:15:01.463356Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.463366Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 10
2026-03-17T14:15:01.463391Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.463453Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 10 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" partition_group_id: 3 }
2026-03-17T14:15:01.463485Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 10 topic: "topic1" message_group_id: "sid1" partition_group_id: 3 from ipv6:[::1]:38314
2026-03-17T14:15:01.463493Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.463496Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.463831Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 10 sessionId:  describe result for acl check
2026-03-17T14:15:01.463870Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.463872Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.463874Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.463876Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614598:2517] (SourceId=sid1, PreferedPartition=2) StartKqpSession
2026-03-17T14:15:01.463965Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614598:2517] (SourceId=sid1, PreferedPartition=2) Select from the table
2026-03-17T14:15:01.465432Z node 15 :PQ_PARTITION_CHOOSER INFO: partition_chooser_impl__abstract_chooser_actor.h:312: TPartitionChooser [15:7618227883907614598:2517] (SourceId=sid1, PreferedPartition=2) ReplyError: MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all.
2026-03-17T14:15:01.465449Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:828: session v1 error cookie: 10 reason: MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all. sessionId: 
2026-03-17T14:15:01.465554Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 10 sessionId:  is DEAD
Init result: { status: BAD_REQUEST issues { message: "MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all." issue_code: 500003 severity: 1 } }
2026-03-17T14:15:01.465954Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.465961Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 11
2026-03-17T14:15:01.466037Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_0" }
2026-03-17T14:15:01.466059Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 11 topic: "topic1" message_group_id: "sid_rand_0" from ipv6:[::1]:38314
2026-03-17T14:15:01.466066Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=11 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.466068Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.466319Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 11 sessionId:  describe result for acl check
2026-03-17T14:15:01.466342Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.466345Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.466346Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.466348Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614619:2521] (SourceId=sid_rand_0, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.466416Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614619:2521] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.467755Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907614619:2521] (SourceId=sid_rand_0, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.467829Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614634:2521] connected; active server actors: 1
2026-03-17T14:15:01.467843Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907614619:2521] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_0
2026-03-17T14:15:01.467846Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614619:2521] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.467899Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614634:2521] disconnected.
2026-03-17T14:15:01.467905Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614634:2521] disconnected; active server actors: 1
2026-03-17T14:15:01.467907Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614634:2521] disconnected no session
2026-03-17T14:15:01.470332Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614619:2521] (SourceId=sid_rand_0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.470353Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614619:2521] (SourceId=sid_rand_0, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2026-03-17T14:15:01.470356Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614619:2521] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.470363Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 11 sessionId:  partition: 5 expectedGeneration: (NULL)
2026-03-17T14:15:01.470584Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.470647Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_0|77a24e12-1119b4a-3341802b-3048526e_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_0
2026-03-17T14:15:01.470904Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 11 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_0|77a24e12-1119b4a-3341802b-3048526e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_0|77a24e12-1119b4a-3341802b-3048526e_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.471391Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId: sid_rand_0|77a24e12-1119b4a-3341802b-3048526e_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.471397Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 11 sessionId: sid_rand_0|77a24e12-1119b4a-3341802b-3048526e_0 grpc read failed
2026-03-17T14:15:01.471405Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:837: session v1 closed cookie: 11 sessionId: sid_rand_0|77a24e12-1119b4a-3341802b-3048526e_0
2026-03-17T14:15:01.471409Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 11 sessionId: sid_rand_0|77a24e12-1119b4a-3341802b-3048526e_0 is DEAD
2026-03-17T14:15:01.471478Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.471667Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.471675Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 12
2026-03-17T14:15:01.471764Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_1" }
2026-03-17T14:15:01.471792Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 12 topic: "topic1" message_group_id: "sid_rand_1" from ipv6:[::1]:38314
2026-03-17T14:15:01.471799Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=12 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.471801Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.472081Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 12 sessionId:  describe result for acl check
2026-03-17T14:15:01.472107Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.472109Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.472111Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.472114Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614653:2525] (SourceId=sid_rand_1, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.472198Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614653:2525] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.473389Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907614653:2525] (SourceId=sid_rand_1, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.473448Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614668:2525] connected; active server actors: 1
2026-03-17T14:15:01.473460Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907614653:2525] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_1
2026-03-17T14:15:01.473463Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614653:2525] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.473494Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614668:2525] disconnected.
2026-03-17T14:15:01.473502Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614668:2525] disconnected; active server actors: 1
2026-03-17T14:15:01.473504Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614668:2525] disconnected no session
2026-03-17T14:15:01.475955Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614653:2525] (SourceId=sid_rand_1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.475968Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614653:2525] (SourceId=sid_rand_1, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2026-03-17T14:15:01.475971Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614653:2525] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.475978Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 12 sessionId:  partition: 6 expectedGeneration: (NULL)
2026-03-17T14:15:01.476151Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.476192Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_1|ea6b514a-8233c46e-49fdcb16-8e704a14_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_1
2026-03-17T14:15:01.476312Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 12 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_1|ea6b514a-8233c46e-49fdcb16-8e704a14_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_1|ea6b514a-8233c46e-49fdcb16-8e704a14_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.476816Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId: sid_rand_1|ea6b514a-8233c46e-49fdcb16-8e704a14_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.476825Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 12 sessionId: sid_rand_1|ea6b514a-8233c46e-49fdcb16-8e704a14_0 grpc read failed
2026-03-17T14:15:01.476829Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 12 sessionId: sid_rand_1|ea6b514a-8233c46e-49fdcb16-8e704a14_0 grpc closed
2026-03-17T14:15:01.476833Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 12 sessionId: sid_rand_1|ea6b514a-8233c46e-49fdcb16-8e704a14_0 is DEAD
2026-03-17T14:15:01.476927Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.477119Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.477127Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 13
2026-03-17T14:15:01.477210Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_2" }
2026-03-17T14:15:01.477231Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 13 topic: "topic1" message_group_id: "sid_rand_2" from ipv6:[::1]:38314
2026-03-17T14:15:01.477239Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=13 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.477241Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.477508Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 13 sessionId:  describe result for acl check
2026-03-17T14:15:01.477532Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.477533Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.477534Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.477537Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614688:2529] (SourceId=sid_rand_2, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.477612Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614688:2529] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.479151Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907614688:2529] (SourceId=sid_rand_2, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.479238Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614703:2529] connected; active server actors: 1
2026-03-17T14:15:01.479255Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907614688:2529] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_2
2026-03-17T14:15:01.479258Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614688:2529] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.479302Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614703:2529] disconnected.
2026-03-17T14:15:01.479308Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614703:2529] disconnected; active server actors: 1
2026-03-17T14:15:01.479310Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614703:2529] disconnected no session
2026-03-17T14:15:01.481655Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614688:2529] (SourceId=sid_rand_2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.481666Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614688:2529] (SourceId=sid_rand_2, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2026-03-17T14:15:01.481668Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614688:2529] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.481675Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 13 sessionId:  partition: 7 expectedGeneration: (NULL)
2026-03-17T14:15:01.481882Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.481956Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_2|ba306268-8036175b-915421df-483232b0_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_2
2026-03-17T14:15:01.482285Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 13 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_2|ba306268-8036175b-915421df-483232b0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_2|ba306268-8036175b-915421df-483232b0_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.482963Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId: sid_rand_2|ba306268-8036175b-915421df-483232b0_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.482973Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 13 sessionId: sid_rand_2|ba306268-8036175b-915421df-483232b0_0 grpc read failed
2026-03-17T14:15:01.482978Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 13 sessionId: sid_rand_2|ba306268-8036175b-915421df-483232b0_0 grpc closed
2026-03-17T14:15:01.482982Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 13 sessionId: sid_rand_2|ba306268-8036175b-915421df-483232b0_0 is DEAD
2026-03-17T14:15:01.483109Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.483274Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.483283Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 14
2026-03-17T14:15:01.483394Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_3" }
2026-03-17T14:15:01.483425Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 14 topic: "topic1" message_group_id: "sid_rand_3" from ipv6:[::1]:38314
2026-03-17T14:15:01.483437Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=14 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.483441Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.483804Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 14 sessionId:  describe result for acl check
2026-03-17T14:15:01.483831Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.483835Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.483837Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.483840Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614722:2533] (SourceId=sid_rand_3, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.483941Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614722:2533] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.485395Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907614722:2533] (SourceId=sid_rand_3, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.485461Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614737:2533] connected; active server actors: 1
2026-03-17T14:15:01.485485Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907614722:2533] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_3
2026-03-17T14:15:01.485492Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614722:2533] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.485536Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614737:2533] disconnected.
2026-03-17T14:15:01.485544Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614737:2533] disconnected; active server actors: 1
2026-03-17T14:15:01.485547Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614737:2533] disconnected no session
2026-03-17T14:15:01.487989Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614722:2533] (SourceId=sid_rand_3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.488002Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614722:2533] (SourceId=sid_rand_3, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2026-03-17T14:15:01.488007Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614722:2533] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.488014Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 14 sessionId:  partition: 8 expectedGeneration: (NULL)
2026-03-17T14:15:01.488166Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.488211Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_3|5ae78c7e-e54c098e-2492dd33-b414ffd5_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_3
2026-03-17T14:15:01.488356Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 14 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_3|5ae78c7e-e54c098e-2492dd33-b414ffd5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_3|5ae78c7e-e54c098e-2492dd33-b414ffd5_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.488899Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId: sid_rand_3|5ae78c7e-e54c098e-2492dd33-b414ffd5_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.488907Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 14 sessionId: sid_rand_3|5ae78c7e-e54c098e-2492dd33-b414ffd5_0 grpc read failed
2026-03-17T14:15:01.488911Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 14 sessionId: sid_rand_3|5ae78c7e-e54c098e-2492dd33-b414ffd5_0 grpc closed
2026-03-17T14:15:01.488916Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 14 sessionId: sid_rand_3|5ae78c7e-e54c098e-2492dd33-b414ffd5_0 is DEAD
2026-03-17T14:15:01.489013Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.489163Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.489174Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 15
2026-03-17T14:15:01.489268Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_4" }
2026-03-17T14:15:01.489299Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 15 topic: "topic1" message_group_id: "sid_rand_4" from ipv6:[::1]:38314
2026-03-17T14:15:01.489303Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=15 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.489307Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.489604Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 15 sessionId:  describe result for acl check
2026-03-17T14:15:01.489633Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.489635Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.489636Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.489641Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614757:2537] (SourceId=sid_rand_4, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.489718Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614757:2537] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.490948Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907614757:2537] (SourceId=sid_rand_4, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.491009Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614772:2537] connected; active server actors: 1
2026-03-17T14:15:01.491032Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907614757:2537] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_4
2026-03-17T14:15:01.491045Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614757:2537] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.491090Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614772:2537] disconnected.
2026-03-17T14:15:01.491101Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614772:2537] disconnected; active server actors: 1
2026-03-17T14:15:01.491105Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614772:2537] disconnected no session
2026-03-17T14:15:01.493484Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614757:2537] (SourceId=sid_rand_4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.493497Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614757:2537] (SourceId=sid_rand_4, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2026-03-17T14:15:01.493501Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614757:2537] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.493509Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 15 sessionId:  partition: 9 expectedGeneration: (NULL)
2026-03-17T14:15:01.493722Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.493808Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_4|85c2938e-8fcb3df5-59d775d-eacc5f1_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_4
2026-03-17T14:15:01.494074Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 15 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_4|85c2938e-8fcb3df5-59d775d-eacc5f1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_4|85c2938e-8fcb3df5-59d775d-eacc5f1_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.494707Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId: sid_rand_4|85c2938e-8fcb3df5-59d775d-eacc5f1_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.494720Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 15 sessionId: sid_rand_4|85c2938e-8fcb3df5-59d775d-eacc5f1_0 grpc read failed
2026-03-17T14:15:01.494725Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 15 sessionId: sid_rand_4|85c2938e-8fcb3df5-59d775d-eacc5f1_0 grpc closed
2026-03-17T14:15:01.494729Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 15 sessionId: sid_rand_4|85c2938e-8fcb3df5-59d775d-eacc5f1_0 is DEAD
2026-03-17T14:15:01.494893Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.494903Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 16
2026-03-17T14:15:01.494922Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.495015Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_5" }
2026-03-17T14:15:01.495046Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 16 topic: "topic1" message_group_id: "sid_rand_5" from ipv6:[::1]:38314
2026-03-17T14:15:01.495052Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=16 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.495055Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.495517Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 16 sessionId:  describe result for acl check
2026-03-17T14:15:01.495547Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.495553Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.495555Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.495560Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614791:2541] (SourceId=sid_rand_5, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.495674Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614791:2541] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.497250Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907614791:2541] (SourceId=sid_rand_5, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.497320Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614807:2541] connected; active server actors: 1
2026-03-17T14:15:01.497339Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907614791:2541] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_5
2026-03-17T14:15:01.497345Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614791:2541] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.497393Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614807:2541] disconnected.
2026-03-17T14:15:01.497402Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614807:2541] disconnected; active server actors: 1
2026-03-17T14:15:01.497405Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614807:2541] disconnected no session
2026-03-17T14:15:01.500243Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614791:2541] (SourceId=sid_rand_5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.500259Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614791:2541] (SourceId=sid_rand_5, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2026-03-17T14:15:01.500266Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614791:2541] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.500274Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 16 sessionId:  partition: 10 expectedGeneration: (NULL)
2026-03-17T14:15:01.500514Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.500595Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_5|f97f6160-62951138-59b899b6-ea3c04ea_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_5
2026-03-17T14:15:01.500846Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 16 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_5|f97f6160-62951138-59b899b6-ea3c04ea_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_5|f97f6160-62951138-59b899b6-ea3c04ea_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.501451Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId: sid_rand_5|f97f6160-62951138-59b899b6-ea3c04ea_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.501457Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 16 sessionId: sid_rand_5|f97f6160-62951138-59b899b6-ea3c04ea_0 grpc read failed
2026-03-17T14:15:01.501462Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 16 sessionId: sid_rand_5|f97f6160-62951138-59b899b6-ea3c04ea_0 grpc closed
2026-03-17T14:15:01.501465Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 16 sessionId: sid_rand_5|f97f6160-62951138-59b899b6-ea3c04ea_0 is DEAD
2026-03-17T14:15:01.501621Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.501670Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.501676Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 17
2026-03-17T14:15:01.501775Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_6" }
2026-03-17T14:15:01.501796Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 17 topic: "topic1" message_group_id: "sid_rand_6" from ipv6:[::1]:38314
2026-03-17T14:15:01.501800Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=17 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.501803Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.502162Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 17 sessionId:  describe result for acl check
2026-03-17T14:15:01.502193Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.502195Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.502197Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.502201Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614826:2545] (SourceId=sid_rand_6, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.502300Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614826:2545] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.504164Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907614826:2545] (SourceId=sid_rand_6, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.504265Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614841:2545] connected; active server actors: 1
2026-03-17T14:15:01.504277Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907614826:2545] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_6
2026-03-17T14:15:01.504282Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614826:2545] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.504343Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614841:2545] disconnected.
2026-03-17T14:15:01.504347Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614841:2545] disconnected; active server actors: 1
2026-03-17T14:15:01.504350Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614841:2545] disconnected no session
2026-03-17T14:15:01.506865Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614826:2545] (SourceId=sid_rand_6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.506876Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614826:2545] (SourceId=sid_rand_6, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2026-03-17T14:15:01.506879Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614826:2545] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.506885Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 17 sessionId:  partition: 11 expectedGeneration: (NULL)
2026-03-17T14:15:01.507125Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.507222Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_6|8d60e45d-6d1d82a4-7c546df1-256e67a0_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_6
2026-03-17T14:15:01.507493Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 17 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_6|8d60e45d-6d1d82a4-7c546df1-256e67a0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_6|8d60e45d-6d1d82a4-7c546df1-256e67a0_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.508207Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId: sid_rand_6|8d60e45d-6d1d82a4-7c546df1-256e67a0_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.508219Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 17 sessionId: sid_rand_6|8d60e45d-6d1d82a4-7c546df1-256e67a0_0 grpc read failed
2026-03-17T14:15:01.508224Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 17 sessionId: sid_rand_6|8d60e45d-6d1d82a4-7c546df1-256e67a0_0 grpc closed
2026-03-17T14:15:01.508229Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 17 sessionId: sid_rand_6|8d60e45d-6d1d82a4-7c546df1-256e67a0_0 is DEAD
2026-03-17T14:15:01.508361Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.508600Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.508609Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 18
2026-03-17T14:15:01.508732Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_7" }
2026-03-17T14:15:01.508763Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 18 topic: "topic1" message_group_id: "sid_rand_7" from ipv6:[::1]:38314
2026-03-17T14:15:01.508775Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=18 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.508779Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.509126Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 18 sessionId:  describe result for acl check
2026-03-17T14:15:01.509153Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.509159Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.509160Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.509164Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614860:2549] (SourceId=sid_rand_7, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.509264Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614860:2549] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.511186Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907614860:2549] (SourceId=sid_rand_7, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.511255Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614875:2549] connected; active server actors: 1
2026-03-17T14:15:01.511280Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907614860:2549] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_7
2026-03-17T14:15:01.511288Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614860:2549] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.511335Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614875:2549] disconnected.
2026-03-17T14:15:01.511344Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614875:2549] disconnected; active server actors: 1
2026-03-17T14:15:01.511349Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614875:2549] disconnected no session
2026-03-17T14:15:01.513942Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614860:2549] (SourceId=sid_rand_7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.513953Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614860:2549] (SourceId=sid_rand_7, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2026-03-17T14:15:01.513955Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614860:2549] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.513961Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 18 sessionId:  partition: 12 expectedGeneration: (NULL)
2026-03-17T14:15:01.514232Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.514339Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_7|254730de-d37be05b-86cb27a3-9a89a41d_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_7
2026-03-17T14:15:01.514659Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 18 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_7|254730de-d37be05b-86cb27a3-9a89a41d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_7|254730de-d37be05b-86cb27a3-9a89a41d_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.515314Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId: sid_rand_7|254730de-d37be05b-86cb27a3-9a89a41d_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.515321Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 18 sessionId: sid_rand_7|254730de-d37be05b-86cb27a3-9a89a41d_0 grpc read failed
2026-03-17T14:15:01.515326Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 18 sessionId: sid_rand_7|254730de-d37be05b-86cb27a3-9a89a41d_0 grpc closed
2026-03-17T14:15:01.515330Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 18 sessionId: sid_rand_7|254730de-d37be05b-86cb27a3-9a89a41d_0 is DEAD
2026-03-17T14:15:01.515500Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.515507Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.515509Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 19
2026-03-17T14:15:01.515580Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_8" }
2026-03-17T14:15:01.515609Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 19 topic: "topic1" message_group_id: "sid_rand_8" from ipv6:[::1]:38314
2026-03-17T14:15:01.515629Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=19 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.515637Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.516000Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 19 sessionId:  describe result for acl check
2026-03-17T14:15:01.516037Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.516044Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.516046Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.516051Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614894:2553] (SourceId=sid_rand_8, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.516158Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614894:2553] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.517701Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907614894:2553] (SourceId=sid_rand_8, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.517768Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614909:2553] connected; active server actors: 1
2026-03-17T14:15:01.517792Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907614894:2553] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_8
2026-03-17T14:15:01.517804Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614894:2553] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.517859Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614909:2553] disconnected.
2026-03-17T14:15:01.517868Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614909:2553] disconnected; active server actors: 1
2026-03-17T14:15:01.517871Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614909:2553] disconnected no session
2026-03-17T14:15:01.520685Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614894:2553] (SourceId=sid_rand_8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.520698Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614894:2553] (SourceId=sid_rand_8, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2026-03-17T14:15:01.520700Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614894:2553] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.520706Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 19 sessionId:  partition: 13 expectedGeneration: (NULL)
2026-03-17T14:15:01.520996Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.521068Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_8|42dbb115-fd0d55cb-dc4685ad-aeaf23c3_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_8
2026-03-17T14:15:01.521337Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 19 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_8|42dbb115-fd0d55cb-dc4685ad-aeaf23c3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_8|42dbb115-fd0d55cb-dc4685ad-aeaf23c3_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.521949Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId: sid_rand_8|42dbb115-fd0d55cb-dc4685ad-aeaf23c3_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.521962Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 19 sessionId: sid_rand_8|42dbb115-fd0d55cb-dc4685ad-aeaf23c3_0 grpc read failed
2026-03-17T14:15:01.521967Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 19 sessionId: sid_rand_8|42dbb115-fd0d55cb-dc4685ad-aeaf23c3_0 grpc closed
2026-03-17T14:15:01.521972Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 19 sessionId: sid_rand_8|42dbb115-fd0d55cb-dc4685ad-aeaf23c3_0 is DEAD
2026-03-17T14:15:01.522168Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.522179Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 20
2026-03-17T14:15:01.522206Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.522289Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_9" }
2026-03-17T14:15:01.522322Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 20 topic: "topic1" message_group_id: "sid_rand_9" from ipv6:[::1]:38314
2026-03-17T14:15:01.522333Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=20 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.522341Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.522722Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 20 sessionId:  describe result for acl check
2026-03-17T14:15:01.522752Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.522760Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.522762Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.522766Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614928:2557] (SourceId=sid_rand_9, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.522879Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614928:2557] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.524525Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907614928:2557] (SourceId=sid_rand_9, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.524587Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614945:2557] connected; active server actors: 1
2026-03-17T14:15:01.524611Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907614928:2557] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_9
2026-03-17T14:15:01.524619Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614928:2557] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.524662Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614945:2557] disconnected.
2026-03-17T14:15:01.524671Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614945:2557] disconnected; active server actors: 1
2026-03-17T14:15:01.524675Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614945:2557] disconnected no session
2026-03-17T14:15:01.527091Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614928:2557] (SourceId=sid_rand_9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.527102Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614928:2557] (SourceId=sid_rand_9, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2026-03-17T14:15:01.527104Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614928:2557] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.527110Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 20 sessionId:  partition: 14 expectedGeneration: (NULL)
2026-03-17T14:15:01.527381Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.527488Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_9|47b6f7fb-d558393a-4d6fb6a9-adbbf4ff_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_9
2026-03-17T14:15:01.527885Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 20 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_9|47b6f7fb-d558393a-4d6fb6a9-adbbf4ff_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_9|47b6f7fb-d558393a-4d6fb6a9-adbbf4ff_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.528520Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId: sid_rand_9|47b6f7fb-d558393a-4d6fb6a9-adbbf4ff_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.528532Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 20 sessionId: sid_rand_9|47b6f7fb-d558393a-4d6fb6a9-adbbf4ff_0 grpc read failed
2026-03-17T14:15:01.528537Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 20 sessionId: sid_rand_9|47b6f7fb-d558393a-4d6fb6a9-adbbf4ff_0 grpc closed
2026-03-17T14:15:01.528542Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 20 sessionId: sid_rand_9|47b6f7fb-d558393a-4d6fb6a9-adbbf4ff_0 is DEAD
2026-03-17T14:15:01.528681Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.528693Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 21
2026-03-17T14:15:01.528755Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.528803Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_10" }
2026-03-17T14:15:01.528832Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 21 topic: "topic1" message_group_id: "sid_rand_10" from ipv6:[::1]:38314
2026-03-17T14:15:01.528843Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=21 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.528851Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.529234Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 21 sessionId:  describe result for acl check
2026-03-17T14:15:01.529267Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.529269Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.529271Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.529276Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907614966:2561] (SourceId=sid_rand_10, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.529369Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907614966:2561] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.531179Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907614966:2561] (SourceId=sid_rand_10, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.531247Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614981:2561] connected; active server actors: 1
2026-03-17T14:15:01.531270Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907614966:2561] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_10
2026-03-17T14:15:01.531274Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907614966:2561] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.531318Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614981:2561] disconnected.
2026-03-17T14:15:01.531326Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614981:2561] disconnected; active server actors: 1
2026-03-17T14:15:01.531329Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907614981:2561] disconnected no session
2026-03-17T14:15:01.533863Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907614966:2561] (SourceId=sid_rand_10, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.533874Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907614966:2561] (SourceId=sid_rand_10, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2026-03-17T14:15:01.533877Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907614966:2561] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.533883Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 21 sessionId:  partition: 0 expectedGeneration: (NULL)
2026-03-17T14:15:01.534005Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.534029Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_10|4eb78823-3487fd8e-7591981b-4fc67a9a_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_10
2026-03-17T14:15:01.534187Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 21 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_10|4eb78823-3487fd8e-7591981b-4fc67a9a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_10|4eb78823-3487fd8e-7591981b-4fc67a9a_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.534818Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId: sid_rand_10|4eb78823-3487fd8e-7591981b-4fc67a9a_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.534831Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 21 sessionId: sid_rand_10|4eb78823-3487fd8e-7591981b-4fc67a9a_0 grpc read failed
2026-03-17T14:15:01.534837Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 21 sessionId: sid_rand_10|4eb78823-3487fd8e-7591981b-4fc67a9a_0 grpc closed
2026-03-17T14:15:01.534843Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 21 sessionId: sid_rand_10|4eb78823-3487fd8e-7591981b-4fc67a9a_0 is DEAD
2026-03-17T14:15:01.535030Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.535040Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 22
2026-03-17T14:15:01.535072Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.535132Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_11" }
2026-03-17T14:15:01.535165Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 22 topic: "topic1" message_group_id: "sid_rand_11" from ipv6:[::1]:38314
2026-03-17T14:15:01.535177Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=22 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.535181Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.535530Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 22 sessionId:  describe result for acl check
2026-03-17T14:15:01.535559Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.535566Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.535568Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.535571Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615001:2565] (SourceId=sid_rand_11, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.535669Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615001:2565] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.537081Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615001:2565] (SourceId=sid_rand_11, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.537156Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615016:2565] connected; active server actors: 1
2026-03-17T14:15:01.537176Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615001:2565] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_11
2026-03-17T14:15:01.537181Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615001:2565] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.537227Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615016:2565] disconnected.
2026-03-17T14:15:01.537234Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615016:2565] disconnected; active server actors: 1
2026-03-17T14:15:01.537237Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615016:2565] disconnected no session
2026-03-17T14:15:01.539542Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615001:2565] (SourceId=sid_rand_11, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.539554Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615001:2565] (SourceId=sid_rand_11, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2026-03-17T14:15:01.539558Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615001:2565] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.539565Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 22 sessionId:  partition: 1 expectedGeneration: (NULL)
2026-03-17T14:15:01.539700Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.539732Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_11|8e4ce8a-a6a16948-c773a3f9-71b8ea7a_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_11
2026-03-17T14:15:01.539904Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 22 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_11|8e4ce8a-a6a16948-c773a3f9-71b8ea7a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_11|8e4ce8a-a6a16948-c773a3f9-71b8ea7a_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.540508Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId: sid_rand_11|8e4ce8a-a6a16948-c773a3f9-71b8ea7a_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.540517Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 22 sessionId: sid_rand_11|8e4ce8a-a6a16948-c773a3f9-71b8ea7a_0 grpc read failed
2026-03-17T14:15:01.540523Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 22 sessionId: sid_rand_11|8e4ce8a-a6a16948-c773a3f9-71b8ea7a_0 grpc closed
2026-03-17T14:15:01.540527Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 22 sessionId: sid_rand_11|8e4ce8a-a6a16948-c773a3f9-71b8ea7a_0 is DEAD
2026-03-17T14:15:01.540677Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.540687Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 23
2026-03-17T14:15:01.540740Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.540774Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_12" }
2026-03-17T14:15:01.540801Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 23 topic: "topic1" message_group_id: "sid_rand_12" from ipv6:[::1]:38314
2026-03-17T14:15:01.540811Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=23 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.540814Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.541175Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 23 sessionId:  describe result for acl check
2026-03-17T14:15:01.541204Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.541211Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.541214Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.541217Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615036:2569] (SourceId=sid_rand_12, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.541313Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615036:2569] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.542809Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615036:2569] (SourceId=sid_rand_12, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.542889Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615051:2569] connected; active server actors: 1
2026-03-17T14:15:01.542908Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615036:2569] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_12
2026-03-17T14:15:01.542912Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615036:2569] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.542955Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615051:2569] disconnected.
2026-03-17T14:15:01.542962Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615051:2569] disconnected; active server actors: 1
2026-03-17T14:15:01.542964Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615051:2569] disconnected no session
2026-03-17T14:15:01.545870Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615036:2569] (SourceId=sid_rand_12, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.545884Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615036:2569] (SourceId=sid_rand_12, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2026-03-17T14:15:01.545888Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615036:2569] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.545895Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 23 sessionId:  partition: 0 expectedGeneration: (NULL)
2026-03-17T14:15:01.546053Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.546102Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_12|a1e424fa-c4313420-2c5c1d66-bfd51a6a_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_12
2026-03-17T14:15:01.546274Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 23 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_12|a1e424fa-c4313420-2c5c1d66-bfd51a6a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_12|a1e424fa-c4313420-2c5c1d66-bfd51a6a_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.546900Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId: sid_rand_12|a1e424fa-c4313420-2c5c1d66-bfd51a6a_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.546913Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 23 sessionId: sid_rand_12|a1e424fa-c4313420-2c5c1d66-bfd51a6a_0 grpc read failed
2026-03-17T14:15:01.546919Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 23 sessionId: sid_rand_12|a1e424fa-c4313420-2c5c1d66-bfd51a6a_0 grpc closed
2026-03-17T14:15:01.546925Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 23 sessionId: sid_rand_12|a1e424fa-c4313420-2c5c1d66-bfd51a6a_0 is DEAD
2026-03-17T14:15:01.547093Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.547105Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 24
2026-03-17T14:15:01.547157Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.547184Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_13" }
2026-03-17T14:15:01.547213Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 24 topic: "topic1" message_group_id: "sid_rand_13" from ipv6:[::1]:38314
2026-03-17T14:15:01.547219Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=24 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.547227Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.547583Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 24 sessionId:  describe result for acl check
2026-03-17T14:15:01.547611Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.547616Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.547618Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.547621Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615071:2573] (SourceId=sid_rand_13, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.547710Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615071:2573] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.549620Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615071:2573] (SourceId=sid_rand_13, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.549698Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615086:2573] connected; active server actors: 1
2026-03-17T14:15:01.549719Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615071:2573] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_13
2026-03-17T14:15:01.549723Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615071:2573] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.549779Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615086:2573] disconnected.
2026-03-17T14:15:01.549791Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615086:2573] disconnected; active server actors: 1
2026-03-17T14:15:01.549794Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615086:2573] disconnected no session
2026-03-17T14:15:01.552506Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615071:2573] (SourceId=sid_rand_13, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.552520Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615071:2573] (SourceId=sid_rand_13, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2026-03-17T14:15:01.552524Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615071:2573] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.552533Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 24 sessionId:  partition: 1 expectedGeneration: (NULL)
2026-03-17T14:15:01.552665Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.552718Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_13|baeed818-f1ee6992-b9408f4-eb4411b5_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_13
2026-03-17T14:15:01.552857Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 24 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_13|baeed818-f1ee6992-b9408f4-eb4411b5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_13|baeed818-f1ee6992-b9408f4-eb4411b5_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.553462Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId: sid_rand_13|baeed818-f1ee6992-b9408f4-eb4411b5_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.553473Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 24 sessionId: sid_rand_13|baeed818-f1ee6992-b9408f4-eb4411b5_0 grpc read failed
2026-03-17T14:15:01.553481Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 24 sessionId: sid_rand_13|baeed818-f1ee6992-b9408f4-eb4411b5_0 grpc closed
2026-03-17T14:15:01.553485Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 24 sessionId: sid_rand_13|baeed818-f1ee6992-b9408f4-eb4411b5_0 is DEAD
2026-03-17T14:15:01.553686Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.553695Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 25
2026-03-17T14:15:01.553733Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.553781Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_14" }
2026-03-17T14:15:01.553815Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 25 topic: "topic1" message_group_id: "sid_rand_14" from ipv6:[::1]:38314
2026-03-17T14:15:01.553826Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=25 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.553836Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.554280Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 25 sessionId:  describe result for acl check
2026-03-17T14:15:01.554314Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.554320Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.554321Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.554326Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615106:2577] (SourceId=sid_rand_14, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.554450Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615106:2577] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.556333Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615106:2577] (SourceId=sid_rand_14, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.556419Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615121:2577] connected; active server actors: 1
2026-03-17T14:15:01.556442Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615106:2577] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_14
2026-03-17T14:15:01.556448Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615106:2577] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.556505Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615121:2577] disconnected.
2026-03-17T14:15:01.556514Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615121:2577] disconnected; active server actors: 1
2026-03-17T14:15:01.556517Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615121:2577] disconnected no session
2026-03-17T14:15:01.559252Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615106:2577] (SourceId=sid_rand_14, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.559266Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615106:2577] (SourceId=sid_rand_14, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2026-03-17T14:15:01.559269Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615106:2577] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.559277Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 25 sessionId:  partition: 2 expectedGeneration: (NULL)
2026-03-17T14:15:01.559561Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.559664Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_14|f1e3cea1-c2c49e8e-7fcc2678-9da5e72a_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_14
2026-03-17T14:15:01.560016Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 25 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_14|f1e3cea1-c2c49e8e-7fcc2678-9da5e72a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_14|f1e3cea1-c2c49e8e-7fcc2678-9da5e72a_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.560666Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId: sid_rand_14|f1e3cea1-c2c49e8e-7fcc2678-9da5e72a_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.560677Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 25 sessionId: sid_rand_14|f1e3cea1-c2c49e8e-7fcc2678-9da5e72a_0 grpc read failed
2026-03-17T14:15:01.560682Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 25 sessionId: sid_rand_14|f1e3cea1-c2c49e8e-7fcc2678-9da5e72a_0 grpc closed
2026-03-17T14:15:01.560687Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 25 sessionId: sid_rand_14|f1e3cea1-c2c49e8e-7fcc2678-9da5e72a_0 is DEAD
2026-03-17T14:15:01.560933Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.560934Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.560943Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 26
2026-03-17T14:15:01.561015Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_15" }
2026-03-17T14:15:01.561048Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 26 topic: "topic1" message_group_id: "sid_rand_15" from ipv6:[::1]:38314
2026-03-17T14:15:01.561058Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=26 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.561062Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.561379Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 26 sessionId:  describe result for acl check
2026-03-17T14:15:01.561405Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.561410Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.561412Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.561415Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615140:2581] (SourceId=sid_rand_15, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.561508Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615140:2581] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.563130Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615140:2581] (SourceId=sid_rand_15, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.563199Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615155:2581] connected; active server actors: 1
2026-03-17T14:15:01.563223Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615140:2581] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_15
2026-03-17T14:15:01.563234Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615140:2581] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.563275Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615155:2581] disconnected.
2026-03-17T14:15:01.563283Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615155:2581] disconnected; active server actors: 1
2026-03-17T14:15:01.563286Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615155:2581] disconnected no session
2026-03-17T14:15:01.565713Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615140:2581] (SourceId=sid_rand_15, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.565725Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615140:2581] (SourceId=sid_rand_15, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2026-03-17T14:15:01.565729Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615140:2581] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.565736Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 26 sessionId:  partition: 3 expectedGeneration: (NULL)
2026-03-17T14:15:01.565859Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.565910Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_15|b5f4c7dd-c3af1513-60e24508-11004d47_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_15
2026-03-17T14:15:01.566043Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 26 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_15|b5f4c7dd-c3af1513-60e24508-11004d47_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_15|b5f4c7dd-c3af1513-60e24508-11004d47_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.566617Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId: sid_rand_15|b5f4c7dd-c3af1513-60e24508-11004d47_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.566628Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 26 sessionId: sid_rand_15|b5f4c7dd-c3af1513-60e24508-11004d47_0 grpc read failed
2026-03-17T14:15:01.566633Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 26 sessionId: sid_rand_15|b5f4c7dd-c3af1513-60e24508-11004d47_0 grpc closed
2026-03-17T14:15:01.566637Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 26 sessionId: sid_rand_15|b5f4c7dd-c3af1513-60e24508-11004d47_0 is DEAD
2026-03-17T14:15:01.566807Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.566817Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 27
2026-03-17T14:15:01.566829Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.566947Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_16" }
2026-03-17T14:15:01.566983Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 27 topic: "topic1" message_group_id: "sid_rand_16" from ipv6:[::1]:38314
2026-03-17T14:15:01.566994Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=27 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.566997Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.567337Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 27 sessionId:  describe result for acl check
2026-03-17T14:15:01.567369Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.567376Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.567378Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.567382Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615175:2585] (SourceId=sid_rand_16, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.567502Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615175:2585] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.568884Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615175:2585] (SourceId=sid_rand_16, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.568970Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615190:2585] connected; active server actors: 1
2026-03-17T14:15:01.568993Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615175:2585] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_16
2026-03-17T14:15:01.569001Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615175:2585] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.569048Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615190:2585] disconnected.
2026-03-17T14:15:01.569059Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615190:2585] disconnected; active server actors: 1
2026-03-17T14:15:01.569062Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615190:2585] disconnected no session
2026-03-17T14:15:01.571929Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615175:2585] (SourceId=sid_rand_16, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.571943Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615175:2585] (SourceId=sid_rand_16, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2026-03-17T14:15:01.571949Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615175:2585] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.571957Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 27 sessionId:  partition: 4 expectedGeneration: (NULL)
2026-03-17T14:15:01.572212Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.572318Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_16|d8c8d5e4-b4a0d14d-20cb650c-5e164d13_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_16
2026-03-17T14:15:01.572607Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 27 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_16|d8c8d5e4-b4a0d14d-20cb650c-5e164d13_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_16|d8c8d5e4-b4a0d14d-20cb650c-5e164d13_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.573225Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId: sid_rand_16|d8c8d5e4-b4a0d14d-20cb650c-5e164d13_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.573234Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 27 sessionId: sid_rand_16|d8c8d5e4-b4a0d14d-20cb650c-5e164d13_0 grpc read failed
2026-03-17T14:15:01.573239Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 27 sessionId: sid_rand_16|d8c8d5e4-b4a0d14d-20cb650c-5e164d13_0 grpc closed
2026-03-17T14:15:01.573243Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 27 sessionId: sid_rand_16|d8c8d5e4-b4a0d14d-20cb650c-5e164d13_0 is DEAD
2026-03-17T14:15:01.573444Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.573457Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 28
2026-03-17T14:15:01.573464Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.573558Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_17" }
2026-03-17T14:15:01.573588Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 28 topic: "topic1" message_group_id: "sid_rand_17" from ipv6:[::1]:38314
2026-03-17T14:15:01.573598Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=28 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.573606Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.573984Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 28 sessionId:  describe result for acl check
2026-03-17T14:15:01.574027Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.574034Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.574036Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.574041Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615209:2589] (SourceId=sid_rand_17, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.574179Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615209:2589] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.575496Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615209:2589] (SourceId=sid_rand_17, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.575555Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615224:2589] connected; active server actors: 1
2026-03-17T14:15:01.575577Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615209:2589] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_17
2026-03-17T14:15:01.575581Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615209:2589] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.575635Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615224:2589] disconnected.
2026-03-17T14:15:01.575645Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615224:2589] disconnected; active server actors: 1
2026-03-17T14:15:01.575648Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615224:2589] disconnected no session
2026-03-17T14:15:01.578000Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615209:2589] (SourceId=sid_rand_17, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.578014Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615209:2589] (SourceId=sid_rand_17, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2026-03-17T14:15:01.578018Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615209:2589] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.578026Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 28 sessionId:  partition: 5 expectedGeneration: (NULL)
2026-03-17T14:15:01.578283Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.578367Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_17|676c4fd6-195edc82-908954ea-8dbed9b5_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_17
2026-03-17T14:15:01.578691Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 28 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_17|676c4fd6-195edc82-908954ea-8dbed9b5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_17|676c4fd6-195edc82-908954ea-8dbed9b5_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.579313Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId: sid_rand_17|676c4fd6-195edc82-908954ea-8dbed9b5_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.579320Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 28 sessionId: sid_rand_17|676c4fd6-195edc82-908954ea-8dbed9b5_0 grpc read failed
2026-03-17T14:15:01.579324Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 28 sessionId: sid_rand_17|676c4fd6-195edc82-908954ea-8dbed9b5_0 grpc closed
2026-03-17T14:15:01.579328Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 28 sessionId: sid_rand_17|676c4fd6-195edc82-908954ea-8dbed9b5_0 is DEAD
2026-03-17T14:15:01.579508Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.579509Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.579517Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 29
2026-03-17T14:15:01.579582Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_18" }
2026-03-17T14:15:01.579607Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 29 topic: "topic1" message_group_id: "sid_rand_18" from ipv6:[::1]:38314
2026-03-17T14:15:01.579615Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=29 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.579618Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.579970Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 29 sessionId:  describe result for acl check
2026-03-17T14:15:01.579995Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.580000Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.580001Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.580005Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615243:2593] (SourceId=sid_rand_18, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.580094Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615243:2593] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.581782Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615243:2593] (SourceId=sid_rand_18, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.581876Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615258:2593] connected; active server actors: 1
2026-03-17T14:15:01.581894Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615243:2593] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_18
2026-03-17T14:15:01.581899Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615243:2593] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.581958Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615258:2593] disconnected.
2026-03-17T14:15:01.581973Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615258:2593] disconnected; active server actors: 1
2026-03-17T14:15:01.581977Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615258:2593] disconnected no session
2026-03-17T14:15:01.584807Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615243:2593] (SourceId=sid_rand_18, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.584819Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615243:2593] (SourceId=sid_rand_18, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2026-03-17T14:15:01.584822Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615243:2593] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.584829Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 29 sessionId:  partition: 6 expectedGeneration: (NULL)
2026-03-17T14:15:01.584935Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.584986Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_18|918571c8-6dd31ced-5fdb2e0b-ea3627d4_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_18
2026-03-17T14:15:01.585119Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 29 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_18|918571c8-6dd31ced-5fdb2e0b-ea3627d4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_18|918571c8-6dd31ced-5fdb2e0b-ea3627d4_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.585738Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId: sid_rand_18|918571c8-6dd31ced-5fdb2e0b-ea3627d4_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.585746Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 29 sessionId: sid_rand_18|918571c8-6dd31ced-5fdb2e0b-ea3627d4_0 grpc read failed
2026-03-17T14:15:01.585750Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 29 sessionId: sid_rand_18|918571c8-6dd31ced-5fdb2e0b-ea3627d4_0 grpc closed
2026-03-17T14:15:01.585755Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 29 sessionId: sid_rand_18|918571c8-6dd31ced-5fdb2e0b-ea3627d4_0 is DEAD
2026-03-17T14:15:01.585921Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.585944Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.585957Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 30
2026-03-17T14:15:01.586029Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_19" }
2026-03-17T14:15:01.586062Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 30 topic: "topic1" message_group_id: "sid_rand_19" from ipv6:[::1]:38314
2026-03-17T14:15:01.586069Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=30 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.586072Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.586469Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 30 sessionId:  describe result for acl check
2026-03-17T14:15:01.586501Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.586503Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.586505Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.586510Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615278:2597] (SourceId=sid_rand_19, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.586624Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615278:2597] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.588246Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615278:2597] (SourceId=sid_rand_19, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.588306Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615293:2597] connected; active server actors: 1
2026-03-17T14:15:01.588320Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615278:2597] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_19
2026-03-17T14:15:01.588323Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615278:2597] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.588354Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615293:2597] disconnected.
2026-03-17T14:15:01.588360Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615293:2597] disconnected; active server actors: 1
2026-03-17T14:15:01.588363Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615293:2597] disconnected no session
2026-03-17T14:15:01.590640Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615278:2597] (SourceId=sid_rand_19, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.590650Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615278:2597] (SourceId=sid_rand_19, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2026-03-17T14:15:01.590653Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615278:2597] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.590659Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 30 sessionId:  partition: 7 expectedGeneration: (NULL)
2026-03-17T14:15:01.590858Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.590955Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_19|39181c7d-c5d7cf49-6b8447d5-2785d86a_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_19
2026-03-17T14:15:01.591213Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 30 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_19|39181c7d-c5d7cf49-6b8447d5-2785d86a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_19|39181c7d-c5d7cf49-6b8447d5-2785d86a_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.591737Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId: sid_rand_19|39181c7d-c5d7cf49-6b8447d5-2785d86a_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.591743Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 30 sessionId: sid_rand_19|39181c7d-c5d7cf49-6b8447d5-2785d86a_0 grpc read failed
2026-03-17T14:15:01.591746Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 30 sessionId: sid_rand_19|39181c7d-c5d7cf49-6b8447d5-2785d86a_0 grpc closed
2026-03-17T14:15:01.591750Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 30 sessionId: sid_rand_19|39181c7d-c5d7cf49-6b8447d5-2785d86a_0 is DEAD
2026-03-17T14:15:01.591824Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.592011Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.592021Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 31
2026-03-17T14:15:01.592117Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_20" }
2026-03-17T14:15:01.592163Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 31 topic: "topic1" message_group_id: "sid_rand_20" from ipv6:[::1]:38314
2026-03-17T14:15:01.592167Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=31 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.592170Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.592524Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 31 sessionId:  describe result for acl check
2026-03-17T14:15:01.592549Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.592551Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.592552Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.592555Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615312:2601] (SourceId=sid_rand_20, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.592641Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615312:2601] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.593822Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615312:2601] (SourceId=sid_rand_20, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.593891Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615327:2601] connected; active server actors: 1
2026-03-17T14:15:01.593906Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615312:2601] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_20
2026-03-17T14:15:01.593909Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615312:2601] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.593951Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615327:2601] disconnected.
2026-03-17T14:15:01.593959Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615327:2601] disconnected; active server actors: 1
2026-03-17T14:15:01.593961Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615327:2601] disconnected no session
2026-03-17T14:15:01.596334Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615312:2601] (SourceId=sid_rand_20, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.596345Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615312:2601] (SourceId=sid_rand_20, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2026-03-17T14:15:01.596347Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615312:2601] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.596352Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 31 sessionId:  partition: 8 expectedGeneration: (NULL)
2026-03-17T14:15:01.596473Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.596497Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_20|cd567ba8-1ba7e237-aee69beb-dbf291c8_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_20
2026-03-17T14:15:01.596604Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 31 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_20|cd567ba8-1ba7e237-aee69beb-dbf291c8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_20|cd567ba8-1ba7e237-aee69beb-dbf291c8_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.597095Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId: sid_rand_20|cd567ba8-1ba7e237-aee69beb-dbf291c8_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.597107Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 31 sessionId: sid_rand_20|cd567ba8-1ba7e237-aee69beb-dbf291c8_0 grpc read failed
2026-03-17T14:15:01.597112Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 31 sessionId: sid_rand_20|cd567ba8-1ba7e237-aee69beb-dbf291c8_0 grpc closed
2026-03-17T14:15:01.597116Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 31 sessionId: sid_rand_20|cd567ba8-1ba7e237-aee69beb-dbf291c8_0 is DEAD
2026-03-17T14:15:01.597229Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.597407Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.597415Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 32
2026-03-17T14:15:01.597522Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_21" }
2026-03-17T14:15:01.597553Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 32 topic: "topic1" message_group_id: "sid_rand_21" from ipv6:[::1]:38314
2026-03-17T14:15:01.597563Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=32 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.597566Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.597901Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 32 sessionId:  describe result for acl check
2026-03-17T14:15:01.597924Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.597929Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.597930Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.597933Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615349:2606] (SourceId=sid_rand_21, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.598025Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615349:2606] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.599532Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615349:2606] (SourceId=sid_rand_21, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.599593Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615364:2606] connected; active server actors: 1
2026-03-17T14:15:01.599609Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615349:2606] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_21
2026-03-17T14:15:01.599617Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615349:2606] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.599654Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615364:2606] disconnected.
2026-03-17T14:15:01.599660Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615364:2606] disconnected; active server actors: 1
2026-03-17T14:15:01.599663Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615364:2606] disconnected no session
2026-03-17T14:15:01.601920Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615349:2606] (SourceId=sid_rand_21, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.601932Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615349:2606] (SourceId=sid_rand_21, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2026-03-17T14:15:01.601936Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615349:2606] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.601943Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 32 sessionId:  partition: 9 expectedGeneration: (NULL)
2026-03-17T14:15:01.602173Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.602293Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_21|af79ebd8-3710578a-8685429c-2b91589c_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_21
2026-03-17T14:15:01.602576Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 32 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_21|af79ebd8-3710578a-8685429c-2b91589c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_21|af79ebd8-3710578a-8685429c-2b91589c_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.603130Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId: sid_rand_21|af79ebd8-3710578a-8685429c-2b91589c_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.603141Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 32 sessionId: sid_rand_21|af79ebd8-3710578a-8685429c-2b91589c_0 grpc read failed
2026-03-17T14:15:01.603144Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 32 sessionId: sid_rand_21|af79ebd8-3710578a-8685429c-2b91589c_0 grpc closed
2026-03-17T14:15:01.603149Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 32 sessionId: sid_rand_21|af79ebd8-3710578a-8685429c-2b91589c_0 is DEAD
2026-03-17T14:15:01.603235Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.603439Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.603447Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 33
2026-03-17T14:15:01.603520Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_22" }
2026-03-17T14:15:01.603541Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 33 topic: "topic1" message_group_id: "sid_rand_22" from ipv6:[::1]:38314
2026-03-17T14:15:01.603549Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=33 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.603552Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.603832Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 33 sessionId:  describe result for acl check
2026-03-17T14:15:01.603869Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.603874Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.603876Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.603879Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615383:2610] (SourceId=sid_rand_22, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.603961Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615383:2610] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.605047Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615383:2610] (SourceId=sid_rand_22, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.605098Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615398:2610] connected; active server actors: 1
2026-03-17T14:15:01.605111Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615383:2610] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_22
2026-03-17T14:15:01.605116Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615383:2610] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.605152Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615398:2610] disconnected.
2026-03-17T14:15:01.605160Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615398:2610] disconnected; active server actors: 1
2026-03-17T14:15:01.605163Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615398:2610] disconnected no session
2026-03-17T14:15:01.607610Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615383:2610] (SourceId=sid_rand_22, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.607620Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615383:2610] (SourceId=sid_rand_22, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2026-03-17T14:15:01.607632Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615383:2610] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.607638Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 33 sessionId:  partition: 10 expectedGeneration: (NULL)
2026-03-17T14:15:01.607813Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.607904Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_22|9baaa02c-e0cd85f8-e9be341d-834d8842_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_22
2026-03-17T14:15:01.608128Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 33 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_22|9baaa02c-e0cd85f8-e9be341d-834d8842_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_22|9baaa02c-e0cd85f8-e9be341d-834d8842_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.608688Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId: sid_rand_22|9baaa02c-e0cd85f8-e9be341d-834d8842_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.608695Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 33 sessionId: sid_rand_22|9baaa02c-e0cd85f8-e9be341d-834d8842_0 grpc read failed
2026-03-17T14:15:01.608699Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 33 sessionId: sid_rand_22|9baaa02c-e0cd85f8-e9be341d-834d8842_0 grpc closed
2026-03-17T14:15:01.608703Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 33 sessionId: sid_rand_22|9baaa02c-e0cd85f8-e9be341d-834d8842_0 is DEAD
2026-03-17T14:15:01.608807Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.609030Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.609039Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 34
2026-03-17T14:15:01.609133Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_23" }
2026-03-17T14:15:01.609156Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 34 topic: "topic1" message_group_id: "sid_rand_23" from ipv6:[::1]:38314
2026-03-17T14:15:01.609163Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=34 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.609166Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.609439Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 34 sessionId:  describe result for acl check
2026-03-17T14:15:01.609463Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.609467Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.609468Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.609471Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615417:2614] (SourceId=sid_rand_23, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.609560Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615417:2614] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.610639Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615417:2614] (SourceId=sid_rand_23, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.610703Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615432:2614] connected; active server actors: 1
2026-03-17T14:15:01.610716Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615417:2614] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_23
2026-03-17T14:15:01.610718Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615417:2614] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.610747Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615432:2614] disconnected.
2026-03-17T14:15:01.610754Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615432:2614] disconnected; active server actors: 1
2026-03-17T14:15:01.610757Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615432:2614] disconnected no session
2026-03-17T14:15:01.613225Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615417:2614] (SourceId=sid_rand_23, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.613239Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615417:2614] (SourceId=sid_rand_23, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2026-03-17T14:15:01.613242Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615417:2614] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.613247Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 34 sessionId:  partition: 11 expectedGeneration: (NULL)
2026-03-17T14:15:01.613422Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.613527Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_23|d665ce3e-6381325e-90a90099-ef650c89_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_23
2026-03-17T14:15:01.613798Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 34 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_23|d665ce3e-6381325e-90a90099-ef650c89_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_23|d665ce3e-6381325e-90a90099-ef650c89_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.614306Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId: sid_rand_23|d665ce3e-6381325e-90a90099-ef650c89_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.614315Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 34 sessionId: sid_rand_23|d665ce3e-6381325e-90a90099-ef650c89_0 grpc read failed
2026-03-17T14:15:01.614319Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 34 sessionId: sid_rand_23|d665ce3e-6381325e-90a90099-ef650c89_0 grpc closed
2026-03-17T14:15:01.614324Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 34 sessionId: sid_rand_23|d665ce3e-6381325e-90a90099-ef650c89_0 is DEAD
2026-03-17T14:15:01.614504Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.614638Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.614644Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 35
2026-03-17T14:15:01.614740Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_24" }
2026-03-17T14:15:01.614774Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 35 topic: "topic1" message_group_id: "sid_rand_24" from ipv6:[::1]:38314
2026-03-17T14:15:01.614784Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=35 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.614788Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.615145Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 35 sessionId:  describe result for acl check
2026-03-17T14:15:01.615174Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.615180Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.615183Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.615186Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615451:2618] (SourceId=sid_rand_24, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.615283Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615451:2618] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.616881Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615451:2618] (SourceId=sid_rand_24, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.616938Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615466:2618] connected; active server actors: 1
2026-03-17T14:15:01.616953Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615451:2618] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_24
2026-03-17T14:15:01.616957Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615451:2618] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.616987Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615466:2618] disconnected.
2026-03-17T14:15:01.616993Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615466:2618] disconnected; active server actors: 1
2026-03-17T14:15:01.616997Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615466:2618] disconnected no session
2026-03-17T14:15:01.619406Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615451:2618] (SourceId=sid_rand_24, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.619419Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615451:2618] (SourceId=sid_rand_24, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2026-03-17T14:15:01.619422Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615451:2618] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.619431Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 35 sessionId:  partition: 12 expectedGeneration: (NULL)
2026-03-17T14:15:01.619735Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.619842Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_24|5951fb65-9900c177-85390493-e7bd7ae9_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_24
2026-03-17T14:15:01.620206Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 35 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_24|5951fb65-9900c177-85390493-e7bd7ae9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_24|5951fb65-9900c177-85390493-e7bd7ae9_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.620768Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId: sid_rand_24|5951fb65-9900c177-85390493-e7bd7ae9_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.620774Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 35 sessionId: sid_rand_24|5951fb65-9900c177-85390493-e7bd7ae9_0 grpc read failed
2026-03-17T14:15:01.620778Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 35 sessionId: sid_rand_24|5951fb65-9900c177-85390493-e7bd7ae9_0 grpc closed
2026-03-17T14:15:01.620782Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 35 sessionId: sid_rand_24|5951fb65-9900c177-85390493-e7bd7ae9_0 is DEAD
2026-03-17T14:15:01.620880Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.621038Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.621048Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 36
2026-03-17T14:15:01.621144Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_25" }
2026-03-17T14:15:01.621168Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 36 topic: "topic1" message_group_id: "sid_rand_25" from ipv6:[::1]:38314
2026-03-17T14:15:01.621175Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=36 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.621178Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.621459Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 36 sessionId:  describe result for acl check
2026-03-17T14:15:01.621490Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.621497Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.621499Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.621503Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615485:2622] (SourceId=sid_rand_25, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.621592Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615485:2622] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.622901Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615485:2622] (SourceId=sid_rand_25, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.622973Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615500:2622] connected; active server actors: 1
2026-03-17T14:15:01.622989Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615485:2622] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_25
2026-03-17T14:15:01.622999Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615485:2622] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.623040Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615500:2622] disconnected.
2026-03-17T14:15:01.623045Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615500:2622] disconnected; active server actors: 1
2026-03-17T14:15:01.623047Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615500:2622] disconnected no session
2026-03-17T14:15:01.625517Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615485:2622] (SourceId=sid_rand_25, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.625526Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615485:2622] (SourceId=sid_rand_25, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2026-03-17T14:15:01.625529Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615485:2622] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.625535Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 36 sessionId:  partition: 13 expectedGeneration: (NULL)
2026-03-17T14:15:01.625732Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.625818Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_25|a95a551e-2f649e09-4b3bf56c-92e5ee1d_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_25
2026-03-17T14:15:01.626119Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 36 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_25|a95a551e-2f649e09-4b3bf56c-92e5ee1d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_25|a95a551e-2f649e09-4b3bf56c-92e5ee1d_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.626628Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId: sid_rand_25|a95a551e-2f649e09-4b3bf56c-92e5ee1d_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.626632Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 36 sessionId: sid_rand_25|a95a551e-2f649e09-4b3bf56c-92e5ee1d_0 grpc read failed
2026-03-17T14:15:01.626635Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 36 sessionId: sid_rand_25|a95a551e-2f649e09-4b3bf56c-92e5ee1d_0 grpc closed
2026-03-17T14:15:01.626638Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 36 sessionId: sid_rand_25|a95a551e-2f649e09-4b3bf56c-92e5ee1d_0 is DEAD
2026-03-17T14:15:01.626725Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.626887Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.626893Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 37
2026-03-17T14:15:01.626984Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_26" }
2026-03-17T14:15:01.627004Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 37 topic: "topic1" message_group_id: "sid_rand_26" from ipv6:[::1]:38314
2026-03-17T14:15:01.627008Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=37 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.627010Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.627369Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 37 sessionId:  describe result for acl check
2026-03-17T14:15:01.627400Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.627407Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.627409Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.627412Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615520:2626] (SourceId=sid_rand_26, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.627507Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615520:2626] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.628655Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615520:2626] (SourceId=sid_rand_26, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.628727Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615535:2626] connected; active server actors: 1
2026-03-17T14:15:01.628743Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615520:2626] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_26
2026-03-17T14:15:01.628747Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615520:2626] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.628783Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615535:2626] disconnected.
2026-03-17T14:15:01.628790Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615535:2626] disconnected; active server actors: 1
2026-03-17T14:15:01.628792Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615535:2626] disconnected no session
2026-03-17T14:15:01.631154Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615520:2626] (SourceId=sid_rand_26, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.631164Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615520:2626] (SourceId=sid_rand_26, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2026-03-17T14:15:01.631167Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615520:2626] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.631172Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 37 sessionId:  partition: 14 expectedGeneration: (NULL)
2026-03-17T14:15:01.631434Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.631545Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_26|b216a6d9-aa0048ca-e44231ef-db61c45c_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_26
2026-03-17T14:15:01.631829Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 37 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_26|b216a6d9-aa0048ca-e44231ef-db61c45c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_26|b216a6d9-aa0048ca-e44231ef-db61c45c_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.632415Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId: sid_rand_26|b216a6d9-aa0048ca-e44231ef-db61c45c_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.632422Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 37 sessionId: sid_rand_26|b216a6d9-aa0048ca-e44231ef-db61c45c_0 grpc read failed
2026-03-17T14:15:01.632427Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 37 sessionId: sid_rand_26|b216a6d9-aa0048ca-e44231ef-db61c45c_0 grpc closed
2026-03-17T14:15:01.632430Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 37 sessionId: sid_rand_26|b216a6d9-aa0048ca-e44231ef-db61c45c_0 is DEAD
2026-03-17T14:15:01.632609Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.632616Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.632619Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 38
2026-03-17T14:15:01.632686Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_27" }
2026-03-17T14:15:01.632714Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 38 topic: "topic1" message_group_id: "sid_rand_27" from ipv6:[::1]:38314
2026-03-17T14:15:01.632723Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=38 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.632726Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.633071Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 38 sessionId:  describe result for acl check
2026-03-17T14:15:01.633097Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.633103Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.633105Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.633110Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615554:2630] (SourceId=sid_rand_27, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.633195Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615554:2630] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.635017Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615554:2630] (SourceId=sid_rand_27, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.635096Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615569:2630] connected; active server actors: 1
2026-03-17T14:15:01.635113Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615554:2630] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_27
2026-03-17T14:15:01.635123Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615554:2630] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.635188Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615569:2630] disconnected.
2026-03-17T14:15:01.635201Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615569:2630] disconnected; active server actors: 1
2026-03-17T14:15:01.635204Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615569:2630] disconnected no session
2026-03-17T14:15:01.637801Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615554:2630] (SourceId=sid_rand_27, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.637813Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615554:2630] (SourceId=sid_rand_27, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2026-03-17T14:15:01.637816Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615554:2630] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.637821Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 38 sessionId:  partition: 7 expectedGeneration: (NULL)
2026-03-17T14:15:01.638061Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.638192Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_27|6d33ef07-fb6ce98e-a6e2c5b4-26c8612f_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_27
2026-03-17T14:15:01.638482Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 38 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_27|6d33ef07-fb6ce98e-a6e2c5b4-26c8612f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_27|6d33ef07-fb6ce98e-a6e2c5b4-26c8612f_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.639024Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId: sid_rand_27|6d33ef07-fb6ce98e-a6e2c5b4-26c8612f_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.639035Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 38 sessionId: sid_rand_27|6d33ef07-fb6ce98e-a6e2c5b4-26c8612f_0 grpc read failed
2026-03-17T14:15:01.639109Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:837: session v1 closed cookie: 38 sessionId: sid_rand_27|6d33ef07-fb6ce98e-a6e2c5b4-26c8612f_0
2026-03-17T14:15:01.639120Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 38 sessionId: sid_rand_27|6d33ef07-fb6ce98e-a6e2c5b4-26c8612f_0 is DEAD
2026-03-17T14:15:01.639226Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.639242Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.639246Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 39
2026-03-17T14:15:01.639327Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_28" }
2026-03-17T14:15:01.639355Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 39 topic: "topic1" message_group_id: "sid_rand_28" from ipv6:[::1]:38314
2026-03-17T14:15:01.639365Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=39 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.639373Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.639731Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 39 sessionId:  describe result for acl check
2026-03-17T14:15:01.639762Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.639769Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.639772Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.639776Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615588:2634] (SourceId=sid_rand_28, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.639891Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615588:2634] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.641651Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615588:2634] (SourceId=sid_rand_28, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.641749Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615603:2634] connected; active server actors: 1
2026-03-17T14:15:01.641776Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615588:2634] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_28
2026-03-17T14:15:01.641787Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615588:2634] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.641874Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615603:2634] disconnected.
2026-03-17T14:15:01.641886Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615603:2634] disconnected; active server actors: 1
2026-03-17T14:15:01.641890Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615603:2634] disconnected no session
2026-03-17T14:15:01.644466Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615588:2634] (SourceId=sid_rand_28, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.644479Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615588:2634] (SourceId=sid_rand_28, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2026-03-17T14:15:01.644482Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615588:2634] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.644490Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 39 sessionId:  partition: 8 expectedGeneration: (NULL)
2026-03-17T14:15:01.644624Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.644675Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_28|a2c9aff4-351406fe-bfe22f17-2bac216b_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_28
2026-03-17T14:15:01.644838Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 39 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_28|a2c9aff4-351406fe-bfe22f17-2bac216b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_28|a2c9aff4-351406fe-bfe22f17-2bac216b_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.645457Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId: sid_rand_28|a2c9aff4-351406fe-bfe22f17-2bac216b_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.645471Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 39 sessionId: sid_rand_28|a2c9aff4-351406fe-bfe22f17-2bac216b_0 grpc read failed
2026-03-17T14:15:01.645478Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 39 sessionId: sid_rand_28|a2c9aff4-351406fe-bfe22f17-2bac216b_0 grpc closed
2026-03-17T14:15:01.645483Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 39 sessionId: sid_rand_28|a2c9aff4-351406fe-bfe22f17-2bac216b_0 is DEAD
2026-03-17T14:15:01.645674Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.645684Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 40
2026-03-17T14:15:01.645720Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.645766Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_29" }
2026-03-17T14:15:01.645798Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 40 topic: "topic1" message_group_id: "sid_rand_29" from ipv6:[::1]:38314
2026-03-17T14:15:01.645808Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=40 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.645812Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.646190Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 40 sessionId:  describe result for acl check
2026-03-17T14:15:01.646220Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.646221Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.646223Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.646227Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615623:2638] (SourceId=sid_rand_29, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.646340Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615623:2638] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.647880Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615623:2638] (SourceId=sid_rand_29, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.647949Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615638:2638] connected; active server actors: 1
2026-03-17T14:15:01.648001Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615623:2638] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_29
2026-03-17T14:15:01.648009Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615623:2638] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.648052Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615638:2638] disconnected.
2026-03-17T14:15:01.648057Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615638:2638] disconnected; active server actors: 1
2026-03-17T14:15:01.648059Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615638:2638] disconnected no session
2026-03-17T14:15:01.650710Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615623:2638] (SourceId=sid_rand_29, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.650725Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615623:2638] (SourceId=sid_rand_29, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2026-03-17T14:15:01.650732Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615623:2638] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.650742Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 40 sessionId:  partition: 9 expectedGeneration: (NULL)
2026-03-17T14:15:01.651042Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.651126Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_29|b94e7383-c645d15a-9973977f-789a00b6_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_29
2026-03-17T14:15:01.651452Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 40 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_29|b94e7383-c645d15a-9973977f-789a00b6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_29|b94e7383-c645d15a-9973977f-789a00b6_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.652096Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId: sid_rand_29|b94e7383-c645d15a-9973977f-789a00b6_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.652106Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 40 sessionId: sid_rand_29|b94e7383-c645d15a-9973977f-789a00b6_0 grpc read failed
2026-03-17T14:15:01.652112Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 40 sessionId: sid_rand_29|b94e7383-c645d15a-9973977f-789a00b6_0 grpc closed
2026-03-17T14:15:01.652117Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 40 sessionId: sid_rand_29|b94e7383-c645d15a-9973977f-789a00b6_0 is DEAD
2026-03-17T14:15:01.652292Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.652303Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 41
2026-03-17T14:15:01.652331Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.652396Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_30" }
2026-03-17T14:15:01.652428Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 41 topic: "topic1" message_group_id: "sid_rand_30" from ipv6:[::1]:38314
2026-03-17T14:15:01.652439Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=41 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.652443Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.652815Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 41 sessionId:  describe result for acl check
2026-03-17T14:15:01.652855Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.652863Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.652865Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.652870Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615660:2642] (SourceId=sid_rand_30, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.652984Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615660:2642] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.654444Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615660:2642] (SourceId=sid_rand_30, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.654528Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615675:2642] connected; active server actors: 1
2026-03-17T14:15:01.654544Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615660:2642] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_30
2026-03-17T14:15:01.654548Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615660:2642] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.654589Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615675:2642] disconnected.
2026-03-17T14:15:01.654598Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615675:2642] disconnected; active server actors: 1
2026-03-17T14:15:01.654601Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615675:2642] disconnected no session
2026-03-17T14:15:01.657401Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615660:2642] (SourceId=sid_rand_30, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.657415Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615660:2642] (SourceId=sid_rand_30, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2026-03-17T14:15:01.657419Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615660:2642] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.657426Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 41 sessionId:  partition: 10 expectedGeneration: (NULL)
2026-03-17T14:15:01.657686Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.657774Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_30|7bbef8a4-591210aa-4e719bbc-e766e9d0_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_30
2026-03-17T14:15:01.658032Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 41 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_30|7bbef8a4-591210aa-4e719bbc-e766e9d0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_30|7bbef8a4-591210aa-4e719bbc-e766e9d0_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.658678Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId: sid_rand_30|7bbef8a4-591210aa-4e719bbc-e766e9d0_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.658690Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 41 sessionId: sid_rand_30|7bbef8a4-591210aa-4e719bbc-e766e9d0_0 grpc read failed
2026-03-17T14:15:01.658696Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 41 sessionId: sid_rand_30|7bbef8a4-591210aa-4e719bbc-e766e9d0_0 grpc closed
2026-03-17T14:15:01.658701Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 41 sessionId: sid_rand_30|7bbef8a4-591210aa-4e719bbc-e766e9d0_0 is DEAD
2026-03-17T14:15:01.658886Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.658896Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 42
2026-03-17T14:15:01.658905Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.659012Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_31" }
2026-03-17T14:15:01.659046Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 42 topic: "topic1" message_group_id: "sid_rand_31" from ipv6:[::1]:38314
2026-03-17T14:15:01.659052Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=42 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.659055Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.659449Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 42 sessionId:  describe result for acl check
2026-03-17T14:15:01.659485Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.659488Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.659490Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.659494Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615694:2646] (SourceId=sid_rand_31, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.659613Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615694:2646] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.661056Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615694:2646] (SourceId=sid_rand_31, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.661119Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615709:2646] connected; active server actors: 1
2026-03-17T14:15:01.661135Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615694:2646] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_31
2026-03-17T14:15:01.661140Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615694:2646] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.661187Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615709:2646] disconnected.
2026-03-17T14:15:01.661198Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615709:2646] disconnected; active server actors: 1
2026-03-17T14:15:01.661201Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615709:2646] disconnected no session
2026-03-17T14:15:01.663987Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615694:2646] (SourceId=sid_rand_31, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.664001Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615694:2646] (SourceId=sid_rand_31, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2026-03-17T14:15:01.664005Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615694:2646] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.664014Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 42 sessionId:  partition: 11 expectedGeneration: (NULL)
2026-03-17T14:15:01.664284Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.664393Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_31|792c8305-17791946-bd48e358-a75ea2fd_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_31
2026-03-17T14:15:01.664685Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 42 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_31|792c8305-17791946-bd48e358-a75ea2fd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_31|792c8305-17791946-bd48e358-a75ea2fd_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.665306Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId: sid_rand_31|792c8305-17791946-bd48e358-a75ea2fd_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.665311Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 42 sessionId: sid_rand_31|792c8305-17791946-bd48e358-a75ea2fd_0 grpc read failed
2026-03-17T14:15:01.665316Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 42 sessionId: sid_rand_31|792c8305-17791946-bd48e358-a75ea2fd_0 grpc closed
2026-03-17T14:15:01.665321Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 42 sessionId: sid_rand_31|792c8305-17791946-bd48e358-a75ea2fd_0 is DEAD
2026-03-17T14:15:01.665430Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.665495Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.665503Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 43
2026-03-17T14:15:01.665638Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_32" }
2026-03-17T14:15:01.665667Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 43 topic: "topic1" message_group_id: "sid_rand_32" from ipv6:[::1]:38314
2026-03-17T14:15:01.665677Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=43 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.665681Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.666082Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 43 sessionId:  describe result for acl check
2026-03-17T14:15:01.666122Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.666127Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.666129Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.666133Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615729:2650] (SourceId=sid_rand_32, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.666257Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615729:2650] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.667779Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615729:2650] (SourceId=sid_rand_32, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.667868Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615744:2650] connected; active server actors: 1
2026-03-17T14:15:01.667902Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615729:2650] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_32
2026-03-17T14:15:01.667906Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615729:2650] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.667951Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615744:2650] disconnected.
2026-03-17T14:15:01.667959Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615744:2650] disconnected; active server actors: 1
2026-03-17T14:15:01.667960Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615744:2650] disconnected no session
2026-03-17T14:15:01.670139Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615729:2650] (SourceId=sid_rand_32, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.670164Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615729:2650] (SourceId=sid_rand_32, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2026-03-17T14:15:01.670167Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615729:2650] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.670173Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 43 sessionId:  partition: 12 expectedGeneration: (NULL)
2026-03-17T14:15:01.670393Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.670479Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_32|7500168-7ea04586-8805c468-447df04e_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_32
2026-03-17T14:15:01.670699Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 43 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_32|7500168-7ea04586-8805c468-447df04e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_32|7500168-7ea04586-8805c468-447df04e_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.671276Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId: sid_rand_32|7500168-7ea04586-8805c468-447df04e_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.671286Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 43 sessionId: sid_rand_32|7500168-7ea04586-8805c468-447df04e_0 grpc read failed
2026-03-17T14:15:01.671291Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 43 sessionId: sid_rand_32|7500168-7ea04586-8805c468-447df04e_0 grpc closed
2026-03-17T14:15:01.671296Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 43 sessionId: sid_rand_32|7500168-7ea04586-8805c468-447df04e_0 is DEAD
2026-03-17T14:15:01.671408Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.671680Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.671686Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 44
2026-03-17T14:15:01.671782Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_33" }
2026-03-17T14:15:01.671803Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 44 topic: "topic1" message_group_id: "sid_rand_33" from ipv6:[::1]:38314
2026-03-17T14:15:01.671810Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=44 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.671813Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.672209Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 44 sessionId:  describe result for acl check
2026-03-17T14:15:01.672249Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.672258Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.672260Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.672264Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615763:2654] (SourceId=sid_rand_33, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.672379Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615763:2654] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.673772Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615763:2654] (SourceId=sid_rand_33, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.673836Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615778:2654] connected; active server actors: 1
2026-03-17T14:15:01.673853Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615763:2654] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_33
2026-03-17T14:15:01.673857Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615763:2654] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.673902Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615778:2654] disconnected.
2026-03-17T14:15:01.673911Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615778:2654] disconnected; active server actors: 1
2026-03-17T14:15:01.673914Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615778:2654] disconnected no session
2026-03-17T14:15:01.676400Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615763:2654] (SourceId=sid_rand_33, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.676409Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615763:2654] (SourceId=sid_rand_33, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2026-03-17T14:15:01.676412Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615763:2654] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.676418Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 44 sessionId:  partition: 13 expectedGeneration: (NULL)
2026-03-17T14:15:01.676641Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.676762Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_33|de84d7a5-313a4a18-a63108b6-22bc0443_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_33
2026-03-17T14:15:01.677079Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 44 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_33|de84d7a5-313a4a18-a63108b6-22bc0443_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_33|de84d7a5-313a4a18-a63108b6-22bc0443_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.677696Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId: sid_rand_33|de84d7a5-313a4a18-a63108b6-22bc0443_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.677706Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 44 sessionId: sid_rand_33|de84d7a5-313a4a18-a63108b6-22bc0443_0 grpc read failed
2026-03-17T14:15:01.677712Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 44 sessionId: sid_rand_33|de84d7a5-313a4a18-a63108b6-22bc0443_0 grpc closed
2026-03-17T14:15:01.677718Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 44 sessionId: sid_rand_33|de84d7a5-313a4a18-a63108b6-22bc0443_0 is DEAD
2026-03-17T14:15:01.677845Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.677891Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.677893Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 45
2026-03-17T14:15:01.678014Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_34" }
2026-03-17T14:15:01.678046Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 45 topic: "topic1" message_group_id: "sid_rand_34" from ipv6:[::1]:38314
2026-03-17T14:15:01.678050Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=45 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.678053Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.678435Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 45 sessionId:  describe result for acl check
2026-03-17T14:15:01.678480Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.678501Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.678504Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.678509Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615797:2658] (SourceId=sid_rand_34, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.678623Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615797:2658] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.680070Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615797:2658] (SourceId=sid_rand_34, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.680130Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615812:2658] connected; active server actors: 1
2026-03-17T14:15:01.680150Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615797:2658] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_34
2026-03-17T14:15:01.680154Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615797:2658] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.680196Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615812:2658] disconnected.
2026-03-17T14:15:01.680204Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615812:2658] disconnected; active server actors: 1
2026-03-17T14:15:01.680207Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615812:2658] disconnected no session
2026-03-17T14:15:01.683085Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615797:2658] (SourceId=sid_rand_34, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.683111Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615797:2658] (SourceId=sid_rand_34, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2026-03-17T14:15:01.683117Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615797:2658] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.683127Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 45 sessionId:  partition: 14 expectedGeneration: (NULL)
2026-03-17T14:15:01.683430Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.683539Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_34|c8511eae-6e06dc92-a4f228fe-beea1bb6_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_34
2026-03-17T14:15:01.683894Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 45 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_34|c8511eae-6e06dc92-a4f228fe-beea1bb6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_34|c8511eae-6e06dc92-a4f228fe-beea1bb6_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.684577Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId: sid_rand_34|c8511eae-6e06dc92-a4f228fe-beea1bb6_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.684583Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 45 sessionId: sid_rand_34|c8511eae-6e06dc92-a4f228fe-beea1bb6_0 grpc read failed
2026-03-17T14:15:01.684604Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:837: session v1 closed cookie: 45 sessionId: sid_rand_34|c8511eae-6e06dc92-a4f228fe-beea1bb6_0
2026-03-17T14:15:01.684610Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 45 sessionId: sid_rand_34|c8511eae-6e06dc92-a4f228fe-beea1bb6_0 is DEAD
2026-03-17T14:15:01.684683Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.684848Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.684861Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 46
2026-03-17T14:15:01.684964Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_35" }
2026-03-17T14:15:01.684991Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 46 topic: "topic1" message_group_id: "sid_rand_35" from ipv6:[::1]:38314
2026-03-17T14:15:01.684999Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=46 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.685002Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.685375Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 46 sessionId:  describe result for acl check
2026-03-17T14:15:01.685415Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.685418Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.685420Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.685425Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615831:2662] (SourceId=sid_rand_35, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.685542Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615831:2662] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.687224Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615831:2662] (SourceId=sid_rand_35, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.687320Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615846:2662] connected; active server actors: 1
2026-03-17T14:15:01.687350Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615831:2662] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_35
2026-03-17T14:15:01.687357Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615831:2662] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.687421Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615846:2662] disconnected.
2026-03-17T14:15:01.687432Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615846:2662] disconnected; active server actors: 1
2026-03-17T14:15:01.687434Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615846:2662] disconnected no session
2026-03-17T14:15:01.690263Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615831:2662] (SourceId=sid_rand_35, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.690277Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615831:2662] (SourceId=sid_rand_35, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2026-03-17T14:15:01.690281Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615831:2662] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.690290Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 46 sessionId:  partition: 0 expectedGeneration: (NULL)
2026-03-17T14:15:01.690410Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.690452Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_35|58aed7a0-37cf4b8a-95c2e239-3c13ebd4_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_35
2026-03-17T14:15:01.690603Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 46 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_35|58aed7a0-37cf4b8a-95c2e239-3c13ebd4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_35|58aed7a0-37cf4b8a-95c2e239-3c13ebd4_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.691221Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId: sid_rand_35|58aed7a0-37cf4b8a-95c2e239-3c13ebd4_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.691230Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 46 sessionId: sid_rand_35|58aed7a0-37cf4b8a-95c2e239-3c13ebd4_0 grpc read failed
2026-03-17T14:15:01.691235Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 46 sessionId: sid_rand_35|58aed7a0-37cf4b8a-95c2e239-3c13ebd4_0 grpc closed
2026-03-17T14:15:01.691240Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 46 sessionId: sid_rand_35|58aed7a0-37cf4b8a-95c2e239-3c13ebd4_0 is DEAD
2026-03-17T14:15:01.691405Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.691432Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.691435Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 47
2026-03-17T14:15:01.691515Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_36" }
2026-03-17T14:15:01.691538Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 47 topic: "topic1" message_group_id: "sid_rand_36" from ipv6:[::1]:38314
2026-03-17T14:15:01.691542Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=47 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.691544Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.691909Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 47 sessionId:  describe result for acl check
2026-03-17T14:15:01.691948Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.691950Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.691951Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.691955Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615866:2666] (SourceId=sid_rand_36, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.692069Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615866:2666] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.693807Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615866:2666] (SourceId=sid_rand_36, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.693878Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615881:2666] connected; active server actors: 1
2026-03-17T14:15:01.693894Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615866:2666] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_36
2026-03-17T14:15:01.693896Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615866:2666] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.693933Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615881:2666] disconnected.
2026-03-17T14:15:01.693940Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615881:2666] disconnected; active server actors: 1
2026-03-17T14:15:01.693942Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615881:2666] disconnected no session
2026-03-17T14:15:01.696198Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615866:2666] (SourceId=sid_rand_36, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.696208Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615866:2666] (SourceId=sid_rand_36, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2026-03-17T14:15:01.696211Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615866:2666] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.696216Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 47 sessionId:  partition: 1 expectedGeneration: (NULL)
2026-03-17T14:15:01.696309Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.696350Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_36|a28ecdca-55eb7be4-9d356d2f-7cba7eea_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_36
2026-03-17T14:15:01.696504Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 47 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_36|a28ecdca-55eb7be4-9d356d2f-7cba7eea_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_36|a28ecdca-55eb7be4-9d356d2f-7cba7eea_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.697090Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId: sid_rand_36|a28ecdca-55eb7be4-9d356d2f-7cba7eea_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.697098Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 47 sessionId: sid_rand_36|a28ecdca-55eb7be4-9d356d2f-7cba7eea_0 grpc read failed
2026-03-17T14:15:01.697102Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 47 sessionId: sid_rand_36|a28ecdca-55eb7be4-9d356d2f-7cba7eea_0 grpc closed
2026-03-17T14:15:01.697107Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 47 sessionId: sid_rand_36|a28ecdca-55eb7be4-9d356d2f-7cba7eea_0 is DEAD
2026-03-17T14:15:01.697258Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.697269Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 48
2026-03-17T14:15:01.697274Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.697357Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_37" }
2026-03-17T14:15:01.697387Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 48 topic: "topic1" message_group_id: "sid_rand_37" from ipv6:[::1]:38314
2026-03-17T14:15:01.697395Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=48 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.697398Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.697688Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 48 sessionId:  describe result for acl check
2026-03-17T14:15:01.697713Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.697714Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.697715Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.697718Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615902:2670] (SourceId=sid_rand_37, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.697807Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615902:2670] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.699418Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615902:2670] (SourceId=sid_rand_37, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.699486Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615917:2670] connected; active server actors: 1
2026-03-17T14:15:01.699508Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615902:2670] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_37
2026-03-17T14:15:01.699514Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615902:2670] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.699555Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615917:2670] disconnected.
2026-03-17T14:15:01.699561Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615917:2670] disconnected; active server actors: 1
2026-03-17T14:15:01.699564Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615917:2670] disconnected no session
2026-03-17T14:15:01.701767Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615902:2670] (SourceId=sid_rand_37, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.701777Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615902:2670] (SourceId=sid_rand_37, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2026-03-17T14:15:01.701780Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615902:2670] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.701785Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 48 sessionId:  partition: 2 expectedGeneration: (NULL)
2026-03-17T14:15:01.702017Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.702132Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_37|b18b3abf-c74f79aa-eeeada-447fbdb1_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_37
2026-03-17T14:15:01.702469Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 48 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_37|b18b3abf-c74f79aa-eeeada-447fbdb1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_37|b18b3abf-c74f79aa-eeeada-447fbdb1_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.703069Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId: sid_rand_37|b18b3abf-c74f79aa-eeeada-447fbdb1_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.703080Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 48 sessionId: sid_rand_37|b18b3abf-c74f79aa-eeeada-447fbdb1_0 grpc read failed
2026-03-17T14:15:01.703085Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 48 sessionId: sid_rand_37|b18b3abf-c74f79aa-eeeada-447fbdb1_0 grpc closed
2026-03-17T14:15:01.703090Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 48 sessionId: sid_rand_37|b18b3abf-c74f79aa-eeeada-447fbdb1_0 is DEAD
2026-03-17T14:15:01.703227Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.703238Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 49
2026-03-17T14:15:01.703305Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.703325Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_38" }
2026-03-17T14:15:01.703343Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 49 topic: "topic1" message_group_id: "sid_rand_38" from ipv6:[::1]:38314
2026-03-17T14:15:01.703352Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=49 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.703354Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.703680Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 49 sessionId:  describe result for acl check
2026-03-17T14:15:01.703703Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.703705Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.703706Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.703710Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615936:2674] (SourceId=sid_rand_38, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.703796Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615936:2674] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.705733Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615936:2674] (SourceId=sid_rand_38, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.705819Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615951:2674] connected; active server actors: 1
2026-03-17T14:15:01.705839Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615936:2674] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_38
2026-03-17T14:15:01.705843Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615936:2674] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.705892Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615951:2674] disconnected.
2026-03-17T14:15:01.705902Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615951:2674] disconnected; active server actors: 1
2026-03-17T14:15:01.705906Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615951:2674] disconnected no session
2026-03-17T14:15:01.708660Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615936:2674] (SourceId=sid_rand_38, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.708679Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615936:2674] (SourceId=sid_rand_38, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2026-03-17T14:15:01.708683Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615936:2674] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.708693Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 49 sessionId:  partition: 3 expectedGeneration: (NULL)
2026-03-17T14:15:01.708886Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.708945Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_38|b1e79802-551379b6-9771af30-59d4f905_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_38
2026-03-17T14:15:01.709116Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 49 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_38|b1e79802-551379b6-9771af30-59d4f905_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_38|b1e79802-551379b6-9771af30-59d4f905_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.709767Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId: sid_rand_38|b1e79802-551379b6-9771af30-59d4f905_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.709778Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 49 sessionId: sid_rand_38|b1e79802-551379b6-9771af30-59d4f905_0 grpc read failed
2026-03-17T14:15:01.709785Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 49 sessionId: sid_rand_38|b1e79802-551379b6-9771af30-59d4f905_0 grpc closed
2026-03-17T14:15:01.709790Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 49 sessionId: sid_rand_38|b1e79802-551379b6-9771af30-59d4f905_0 is DEAD
2026-03-17T14:15:01.709954Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.709965Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 50
2026-03-17T14:15:01.710017Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.710060Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_39" }
2026-03-17T14:15:01.710091Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 50 topic: "topic1" message_group_id: "sid_rand_39" from ipv6:[::1]:38314
2026-03-17T14:15:01.710102Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=50 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.710105Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.710556Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 50 sessionId:  describe result for acl check
2026-03-17T14:15:01.710590Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.710592Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.710594Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.710599Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907615971:2678] (SourceId=sid_rand_39, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.710720Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907615971:2678] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.712402Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907615971:2678] (SourceId=sid_rand_39, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.712481Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615986:2678] connected; active server actors: 1
2026-03-17T14:15:01.712510Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907615971:2678] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_39
2026-03-17T14:15:01.712514Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907615971:2678] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.712568Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615986:2678] disconnected.
2026-03-17T14:15:01.712578Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615986:2678] disconnected; active server actors: 1
2026-03-17T14:15:01.712581Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907615986:2678] disconnected no session
2026-03-17T14:15:01.715205Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907615971:2678] (SourceId=sid_rand_39, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.715220Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907615971:2678] (SourceId=sid_rand_39, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2026-03-17T14:15:01.715224Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907615971:2678] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.715233Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 50 sessionId:  partition: 4 expectedGeneration: (NULL)
2026-03-17T14:15:01.715534Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.715615Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_39|e0c11d40-9decd457-e27cb8c3-d38f6fb9_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_39
2026-03-17T14:15:01.715837Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 50 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_39|e0c11d40-9decd457-e27cb8c3-d38f6fb9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_39|e0c11d40-9decd457-e27cb8c3-d38f6fb9_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.716411Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId: sid_rand_39|e0c11d40-9decd457-e27cb8c3-d38f6fb9_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.716425Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 50 sessionId: sid_rand_39|e0c11d40-9decd457-e27cb8c3-d38f6fb9_0 grpc read failed
2026-03-17T14:15:01.716429Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 50 sessionId: sid_rand_39|e0c11d40-9decd457-e27cb8c3-d38f6fb9_0 grpc closed
2026-03-17T14:15:01.716433Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 50 sessionId: sid_rand_39|e0c11d40-9decd457-e27cb8c3-d38f6fb9_0 is DEAD
2026-03-17T14:15:01.716530Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.716734Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.716743Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 51
2026-03-17T14:15:01.716844Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_40" }
2026-03-17T14:15:01.716868Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 51 topic: "topic1" message_group_id: "sid_rand_40" from ipv6:[::1]:38314
2026-03-17T14:15:01.716877Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=51 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.716880Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.717204Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 51 sessionId:  describe result for acl check
2026-03-17T14:15:01.717232Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.717238Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.717240Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.717243Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616005:2682] (SourceId=sid_rand_40, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.717334Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616005:2682] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.719064Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616005:2682] (SourceId=sid_rand_40, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.719139Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616020:2682] connected; active server actors: 1
2026-03-17T14:15:01.719162Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616005:2682] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_40
2026-03-17T14:15:01.719165Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616005:2682] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.719210Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616020:2682] disconnected.
2026-03-17T14:15:01.719217Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616020:2682] disconnected; active server actors: 1
2026-03-17T14:15:01.719221Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616020:2682] disconnected no session
2026-03-17T14:15:01.721779Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616005:2682] (SourceId=sid_rand_40, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.721790Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616005:2682] (SourceId=sid_rand_40, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2026-03-17T14:15:01.721793Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616005:2682] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.721798Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 51 sessionId:  partition: 5 expectedGeneration: (NULL)
2026-03-17T14:15:01.722033Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.722108Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_40|e69f7a0d-502f41b-a3a6ca1e-51a3e7b1_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_40
2026-03-17T14:15:01.722389Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 51 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_40|e69f7a0d-502f41b-a3a6ca1e-51a3e7b1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_40|e69f7a0d-502f41b-a3a6ca1e-51a3e7b1_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.723013Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId: sid_rand_40|e69f7a0d-502f41b-a3a6ca1e-51a3e7b1_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.723025Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 51 sessionId: sid_rand_40|e69f7a0d-502f41b-a3a6ca1e-51a3e7b1_0 grpc read failed
2026-03-17T14:15:01.723031Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 51 sessionId: sid_rand_40|e69f7a0d-502f41b-a3a6ca1e-51a3e7b1_0 grpc closed
2026-03-17T14:15:01.723036Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 51 sessionId: sid_rand_40|e69f7a0d-502f41b-a3a6ca1e-51a3e7b1_0 is DEAD
2026-03-17T14:15:01.723125Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.723133Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 52
2026-03-17T14:15:01.723275Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.723323Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_41" }
2026-03-17T14:15:01.723354Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 52 topic: "topic1" message_group_id: "sid_rand_41" from ipv6:[::1]:38314
2026-03-17T14:15:01.723363Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=52 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.723366Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.723685Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 52 sessionId:  describe result for acl check
2026-03-17T14:15:01.723706Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.723711Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.723713Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.723715Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616039:2686] (SourceId=sid_rand_41, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.723824Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616039:2686] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.725661Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616039:2686] (SourceId=sid_rand_41, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.725740Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616054:2686] connected; active server actors: 1
2026-03-17T14:15:01.725762Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616039:2686] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_41
2026-03-17T14:15:01.725775Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616039:2686] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.725830Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616054:2686] disconnected.
2026-03-17T14:15:01.725854Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616054:2686] disconnected; active server actors: 1
2026-03-17T14:15:01.725862Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616054:2686] disconnected no session
2026-03-17T14:15:01.728431Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616039:2686] (SourceId=sid_rand_41, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.728442Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616039:2686] (SourceId=sid_rand_41, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2026-03-17T14:15:01.728445Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616039:2686] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.728450Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 52 sessionId:  partition: 6 expectedGeneration: (NULL)
2026-03-17T14:15:01.728580Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.728609Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_41|e9a38537-8e871cbe-8b85ab4d-14310609_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_41
2026-03-17T14:15:01.728730Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 52 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_41|e9a38537-8e871cbe-8b85ab4d-14310609_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_41|e9a38537-8e871cbe-8b85ab4d-14310609_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.729261Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId: sid_rand_41|e9a38537-8e871cbe-8b85ab4d-14310609_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.729272Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 52 sessionId: sid_rand_41|e9a38537-8e871cbe-8b85ab4d-14310609_0 grpc read failed
2026-03-17T14:15:01.729279Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 52 sessionId: sid_rand_41|e9a38537-8e871cbe-8b85ab4d-14310609_0 grpc closed
2026-03-17T14:15:01.729284Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 52 sessionId: sid_rand_41|e9a38537-8e871cbe-8b85ab4d-14310609_0 is DEAD
2026-03-17T14:15:01.729430Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.729699Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.729709Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 53
2026-03-17T14:15:01.729816Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_42" }
2026-03-17T14:15:01.729850Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 53 topic: "topic1" message_group_id: "sid_rand_42" from ipv6:[::1]:38314
2026-03-17T14:15:01.729861Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=53 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.729864Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.730194Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 53 sessionId:  describe result for acl check
2026-03-17T14:15:01.730235Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.730241Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.730243Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.730246Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616074:2690] (SourceId=sid_rand_42, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.730332Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616074:2690] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.731641Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616074:2690] (SourceId=sid_rand_42, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.731710Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616089:2690] connected; active server actors: 1
2026-03-17T14:15:01.731723Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616074:2690] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_42
2026-03-17T14:15:01.731726Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616074:2690] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.731773Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616089:2690] disconnected.
2026-03-17T14:15:01.731779Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616089:2690] disconnected; active server actors: 1
2026-03-17T14:15:01.731781Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616089:2690] disconnected no session
2026-03-17T14:15:01.734086Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616074:2690] (SourceId=sid_rand_42, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.734095Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616074:2690] (SourceId=sid_rand_42, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2026-03-17T14:15:01.734097Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616074:2690] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.734104Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 53 sessionId:  partition: 12 expectedGeneration: (NULL)
2026-03-17T14:15:01.734336Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.734416Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_42|21fc3b70-56e8ae6b-9e0786c9-2d56af97_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_42
2026-03-17T14:15:01.734674Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 53 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_42|21fc3b70-56e8ae6b-9e0786c9-2d56af97_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_42|21fc3b70-56e8ae6b-9e0786c9-2d56af97_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.735152Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId: sid_rand_42|21fc3b70-56e8ae6b-9e0786c9-2d56af97_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.735158Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 53 sessionId: sid_rand_42|21fc3b70-56e8ae6b-9e0786c9-2d56af97_0 grpc read failed
2026-03-17T14:15:01.735161Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 53 sessionId: sid_rand_42|21fc3b70-56e8ae6b-9e0786c9-2d56af97_0 grpc closed
2026-03-17T14:15:01.735164Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 53 sessionId: sid_rand_42|21fc3b70-56e8ae6b-9e0786c9-2d56af97_0 is DEAD
2026-03-17T14:15:01.735246Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.735445Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.735453Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 54
2026-03-17T14:15:01.735548Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_43" }
2026-03-17T14:15:01.735570Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 54 topic: "topic1" message_group_id: "sid_rand_43" from ipv6:[::1]:38314
2026-03-17T14:15:01.735577Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=54 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.735581Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.735888Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 54 sessionId:  describe result for acl check
2026-03-17T14:15:01.735913Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.735918Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.735920Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.735937Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616108:2694] (SourceId=sid_rand_43, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.736058Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616108:2694] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.737203Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616108:2694] (SourceId=sid_rand_43, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.737271Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616123:2694] connected; active server actors: 1
2026-03-17T14:15:01.737284Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616108:2694] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_43
2026-03-17T14:15:01.737287Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616108:2694] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.737320Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616123:2694] disconnected.
2026-03-17T14:15:01.737329Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616123:2694] disconnected; active server actors: 1
2026-03-17T14:15:01.737331Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616123:2694] disconnected no session
2026-03-17T14:15:01.739785Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616108:2694] (SourceId=sid_rand_43, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.739797Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616108:2694] (SourceId=sid_rand_43, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2026-03-17T14:15:01.739800Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616108:2694] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.739805Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 54 sessionId:  partition: 13 expectedGeneration: (NULL)
2026-03-17T14:15:01.740018Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.740116Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_43|cd3ac54b-77d759d3-84245143-7e22afda_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_43
2026-03-17T14:15:01.740426Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 54 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_43|cd3ac54b-77d759d3-84245143-7e22afda_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_43|cd3ac54b-77d759d3-84245143-7e22afda_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.741018Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId: sid_rand_43|cd3ac54b-77d759d3-84245143-7e22afda_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.741029Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 54 sessionId: sid_rand_43|cd3ac54b-77d759d3-84245143-7e22afda_0 grpc read failed
2026-03-17T14:15:01.741035Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 54 sessionId: sid_rand_43|cd3ac54b-77d759d3-84245143-7e22afda_0 grpc closed
2026-03-17T14:15:01.741040Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 54 sessionId: sid_rand_43|cd3ac54b-77d759d3-84245143-7e22afda_0 is DEAD
2026-03-17T14:15:01.741177Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.741186Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 55
2026-03-17T14:15:01.741269Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.741284Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_44" }
2026-03-17T14:15:01.741304Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 55 topic: "topic1" message_group_id: "sid_rand_44" from ipv6:[::1]:38314
2026-03-17T14:15:01.741310Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=55 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.741314Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.741672Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 55 sessionId:  describe result for acl check
2026-03-17T14:15:01.741713Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.741721Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.741722Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.741727Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616142:2698] (SourceId=sid_rand_44, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.741839Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616142:2698] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.743576Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616142:2698] (SourceId=sid_rand_44, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.743642Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616157:2698] connected; active server actors: 1
2026-03-17T14:15:01.743664Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616142:2698] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_44
2026-03-17T14:15:01.743677Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616142:2698] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.743722Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616157:2698] disconnected.
2026-03-17T14:15:01.743730Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616157:2698] disconnected; active server actors: 1
2026-03-17T14:15:01.743733Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616157:2698] disconnected no session
2026-03-17T14:15:01.746632Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616142:2698] (SourceId=sid_rand_44, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.746648Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616142:2698] (SourceId=sid_rand_44, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2026-03-17T14:15:01.746652Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616142:2698] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.746661Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 55 sessionId:  partition: 14 expectedGeneration: (NULL)
2026-03-17T14:15:01.746934Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.747049Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_44|5e45c7f9-81b5511e-409fb055-25325345_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_44
2026-03-17T14:15:01.747388Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 55 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_44|5e45c7f9-81b5511e-409fb055-25325345_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_44|5e45c7f9-81b5511e-409fb055-25325345_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.748092Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId: sid_rand_44|5e45c7f9-81b5511e-409fb055-25325345_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.748103Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 55 sessionId: sid_rand_44|5e45c7f9-81b5511e-409fb055-25325345_0 grpc read failed
2026-03-17T14:15:01.748109Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 55 sessionId: sid_rand_44|5e45c7f9-81b5511e-409fb055-25325345_0 grpc closed
2026-03-17T14:15:01.748116Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 55 sessionId: sid_rand_44|5e45c7f9-81b5511e-409fb055-25325345_0 is DEAD
2026-03-17T14:15:01.748308Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.748317Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 56
2026-03-17T14:15:01.748375Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.748424Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_45" }
2026-03-17T14:15:01.748460Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 56 topic: "topic1" message_group_id: "sid_rand_45" from ipv6:[::1]:38314
2026-03-17T14:15:01.748472Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=56 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.748476Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.748904Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 56 sessionId:  describe result for acl check
2026-03-17T14:15:01.748936Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.748941Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.748944Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.748947Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616176:2702] (SourceId=sid_rand_45, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.749057Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616176:2702] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.750930Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616176:2702] (SourceId=sid_rand_45, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.751006Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616191:2702] connected; active server actors: 1
2026-03-17T14:15:01.751031Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616176:2702] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_45
2026-03-17T14:15:01.751039Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616176:2702] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.751096Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616191:2702] disconnected.
2026-03-17T14:15:01.751107Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616191:2702] disconnected; active server actors: 1
2026-03-17T14:15:01.751111Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616191:2702] disconnected no session
2026-03-17T14:15:01.754374Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616176:2702] (SourceId=sid_rand_45, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.754389Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616176:2702] (SourceId=sid_rand_45, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2026-03-17T14:15:01.754393Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616176:2702] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.754403Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 56 sessionId:  partition: 0 expectedGeneration: (NULL)
2026-03-17T14:15:01.754555Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.754609Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_45|966d322b-110d016e-87637ecb-f115ba17_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_45
2026-03-17T14:15:01.754783Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 56 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_45|966d322b-110d016e-87637ecb-f115ba17_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_45|966d322b-110d016e-87637ecb-f115ba17_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.755475Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId: sid_rand_45|966d322b-110d016e-87637ecb-f115ba17_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.755484Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 56 sessionId: sid_rand_45|966d322b-110d016e-87637ecb-f115ba17_0 grpc read failed
2026-03-17T14:15:01.755516Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:837: session v1 closed cookie: 56 sessionId: sid_rand_45|966d322b-110d016e-87637ecb-f115ba17_0
2026-03-17T14:15:01.755522Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 56 sessionId: sid_rand_45|966d322b-110d016e-87637ecb-f115ba17_0 is DEAD
2026-03-17T14:15:01.755613Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.755729Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.755737Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 57
2026-03-17T14:15:01.755827Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_46" }
2026-03-17T14:15:01.755866Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 57 topic: "topic1" message_group_id: "sid_rand_46" from ipv6:[::1]:38314
2026-03-17T14:15:01.755875Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=57 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.755878Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.756201Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 57 sessionId:  describe result for acl check
2026-03-17T14:15:01.756230Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.756236Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.756237Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.756240Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616211:2706] (SourceId=sid_rand_46, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.756329Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616211:2706] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.758026Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616211:2706] (SourceId=sid_rand_46, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.758105Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616226:2706] connected; active server actors: 1
2026-03-17T14:15:01.758127Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616211:2706] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_46
2026-03-17T14:15:01.758135Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616211:2706] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.758229Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616226:2706] disconnected.
2026-03-17T14:15:01.758240Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616226:2706] disconnected; active server actors: 1
2026-03-17T14:15:01.758244Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616226:2706] disconnected no session
2026-03-17T14:15:01.760852Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616211:2706] (SourceId=sid_rand_46, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.760865Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616211:2706] (SourceId=sid_rand_46, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2026-03-17T14:15:01.760869Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616211:2706] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.760877Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 57 sessionId:  partition: 1 expectedGeneration: (NULL)
2026-03-17T14:15:01.761030Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.761083Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_46|9b2cc0a5-70111f7b-3d6ad3e3-2c949539_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_46
2026-03-17T14:15:01.761230Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 57 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_46|9b2cc0a5-70111f7b-3d6ad3e3-2c949539_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_46|9b2cc0a5-70111f7b-3d6ad3e3-2c949539_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.761820Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId: sid_rand_46|9b2cc0a5-70111f7b-3d6ad3e3-2c949539_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.761827Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 57 sessionId: sid_rand_46|9b2cc0a5-70111f7b-3d6ad3e3-2c949539_0 grpc read failed
2026-03-17T14:15:01.761867Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:837: session v1 closed cookie: 57 sessionId: sid_rand_46|9b2cc0a5-70111f7b-3d6ad3e3-2c949539_0
2026-03-17T14:15:01.761877Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 57 sessionId: sid_rand_46|9b2cc0a5-70111f7b-3d6ad3e3-2c949539_0 is DEAD
2026-03-17T14:15:01.761962Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.762097Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.762104Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 58
2026-03-17T14:15:01.762204Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_47" }
2026-03-17T14:15:01.762233Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 58 topic: "topic1" message_group_id: "sid_rand_47" from ipv6:[::1]:38314
2026-03-17T14:15:01.762243Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=58 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.762247Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.762626Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 58 sessionId:  describe result for acl check
2026-03-17T14:15:01.762656Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.762661Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.762662Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.762666Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616246:2710] (SourceId=sid_rand_47, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.762765Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616246:2710] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.764559Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616246:2710] (SourceId=sid_rand_47, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.764638Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616261:2710] connected; active server actors: 1
2026-03-17T14:15:01.764654Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616246:2710] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_47
2026-03-17T14:15:01.764657Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616246:2710] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.764695Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616261:2710] disconnected.
2026-03-17T14:15:01.764702Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616261:2710] disconnected; active server actors: 1
2026-03-17T14:15:01.764704Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616261:2710] disconnected no session
2026-03-17T14:15:01.767543Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616246:2710] (SourceId=sid_rand_47, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.767558Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616246:2710] (SourceId=sid_rand_47, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2026-03-17T14:15:01.767562Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616246:2710] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.767570Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 58 sessionId:  partition: 2 expectedGeneration: (NULL)
2026-03-17T14:15:01.767860Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.767931Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_47|464825c5-7cd1f61a-3f0bcde5-5650b0ef_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_47
2026-03-17T14:15:01.768221Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 58 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_47|464825c5-7cd1f61a-3f0bcde5-5650b0ef_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_47|464825c5-7cd1f61a-3f0bcde5-5650b0ef_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.768838Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId: sid_rand_47|464825c5-7cd1f61a-3f0bcde5-5650b0ef_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.768848Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 58 sessionId: sid_rand_47|464825c5-7cd1f61a-3f0bcde5-5650b0ef_0 grpc read failed
2026-03-17T14:15:01.768854Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 58 sessionId: sid_rand_47|464825c5-7cd1f61a-3f0bcde5-5650b0ef_0 grpc closed
2026-03-17T14:15:01.768859Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 58 sessionId: sid_rand_47|464825c5-7cd1f61a-3f0bcde5-5650b0ef_0 is DEAD
2026-03-17T14:15:01.769008Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.769017Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 59
2026-03-17T14:15:01.769063Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.769110Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_48" }
2026-03-17T14:15:01.769141Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 59 topic: "topic1" message_group_id: "sid_rand_48" from ipv6:[::1]:38314
2026-03-17T14:15:01.769152Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=59 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.769156Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.769557Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 59 sessionId:  describe result for acl check
2026-03-17T14:15:01.769595Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.769602Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.769605Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.769609Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616280:2714] (SourceId=sid_rand_48, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.769723Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616280:2714] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.771088Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616280:2714] (SourceId=sid_rand_48, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.771159Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616295:2714] connected; active server actors: 1
2026-03-17T14:15:01.771174Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616280:2714] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_48
2026-03-17T14:15:01.771178Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616280:2714] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.771224Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616295:2714] disconnected.
2026-03-17T14:15:01.771232Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616295:2714] disconnected; active server actors: 1
2026-03-17T14:15:01.771235Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616295:2714] disconnected no session
2026-03-17T14:15:01.773483Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616280:2714] (SourceId=sid_rand_48, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.773495Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616280:2714] (SourceId=sid_rand_48, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2026-03-17T14:15:01.773498Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616280:2714] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.773504Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 59 sessionId:  partition: 3 expectedGeneration: (NULL)
2026-03-17T14:15:01.773625Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.773681Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_48|839e332d-ca7558c3-83529f62-886d3e69_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_48
2026-03-17T14:15:01.773819Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 59 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_48|839e332d-ca7558c3-83529f62-886d3e69_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_48|839e332d-ca7558c3-83529f62-886d3e69_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.774525Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId: sid_rand_48|839e332d-ca7558c3-83529f62-886d3e69_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.774535Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 59 sessionId: sid_rand_48|839e332d-ca7558c3-83529f62-886d3e69_0 grpc read failed
2026-03-17T14:15:01.774541Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 59 sessionId: sid_rand_48|839e332d-ca7558c3-83529f62-886d3e69_0 grpc closed
2026-03-17T14:15:01.774545Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 59 sessionId: sid_rand_48|839e332d-ca7558c3-83529f62-886d3e69_0 is DEAD
2026-03-17T14:15:01.774707Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.774751Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.774762Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 60
2026-03-17T14:15:01.774841Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_49" }
2026-03-17T14:15:01.774871Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 60 topic: "topic1" message_group_id: "sid_rand_49" from ipv6:[::1]:38314
2026-03-17T14:15:01.774881Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=60 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.774884Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.775224Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 60 sessionId:  describe result for acl check
2026-03-17T14:15:01.775255Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.775260Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.775261Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.775266Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616315:2718] (SourceId=sid_rand_49, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.775360Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616315:2718] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.776862Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616315:2718] (SourceId=sid_rand_49, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.776934Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616333:2718] connected; active server actors: 1
2026-03-17T14:15:01.776958Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616315:2718] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_49
2026-03-17T14:15:01.776962Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616315:2718] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.777007Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616333:2718] disconnected.
2026-03-17T14:15:01.777015Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616333:2718] disconnected; active server actors: 1
2026-03-17T14:15:01.777020Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616333:2718] disconnected no session
2026-03-17T14:15:01.779533Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616315:2718] (SourceId=sid_rand_49, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.779546Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616315:2718] (SourceId=sid_rand_49, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2026-03-17T14:15:01.779549Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616315:2718] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.779554Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 60 sessionId:  partition: 4 expectedGeneration: (NULL)
2026-03-17T14:15:01.779882Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.779983Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_49|8307d303-ec20accd-95dfb482-e0a1c775_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_49
2026-03-17T14:15:01.780287Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 60 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_49|8307d303-ec20accd-95dfb482-e0a1c775_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_49|8307d303-ec20accd-95dfb482-e0a1c775_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.781032Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId: sid_rand_49|8307d303-ec20accd-95dfb482-e0a1c775_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.781044Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 60 sessionId: sid_rand_49|8307d303-ec20accd-95dfb482-e0a1c775_0 grpc read failed
2026-03-17T14:15:01.781051Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 60 sessionId: sid_rand_49|8307d303-ec20accd-95dfb482-e0a1c775_0 grpc closed
2026-03-17T14:15:01.781056Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 60 sessionId: sid_rand_49|8307d303-ec20accd-95dfb482-e0a1c775_0 is DEAD
2026-03-17T14:15:01.781258Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.781270Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 61
2026-03-17T14:15:01.781295Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.781384Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_50" }
2026-03-17T14:15:01.781417Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 61 topic: "topic1" message_group_id: "sid_rand_50" from ipv6:[::1]:38314
2026-03-17T14:15:01.781428Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=61 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.781434Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.781826Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 61 sessionId:  describe result for acl check
2026-03-17T14:15:01.781856Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.781862Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.781863Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.781868Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616352:2722] (SourceId=sid_rand_50, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.781982Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616352:2722] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.783721Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616352:2722] (SourceId=sid_rand_50, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.783820Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616367:2722] connected; active server actors: 1
2026-03-17T14:15:01.783843Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616352:2722] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_50
2026-03-17T14:15:01.783863Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616352:2722] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.783925Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616367:2722] disconnected.
2026-03-17T14:15:01.783934Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616367:2722] disconnected; active server actors: 1
2026-03-17T14:15:01.783938Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616367:2722] disconnected no session
2026-03-17T14:15:01.786975Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616352:2722] (SourceId=sid_rand_50, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.786990Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616352:2722] (SourceId=sid_rand_50, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2026-03-17T14:15:01.786994Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616352:2722] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.787003Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 61 sessionId:  partition: 5 expectedGeneration: (NULL)
2026-03-17T14:15:01.787320Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.787410Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_50|b9bab772-7ff4ace5-de56b5ab-91a3ce21_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_50
2026-03-17T14:15:01.787757Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 61 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_50|b9bab772-7ff4ace5-de56b5ab-91a3ce21_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_50|b9bab772-7ff4ace5-de56b5ab-91a3ce21_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.788462Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId: sid_rand_50|b9bab772-7ff4ace5-de56b5ab-91a3ce21_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.788473Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 61 sessionId: sid_rand_50|b9bab772-7ff4ace5-de56b5ab-91a3ce21_0 grpc read failed
2026-03-17T14:15:01.788478Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 61 sessionId: sid_rand_50|b9bab772-7ff4ace5-de56b5ab-91a3ce21_0 grpc closed
2026-03-17T14:15:01.788484Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 61 sessionId: sid_rand_50|b9bab772-7ff4ace5-de56b5ab-91a3ce21_0 is DEAD
2026-03-17T14:15:01.788667Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.788678Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 62
2026-03-17T14:15:01.788697Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.788762Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_51" }
2026-03-17T14:15:01.788793Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 62 topic: "topic1" message_group_id: "sid_rand_51" from ipv6:[::1]:38314
2026-03-17T14:15:01.788804Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=62 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.788808Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.789177Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 62 sessionId:  describe result for acl check
2026-03-17T14:15:01.789213Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.789221Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.789224Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.789229Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616386:2726] (SourceId=sid_rand_51, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.789361Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616386:2726] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.791144Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616386:2726] (SourceId=sid_rand_51, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.791233Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616401:2726] connected; active server actors: 1
2026-03-17T14:15:01.791250Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616386:2726] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_51
2026-03-17T14:15:01.791259Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616386:2726] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.791304Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616401:2726] disconnected.
2026-03-17T14:15:01.791310Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616401:2726] disconnected; active server actors: 1
2026-03-17T14:15:01.791313Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616401:2726] disconnected no session
2026-03-17T14:15:01.794171Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616386:2726] (SourceId=sid_rand_51, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.794188Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616386:2726] (SourceId=sid_rand_51, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2026-03-17T14:15:01.794192Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616386:2726] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.794199Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 62 sessionId:  partition: 6 expectedGeneration: (NULL)
2026-03-17T14:15:01.794351Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.794387Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_51|c6d0cd3-d98f21e1-b1c234e7-93c03932_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_51
2026-03-17T14:15:01.794562Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 62 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_51|c6d0cd3-d98f21e1-b1c234e7-93c03932_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_51|c6d0cd3-d98f21e1-b1c234e7-93c03932_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.795224Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId: sid_rand_51|c6d0cd3-d98f21e1-b1c234e7-93c03932_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.795235Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 62 sessionId: sid_rand_51|c6d0cd3-d98f21e1-b1c234e7-93c03932_0 grpc read failed
2026-03-17T14:15:01.795241Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 62 sessionId: sid_rand_51|c6d0cd3-d98f21e1-b1c234e7-93c03932_0 grpc closed
2026-03-17T14:15:01.795246Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 62 sessionId: sid_rand_51|c6d0cd3-d98f21e1-b1c234e7-93c03932_0 is DEAD
2026-03-17T14:15:01.795438Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.795448Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 63
2026-03-17T14:15:01.795471Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.795537Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_52" }
2026-03-17T14:15:01.795572Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 63 topic: "topic1" message_group_id: "sid_rand_52" from ipv6:[::1]:38314
2026-03-17T14:15:01.795583Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=63 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.795591Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.795958Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 63 sessionId:  describe result for acl check
2026-03-17T14:15:01.795989Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.795995Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.795996Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.796000Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616421:2730] (SourceId=sid_rand_52, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.796105Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616421:2730] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.797841Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616421:2730] (SourceId=sid_rand_52, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.797913Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616436:2730] connected; active server actors: 1
2026-03-17T14:15:01.797930Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616421:2730] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_52
2026-03-17T14:15:01.797937Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616421:2730] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.797976Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616436:2730] disconnected.
2026-03-17T14:15:01.797982Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616436:2730] disconnected; active server actors: 1
2026-03-17T14:15:01.797984Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616436:2730] disconnected no session
2026-03-17T14:15:01.800105Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616421:2730] (SourceId=sid_rand_52, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.800118Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616421:2730] (SourceId=sid_rand_52, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2026-03-17T14:15:01.800121Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616421:2730] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.800129Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 63 sessionId:  partition: 7 expectedGeneration: (NULL)
2026-03-17T14:15:01.800376Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.800464Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_52|cf6bae93-5f796c54-5f3e0011-39a4e3a3_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_52
2026-03-17T14:15:01.800751Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 63 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_52|cf6bae93-5f796c54-5f3e0011-39a4e3a3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_52|cf6bae93-5f796c54-5f3e0011-39a4e3a3_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.801360Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId: sid_rand_52|cf6bae93-5f796c54-5f3e0011-39a4e3a3_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.801369Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 63 sessionId: sid_rand_52|cf6bae93-5f796c54-5f3e0011-39a4e3a3_0 grpc read failed
2026-03-17T14:15:01.801373Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 63 sessionId: sid_rand_52|cf6bae93-5f796c54-5f3e0011-39a4e3a3_0 grpc closed
2026-03-17T14:15:01.801376Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 63 sessionId: sid_rand_52|cf6bae93-5f796c54-5f3e0011-39a4e3a3_0 is DEAD
2026-03-17T14:15:01.801526Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.801536Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 64
2026-03-17T14:15:01.801540Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.801648Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_53" }
2026-03-17T14:15:01.801680Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 64 topic: "topic1" message_group_id: "sid_rand_53" from ipv6:[::1]:38314
2026-03-17T14:15:01.801684Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=64 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.801687Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.802044Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 64 sessionId:  describe result for acl check
2026-03-17T14:15:01.802077Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.802084Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.802086Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.802091Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616455:2734] (SourceId=sid_rand_53, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.802229Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616455:2734] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.803899Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616455:2734] (SourceId=sid_rand_53, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.803981Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616470:2734] connected; active server actors: 1
2026-03-17T14:15:01.803999Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616455:2734] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_53
2026-03-17T14:15:01.804003Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616455:2734] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.804106Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616470:2734] disconnected.
2026-03-17T14:15:01.804116Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616470:2734] disconnected; active server actors: 1
2026-03-17T14:15:01.804119Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616470:2734] disconnected no session
2026-03-17T14:15:01.806356Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616455:2734] (SourceId=sid_rand_53, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.806368Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616455:2734] (SourceId=sid_rand_53, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2026-03-17T14:15:01.806372Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616455:2734] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.806378Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 64 sessionId:  partition: 8 expectedGeneration: (NULL)
2026-03-17T14:15:01.806515Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.806553Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_53|a7e436f0-2683cd75-cbf8758b-db9f0dc2_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_53
2026-03-17T14:15:01.806741Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 64 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_53|a7e436f0-2683cd75-cbf8758b-db9f0dc2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_53|a7e436f0-2683cd75-cbf8758b-db9f0dc2_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.807378Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId: sid_rand_53|a7e436f0-2683cd75-cbf8758b-db9f0dc2_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.807388Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 64 sessionId: sid_rand_53|a7e436f0-2683cd75-cbf8758b-db9f0dc2_0 grpc read failed
2026-03-17T14:15:01.807394Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 64 sessionId: sid_rand_53|a7e436f0-2683cd75-cbf8758b-db9f0dc2_0 grpc closed
2026-03-17T14:15:01.807399Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 64 sessionId: sid_rand_53|a7e436f0-2683cd75-cbf8758b-db9f0dc2_0 is DEAD
2026-03-17T14:15:01.807506Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.807773Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.807785Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 65
2026-03-17T14:15:01.807900Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_54" }
2026-03-17T14:15:01.807931Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 65 topic: "topic1" message_group_id: "sid_rand_54" from ipv6:[::1]:38314
2026-03-17T14:15:01.807941Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=65 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.807945Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.808305Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 65 sessionId:  describe result for acl check
2026-03-17T14:15:01.808339Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.808346Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.808348Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.808352Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616494:2740] (SourceId=sid_rand_54, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.808436Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616494:2740] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.809937Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616494:2740] (SourceId=sid_rand_54, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.810039Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616509:2740] connected; active server actors: 1
2026-03-17T14:15:01.810050Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616494:2740] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_54
2026-03-17T14:15:01.810053Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616494:2740] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.810097Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616509:2740] disconnected.
2026-03-17T14:15:01.810106Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616509:2740] disconnected; active server actors: 1
2026-03-17T14:15:01.810109Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616509:2740] disconnected no session
2026-03-17T14:15:01.812397Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616494:2740] (SourceId=sid_rand_54, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.812407Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616494:2740] (SourceId=sid_rand_54, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2026-03-17T14:15:01.812411Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616494:2740] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.812417Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 65 sessionId:  partition: 9 expectedGeneration: (NULL)
2026-03-17T14:15:01.812733Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.812832Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_54|729e81d7-7d921e9e-dc801f2d-69d0a4f1_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_54
2026-03-17T14:15:01.813110Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 65 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_54|729e81d7-7d921e9e-dc801f2d-69d0a4f1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_54|729e81d7-7d921e9e-dc801f2d-69d0a4f1_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.813697Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId: sid_rand_54|729e81d7-7d921e9e-dc801f2d-69d0a4f1_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.813706Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 65 sessionId: sid_rand_54|729e81d7-7d921e9e-dc801f2d-69d0a4f1_0 grpc read failed
2026-03-17T14:15:01.813712Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 65 sessionId: sid_rand_54|729e81d7-7d921e9e-dc801f2d-69d0a4f1_0 grpc closed
2026-03-17T14:15:01.813716Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 65 sessionId: sid_rand_54|729e81d7-7d921e9e-dc801f2d-69d0a4f1_0 is DEAD
2026-03-17T14:15:01.813806Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.814004Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.814010Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 66
2026-03-17T14:15:01.814099Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_55" }
2026-03-17T14:15:01.814128Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 66 topic: "topic1" message_group_id: "sid_rand_55" from ipv6:[::1]:38314
2026-03-17T14:15:01.814133Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=66 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.814141Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.814420Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 66 sessionId:  describe result for acl check
2026-03-17T14:15:01.814443Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.814444Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.814446Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.814449Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616537:2748] (SourceId=sid_rand_55, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.814521Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616537:2748] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.815930Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616537:2748] (SourceId=sid_rand_55, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.816024Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616552:2748] connected; active server actors: 1
2026-03-17T14:15:01.816037Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616537:2748] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_55
2026-03-17T14:15:01.816040Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616537:2748] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.816083Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616552:2748] disconnected.
2026-03-17T14:15:01.816090Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616552:2748] disconnected; active server actors: 1
2026-03-17T14:15:01.816093Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616552:2748] disconnected no session
2026-03-17T14:15:01.818448Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616537:2748] (SourceId=sid_rand_55, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.818459Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616537:2748] (SourceId=sid_rand_55, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2026-03-17T14:15:01.818463Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616537:2748] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.818469Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 66 sessionId:  partition: 10 expectedGeneration: (NULL)
2026-03-17T14:15:01.818778Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.818859Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_55|59cba617-3c582fd6-9de8ce30-8ead2e61_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_55
2026-03-17T14:15:01.819111Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 66 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_55|59cba617-3c582fd6-9de8ce30-8ead2e61_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_55|59cba617-3c582fd6-9de8ce30-8ead2e61_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.819650Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId: sid_rand_55|59cba617-3c582fd6-9de8ce30-8ead2e61_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.819658Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 66 sessionId: sid_rand_55|59cba617-3c582fd6-9de8ce30-8ead2e61_0 grpc read failed
2026-03-17T14:15:01.819663Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 66 sessionId: sid_rand_55|59cba617-3c582fd6-9de8ce30-8ead2e61_0 grpc closed
2026-03-17T14:15:01.819667Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 66 sessionId: sid_rand_55|59cba617-3c582fd6-9de8ce30-8ead2e61_0 is DEAD
2026-03-17T14:15:01.819740Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.819892Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.819899Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 67
2026-03-17T14:15:01.819982Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_56" }
2026-03-17T14:15:01.820009Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 67 topic: "topic1" message_group_id: "sid_rand_56" from ipv6:[::1]:38314
2026-03-17T14:15:01.820019Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=67 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.820022Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.820334Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 67 sessionId:  describe result for acl check
2026-03-17T14:15:01.820368Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.820374Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.820376Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.820381Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616571:2752] (SourceId=sid_rand_56, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.820466Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616571:2752] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.821582Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616571:2752] (SourceId=sid_rand_56, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.821671Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616586:2752] connected; active server actors: 1
2026-03-17T14:15:01.821681Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616571:2752] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_56
2026-03-17T14:15:01.821683Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616571:2752] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.821724Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616586:2752] disconnected.
2026-03-17T14:15:01.821730Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616586:2752] disconnected; active server actors: 1
2026-03-17T14:15:01.821731Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616586:2752] disconnected no session
2026-03-17T14:15:01.824176Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616571:2752] (SourceId=sid_rand_56, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.824186Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616571:2752] (SourceId=sid_rand_56, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2026-03-17T14:15:01.824188Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616571:2752] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.824193Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 67 sessionId:  partition: 11 expectedGeneration: (NULL)
2026-03-17T14:15:01.824452Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.824543Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_56|172b8b20-d31aa66-8e5f435d-7746d9ee_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_56
2026-03-17T14:15:01.824769Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 67 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_56|172b8b20-d31aa66-8e5f435d-7746d9ee_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_56|172b8b20-d31aa66-8e5f435d-7746d9ee_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.825315Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId: sid_rand_56|172b8b20-d31aa66-8e5f435d-7746d9ee_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.825320Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 67 sessionId: sid_rand_56|172b8b20-d31aa66-8e5f435d-7746d9ee_0 grpc read failed
2026-03-17T14:15:01.825324Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 67 sessionId: sid_rand_56|172b8b20-d31aa66-8e5f435d-7746d9ee_0 grpc closed
2026-03-17T14:15:01.825327Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 67 sessionId: sid_rand_56|172b8b20-d31aa66-8e5f435d-7746d9ee_0 is DEAD
2026-03-17T14:15:01.825419Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.825455Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.825464Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 68
2026-03-17T14:15:01.825537Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_57" }
2026-03-17T14:15:01.825557Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 68 topic: "topic1" message_group_id: "sid_rand_57" from ipv6:[::1]:38314
2026-03-17T14:15:01.825564Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=68 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.825566Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.825794Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 68 sessionId:  describe result for acl check
2026-03-17T14:15:01.825813Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.825817Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.825821Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.825824Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616605:2756] (SourceId=sid_rand_57, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.825889Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616605:2756] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.827088Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616605:2756] (SourceId=sid_rand_57, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.827189Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616620:2756] connected; active server actors: 1
2026-03-17T14:15:01.827201Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616605:2756] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_57
2026-03-17T14:15:01.827208Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616605:2756] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.827252Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616620:2756] disconnected.
2026-03-17T14:15:01.827259Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616620:2756] disconnected; active server actors: 1
2026-03-17T14:15:01.827262Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616620:2756] disconnected no session
2026-03-17T14:15:01.829812Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616605:2756] (SourceId=sid_rand_57, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.829823Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616605:2756] (SourceId=sid_rand_57, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2026-03-17T14:15:01.829826Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616605:2756] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.829831Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 68 sessionId:  partition: 11 expectedGeneration: (NULL)
2026-03-17T14:15:01.830092Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.830178Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_57|be586790-ebd47c26-5d2402d6-2dffbc5e_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_57
2026-03-17T14:15:01.830408Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 68 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_57|be586790-ebd47c26-5d2402d6-2dffbc5e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_57|be586790-ebd47c26-5d2402d6-2dffbc5e_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.830961Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId: sid_rand_57|be586790-ebd47c26-5d2402d6-2dffbc5e_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.830967Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 68 sessionId: sid_rand_57|be586790-ebd47c26-5d2402d6-2dffbc5e_0 grpc read failed
2026-03-17T14:15:01.830970Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 68 sessionId: sid_rand_57|be586790-ebd47c26-5d2402d6-2dffbc5e_0 grpc closed
2026-03-17T14:15:01.830973Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 68 sessionId: sid_rand_57|be586790-ebd47c26-5d2402d6-2dffbc5e_0 is DEAD
2026-03-17T14:15:01.831104Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.831156Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.831162Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 69
2026-03-17T14:15:01.831226Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_58" }
2026-03-17T14:15:01.831245Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 69 topic: "topic1" message_group_id: "sid_rand_58" from ipv6:[::1]:38314
2026-03-17T14:15:01.831253Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=69 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.831255Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.831515Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 69 sessionId:  describe result for acl check
2026-03-17T14:15:01.831536Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.831537Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.831538Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.831540Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616640:2760] (SourceId=sid_rand_58, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.831615Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616640:2760] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.832850Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616640:2760] (SourceId=sid_rand_58, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.832944Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616655:2760] connected; active server actors: 1
2026-03-17T14:15:01.832956Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616640:2760] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_58
2026-03-17T14:15:01.832959Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616640:2760] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.833000Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616655:2760] disconnected.
2026-03-17T14:15:01.833005Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616655:2760] disconnected; active server actors: 1
2026-03-17T14:15:01.833007Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616655:2760] disconnected no session
2026-03-17T14:15:01.835385Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616640:2760] (SourceId=sid_rand_58, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.835397Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616640:2760] (SourceId=sid_rand_58, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2026-03-17T14:15:01.835400Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616640:2760] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.835407Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 69 sessionId:  partition: 12 expectedGeneration: (NULL)
2026-03-17T14:15:01.835736Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.835807Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_58|86629ca-8e2eb1df-5214b9f4-6eeab060_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_58
2026-03-17T14:15:01.836064Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 69 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_58|86629ca-8e2eb1df-5214b9f4-6eeab060_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_58|86629ca-8e2eb1df-5214b9f4-6eeab060_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.836603Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId: sid_rand_58|86629ca-8e2eb1df-5214b9f4-6eeab060_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.836611Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 69 sessionId: sid_rand_58|86629ca-8e2eb1df-5214b9f4-6eeab060_0 grpc read failed
2026-03-17T14:15:01.836617Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 69 sessionId: sid_rand_58|86629ca-8e2eb1df-5214b9f4-6eeab060_0 grpc closed
2026-03-17T14:15:01.836621Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 69 sessionId: sid_rand_58|86629ca-8e2eb1df-5214b9f4-6eeab060_0 is DEAD
2026-03-17T14:15:01.836699Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.836915Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.836925Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 70
2026-03-17T14:15:01.837010Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_59" }
2026-03-17T14:15:01.837038Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 70 topic: "topic1" message_group_id: "sid_rand_59" from ipv6:[::1]:38314
2026-03-17T14:15:01.837048Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=70 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.837055Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.837359Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 70 sessionId:  describe result for acl check
2026-03-17T14:15:01.837386Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.837392Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.837395Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.837398Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616674:2764] (SourceId=sid_rand_59, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.837485Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616674:2764] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.839149Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616674:2764] (SourceId=sid_rand_59, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.839294Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616689:2764] connected; active server actors: 1
2026-03-17T14:15:01.839308Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616674:2764] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_59
2026-03-17T14:15:01.839310Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616674:2764] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.839360Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616689:2764] disconnected.
2026-03-17T14:15:01.839368Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616689:2764] disconnected; active server actors: 1
2026-03-17T14:15:01.839370Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616689:2764] disconnected no session
2026-03-17T14:15:01.841398Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616674:2764] (SourceId=sid_rand_59, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.841410Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616674:2764] (SourceId=sid_rand_59, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2026-03-17T14:15:01.841413Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616674:2764] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.841421Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 70 sessionId:  partition: 13 expectedGeneration: (NULL)
2026-03-17T14:15:01.841696Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.841758Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_59|d97cdc36-f2ae1a3e-3c48c57f-924914a2_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_59
2026-03-17T14:15:01.841949Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 70 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_59|d97cdc36-f2ae1a3e-3c48c57f-924914a2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_59|d97cdc36-f2ae1a3e-3c48c57f-924914a2_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.842419Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId: sid_rand_59|d97cdc36-f2ae1a3e-3c48c57f-924914a2_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.842426Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 70 sessionId: sid_rand_59|d97cdc36-f2ae1a3e-3c48c57f-924914a2_0 grpc read failed
2026-03-17T14:15:01.842430Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 70 sessionId: sid_rand_59|d97cdc36-f2ae1a3e-3c48c57f-924914a2_0 grpc closed
2026-03-17T14:15:01.842433Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 70 sessionId: sid_rand_59|d97cdc36-f2ae1a3e-3c48c57f-924914a2_0 is DEAD
2026-03-17T14:15:01.842575Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.842598Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.842606Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 71
2026-03-17T14:15:01.842666Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_60" }
2026-03-17T14:15:01.842692Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 71 topic: "topic1" message_group_id: "sid_rand_60" from ipv6:[::1]:38314
2026-03-17T14:15:01.842702Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=71 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.842706Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.842993Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 71 sessionId:  describe result for acl check
2026-03-17T14:15:01.843017Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.843022Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.843023Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.843026Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616721:2771] (SourceId=sid_rand_60, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.843104Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616721:2771] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.843975Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616721:2771] (SourceId=sid_rand_60, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.844034Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616736:2771] connected; active server actors: 1
2026-03-17T14:15:01.844048Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616721:2771] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_60
2026-03-17T14:15:01.844051Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616721:2771] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.844079Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616736:2771] disconnected.
2026-03-17T14:15:01.844088Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616736:2771] disconnected; active server actors: 1
2026-03-17T14:15:01.844090Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616736:2771] disconnected no session
2026-03-17T14:15:01.846211Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616721:2771] (SourceId=sid_rand_60, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.846227Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616721:2771] (SourceId=sid_rand_60, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2026-03-17T14:15:01.846231Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616721:2771] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.846238Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 71 sessionId:  partition: 14 expectedGeneration: (NULL)
2026-03-17T14:15:01.846461Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.846571Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_60|2bdd818-3885a3c2-19c47de2-e42ffcd0_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_60
2026-03-17T14:15:01.846901Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 71 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_60|2bdd818-3885a3c2-19c47de2-e42ffcd0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_60|2bdd818-3885a3c2-19c47de2-e42ffcd0_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.847430Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId: sid_rand_60|2bdd818-3885a3c2-19c47de2-e42ffcd0_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.847438Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 71 sessionId: sid_rand_60|2bdd818-3885a3c2-19c47de2-e42ffcd0_0 grpc read failed
2026-03-17T14:15:01.847443Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 71 sessionId: sid_rand_60|2bdd818-3885a3c2-19c47de2-e42ffcd0_0 grpc closed
2026-03-17T14:15:01.847446Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 71 sessionId: sid_rand_60|2bdd818-3885a3c2-19c47de2-e42ffcd0_0 is DEAD
2026-03-17T14:15:01.847614Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.847621Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.847625Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 72
2026-03-17T14:15:01.847700Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_61" }
2026-03-17T14:15:01.847730Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 72 topic: "topic1" message_group_id: "sid_rand_61" from ipv6:[::1]:38314
2026-03-17T14:15:01.847750Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=72 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.847758Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.848110Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 72 sessionId:  describe result for acl check
2026-03-17T14:15:01.848141Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.848148Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.848150Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.848154Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616755:2775] (SourceId=sid_rand_61, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.848246Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616755:2775] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.849850Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616755:2775] (SourceId=sid_rand_61, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.849922Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616770:2775] connected; active server actors: 1
2026-03-17T14:15:01.849938Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616755:2775] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_61
2026-03-17T14:15:01.849941Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616755:2775] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.849975Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616770:2775] disconnected.
2026-03-17T14:15:01.849983Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616770:2775] disconnected; active server actors: 1
2026-03-17T14:15:01.849985Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616770:2775] disconnected no session
2026-03-17T14:15:01.852407Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616755:2775] (SourceId=sid_rand_61, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.852419Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616755:2775] (SourceId=sid_rand_61, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2026-03-17T14:15:01.852423Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616755:2775] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.852431Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 72 sessionId:  partition: 0 expectedGeneration: (NULL)
2026-03-17T14:15:01.852536Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.852584Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_61|b2980384-f24825a8-8825fbb7-7021ceaa_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_61
2026-03-17T14:15:01.852743Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 72 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_61|b2980384-f24825a8-8825fbb7-7021ceaa_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_61|b2980384-f24825a8-8825fbb7-7021ceaa_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.853322Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId: sid_rand_61|b2980384-f24825a8-8825fbb7-7021ceaa_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.853331Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 72 sessionId: sid_rand_61|b2980384-f24825a8-8825fbb7-7021ceaa_0 grpc read failed
2026-03-17T14:15:01.853362Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:837: session v1 closed cookie: 72 sessionId: sid_rand_61|b2980384-f24825a8-8825fbb7-7021ceaa_0
2026-03-17T14:15:01.853371Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 72 sessionId: sid_rand_61|b2980384-f24825a8-8825fbb7-7021ceaa_0 is DEAD
2026-03-17T14:15:01.853432Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.853656Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.853664Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 73
2026-03-17T14:15:01.853790Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_62" }
2026-03-17T14:15:01.853812Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 73 topic: "topic1" message_group_id: "sid_rand_62" from ipv6:[::1]:38314
2026-03-17T14:15:01.853816Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=73 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.853818Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.854123Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 73 sessionId:  describe result for acl check
2026-03-17T14:15:01.854161Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.854169Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.854171Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.854174Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616790:2779] (SourceId=sid_rand_62, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.854270Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616790:2779] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.855402Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616790:2779] (SourceId=sid_rand_62, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.855449Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616805:2779] connected; active server actors: 1
2026-03-17T14:15:01.855465Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616790:2779] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_62
2026-03-17T14:15:01.855475Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616790:2779] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.855522Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616805:2779] disconnected.
2026-03-17T14:15:01.855530Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616805:2779] disconnected; active server actors: 1
2026-03-17T14:15:01.855533Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616805:2779] disconnected no session
2026-03-17T14:15:01.858042Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616790:2779] (SourceId=sid_rand_62, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.858054Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616790:2779] (SourceId=sid_rand_62, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2026-03-17T14:15:01.858058Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616790:2779] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.858065Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 73 sessionId:  partition: 1 expectedGeneration: (NULL)
2026-03-17T14:15:01.858204Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.858242Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_62|39ac1631-dcd05106-7e69354f-8d263628_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_62
2026-03-17T14:15:01.858367Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 73 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_62|39ac1631-dcd05106-7e69354f-8d263628_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_62|39ac1631-dcd05106-7e69354f-8d263628_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.858903Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId: sid_rand_62|39ac1631-dcd05106-7e69354f-8d263628_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.858909Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 73 sessionId: sid_rand_62|39ac1631-dcd05106-7e69354f-8d263628_0 grpc read failed
2026-03-17T14:15:01.858913Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 73 sessionId: sid_rand_62|39ac1631-dcd05106-7e69354f-8d263628_0 grpc closed
2026-03-17T14:15:01.858916Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 73 sessionId: sid_rand_62|39ac1631-dcd05106-7e69354f-8d263628_0 is DEAD
2026-03-17T14:15:01.859070Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.859075Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.859082Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 74
2026-03-17T14:15:01.859172Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_63" }
2026-03-17T14:15:01.859197Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 74 topic: "topic1" message_group_id: "sid_rand_63" from ipv6:[::1]:38314
2026-03-17T14:15:01.859207Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=74 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.859210Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.859498Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 74 sessionId:  describe result for acl check
2026-03-17T14:15:01.859524Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.859528Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.859529Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.859532Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616825:2783] (SourceId=sid_rand_63, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.859613Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616825:2783] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.861109Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616825:2783] (SourceId=sid_rand_63, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.861176Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616840:2783] connected; active server actors: 1
2026-03-17T14:15:01.861189Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616825:2783] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_63
2026-03-17T14:15:01.861193Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616825:2783] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.861233Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616840:2783] disconnected.
2026-03-17T14:15:01.861241Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616840:2783] disconnected; active server actors: 1
2026-03-17T14:15:01.861253Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616840:2783] disconnected no session
2026-03-17T14:15:01.863603Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616825:2783] (SourceId=sid_rand_63, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.863614Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616825:2783] (SourceId=sid_rand_63, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2026-03-17T14:15:01.863618Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616825:2783] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.863625Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 74 sessionId:  partition: 2 expectedGeneration: (NULL)
2026-03-17T14:15:01.863824Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.863903Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_63|9f9e7fb5-cd17eb56-eb16061a-5cdd0640_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_63
2026-03-17T14:15:01.864149Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 74 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_63|9f9e7fb5-cd17eb56-eb16061a-5cdd0640_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_63|9f9e7fb5-cd17eb56-eb16061a-5cdd0640_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.864640Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId: sid_rand_63|9f9e7fb5-cd17eb56-eb16061a-5cdd0640_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.864646Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 74 sessionId: sid_rand_63|9f9e7fb5-cd17eb56-eb16061a-5cdd0640_0 grpc read failed
2026-03-17T14:15:01.864650Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 74 sessionId: sid_rand_63|9f9e7fb5-cd17eb56-eb16061a-5cdd0640_0 grpc closed
2026-03-17T14:15:01.864653Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 74 sessionId: sid_rand_63|9f9e7fb5-cd17eb56-eb16061a-5cdd0640_0 is DEAD
2026-03-17T14:15:01.864784Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.864792Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.864793Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 75
2026-03-17T14:15:01.864867Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_64" }
2026-03-17T14:15:01.864896Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 75 topic: "topic1" message_group_id: "sid_rand_64" from ipv6:[::1]:38314
2026-03-17T14:15:01.864905Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=75 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.864907Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.865176Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 75 sessionId:  describe result for acl check
2026-03-17T14:15:01.865200Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.865214Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.865218Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.865222Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616860:2787] (SourceId=sid_rand_64, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.865305Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616860:2787] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.866815Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616860:2787] (SourceId=sid_rand_64, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.866882Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616875:2787] connected; active server actors: 1
2026-03-17T14:15:01.866898Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616860:2787] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_64
2026-03-17T14:15:01.866901Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616860:2787] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.866931Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616875:2787] disconnected.
2026-03-17T14:15:01.866938Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616875:2787] disconnected; active server actors: 1
2026-03-17T14:15:01.866940Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616875:2787] disconnected no session
2026-03-17T14:15:01.869601Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616860:2787] (SourceId=sid_rand_64, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.869611Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616860:2787] (SourceId=sid_rand_64, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2026-03-17T14:15:01.869614Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616860:2787] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.869621Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 75 sessionId:  partition: 3 expectedGeneration: (NULL)
2026-03-17T14:15:01.869752Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.869796Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_64|945b4b53-f1cd6cf3-227fa464-8615b8d3_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_64
2026-03-17T14:15:01.869914Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 75 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_64|945b4b53-f1cd6cf3-227fa464-8615b8d3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_64|945b4b53-f1cd6cf3-227fa464-8615b8d3_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.870507Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId: sid_rand_64|945b4b53-f1cd6cf3-227fa464-8615b8d3_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.870519Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 75 sessionId: sid_rand_64|945b4b53-f1cd6cf3-227fa464-8615b8d3_0 grpc read failed
2026-03-17T14:15:01.870524Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 75 sessionId: sid_rand_64|945b4b53-f1cd6cf3-227fa464-8615b8d3_0 grpc closed
2026-03-17T14:15:01.870528Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 75 sessionId: sid_rand_64|945b4b53-f1cd6cf3-227fa464-8615b8d3_0 is DEAD
2026-03-17T14:15:01.870687Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.870695Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 76
2026-03-17T14:15:01.870706Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.870830Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_65" }
2026-03-17T14:15:01.870866Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 76 topic: "topic1" message_group_id: "sid_rand_65" from ipv6:[::1]:38314
2026-03-17T14:15:01.870877Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=76 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.870885Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.871204Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 76 sessionId:  describe result for acl check
2026-03-17T14:15:01.871237Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.871239Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.871241Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.871246Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616895:2791] (SourceId=sid_rand_65, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.871346Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616895:2791] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.872931Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616895:2791] (SourceId=sid_rand_65, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.873017Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616910:2791] connected; active server actors: 1
2026-03-17T14:15:01.873032Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616895:2791] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_65
2026-03-17T14:15:01.873036Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616895:2791] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.873082Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616910:2791] disconnected.
2026-03-17T14:15:01.873093Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616910:2791] disconnected; active server actors: 1
2026-03-17T14:15:01.873096Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616910:2791] disconnected no session
2026-03-17T14:15:01.875386Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616895:2791] (SourceId=sid_rand_65, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.875397Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616895:2791] (SourceId=sid_rand_65, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2026-03-17T14:15:01.875399Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616895:2791] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.875405Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 76 sessionId:  partition: 4 expectedGeneration: (NULL)
2026-03-17T14:15:01.875599Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.875687Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_65|9349372d-fd66622c-88b4e157-798bd5a1_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_65
2026-03-17T14:15:01.875944Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 76 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_65|9349372d-fd66622c-88b4e157-798bd5a1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_65|9349372d-fd66622c-88b4e157-798bd5a1_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.876487Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId: sid_rand_65|9349372d-fd66622c-88b4e157-798bd5a1_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.876495Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 76 sessionId: sid_rand_65|9349372d-fd66622c-88b4e157-798bd5a1_0 grpc read failed
2026-03-17T14:15:01.876499Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 76 sessionId: sid_rand_65|9349372d-fd66622c-88b4e157-798bd5a1_0 grpc closed
2026-03-17T14:15:01.876504Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 76 sessionId: sid_rand_65|9349372d-fd66622c-88b4e157-798bd5a1_0 is DEAD
2026-03-17T14:15:01.876677Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.876685Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 77
2026-03-17T14:15:01.876697Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.876800Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_66" }
2026-03-17T14:15:01.876826Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 77 topic: "topic1" message_group_id: "sid_rand_66" from ipv6:[::1]:38314
2026-03-17T14:15:01.876836Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=77 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.876840Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.877153Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 77 sessionId:  describe result for acl check
2026-03-17T14:15:01.877183Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.877189Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.877192Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.877196Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616929:2795] (SourceId=sid_rand_66, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.877309Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616929:2795] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.878613Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616929:2795] (SourceId=sid_rand_66, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.878681Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616944:2795] connected; active server actors: 1
2026-03-17T14:15:01.878703Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616929:2795] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_66
2026-03-17T14:15:01.878710Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616929:2795] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.878753Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616944:2795] disconnected.
2026-03-17T14:15:01.878760Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616944:2795] disconnected; active server actors: 1
2026-03-17T14:15:01.878763Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616944:2795] disconnected no session
2026-03-17T14:15:01.881569Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616929:2795] (SourceId=sid_rand_66, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.881582Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616929:2795] (SourceId=sid_rand_66, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2026-03-17T14:15:01.881586Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616929:2795] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.881594Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 77 sessionId:  partition: 5 expectedGeneration: (NULL)
2026-03-17T14:15:01.881850Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.881934Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_66|6068d033-b00c7a9b-a7f8d90c-e09e81ca_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_66
2026-03-17T14:15:01.882220Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 77 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_66|6068d033-b00c7a9b-a7f8d90c-e09e81ca_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_66|6068d033-b00c7a9b-a7f8d90c-e09e81ca_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.882907Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId: sid_rand_66|6068d033-b00c7a9b-a7f8d90c-e09e81ca_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.882917Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 77 sessionId: sid_rand_66|6068d033-b00c7a9b-a7f8d90c-e09e81ca_0 grpc read failed
2026-03-17T14:15:01.882923Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 77 sessionId: sid_rand_66|6068d033-b00c7a9b-a7f8d90c-e09e81ca_0 grpc closed
2026-03-17T14:15:01.882929Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 77 sessionId: sid_rand_66|6068d033-b00c7a9b-a7f8d90c-e09e81ca_0 is DEAD
2026-03-17T14:15:01.883057Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.883272Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.883282Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 78
2026-03-17T14:15:01.883420Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_67" }
2026-03-17T14:15:01.883454Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 78 topic: "topic1" message_group_id: "sid_rand_67" from ipv6:[::1]:38314
2026-03-17T14:15:01.883463Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=78 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.883467Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.883872Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 78 sessionId:  describe result for acl check
2026-03-17T14:15:01.883906Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.883913Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.883915Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.883920Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616963:2799] (SourceId=sid_rand_67, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.884035Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616963:2799] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.885715Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616963:2799] (SourceId=sid_rand_67, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.885785Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616978:2799] connected; active server actors: 1
2026-03-17T14:15:01.885803Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616963:2799] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_67
2026-03-17T14:15:01.885811Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616963:2799] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.885850Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616978:2799] disconnected.
2026-03-17T14:15:01.885856Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616978:2799] disconnected; active server actors: 1
2026-03-17T14:15:01.885859Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907616978:2799] disconnected no session
2026-03-17T14:15:01.888391Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616963:2799] (SourceId=sid_rand_67, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.888405Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616963:2799] (SourceId=sid_rand_67, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2026-03-17T14:15:01.888409Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616963:2799] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.888417Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 78 sessionId:  partition: 6 expectedGeneration: (NULL)
2026-03-17T14:15:01.888555Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.888597Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_67|4d654e3-2253e1be-41051147-c2f34721_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_67
2026-03-17T14:15:01.888733Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 78 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_67|4d654e3-2253e1be-41051147-c2f34721_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_67|4d654e3-2253e1be-41051147-c2f34721_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.889334Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId: sid_rand_67|4d654e3-2253e1be-41051147-c2f34721_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.889347Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 78 sessionId: sid_rand_67|4d654e3-2253e1be-41051147-c2f34721_0 grpc read failed
2026-03-17T14:15:01.889357Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 78 sessionId: sid_rand_67|4d654e3-2253e1be-41051147-c2f34721_0 grpc closed
2026-03-17T14:15:01.889365Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 78 sessionId: sid_rand_67|4d654e3-2253e1be-41051147-c2f34721_0 is DEAD
2026-03-17T14:15:01.889506Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.889514Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 79
2026-03-17T14:15:01.889585Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.889602Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_68" }
2026-03-17T14:15:01.889623Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 79 topic: "topic1" message_group_id: "sid_rand_68" from ipv6:[::1]:38314
2026-03-17T14:15:01.889631Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=79 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.889635Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.889949Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 79 sessionId:  describe result for acl check
2026-03-17T14:15:01.889977Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.889982Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.889983Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.889986Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907616998:2803] (SourceId=sid_rand_68, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.890081Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907616998:2803] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.891251Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907616998:2803] (SourceId=sid_rand_68, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.891301Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617013:2803] connected; active server actors: 1
2026-03-17T14:15:01.891316Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907616998:2803] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_68
2026-03-17T14:15:01.891318Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907616998:2803] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.891349Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617013:2803] disconnected.
2026-03-17T14:15:01.891356Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617013:2803] disconnected; active server actors: 1
2026-03-17T14:15:01.891358Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617013:2803] disconnected no session
2026-03-17T14:15:01.893995Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907616998:2803] (SourceId=sid_rand_68, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.894007Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907616998:2803] (SourceId=sid_rand_68, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2026-03-17T14:15:01.894010Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907616998:2803] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.894017Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 79 sessionId:  partition: 7 expectedGeneration: (NULL)
2026-03-17T14:15:01.894256Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.894346Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_68|bc03af7c-76a6682e-37033ba2-e894ab05_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_68
2026-03-17T14:15:01.894646Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 79 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_68|bc03af7c-76a6682e-37033ba2-e894ab05_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_68|bc03af7c-76a6682e-37033ba2-e894ab05_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.895175Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId: sid_rand_68|bc03af7c-76a6682e-37033ba2-e894ab05_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.895184Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 79 sessionId: sid_rand_68|bc03af7c-76a6682e-37033ba2-e894ab05_0 grpc read failed
2026-03-17T14:15:01.895192Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 79 sessionId: sid_rand_68|bc03af7c-76a6682e-37033ba2-e894ab05_0 grpc closed
2026-03-17T14:15:01.895196Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 79 sessionId: sid_rand_68|bc03af7c-76a6682e-37033ba2-e894ab05_0 is DEAD
2026-03-17T14:15:01.895299Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.895654Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.895666Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 80
2026-03-17T14:15:01.895772Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_69" }
2026-03-17T14:15:01.895796Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 80 topic: "topic1" message_group_id: "sid_rand_69" from ipv6:[::1]:38314
2026-03-17T14:15:01.895805Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=80 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.895808Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.896179Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 80 sessionId:  describe result for acl check
2026-03-17T14:15:01.896212Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.896218Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.896219Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.896223Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907617032:2807] (SourceId=sid_rand_69, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.896312Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907617032:2807] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.897407Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907617032:2807] (SourceId=sid_rand_69, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.897470Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617047:2807] connected; active server actors: 1
2026-03-17T14:15:01.897487Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907617032:2807] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_69
2026-03-17T14:15:01.897499Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907617032:2807] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.897540Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617047:2807] disconnected.
2026-03-17T14:15:01.897547Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617047:2807] disconnected; active server actors: 1
2026-03-17T14:15:01.897549Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617047:2807] disconnected no session
2026-03-17T14:15:01.900009Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907617032:2807] (SourceId=sid_rand_69, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.900021Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907617032:2807] (SourceId=sid_rand_69, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2026-03-17T14:15:01.900025Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907617032:2807] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.900033Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 80 sessionId:  partition: 8 expectedGeneration: (NULL)
2026-03-17T14:15:01.900144Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 15, Generation: 1
2026-03-17T14:15:01.900185Z node 15 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_69|55f5a819-998f42ef-dd97b2ba-84def1ca_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_69
2026-03-17T14:15:01.900316Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 80 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_69|55f5a819-998f42ef-dd97b2ba-84def1ca_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_69|55f5a819-998f42ef-dd97b2ba-84def1ca_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.900846Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId: sid_rand_69|55f5a819-998f42ef-dd97b2ba-84def1ca_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.900856Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 80 sessionId: sid_rand_69|55f5a819-998f42ef-dd97b2ba-84def1ca_0 grpc read failed
2026-03-17T14:15:01.900862Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 80 sessionId: sid_rand_69|55f5a819-998f42ef-dd97b2ba-84def1ca_0 grpc closed
2026-03-17T14:15:01.900867Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 80 sessionId: sid_rand_69|55f5a819-998f42ef-dd97b2ba-84def1ca_0 is DEAD
2026-03-17T14:15:01.901039Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.901063Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.901073Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 81
2026-03-17T14:15:01.901214Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_70" }
2026-03-17T14:15:01.901248Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 81 topic: "topic1" message_group_id: "sid_rand_70" from ipv6:[::1]:38314
2026-03-17T14:15:01.901259Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=81 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.901263Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.901569Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 81 sessionId:  describe result for acl check
2026-03-17T14:15:01.901594Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.901599Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.901600Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.901603Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907617067:2811] (SourceId=sid_rand_70, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.901698Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907617067:2811] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.903242Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907617067:2811] (SourceId=sid_rand_70, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.903303Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617085:2811] connected; active server actors: 1
2026-03-17T14:15:01.903324Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907617067:2811] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_70
2026-03-17T14:15:01.903330Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907617067:2811] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.903367Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617085:2811] disconnected.
2026-03-17T14:15:01.903373Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617085:2811] disconnected; active server actors: 1
2026-03-17T14:15:01.903375Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617085:2811] disconnected no session
2026-03-17T14:15:01.905505Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907617067:2811] (SourceId=sid_rand_70, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.905516Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907617067:2811] (SourceId=sid_rand_70, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2026-03-17T14:15:01.905519Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907617067:2811] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.905526Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 81 sessionId:  partition: 9 expectedGeneration: (NULL)
2026-03-17T14:15:01.905771Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.905840Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_70|859a4886-c2fcefc2-ce3f553a-ccbec73d_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_70
2026-03-17T14:15:01.906083Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 81 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_70|859a4886-c2fcefc2-ce3f553a-ccbec73d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_70|859a4886-c2fcefc2-ce3f553a-ccbec73d_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.906651Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId: sid_rand_70|859a4886-c2fcefc2-ce3f553a-ccbec73d_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.906661Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 81 sessionId: sid_rand_70|859a4886-c2fcefc2-ce3f553a-ccbec73d_0 grpc read failed
2026-03-17T14:15:01.906669Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 81 sessionId: sid_rand_70|859a4886-c2fcefc2-ce3f553a-ccbec73d_0 grpc closed
2026-03-17T14:15:01.906673Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 81 sessionId: sid_rand_70|859a4886-c2fcefc2-ce3f553a-ccbec73d_0 is DEAD
2026-03-17T14:15:01.906780Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.906999Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.907012Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 82
2026-03-17T14:15:01.907127Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_71" }
2026-03-17T14:15:01.907149Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 82 topic: "topic1" message_group_id: "sid_rand_71" from ipv6:[::1]:38314
2026-03-17T14:15:01.907157Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=82 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.907159Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.907538Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 82 sessionId:  describe result for acl check
2026-03-17T14:15:01.907572Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.907578Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.907579Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.907583Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907617104:2815] (SourceId=sid_rand_71, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.907669Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907617104:2815] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.909272Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907617104:2815] (SourceId=sid_rand_71, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.909342Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617119:2815] connected; active server actors: 1
2026-03-17T14:15:01.909358Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907617104:2815] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_71
2026-03-17T14:15:01.909362Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907617104:2815] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.909415Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617119:2815] disconnected.
2026-03-17T14:15:01.909424Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617119:2815] disconnected; active server actors: 1
2026-03-17T14:15:01.909426Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617119:2815] disconnected no session
2026-03-17T14:15:01.911672Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907617104:2815] (SourceId=sid_rand_71, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.911684Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907617104:2815] (SourceId=sid_rand_71, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2026-03-17T14:15:01.911688Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907617104:2815] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.911697Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 82 sessionId:  partition: 10 expectedGeneration: (NULL)
2026-03-17T14:15:01.911960Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.912026Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_71|1c93ed10-4b1a805b-f273fe5b-8d9b71d8_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_71
2026-03-17T14:15:01.912299Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 82 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_71|1c93ed10-4b1a805b-f273fe5b-8d9b71d8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_71|1c93ed10-4b1a805b-f273fe5b-8d9b71d8_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.912879Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId: sid_rand_71|1c93ed10-4b1a805b-f273fe5b-8d9b71d8_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.912889Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 82 sessionId: sid_rand_71|1c93ed10-4b1a805b-f273fe5b-8d9b71d8_0 grpc read failed
2026-03-17T14:15:01.912894Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 82 sessionId: sid_rand_71|1c93ed10-4b1a805b-f273fe5b-8d9b71d8_0 grpc closed
2026-03-17T14:15:01.912899Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 82 sessionId: sid_rand_71|1c93ed10-4b1a805b-f273fe5b-8d9b71d8_0 is DEAD
2026-03-17T14:15:01.913018Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.913076Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.913084Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 83
2026-03-17T14:15:01.913214Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_72" }
2026-03-17T14:15:01.913240Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 83 topic: "topic1" message_group_id: "sid_rand_72" from ipv6:[::1]:38314
2026-03-17T14:15:01.913251Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=83 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.913254Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.913622Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 83 sessionId:  describe result for acl check
2026-03-17T14:15:01.913653Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.913660Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.913662Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.913666Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907617138:2819] (SourceId=sid_rand_72, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.913764Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907617138:2819] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.915535Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907617138:2819] (SourceId=sid_rand_72, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.915615Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617153:2819] connected; active server actors: 1
2026-03-17T14:15:01.915630Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907617138:2819] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_72
2026-03-17T14:15:01.915634Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907617138:2819] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.915680Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617153:2819] disconnected.
2026-03-17T14:15:01.915688Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617153:2819] disconnected; active server actors: 1
2026-03-17T14:15:01.915692Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617153:2819] disconnected no session
2026-03-17T14:15:01.917899Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907617138:2819] (SourceId=sid_rand_72, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.917910Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907617138:2819] (SourceId=sid_rand_72, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2026-03-17T14:15:01.917913Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907617138:2819] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.917918Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 83 sessionId:  partition: 9 expectedGeneration: (NULL)
2026-03-17T14:15:01.918157Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 16, Generation: 1
2026-03-17T14:15:01.918242Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_72|3ae07575-7d5407b7-ba30fa69-2fcfe4f6_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_72
2026-03-17T14:15:01.918566Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 83 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_72|3ae07575-7d5407b7-ba30fa69-2fcfe4f6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_72|3ae07575-7d5407b7-ba30fa69-2fcfe4f6_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.919093Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId: sid_rand_72|3ae07575-7d5407b7-ba30fa69-2fcfe4f6_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.919103Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 83 sessionId: sid_rand_72|3ae07575-7d5407b7-ba30fa69-2fcfe4f6_0 grpc read failed
2026-03-17T14:15:01.919109Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 83 sessionId: sid_rand_72|3ae07575-7d5407b7-ba30fa69-2fcfe4f6_0 grpc closed
2026-03-17T14:15:01.919112Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 83 sessionId: sid_rand_72|3ae07575-7d5407b7-ba30fa69-2fcfe4f6_0 is DEAD
2026-03-17T14:15:01.919286Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.919295Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 84
2026-03-17T14:15:01.919297Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.919405Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_73" }
2026-03-17T14:15:01.919438Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 84 topic: "topic1" message_group_id: "sid_rand_73" from ipv6:[::1]:38314
2026-03-17T14:15:01.919448Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=84 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.919455Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.919763Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 84 sessionId:  describe result for acl check
2026-03-17T14:15:01.919788Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.919793Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.919795Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.919798Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907617172:2823] (SourceId=sid_rand_73, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.919907Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907617172:2823] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.921635Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907617172:2823] (SourceId=sid_rand_73, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.921720Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617187:2823] connected; active server actors: 1
2026-03-17T14:15:01.921738Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907617172:2823] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_73
2026-03-17T14:15:01.921747Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907617172:2823] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.921796Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617187:2823] disconnected.
2026-03-17T14:15:01.921804Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617187:2823] disconnected; active server actors: 1
2026-03-17T14:15:01.921807Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617187:2823] disconnected no session
2026-03-17T14:15:01.923983Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907617172:2823] (SourceId=sid_rand_73, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.924008Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907617172:2823] (SourceId=sid_rand_73, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2026-03-17T14:15:01.924012Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907617172:2823] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.924019Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 84 sessionId:  partition: 10 expectedGeneration: (NULL)
2026-03-17T14:15:01.924285Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.924393Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_73|cad6d473-eae70e69-88fee46f-93529aab_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_73
2026-03-17T14:15:01.924744Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 84 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_73|cad6d473-eae70e69-88fee46f-93529aab_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_73|cad6d473-eae70e69-88fee46f-93529aab_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2026-03-17T14:15:01.925332Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId: sid_rand_73|cad6d473-eae70e69-88fee46f-93529aab_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.925345Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 84 sessionId: sid_rand_73|cad6d473-eae70e69-88fee46f-93529aab_0 grpc read failed
2026-03-17T14:15:01.925349Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 84 sessionId: sid_rand_73|cad6d473-eae70e69-88fee46f-93529aab_0 grpc closed
2026-03-17T14:15:01.925354Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 84 sessionId: sid_rand_73|cad6d473-eae70e69-88fee46f-93529aab_0 is DEAD
2026-03-17T14:15:01.925477Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2026-03-17T14:15:01.925488Z node 15 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 85
2026-03-17T14:15:01.925568Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_74" }
2026-03-17T14:15:01.925580Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2026-03-17T14:15:01.925596Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:460: session request cookie: 85 topic: "topic1" message_group_id: "sid_rand_74" from ipv6:[::1]:38314
2026-03-17T14:15:01.925606Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1542: write session:  cookie=85 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38314 proto=v1 user=- topic=Topic topic1 in dc dc1 durationSec=0
2026-03-17T14:15:01.925611Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:584: init check schema
2026-03-17T14:15:01.925942Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:645: session v1 cookie: 85 sessionId:  describe result for acl check
2026-03-17T14:15:01.925969Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2026-03-17T14:15:01.925979Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2026-03-17T14:15:01.925981Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2026-03-17T14:15:01.925985Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [15:7618227883907617206:2827] (SourceId=sid_rand_74, PreferedPartition=(NULL)) StartKqpSession
2026-03-17T14:15:01.926083Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [15:7618227883907617206:2827] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Select from the table
2026-03-17T14:15:01.927791Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [15:7618227883907617206:2827] (SourceId=sid_rand_74, PreferedPartition=(NULL)) RequestPQRB
2026-03-17T14:15:01.927862Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1669: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617221:2827] connected; active server actors: 1
2026-03-17T14:15:01.927886Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [15:7618227883907617206:2827] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_74
2026-03-17T14:15:01.927895Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [15:7618227883907617206:2827] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Update the table
2026-03-17T14:15:01.927954Z node 15 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1673: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617221:2827] disconnected.
2026-03-17T14:15:01.927962Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1684: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617221:2827] disconnected; active server actors: 1
2026-03-17T14:15:01.927965Z node 15 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1709: [72075186224037894][rt3.dc1--topic1] pipe [15:7618227883907617221:2827] disconnected no session
2026-03-17T14:15:01.930837Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [15:7618227883907617206:2827] (SourceId=sid_rand_74, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2026-03-17T14:15:01.930852Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [15:7618227883907617206:2827] (SourceId=sid_rand_74, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2026-03-17T14:15:01.930856Z node 15 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [15:7618227883907617206:2827] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Start idle
2026-03-17T14:15:01.930870Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:707: ProceedPartition. session cookie: 85 sessionId:  partition: 11 expectedGeneration: (NULL)
2026-03-17T14:15:01.931148Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:839: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 16, Generation: 1
2026-03-17T14:15:01.931266Z node 16 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_74|5bd48f55-627f2b00-881f5e45-252e478_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_74
2026-03-17T14:15:01.931695Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:884: session inited cookie: 85 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_74|5bd48f55-627f2b00-881f5e45-252e478_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_74|5bd48f55-627f2b00-881f5e45-252e478_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
Round robin check: 0:5
Round robin check: 1:5
Round robin check: 2:4
Round robin check: 3:4
Round robin check: 4:4
Round robin check: 5:5
Round robin check: 6:5
Round robin check: 7:5
Round robin check: 8:5
Round robin check: 9:6
Round robin check: 10:6
Round robin check: 11:6
Round robin check: 12:5
Round robin check: 13:5
Round robin check: 14:5
2026-03-17T14:15:01.932400Z node 15 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId: sid_rand_74|5bd48f55-627f2b00-881f5e45-252e478_0 grpc read done: success: 0 data: 
2026-03-17T14:15:01.932413Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 85 sessionId: sid_rand_74|5bd48f55-627f2b00-881f5e45-252e478_0 grpc read failed
2026-03-17T14:15:01.932420Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 85 sessionId: sid_rand_74|5bd48f55-627f2b00-881f5e45-252e478_0 grpc closed
2026-03-17T14:15:01.932426Z node 15 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 85 sessionId: sid_rand_74|5bd48f55-627f2b00-881f5e45-252e478_0 is DEAD
2026-03-17T14:15:01.932566Z node 15 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
