2025-10-15T15:40:16.862908Z node 17 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[17:7561473821489945158:2069];send_to=[0:7307199536658146131:7762515];
2025-10-15T15:40:16.862979Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2025-10-15T15:40:16.985699Z node 18 :BS_NODE WARN: {NWDC01@distconf.cpp:397} StateFunc too long Type# 268639248 Duration# 0.005022s
2025-10-15T15:40:17.022085Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:123: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, got undelivered to scheme cache: ActorUnknown
2025-10-15T15:40:17.022288Z node 17 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/w2kl/00202f/r3tmp/tmptdoeDK/pdisk_1.dat
2025-10-15T15:40:17.096224Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-10-15T15:40:17.115592Z node 18 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-10-15T15:40:17.116334Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=incorrect path status: LookupError;
2025-10-15T15:40:17.117674Z node 18 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-10-15T15:40:17.317830Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-10-15T15:40:17.338301Z node 18 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-10-15T15:40:17.453988Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-10-15T15:40:17.458957Z node 17 :CONFIGS_DISPATCHER ERROR: configs_dispatcher.cpp:1229: Notification cookie mismatch for subscription [17:7561473821489945119:2082] 1760542816855554 != 1760542816855557
2025-10-15T15:40:17.490188Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-15T15:40:17.490353Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-15T15:40:17.491880Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-15T15:40:17.491984Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-15T15:40:17.497955Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-10-15T15:40:17.504463Z node 17 :HIVE WARN: hive_impl.cpp:811: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 18 Cookie 18
2025-10-15T15:40:17.505645Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 3915, node 17
2025-10-15T15:40:17.706076Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:190: distributable config is empty, broken or outdated, will use file: /home/runner/.ya/build/build_root/w2kl/00202f/r3tmp/yandexOrKzY2.tmp
2025-10-15T15:40:17.706114Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/w2kl/00202f/r3tmp/yandexOrKzY2.tmp
2025-10-15T15:40:17.706284Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/w2kl/00202f/r3tmp/yandexOrKzY2.tmp
2025-10-15T15:40:17.706489Z node 17 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-10-15T15:40:17.749582Z node 18 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2025-10-15T15:40:17.791119Z INFO: TTestServer started on Port 29789 GrpcPort 3915
2025-10-15T15:40:17.889194Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2025-10-15T15:40:17.968868Z node 17 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-10-15T15:40:18.065232Z node 18 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
TClient is connected to server localhost:29789
PQClient connected to localhost:3915
WaitRootIsUp 'Root'...
TClient::Ls request: Root
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "Root"
    PathId: 1
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 1
    CreateStep: 0
    ParentPathId: 1
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 1
      SubDomainVersion: 0
      SecurityStateVersion: 0
    }
    ChildrenExist: false
  }
  Children {
    Name: ".sys"
    PathId: 18446744073709551615
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 0
    CreateStep: 0
    ParentPathId: 18446744073709551615
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 0
      Pl...
(TRUNCATED)
WaitRootIsUp 'Root' success.
2025-10-15T15:40:18.267432Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976715657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
waiting...
waiting...
2025-10-15T15:40:18.348754Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715659:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:684)
waiting...
waiting...
waiting...
2025-10-15T15:40:21.863891Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[17:7561473821489945158:2069];send_to=[0:7307199536658146131:7762515];
2025-10-15T15:40:21.864008Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
2025-10-15T15:40:23.908509Z node 17 :KQP_PROXY ERROR: kqp_proxy_service.cpp:1316: TraceId: "01k7m8f09q2ct86p7yh1gybbyj", Request deadline has expired for 0.305376s seconds
2025-10-15T15:40:23.914577Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7561473851554717384:2337], 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 }
2025-10-15T15:40:23.914680Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7561473851554717410:2341], 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 }
2025-10-15T15:40:23.914887Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [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 }
2025-10-15T15:40:23.917982Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7561473851554717415:2343], 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 }
2025-10-15T15:40:23.918086Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [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 }
2025-10-15T15:40:23.920269Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateResourcePool, opId: 281474976715662:3, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:179)
2025-10-15T15:40:23.980089Z node 17 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [17:7561473851554717414:2342], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976715662 completed, doublechecking }
2025-10-15T15:40:23.996711Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715663:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:684)
2025-10-15T15:40:24.079252Z node 17 :TX_PROXY ERROR: schemereq.cpp:590: Actor# [17:7561473855849684909:2856] txid# 281474976715664, issues: { message: "Check failed: path: \'/Root/.metadata/workload_manager/pools/default\', error: path exist, request accepts it (id: [OwnerId: 72057594046644480, LocalPathId: 9], type: EPathTypeResourcePool, state: EPathStateNoChanges)" severity: 1 }
2025-10-15T15:40:24.144035Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715665:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:684)
2025-10-15T15:40:24.163774Z node 18 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:570: Compilation failed, self: [18:7561473853402664533:2311], 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
2025-10-15T15:40:24.166198Z node 18 :KQP_SESSION WARN: kqp_session_actor.cpp:2408: SessionId: ydb://session/3?node_id=18&id=Y2VjODhiMDEtNzk5OWVkNzEtM2Q5NTcxNjYtMjU4MWRjZTM=, ActorId: [18:7561473853402664493:2304], ActorState: ExecuteState, TraceId: 01k7m8f5ks403jhvvz9zm2aemy, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-10-15T15:40:24.166802Z node 18 :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 { } } YdbStatus: SCHEME_ERROR ConsumedRu: 1 }
2025-10-15T15:40:24.388430Z node 17 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:570: Compilation failed, self: [17:7561473855849684929:2357], 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
2025-10-15T15:40:24.389491Z node 17 :KQP_SESSION WARN: kqp_session_actor.cpp:2408: SessionId: ydb://session/3?node_id=17&id=NjUzZTJlOTgtMjEwNzQxZjAtOTVkYzMyMjQtN2MyZTU3ODQ=, ActorId: [17:7561473851554717381:2335], ActorState: ExecuteState, TraceId: 01k7m8f5f5e6n3xk6wwxbvds1g, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-10-15T15:40:24.390077Z node 17 :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 { } } YdbStatus: SCHEME_ERROR ConsumedRu: 1 }
2025-10-15T15:40:24.465801Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715666:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:684)
=== 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);
2025-10-15T15:40:25.106921Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976715667. Ctx: { TraceId: 01k7m8f68r1ex7jqmd3hnhnj05, Database: , SessionId: ydb://session/3?node_id=17&id=OTZhMzcyN2ItNzBiZDc5YS0xNGVmZjgzYi0yM2I1Nzc2, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [17:7561473860144652570:3131] 
=== CheckClustersList. Ok
PQ Client: create topic: rt3.dc1--topic1 with 10 partitions
CallPersQueueGRPC request to localhost:3915
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-15T15:40:31.604869Z node 17 :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:3915
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: 281474976715672
  SchemeShardTabletId: 72057594046644480
  PathId: 13
}
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
2025-10-15T15:40:31.684270Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:908: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-15T15:40:31.684354Z node 17 :PERSQUEUE INFO: pq_impl.cpp:609: [PQ: 72075186224037893] doesn't have tx writes info
2025-10-15T15:40:31.693424Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][] pipe [17:7561473885914456798:3404] connected; active server actors: 1
2025-10-15T15:40:31.699644Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1517: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [3, 0, 1, 6, 8, 9, 2, 5, 7, 4]
2025-10-15T15:40:31.701342Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:940: [72075186224037894][rt3.dc1--topic1] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037894
2025-10-15T15:40:31.709343Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:138: [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) 
2025-10-15T15:40:31.709449Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:402: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037893, NodeId 17, Generation 1
2025-10-15T15:40:31.710041Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:908: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-15T15:40:31.710094Z node 18 :PERSQUEUE INFO: pq_impl.cpp:609: [PQ: 72075186224037892] doesn't have tx writes info
2025-10-15T15:40:31.710876Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:402: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037892, NodeId 18, Generation 1
2025-10-15T15:40:31.746234Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][9][StateInit] bootstrapping 9 [17:7561473885914456898:2467]
2025-10-15T15:40:31.747466Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][3][StateInit] bootstrapping 3 [18:7561473883467435883:2362]
2025-10-15T15:40:31.751556Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037892][Partition][3][StateInit] init complete for topic 'rt3.dc1--topic1' partition 3 generation 1 [18:7561473883467435883:2362]
2025-10-15T15:40:31.751852Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037893][Partition][9][StateInit] init complete for topic 'rt3.dc1--topic1' partition 9 generation 1 [17:7561473885914456898:2467]
2025-10-15T15:40:31.753990Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [18:7561473883467435884:2362]
2025-10-15T15:40:31.757071Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037892][Partition][0][StateInit] init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [18:7561473883467435884:2362]
2025-10-15T15:40:31.754751Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][2][StateInit] bootstrapping 2 [17:7561473885914456899:2467]
2025-10-15T15:40:31.759549Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][1][StateInit] bootstrapping 1 [18:7561473883467435885:2362]
2025-10-15T15:40:31.759379Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037893][Partition][2][StateInit] init complete for topic 'rt3.dc1--topic1' partition 2 generation 1 [17:7561473885914456899:2467]
2025-10-15T15:40:31.762896Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037892][Partition][1][StateInit] init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [18:7561473883467435885:2362]
2025-10-15T15:40:31.761788Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][5][StateInit] bootstrapping 5 [17:7561473885914456900:2467]
2025-10-15T15:40:31.765288Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][6][StateInit] bootstrapping 6 [18:7561473883467435886:2362]
2025-10-15T15:40:31.765447Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037893][Partition][5][StateInit] init complete for topic 'rt3.dc1--topic1' partition 5 generation 1 [17:7561473885914456900:2467]
2025-10-15T15:40:31.768258Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037892][Partition][6][StateInit] init complete for topic 'rt3.dc1--topic1' partition 6 generation 1 [18:7561473883467435886:2362]
2025-10-15T15:40:31.767594Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][7][StateInit] bootstrapping 7 [17:7561473885914456901:2467]
2025-10-15T15:40:31.770428Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][8][StateInit] bootstrapping 8 [18:7561473883467435887:2362]
2025-10-15T15:40:31.770642Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037893][Partition][7][StateInit] init complete for topic 'rt3.dc1--topic1' partition 7 generation 1 [17:7561473885914456901:2467]
2025-10-15T15:40:31.772721Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][4][StateInit] bootstrapping 4 [17:7561473885914456902:2467]
2025-10-15T15:40:31.773483Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037892][Partition][8][StateInit] init complete for topic 'rt3.dc1--topic1' partition 8 generation 1 [18:7561473883467435887:2362]
2025-10-15T15:40:31.775986Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037893][Partition][4][StateInit] init complete for topic 'rt3.dc1--topic1' partition 4 generation 1 [17:7561473885914456902:2467]
2025-10-15T15:40:31.801953Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:908: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-15T15:40:31.804995Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:908: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-15T15:40:31.866775Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976715673. Ctx: { TraceId: 01k7m8fd289tpwa2jbdkvf8sg0, Database: , SessionId: ydb://session/3?node_id=17&id=NTdkY2ZlMjUtZjllMGUzNzktZjU3OTc0ODYtNDcxNTBhNTE=, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
===Query complete
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715672
    CreateStep: 1760542831775
    ParentPathId: 2
    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: 13
    TotalGroupCount: 10
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 60000...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715672
    CreateStep: 1760542831775
    ParentPathId: 2
    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: 13
    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: 12
    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:3915
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
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
2025-10-15T15:40:31.953952Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
2025-10-15T15:40:31.960972Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:31.961023Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-10-15T15:40:31.961671Z node 17 :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" }
2025-10-15T15:40:31.961860Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:38468
2025-10-15T15:40:31.961886Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:31.961905Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:31.964540Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-10-15T15:40:31.964731Z node 17 :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;
2025-10-15T15:40:31.964748Z node 17 :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);
2025-10-15T15:40:31.964765Z node 17 :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;
2025-10-15T15:40:31.964791Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473885914457033:2488] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:31.970233Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473885914457033:2488] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:32.251983Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473885914457033:2488] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:32.253291Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473890209424372:2488] connected; active server actors: 1
2025-10-15T15:40:32.254411Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473890209424372:2488] disconnected.
2025-10-15T15:40:32.254441Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473890209424372:2488] disconnected; active server actors: 1
2025-10-15T15:40:32.254465Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473890209424372:2488] disconnected no session
2025-10-15T15:40:32.253849Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473885914457033:2488] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=12345678
2025-10-15T15:40:32.253880Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473885914457033:2488] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:32.411241Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard_impl.cpp:7721: Cannot get console configs
2025-10-15T15:40:32.411277Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-10-15T15:40:32.436390Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473885914457033:2488] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:32.436459Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473885914457033:2488] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-15T15:40:32.436495Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473885914457033:2488] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:32.436548Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-15T15:40:32.439274Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:32.439424Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 12345678|4d85f8b5-96ebd942-945dc459-d5e43376_0 generated for partition 7 topic 'rt3.dc1--topic1' owner 12345678
2025-10-15T15:40:32.440035Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 7 MaxSeqNo: 0 sessionId: 12345678|4d85f8b5-96ebd942-945dc459-d5e43376_0
2025-10-15T15:40:32.445764Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: 12345678|4d85f8b5-96ebd942-945dc459-d5e43376_0 grpc read done: success: 0 data: 
2025-10-15T15:40:32.445797Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: 12345678|4d85f8b5-96ebd942-945dc459-d5e43376_0 grpc read failed
2025-10-15T15:40:32.446042Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 1 sessionId: 12345678|4d85f8b5-96ebd942-945dc459-d5e43376_0
2025-10-15T15:40:32.446087Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: 12345678|4d85f8b5-96ebd942-945dc459-d5e43376_0 is DEAD
2025-10-15T15:40:32.446549Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
Finish: 0 
2025-10-15T15:40:32.456339Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:32.456394Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-10-15T15:40:32.461924Z node 17 :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" } }
2025-10-15T15:40:32.462215Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 2 topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } from ipv6:[::1]:38468
2025-10-15T15:40:32.462252Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:32.462265Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:32.464757Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-10-15T15:40:32.464949Z node 17 :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;
2025-10-15T15:40:32.464970Z node 17 :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);
2025-10-15T15:40:32.464987Z node 17 :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;
2025-10-15T15:40:32.465011Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473890209424399:2498] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:32.470016Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473890209424399:2498] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:32.486338Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473890209424399:2498] (SourceId=source, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:32.487668Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473890209424420:2498] connected; active server actors: 1
2025-10-15T15:40:32.488279Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473890209424399:2498] (SourceId=source, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=source
2025-10-15T15:40:32.488319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473890209424399:2498] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:32.489741Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473890209424420:2498] disconnected.
2025-10-15T15:40:32.489794Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473890209424420:2498] disconnected; active server actors: 1
2025-10-15T15:40:32.489821Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473890209424420:2498] disconnected no session
2025-10-15T15:40:32.503875Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473890209424399:2498] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:32.503960Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473890209424399:2498] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-15T15:40:32.504001Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473890209424399:2498] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:32.504051Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-15T15:40:32.506013Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:32.506502Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|2d67e9-5b1c8c8c-dda2b4a1-fa536def_0 generated for partition 8 topic 'rt3.dc1--topic1' owner source
2025-10-15T15:40:32.508070Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 8 MaxSeqNo: 0 sessionId: source|2d67e9-5b1c8c8c-dda2b4a1-fa536def_0
request: { write_request { sequence_numbers: 2 created_at_ms: 1760542832509 sent_at_ms: 1760542832509 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-10-15T15:40:32.510433Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|2d67e9-5b1c8c8c-dda2b4a1-fa536def_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:40:32.510820Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:40:32.513136Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-15T15:40:32.610927Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 3 created_at_ms: 1760542832613 sent_at_ms: 1760542832613 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-10-15T15:40:32.614257Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|2d67e9-5b1c8c8c-dda2b4a1-fa536def_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:40:32.614610Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:40:32.615848Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-15T15:40:32.622611Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 4 created_at_ms: 1760542832625 sent_at_ms: 1760542832625 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-10-15T15:40:32.626028Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|2d67e9-5b1c8c8c-dda2b4a1-fa536def_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:40:32.626353Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:40:32.627110Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-15T15:40:32.633849Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 5 created_at_ms: 1760542832637 sent_at_ms: 1760542832637 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-10-15T15:40:32.638413Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|2d67e9-5b1c8c8c-dda2b4a1-fa536def_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:40:32.638712Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:40:32.639590Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-15T15:40:32.739617Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-15T15:40:32.741986Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|2d67e9-5b1c8c8c-dda2b4a1-fa536def_0 grpc read done: success: 0 data: 
2025-10-15T15:40:32.742014Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: source|2d67e9-5b1c8c8c-dda2b4a1-fa536def_0 grpc read failed
2025-10-15T15:40:32.742194Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 2 sessionId: source|2d67e9-5b1c8c8c-dda2b4a1-fa536def_0
2025-10-15T15:40:32.742220Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: source|2d67e9-5b1c8c8c-dda2b4a1-fa536def_0 is DEAD
2025-10-15T15:40:32.742700Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
1 0 
CallPersQueueGRPC request to localhost:3915
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
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:3915
MetaRequest {
  CmdChangeTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 15
  }
}
2025-10-15T15:40:32.748768Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
2025-10-15T15:40:32.754864Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterPersQueueGroup, opId: 281474976715678:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_pq.cpp:313)
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976715678
  SchemeShardTabletId: 72057594046644480
}
ErrorCode: OK
Alter got 1
2025-10-15T15:40:32.791640Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1517: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [11, 13, 14, 12, 10]
2025-10-15T15:40:32.848377Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:908: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-15T15:40:32.848463Z node 17 :PERSQUEUE INFO: pq_impl.cpp:609: [PQ: 72075186224037895] doesn't have tx writes info
2025-10-15T15:40:32.941454Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976715679. Ctx: { TraceId: 01k7m8fe5mcxn229fjy6wet6x1, Database: , SessionId: ydb://session/3?node_id=17&id=MjU3YzcyYjctZTFjMmFkYjYtODYxYTA1NDItNjdjYjk2NTk=, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
CallPersQueueGRPC request to localhost:3915
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-15T15:40:32.964335Z node 17 :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
Alter1 got 1
2025-10-15T15:40:32.995471Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][11][StateInit] bootstrapping 11 [17:7561473890209424638:2514]
2025-10-15T15:40:33.000917Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037895][Partition][11][StateInit] init complete for topic 'rt3.dc1--topic1' partition 11 generation 1 [17:7561473890209424638:2514]
2025-10-15T15:40:33.004127Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][13][StateInit] bootstrapping 13 [17:7561473890209424641:2514]
2025-10-15T15:40:33.007167Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037895][Partition][13][StateInit] init complete for topic 'rt3.dc1--topic1' partition 13 generation 1 [17:7561473890209424641:2514]
2025-10-15T15:40:33.009435Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][14][StateInit] bootstrapping 14 [17:7561473890209424642:2514]
2025-10-15T15:40:33.012459Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037895][Partition][14][StateInit] init complete for topic 'rt3.dc1--topic1' partition 14 generation 1 [17:7561473890209424642:2514]
2025-10-15T15:40:33.014877Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][12][StateInit] bootstrapping 12 [17:7561473890209424645:2514]
2025-10-15T15:40:33.017712Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037895][Partition][12][StateInit] init complete for topic 'rt3.dc1--topic1' partition 12 generation 1 [17:7561473890209424645:2514]
2025-10-15T15:40:33.018623Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:908: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-15T15:40:33.020145Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][10][StateInit] bootstrapping 10 [17:7561473890209424647:2514]
2025-10-15T15:40:33.022962Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037895][Partition][10][StateInit] init complete for topic 'rt3.dc1--topic1' partition 10 generation 1 [17:7561473890209424647:2514]
2025-10-15T15:40:33.046169Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:908: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-15T15:40:33.060569Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:908: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
CallPersQueueGRPC request to localhost:3915
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-15T15:40:33.477795Z node 17 :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
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715672
    CreateStep: 1760542831775
    ParentPathId: 2
    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: 13
    TotalGroupCount: 15
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 60000...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715672
    CreateStep: 1760542831775
    ParentPathId: 2
    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: 13
    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: 12
    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
2025-10-15T15:40:33.496283Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:33.496318Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-10-15T15:40:33.496943Z node 17 :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" } }
2025-10-15T15:40:33.497169Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 3 topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } from ipv6:[::1]:38468
2025-10-15T15:40:33.497193Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:33.497206Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:33.499120Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-10-15T15:40:33.499282Z node 17 :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;
2025-10-15T15:40:33.499297Z node 17 :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);
2025-10-15T15:40:33.499312Z node 17 :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;
2025-10-15T15:40:33.499334Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473894504392114:2539] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:33.504048Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473894504392114:2539] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:33.513023Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473894504392114:2539] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:33.535888Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473894504392114:2539] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:33.535943Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473894504392114:2539] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=0
2025-10-15T15:40:33.535970Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473894504392114:2539] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:33.536010Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-15T15:40:33.537407Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:33.538746Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 8 MaxSeqNo: 5 sessionId: source|28a46343-c35cba4c-5590dd31-b118b725_0
request: { write_request { sequence_numbers: 6 created_at_ms: 1760542833539 sent_at_ms: 1760542833539 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-10-15T15:40:33.540102Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|28a46343-c35cba4c-5590dd31-b118b725_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:40:33.540340Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:40:33.540907Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-15T15:40:33.537805Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|28a46343-c35cba4c-5590dd31-b118b725_0 generated for partition 8 topic 'rt3.dc1--topic1' owner source
2025-10-15T15:40:33.554285Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 7 created_at_ms: 1760542833555 sent_at_ms: 1760542833555 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-10-15T15:40:33.557886Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|28a46343-c35cba4c-5590dd31-b118b725_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:40:33.558193Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:40:33.561682Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-15T15:40:33.658036Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 8 created_at_ms: 1760542833661 sent_at_ms: 1760542833661 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-10-15T15:40:33.665570Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|28a46343-c35cba4c-5590dd31-b118b725_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:40:33.665902Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:40:33.667349Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-15T15:40:33.679167Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 9 created_at_ms: 1760542833681 sent_at_ms: 1760542833681 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-10-15T15:40:33.682448Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|28a46343-c35cba4c-5590dd31-b118b725_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:40:33.682765Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:40:33.684309Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-15T15:40:33.690784Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
1 0 
2025-10-15T15:40:33.695952Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|28a46343-c35cba4c-5590dd31-b118b725_0 grpc read done: success: 0 data: 
2025-10-15T15:40:33.695980Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: source|28a46343-c35cba4c-5590dd31-b118b725_0 grpc read failed
2025-10-15T15:40:33.696169Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 3 sessionId: source|28a46343-c35cba4c-5590dd31-b118b725_0
2025-10-15T15:40:33.696193Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: source|28a46343-c35cba4c-5590dd31-b118b725_0 is DEAD
2025-10-15T15:40:33.696615Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:33.698025Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:33.698049Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 4
2025-10-15T15:40:33.698497Z node 17 :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" } }
2025-10-15T15:40:33.698676Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 4 topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } from ipv6:[::1]:38468
2025-10-15T15:40:33.698697Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:33.698708Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:33.700651Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 4 sessionId:  describe result for acl check
2025-10-15T15:40:33.700800Z node 17 :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;
2025-10-15T15:40:33.700814Z node 17 :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);
2025-10-15T15:40:33.700828Z node 17 :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;
2025-10-15T15:40:33.700851Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473894504392159:2543] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:33.704985Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473894504392159:2543] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:33.715878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473894504392159:2543] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:33.727490Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473894504392159:2543] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:33.727536Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473894504392159:2543] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=0
2025-10-15T15:40:33.727565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473894504392159:2543] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:33.727606Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 4 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-15T15:40:33.729377Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:33.729765Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|b40725ac-8ea05071-e173bc30-9f9e4565_0 generated for partition 8 topic 'rt3.dc1--topic1' owner source
2025-10-15T15:40:33.730690Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 4 partition: 8 MaxSeqNo: 9 sessionId: source|b40725ac-8ea05071-e173bc30-9f9e4565_0
request: { write_request { sequence_numbers: 10 sequence_numbers: 11 sequence_numbers: 12 sequence_numbers: 13 sequence_numbers: 14 created_at_ms: 1760542833732 created_at_ms: 1760542833732 created_at_ms: 1760542833732 created_at_ms: 1760542833732 created_at_ms: 1760542833732 sent_at_ms: 1760542833732 sent_at_ms: 1760542833732 sent_at_ms: 1760542833732 sent_at_ms: 1760542833732 sent_at_ms: 1760542833732 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" } }
2025-10-15T15:40:33.733258Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|b40725ac-8ea05071-e173bc30-9f9e4565_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:40:33.733647Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:40:33.734336Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-15T15:40:33.792057Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 15 sequence_numbers: 16 sequence_numbers: 17 sequence_numbers: 18 sequence_numbers: 19 created_at_ms: 1760542833792 created_at_ms: 1760542833792 created_at_ms: 1760542833792 created_at_ms: 1760542833792 created_at_ms: 1760542833792 sent_at_ms: 1760542833792 sent_at_ms: 1760542833792 sent_at_ms: 1760542833792 sent_at_ms: 1760542833792 sent_at_ms: 1760542833792 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" } }
2025-10-15T15:40:33.793629Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|b40725ac-8ea05071-e173bc30-9f9e4565_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:40:33.793999Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:40:33.794814Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-15T15:40:33.802909Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 20 sequence_numbers: 21 sequence_numbers: 22 sequence_numbers: 23 sequence_numbers: 24 created_at_ms: 1760542833803 created_at_ms: 1760542833803 created_at_ms: 1760542833803 created_at_ms: 1760542833803 created_at_ms: 1760542833803 sent_at_ms: 1760542833803 sent_at_ms: 1760542833803 sent_at_ms: 1760542833803 sent_at_ms: 1760542833803 sent_at_ms: 1760542833803 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" } }
2025-10-15T15:40:33.804611Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|b40725ac-8ea05071-e173bc30-9f9e4565_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:40:33.805012Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:40:33.805742Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-15T15:40:33.813257Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 25 sequence_numbers: 26 sequence_numbers: 27 sequence_numbers: 28 sequence_numbers: 29 created_at_ms: 1760542833813 created_at_ms: 1760542833813 created_at_ms: 1760542833814 created_at_ms: 1760542833814 created_at_ms: 1760542833814 sent_at_ms: 1760542833813 sent_at_ms: 1760542833814 sent_at_ms: 1760542833814 sent_at_ms: 1760542833814 sent_at_ms: 1760542833814 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" } }
2025-10-15T15:40:33.814773Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|b40725ac-8ea05071-e173bc30-9f9e4565_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:40:33.815237Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:40:33.816383Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-15T15:40:33.831459Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-15T15:40:33.834177Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|b40725ac-8ea05071-e173bc30-9f9e4565_0 grpc read done: success: 0 data: 
2025-10-15T15:40:33.834224Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 4 sessionId: source|b40725ac-8ea05071-e173bc30-9f9e4565_0 grpc read failed
2025-10-15T15:40:33.834525Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 4 sessionId: source|b40725ac-8ea05071-e173bc30-9f9e4565_0
2025-10-15T15:40:33.834559Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 4 sessionId: source|b40725ac-8ea05071-e173bc30-9f9e4565_0 is DEAD
2025-10-15T15:40:33.835179Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
1 0 
2025-10-15T15:40:33.841758Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:33.841804Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 5
2025-10-15T15:40:33.845410Z node 17 :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" } }
2025-10-15T15:40:33.845613Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 5 topic: "topic2" message_group_id: "source" session_meta { key: "key" value: "value" } from ipv6:[::1]:38468
2025-10-15T15:40:33.845635Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic2 durationSec=0
2025-10-15T15:40:33.845648Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:33.852366Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:815: session v1 error cookie: 5 reason: no path 'Root/PQ/rt3.dc1--topic2', Marker# PQ15 sessionId: 
2025-10-15T15:40:33.852817Z node 17 :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 } }
2025-10-15T15:40:33.857653Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:33.857685Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 6
2025-10-15T15:40:33.858227Z node 17 :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 }
2025-10-15T15:40:33.858382Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 6 topic: "topic1" message_group_id: "sid1" partition_group_id: 2 from ipv6:[::1]:38468
2025-10-15T15:40:33.858404Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:33.858417Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:33.860350Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 6 sessionId:  describe result for acl check
2025-10-15T15:40:33.860516Z node 17 :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;
2025-10-15T15:40:33.860529Z node 17 :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);
2025-10-15T15:40:33.860543Z node 17 :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;
2025-10-15T15:40:33.860777Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473894504392209:2550] (SourceId=sid1, PreferedPartition=1) StartKqpSession
2025-10-15T15:40:33.864561Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473894504392209:2550] (SourceId=sid1, PreferedPartition=1) Select from the table
2025-10-15T15:40:33.887512Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473894504392209:2550] (SourceId=sid1, PreferedPartition=1) Update the table
2025-10-15T15:40:33.898478Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473894504392209:2550] (SourceId=sid1, PreferedPartition=1) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:33.898525Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473894504392209:2550] (SourceId=sid1, PreferedPartition=1) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-15T15:40:33.898549Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473894504392209:2550] (SourceId=sid1, PreferedPartition=1) Start idle
2025-10-15T15:40:33.898586Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 6 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-15T15:40:33.900771Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:33.901352Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|9e8d463a-cf08e267-7c39f81d-7ae7d38c_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
Init result: { status: SUCCESS init_response { session_id: "sid1|9e8d463a-cf08e267-7c39f81d-7ae7d38c_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:33.903763Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 6 partition: 1 MaxSeqNo: 0 sessionId: sid1|9e8d463a-cf08e267-7c39f81d-7ae7d38c_0
2025-10-15T15:40:33.907501Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId: sid1|9e8d463a-cf08e267-7c39f81d-7ae7d38c_0 grpc read done: success: 0 data: 
2025-10-15T15:40:33.907525Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 6 sessionId: sid1|9e8d463a-cf08e267-7c39f81d-7ae7d38c_0 grpc read failed
2025-10-15T15:40:33.907556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 6 sessionId: sid1|9e8d463a-cf08e267-7c39f81d-7ae7d38c_0 grpc closed
2025-10-15T15:40:33.907578Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 6 sessionId: sid1|9e8d463a-cf08e267-7c39f81d-7ae7d38c_0 is DEAD
2025-10-15T15:40:33.908450Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:33.908569Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:33.908586Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 7
2025-10-15T15:40:33.909683Z node 17 :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" }
2025-10-15T15:40:33.909824Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 7 topic: "topic1" message_group_id: "sid1" from ipv6:[::1]:38468
2025-10-15T15:40:33.909845Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:33.909858Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:33.914335Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 7 sessionId:  describe result for acl check
2025-10-15T15:40:33.914454Z node 17 :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;
2025-10-15T15:40:33.914464Z node 17 :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);
2025-10-15T15:40:33.914474Z node 17 :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;
2025-10-15T15:40:33.914492Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473894504392245:2554] (SourceId=sid1, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:33.917423Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473894504392245:2554] (SourceId=sid1, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:33.939296Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473894504392245:2554] (SourceId=sid1, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:33.975777Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473894504392245:2554] (SourceId=sid1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:33.975826Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473894504392245:2554] (SourceId=sid1, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2025-10-15T15:40:33.975853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473894504392245:2554] (SourceId=sid1, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:33.975891Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-15T15:40:33.981368Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
Init result: { status: SUCCESS init_response { session_id: "sid1|3976f355-e5cef29b-b6bde71-87b3defe_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:33.986085Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: sid1|3976f355-e5cef29b-b6bde71-87b3defe_0
2025-10-15T15:40:33.985113Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|3976f355-e5cef29b-b6bde71-87b3defe_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-10-15T15:40:33.991497Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId: sid1|3976f355-e5cef29b-b6bde71-87b3defe_0 grpc read done: success: 0 data: 
2025-10-15T15:40:33.991514Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 7 sessionId: sid1|3976f355-e5cef29b-b6bde71-87b3defe_0 grpc read failed
2025-10-15T15:40:33.991531Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 7 sessionId: sid1|3976f355-e5cef29b-b6bde71-87b3defe_0 grpc closed
2025-10-15T15:40:33.991547Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 7 sessionId: sid1|3976f355-e5cef29b-b6bde71-87b3defe_0 is DEAD
2025-10-15T15:40:33.992166Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:33.992247Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:33.992258Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 8
2025-10-15T15:40:33.993058Z node 17 :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" }
2025-10-15T15:40:33.993232Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 8 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:38468
2025-10-15T15:40:33.993257Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:33.993269Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:33.994948Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 8 sessionId:  describe result for acl check
2025-10-15T15:40:33.995061Z node 17 :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;
2025-10-15T15:40:33.995070Z node 17 :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);
2025-10-15T15:40:33.995079Z node 17 :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;
2025-10-15T15:40:33.995094Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473894504392283:2560] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:33.998322Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473894504392283:2560] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.007572Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473894504392283:2560] (SourceId=sidx, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.009547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473894504392283:2560] (SourceId=sidx, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sidx
2025-10-15T15:40:34.009574Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473894504392283:2560] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.009375Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359595:2560] connected; active server actors: 1
2025-10-15T15:40:34.013164Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359595:2560] disconnected.
2025-10-15T15:40:34.013193Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359595:2560] disconnected; active server actors: 1
2025-10-15T15:40:34.013214Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359595:2560] disconnected no session
2025-10-15T15:40:34.032372Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473894504392283:2560] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.032430Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473894504392283:2560] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-15T15:40:34.032483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473894504392283:2560] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.032531Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 8 sessionId:  partition: 9 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sidx|aaee0e12-46ee071d-586defbd-b3eb5daa_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.033385Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:34.033618Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|aaee0e12-46ee071d-586defbd-b3eb5daa_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sidx
2025-10-15T15:40:34.034533Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 8 partition: 9 MaxSeqNo: 0 sessionId: sidx|aaee0e12-46ee071d-586defbd-b3eb5daa_0
2025-10-15T15:40:34.037895Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId: sidx|aaee0e12-46ee071d-586defbd-b3eb5daa_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.037925Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 8 sessionId: sidx|aaee0e12-46ee071d-586defbd-b3eb5daa_0 grpc read failed
2025-10-15T15:40:34.037959Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 8 sessionId: sidx|aaee0e12-46ee071d-586defbd-b3eb5daa_0 grpc closed
2025-10-15T15:40:34.037983Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 8 sessionId: sidx|aaee0e12-46ee071d-586defbd-b3eb5daa_0 is DEAD
2025-10-15T15:40:34.038699Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.041469Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.041495Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 9
2025-10-15T15:40:34.042334Z node 17 :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" }
2025-10-15T15:40:34.042447Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 9 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:38468
2025-10-15T15:40:34.042468Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.042481Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.044505Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 9 sessionId:  describe result for acl check
2025-10-15T15:40:34.044700Z node 17 :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;
2025-10-15T15:40:34.044725Z node 17 :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);
2025-10-15T15:40:34.044742Z node 17 :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;
2025-10-15T15:40:34.044779Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799359615:2564] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.049870Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799359615:2564] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.058307Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799359615:2564] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.070907Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799359615:2564] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.070953Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799359615:2564] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=0
2025-10-15T15:40:34.070981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799359615:2564] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.071022Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 9 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-15T15:40:34.072323Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:34.072636Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|6995bef2-583104d9-bedc9d76-b01c552b_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sidx
2025-10-15T15:40:34.073138Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 9 partition: 9 MaxSeqNo: 0 sessionId: sidx|6995bef2-583104d9-bedc9d76-b01c552b_0
Init result: { status: SUCCESS init_response { session_id: "sidx|6995bef2-583104d9-bedc9d76-b01c552b_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.077347Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId: sidx|6995bef2-583104d9-bedc9d76-b01c552b_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.077371Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 9 sessionId: sidx|6995bef2-583104d9-bedc9d76-b01c552b_0 grpc read failed
2025-10-15T15:40:34.077406Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 9 sessionId: sidx|6995bef2-583104d9-bedc9d76-b01c552b_0 grpc closed
2025-10-15T15:40:34.077423Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 9 sessionId: sidx|6995bef2-583104d9-bedc9d76-b01c552b_0 is DEAD
2025-10-15T15:40:34.078147Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.078237Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.078249Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 10
2025-10-15T15:40:34.079082Z node 17 :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 }
2025-10-15T15:40:34.079289Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 10 topic: "topic1" message_group_id: "sid1" partition_group_id: 3 from ipv6:[::1]:38468
2025-10-15T15:40:34.079320Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.079334Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.081434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 10 sessionId:  describe result for acl check
2025-10-15T15:40:34.081606Z node 17 :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;
2025-10-15T15:40:34.081622Z node 17 :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);
2025-10-15T15:40:34.081639Z node 17 :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;
2025-10-15T15:40:34.081663Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799359654:2569] (SourceId=sid1, PreferedPartition=2) StartKqpSession
2025-10-15T15:40:34.087335Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799359654:2569] (SourceId=sid1, PreferedPartition=2) Select from the table
2025-10-15T15:40:34.095756Z node 17 :PQ_PARTITION_CHOOSER INFO: partition_chooser_impl__abstract_chooser_actor.h:312: TPartitionChooser [17:7561473898799359654:2569] (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.
2025-10-15T15:40:34.095851Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:815: 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: 
2025-10-15T15:40:34.096111Z node 17 :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 } }
2025-10-15T15:40:34.097773Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.097800Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 11
2025-10-15T15:40:34.098110Z node 17 :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" }
2025-10-15T15:40:34.098246Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 11 topic: "topic1" message_group_id: "sid_rand_0" from ipv6:[::1]:38468
2025-10-15T15:40:34.098272Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=11 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.098283Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.099877Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 11 sessionId:  describe result for acl check
2025-10-15T15:40:34.100022Z node 17 :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;
2025-10-15T15:40:34.100043Z node 17 :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);
2025-10-15T15:40:34.100056Z node 17 :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;
2025-10-15T15:40:34.100079Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799359676:2573] (SourceId=sid_rand_0, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.103903Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799359676:2573] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.113551Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799359676:2573] (SourceId=sid_rand_0, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.114666Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359695:2573] connected; active server actors: 1
2025-10-15T15:40:34.115306Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799359676:2573] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_0
2025-10-15T15:40:34.115334Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799359676:2573] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.116543Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359695:2573] disconnected.
2025-10-15T15:40:34.116594Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359695:2573] disconnected; active server actors: 1
2025-10-15T15:40:34.116614Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359695:2573] disconnected no session
2025-10-15T15:40:34.124463Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799359676:2573] (SourceId=sid_rand_0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.124515Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799359676:2573] (SourceId=sid_rand_0, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-15T15:40:34.124543Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799359676:2573] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.124586Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 11 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-15T15:40:34.125427Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:34.125671Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_0|f9baf2d5-5ed08215-d94a617d-c1ff6db_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_0
2025-10-15T15:40:34.126496Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 11 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_0|f9baf2d5-5ed08215-d94a617d-c1ff6db_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_0|f9baf2d5-5ed08215-d94a617d-c1ff6db_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.128199Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId: sid_rand_0|f9baf2d5-5ed08215-d94a617d-c1ff6db_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.128225Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 11 sessionId: sid_rand_0|f9baf2d5-5ed08215-d94a617d-c1ff6db_0 grpc read failed
2025-10-15T15:40:34.128625Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 11 sessionId: sid_rand_0|f9baf2d5-5ed08215-d94a617d-c1ff6db_0
2025-10-15T15:40:34.128659Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 11 sessionId: sid_rand_0|f9baf2d5-5ed08215-d94a617d-c1ff6db_0 is DEAD
2025-10-15T15:40:34.129009Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.129313Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.129336Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 12
2025-10-15T15:40:34.129940Z node 17 :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" }
2025-10-15T15:40:34.130074Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 12 topic: "topic1" message_group_id: "sid_rand_1" from ipv6:[::1]:38468
2025-10-15T15:40:34.130094Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=12 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.130104Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.131457Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 12 sessionId:  describe result for acl check
2025-10-15T15:40:34.131585Z node 17 :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;
2025-10-15T15:40:34.131594Z node 17 :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);
2025-10-15T15:40:34.131605Z node 17 :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;
2025-10-15T15:40:34.131619Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799359713:2577] (SourceId=sid_rand_1, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.135564Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799359713:2577] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.144669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799359713:2577] (SourceId=sid_rand_1, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.145262Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359729:2577] connected; active server actors: 1
2025-10-15T15:40:34.145659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799359713:2577] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_1
2025-10-15T15:40:34.145677Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799359713:2577] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.146623Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359729:2577] disconnected.
2025-10-15T15:40:34.146647Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359729:2577] disconnected; active server actors: 1
2025-10-15T15:40:34.146663Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359729:2577] disconnected no session
2025-10-15T15:40:34.159623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799359713:2577] (SourceId=sid_rand_1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.159667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799359713:2577] (SourceId=sid_rand_1, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-15T15:40:34.159692Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799359713:2577] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.159727Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 12 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-15T15:40:34.161677Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:34.161871Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_1|4baf3995-a4256308-fc281cdc-73a5d0a8_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_1
2025-10-15T15:40:34.162351Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 12 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_1|4baf3995-a4256308-fc281cdc-73a5d0a8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_1|4baf3995-a4256308-fc281cdc-73a5d0a8_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.170016Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId: sid_rand_1|4baf3995-a4256308-fc281cdc-73a5d0a8_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.170044Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 12 sessionId: sid_rand_1|4baf3995-a4256308-fc281cdc-73a5d0a8_0 grpc read failed
2025-10-15T15:40:34.170416Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 12 sessionId: sid_rand_1|4baf3995-a4256308-fc281cdc-73a5d0a8_0
2025-10-15T15:40:34.170449Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 12 sessionId: sid_rand_1|4baf3995-a4256308-fc281cdc-73a5d0a8_0 is DEAD
2025-10-15T15:40:34.170793Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.170910Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.170926Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 13
2025-10-15T15:40:34.171300Z node 17 :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" }
2025-10-15T15:40:34.171442Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 13 topic: "topic1" message_group_id: "sid_rand_2" from ipv6:[::1]:38468
2025-10-15T15:40:34.171470Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=13 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.171481Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.173129Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 13 sessionId:  describe result for acl check
2025-10-15T15:40:34.173275Z node 17 :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;
2025-10-15T15:40:34.173294Z node 17 :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);
2025-10-15T15:40:34.173312Z node 17 :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;
2025-10-15T15:40:34.173333Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799359748:2581] (SourceId=sid_rand_2, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.176952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799359748:2581] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.184190Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799359748:2581] (SourceId=sid_rand_2, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.184955Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359767:2581] connected; active server actors: 1
2025-10-15T15:40:34.185492Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799359748:2581] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_2
2025-10-15T15:40:34.185520Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799359748:2581] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.186183Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359767:2581] disconnected.
2025-10-15T15:40:34.186215Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359767:2581] disconnected; active server actors: 1
2025-10-15T15:40:34.186235Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359767:2581] disconnected no session
2025-10-15T15:40:34.197197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799359748:2581] (SourceId=sid_rand_2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.197253Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799359748:2581] (SourceId=sid_rand_2, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-15T15:40:34.197278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799359748:2581] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.197314Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 13 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-15T15:40:34.199057Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:34.199260Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_2|7f9ac55c-a864e2c4-ebcbada0-4ef2e722_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_2
2025-10-15T15:40:34.199905Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 13 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_2|7f9ac55c-a864e2c4-ebcbada0-4ef2e722_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_2|7f9ac55c-a864e2c4-ebcbada0-4ef2e722_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.202803Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId: sid_rand_2|7f9ac55c-a864e2c4-ebcbada0-4ef2e722_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.202829Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 13 sessionId: sid_rand_2|7f9ac55c-a864e2c4-ebcbada0-4ef2e722_0 grpc read failed
2025-10-15T15:40:34.203207Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 13 sessionId: sid_rand_2|7f9ac55c-a864e2c4-ebcbada0-4ef2e722_0
2025-10-15T15:40:34.203238Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 13 sessionId: sid_rand_2|7f9ac55c-a864e2c4-ebcbada0-4ef2e722_0 is DEAD
2025-10-15T15:40:34.203588Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.203946Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.203970Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 14
2025-10-15T15:40:34.204439Z node 17 :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" }
2025-10-15T15:40:34.204584Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 14 topic: "topic1" message_group_id: "sid_rand_3" from ipv6:[::1]:38468
2025-10-15T15:40:34.204604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=14 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.204615Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.206440Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 14 sessionId:  describe result for acl check
2025-10-15T15:40:34.206588Z node 17 :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;
2025-10-15T15:40:34.206606Z node 17 :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);
2025-10-15T15:40:34.206621Z node 17 :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;
2025-10-15T15:40:34.206640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799359785:2585] (SourceId=sid_rand_3, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.210624Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799359785:2585] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.222067Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799359785:2585] (SourceId=sid_rand_3, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.223056Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359801:2585] connected; active server actors: 1
2025-10-15T15:40:34.223570Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799359785:2585] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_3
2025-10-15T15:40:34.223597Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799359785:2585] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.224479Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359801:2585] disconnected.
2025-10-15T15:40:34.224513Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359801:2585] disconnected; active server actors: 1
2025-10-15T15:40:34.224535Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359801:2585] disconnected no session
2025-10-15T15:40:34.233831Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799359785:2585] (SourceId=sid_rand_3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.233875Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799359785:2585] (SourceId=sid_rand_3, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-15T15:40:34.233900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799359785:2585] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.233936Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 14 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-15T15:40:34.235940Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:34.236165Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_3|e9332ea6-3e610232-453ed9d2-2647f693_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_3
2025-10-15T15:40:34.236653Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 14 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_3|e9332ea6-3e610232-453ed9d2-2647f693_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_3|e9332ea6-3e610232-453ed9d2-2647f693_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.239246Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId: sid_rand_3|e9332ea6-3e610232-453ed9d2-2647f693_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.239267Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 14 sessionId: sid_rand_3|e9332ea6-3e610232-453ed9d2-2647f693_0 grpc read failed
2025-10-15T15:40:34.239293Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 14 sessionId: sid_rand_3|e9332ea6-3e610232-453ed9d2-2647f693_0 grpc closed
2025-10-15T15:40:34.239312Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 14 sessionId: sid_rand_3|e9332ea6-3e610232-453ed9d2-2647f693_0 is DEAD
2025-10-15T15:40:34.240117Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.240219Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.240236Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 15
2025-10-15T15:40:34.242461Z node 17 :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" }
2025-10-15T15:40:34.242627Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 15 topic: "topic1" message_group_id: "sid_rand_4" from ipv6:[::1]:38468
2025-10-15T15:40:34.242647Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=15 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.242658Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.244783Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 15 sessionId:  describe result for acl check
2025-10-15T15:40:34.244925Z node 17 :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;
2025-10-15T15:40:34.244938Z node 17 :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);
2025-10-15T15:40:34.244951Z node 17 :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;
2025-10-15T15:40:34.244972Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799359822:2589] (SourceId=sid_rand_4, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.248978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799359822:2589] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.256176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799359822:2589] (SourceId=sid_rand_4, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.257102Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359838:2589] connected; active server actors: 1
2025-10-15T15:40:34.257458Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799359822:2589] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_4
2025-10-15T15:40:34.257484Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799359822:2589] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.258020Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359838:2589] disconnected.
2025-10-15T15:40:34.258056Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359838:2589] disconnected; active server actors: 1
2025-10-15T15:40:34.258078Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359838:2589] disconnected no session
2025-10-15T15:40:34.274044Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799359822:2589] (SourceId=sid_rand_4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.274092Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799359822:2589] (SourceId=sid_rand_4, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-15T15:40:34.274115Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799359822:2589] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.274146Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 15 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-15T15:40:34.275373Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:34.275504Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_4|f7baab3a-3c178d28-9d4d5a78-5010a7fe_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_4
2025-10-15T15:40:34.275915Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 15 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_4|f7baab3a-3c178d28-9d4d5a78-5010a7fe_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_4|f7baab3a-3c178d28-9d4d5a78-5010a7fe_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.277638Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId: sid_rand_4|f7baab3a-3c178d28-9d4d5a78-5010a7fe_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.277662Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 15 sessionId: sid_rand_4|f7baab3a-3c178d28-9d4d5a78-5010a7fe_0 grpc read failed
2025-10-15T15:40:34.277702Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 15 sessionId: sid_rand_4|f7baab3a-3c178d28-9d4d5a78-5010a7fe_0
2025-10-15T15:40:34.277723Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 15 sessionId: sid_rand_4|f7baab3a-3c178d28-9d4d5a78-5010a7fe_0 is DEAD
2025-10-15T15:40:34.278030Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.278515Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.278539Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 16
2025-10-15T15:40:34.281328Z node 17 :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" }
2025-10-15T15:40:34.281491Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 16 topic: "topic1" message_group_id: "sid_rand_5" from ipv6:[::1]:38468
2025-10-15T15:40:34.281510Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=16 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.281521Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.283299Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 16 sessionId:  describe result for acl check
2025-10-15T15:40:34.283442Z node 17 :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;
2025-10-15T15:40:34.283463Z node 17 :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);
2025-10-15T15:40:34.283477Z node 17 :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;
2025-10-15T15:40:34.283497Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799359861:2595] (SourceId=sid_rand_5, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.287520Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799359861:2595] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.295053Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799359861:2595] (SourceId=sid_rand_5, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.297239Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359877:2595] connected; active server actors: 1
2025-10-15T15:40:34.301176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799359861:2595] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_5
2025-10-15T15:40:34.301208Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799359861:2595] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.301734Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359877:2595] disconnected.
2025-10-15T15:40:34.301770Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359877:2595] disconnected; active server actors: 1
2025-10-15T15:40:34.301790Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359877:2595] disconnected no session
2025-10-15T15:40:34.317440Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799359861:2595] (SourceId=sid_rand_5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.317482Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799359861:2595] (SourceId=sid_rand_5, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-15T15:40:34.317504Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799359861:2595] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.317550Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 16 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-15T15:40:34.319777Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:34.320105Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_5|a589a54f-164185b2-d9cdaa3c-d3598ced_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_5
2025-10-15T15:40:34.321257Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 16 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_5|a589a54f-164185b2-d9cdaa3c-d3598ced_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_5|a589a54f-164185b2-d9cdaa3c-d3598ced_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.325256Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId: sid_rand_5|a589a54f-164185b2-d9cdaa3c-d3598ced_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.325284Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 16 sessionId: sid_rand_5|a589a54f-164185b2-d9cdaa3c-d3598ced_0 grpc read failed
2025-10-15T15:40:34.325307Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 16 sessionId: sid_rand_5|a589a54f-164185b2-d9cdaa3c-d3598ced_0 grpc closed
2025-10-15T15:40:34.325327Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 16 sessionId: sid_rand_5|a589a54f-164185b2-d9cdaa3c-d3598ced_0 is DEAD
2025-10-15T15:40:34.326172Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.326298Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.326321Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 17
2025-10-15T15:40:34.329587Z node 17 :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" }
2025-10-15T15:40:34.329754Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 17 topic: "topic1" message_group_id: "sid_rand_6" from ipv6:[::1]:38468
2025-10-15T15:40:34.329780Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=17 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.329793Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.331758Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 17 sessionId:  describe result for acl check
2025-10-15T15:40:34.331914Z node 17 :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;
2025-10-15T15:40:34.331935Z node 17 :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);
2025-10-15T15:40:34.331949Z node 17 :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;
2025-10-15T15:40:34.331970Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799359915:2605] (SourceId=sid_rand_6, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.335748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799359915:2605] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.344880Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359931:2605] connected; active server actors: 1
2025-10-15T15:40:34.346573Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359931:2605] disconnected.
2025-10-15T15:40:34.343834Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799359915:2605] (SourceId=sid_rand_6, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.346608Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359931:2605] disconnected; active server actors: 1
2025-10-15T15:40:34.346628Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359931:2605] disconnected no session
2025-10-15T15:40:34.345338Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799359915:2605] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_6
2025-10-15T15:40:34.345361Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799359915:2605] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.359389Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_6|d0e0e0f0-81a53b9f-5e61400d-90a72ebc_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_6
2025-10-15T15:40:34.357073Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799359915:2605] (SourceId=sid_rand_6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.357141Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799359915:2605] (SourceId=sid_rand_6, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-15T15:40:34.357165Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799359915:2605] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.357200Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 17 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-15T15:40:34.358993Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:34.360457Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 17 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_6|d0e0e0f0-81a53b9f-5e61400d-90a72ebc_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_6|d0e0e0f0-81a53b9f-5e61400d-90a72ebc_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.369181Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId: sid_rand_6|d0e0e0f0-81a53b9f-5e61400d-90a72ebc_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.369207Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 17 sessionId: sid_rand_6|d0e0e0f0-81a53b9f-5e61400d-90a72ebc_0 grpc read failed
2025-10-15T15:40:34.369232Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 17 sessionId: sid_rand_6|d0e0e0f0-81a53b9f-5e61400d-90a72ebc_0 grpc closed
2025-10-15T15:40:34.369249Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 17 sessionId: sid_rand_6|d0e0e0f0-81a53b9f-5e61400d-90a72ebc_0 is DEAD
2025-10-15T15:40:34.369899Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.369987Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.370000Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 18
2025-10-15T15:40:34.373648Z node 17 :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" }
2025-10-15T15:40:34.373812Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 18 topic: "topic1" message_group_id: "sid_rand_7" from ipv6:[::1]:38468
2025-10-15T15:40:34.373831Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=18 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.373845Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.375640Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 18 sessionId:  describe result for acl check
2025-10-15T15:40:34.375777Z node 17 :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;
2025-10-15T15:40:34.375791Z node 17 :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);
2025-10-15T15:40:34.375804Z node 17 :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;
2025-10-15T15:40:34.375826Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799359948:2609] (SourceId=sid_rand_7, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.379938Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799359948:2609] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.388652Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799359948:2609] (SourceId=sid_rand_7, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.390419Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359964:2609] connected; active server actors: 1
2025-10-15T15:40:34.391052Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799359948:2609] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_7
2025-10-15T15:40:34.391087Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799359948:2609] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.391861Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359964:2609] disconnected.
2025-10-15T15:40:34.391903Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359964:2609] disconnected; active server actors: 1
2025-10-15T15:40:34.391927Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799359964:2609] disconnected no session
2025-10-15T15:40:34.407492Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799359948:2609] (SourceId=sid_rand_7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.407551Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799359948:2609] (SourceId=sid_rand_7, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-15T15:40:34.407580Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799359948:2609] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.407623Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 18 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-15T15:40:34.409935Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:34.413065Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_7|e0490e32-52dcf5ca-3e994206-3b778e10_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_7
2025-10-15T15:40:34.413758Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 18 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_7|e0490e32-52dcf5ca-3e994206-3b778e10_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_7|e0490e32-52dcf5ca-3e994206-3b778e10_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.417309Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId: sid_rand_7|e0490e32-52dcf5ca-3e994206-3b778e10_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.417343Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 18 sessionId: sid_rand_7|e0490e32-52dcf5ca-3e994206-3b778e10_0 grpc read failed
2025-10-15T15:40:34.417377Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 18 sessionId: sid_rand_7|e0490e32-52dcf5ca-3e994206-3b778e10_0 grpc closed
2025-10-15T15:40:34.417400Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 18 sessionId: sid_rand_7|e0490e32-52dcf5ca-3e994206-3b778e10_0 is DEAD
2025-10-15T15:40:34.418268Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.425353Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.425387Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 19
2025-10-15T15:40:34.425832Z node 17 :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" }
2025-10-15T15:40:34.425970Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 19 topic: "topic1" message_group_id: "sid_rand_8" from ipv6:[::1]:38468
2025-10-15T15:40:34.425991Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=19 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.426003Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.427890Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 19 sessionId:  describe result for acl check
2025-10-15T15:40:34.428046Z node 17 :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;
2025-10-15T15:40:34.428059Z node 17 :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);
2025-10-15T15:40:34.428073Z node 17 :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;
2025-10-15T15:40:34.428094Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799359982:2613] (SourceId=sid_rand_8, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.432245Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799359982:2613] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.458728Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799359982:2613] (SourceId=sid_rand_8, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.459711Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360001:2613] connected; active server actors: 1
2025-10-15T15:40:34.470133Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360001:2613] disconnected.
2025-10-15T15:40:34.470187Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360001:2613] disconnected; active server actors: 1
2025-10-15T15:40:34.470214Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360001:2613] disconnected no session
2025-10-15T15:40:34.469457Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799359982:2613] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_8
2025-10-15T15:40:34.469495Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799359982:2613] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.486246Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799359982:2613] (SourceId=sid_rand_8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.486299Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799359982:2613] (SourceId=sid_rand_8, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-15T15:40:34.486325Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799359982:2613] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.486361Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 19 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-15T15:40:34.491469Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:34.492037Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_8|93533ca3-475ed5e4-670d7f1-b7c12278_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_8
2025-10-15T15:40:34.493345Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 19 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_8|93533ca3-475ed5e4-670d7f1-b7c12278_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_8|93533ca3-475ed5e4-670d7f1-b7c12278_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.502394Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId: sid_rand_8|93533ca3-475ed5e4-670d7f1-b7c12278_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.502434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 19 sessionId: sid_rand_8|93533ca3-475ed5e4-670d7f1-b7c12278_0 grpc read failed
2025-10-15T15:40:34.502477Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 19 sessionId: sid_rand_8|93533ca3-475ed5e4-670d7f1-b7c12278_0 grpc closed
2025-10-15T15:40:34.502504Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 19 sessionId: sid_rand_8|93533ca3-475ed5e4-670d7f1-b7c12278_0 is DEAD
2025-10-15T15:40:34.503889Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.504040Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.504063Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 20
2025-10-15T15:40:34.504609Z node 17 :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" }
2025-10-15T15:40:34.504777Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 20 topic: "topic1" message_group_id: "sid_rand_9" from ipv6:[::1]:38468
2025-10-15T15:40:34.504800Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=20 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.504813Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.507036Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 20 sessionId:  describe result for acl check
2025-10-15T15:40:34.507241Z node 17 :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;
2025-10-15T15:40:34.507259Z node 17 :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);
2025-10-15T15:40:34.507279Z node 17 :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;
2025-10-15T15:40:34.507308Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799360019:2617] (SourceId=sid_rand_9, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.512782Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799360019:2617] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.524617Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799360019:2617] (SourceId=sid_rand_9, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.526206Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360035:2617] connected; active server actors: 1
2025-10-15T15:40:34.526943Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799360019:2617] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_9
2025-10-15T15:40:34.526978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799360019:2617] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.528512Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360035:2617] disconnected.
2025-10-15T15:40:34.528553Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360035:2617] disconnected; active server actors: 1
2025-10-15T15:40:34.528579Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360035:2617] disconnected no session
2025-10-15T15:40:34.543814Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799360019:2617] (SourceId=sid_rand_9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.543871Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799360019:2617] (SourceId=sid_rand_9, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-15T15:40:34.543903Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799360019:2617] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.543945Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 20 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-15T15:40:34.545661Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:34.546306Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_9|d35f3950-7b8e2699-a2eefe74-fc01a0bd_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_9
2025-10-15T15:40:34.546890Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 20 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_9|d35f3950-7b8e2699-a2eefe74-fc01a0bd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_9|d35f3950-7b8e2699-a2eefe74-fc01a0bd_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.550637Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId: sid_rand_9|d35f3950-7b8e2699-a2eefe74-fc01a0bd_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.550664Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 20 sessionId: sid_rand_9|d35f3950-7b8e2699-a2eefe74-fc01a0bd_0 grpc read failed
2025-10-15T15:40:34.551102Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 20 sessionId: sid_rand_9|d35f3950-7b8e2699-a2eefe74-fc01a0bd_0
2025-10-15T15:40:34.551129Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 20 sessionId: sid_rand_9|d35f3950-7b8e2699-a2eefe74-fc01a0bd_0 is DEAD
2025-10-15T15:40:34.551618Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.551736Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.551757Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 21
2025-10-15T15:40:34.553771Z node 17 :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" }
2025-10-15T15:40:34.553971Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 21 topic: "topic1" message_group_id: "sid_rand_10" from ipv6:[::1]:38468
2025-10-15T15:40:34.553994Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=21 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.554007Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.556135Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 21 sessionId:  describe result for acl check
2025-10-15T15:40:34.556320Z node 17 :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;
2025-10-15T15:40:34.556336Z node 17 :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);
2025-10-15T15:40:34.556355Z node 17 :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;
2025-10-15T15:40:34.556378Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799360053:2621] (SourceId=sid_rand_10, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.560882Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799360053:2621] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.575204Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799360053:2621] (SourceId=sid_rand_10, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.576326Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360072:2621] connected; active server actors: 1
2025-10-15T15:40:34.576885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799360053:2621] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_10
2025-10-15T15:40:34.576913Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799360053:2621] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.578324Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360072:2621] disconnected.
2025-10-15T15:40:34.578363Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360072:2621] disconnected; active server actors: 1
2025-10-15T15:40:34.578389Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360072:2621] disconnected no session
2025-10-15T15:40:34.591887Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799360053:2621] (SourceId=sid_rand_10, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.591940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799360053:2621] (SourceId=sid_rand_10, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-15T15:40:34.591968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799360053:2621] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.592010Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 21 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-15T15:40:34.593932Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:34.594222Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_10|e80e8060-43fad06a-dcb90d13-f68b4b2c_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_10
2025-10-15T15:40:34.594756Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 21 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_10|e80e8060-43fad06a-dcb90d13-f68b4b2c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_10|e80e8060-43fad06a-dcb90d13-f68b4b2c_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.596784Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId: sid_rand_10|e80e8060-43fad06a-dcb90d13-f68b4b2c_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.596812Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 21 sessionId: sid_rand_10|e80e8060-43fad06a-dcb90d13-f68b4b2c_0 grpc read failed
2025-10-15T15:40:34.596859Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 21 sessionId: sid_rand_10|e80e8060-43fad06a-dcb90d13-f68b4b2c_0
2025-10-15T15:40:34.596885Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 21 sessionId: sid_rand_10|e80e8060-43fad06a-dcb90d13-f68b4b2c_0 is DEAD
2025-10-15T15:40:34.597337Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.597700Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.597728Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 22
2025-10-15T15:40:34.598702Z node 17 :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" }
2025-10-15T15:40:34.598905Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 22 topic: "topic1" message_group_id: "sid_rand_11" from ipv6:[::1]:38468
2025-10-15T15:40:34.598930Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=22 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.598943Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.601060Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 22 sessionId:  describe result for acl check
2025-10-15T15:40:34.601273Z node 17 :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;
2025-10-15T15:40:34.601297Z node 17 :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);
2025-10-15T15:40:34.601315Z node 17 :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;
2025-10-15T15:40:34.601340Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799360090:2625] (SourceId=sid_rand_11, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.606539Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799360090:2625] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.616065Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799360090:2625] (SourceId=sid_rand_11, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.617473Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360106:2625] connected; active server actors: 1
2025-10-15T15:40:34.618923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799360090:2625] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_11
2025-10-15T15:40:34.618957Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799360090:2625] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.620431Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360106:2625] disconnected.
2025-10-15T15:40:34.620496Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360106:2625] disconnected; active server actors: 1
2025-10-15T15:40:34.620532Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360106:2625] disconnected no session
2025-10-15T15:40:34.630118Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799360090:2625] (SourceId=sid_rand_11, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.630171Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799360090:2625] (SourceId=sid_rand_11, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-15T15:40:34.630196Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799360090:2625] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.630235Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 22 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-15T15:40:34.632622Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:34.633214Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_11|e25549f0-505ce80b-e11fe3ac-b44de10d_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_11
2025-10-15T15:40:34.634942Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 22 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_11|e25549f0-505ce80b-e11fe3ac-b44de10d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_11|e25549f0-505ce80b-e11fe3ac-b44de10d_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.639592Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId: sid_rand_11|e25549f0-505ce80b-e11fe3ac-b44de10d_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.639619Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 22 sessionId: sid_rand_11|e25549f0-505ce80b-e11fe3ac-b44de10d_0 grpc read failed
2025-10-15T15:40:34.639667Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 22 sessionId: sid_rand_11|e25549f0-505ce80b-e11fe3ac-b44de10d_0
2025-10-15T15:40:34.639691Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 22 sessionId: sid_rand_11|e25549f0-505ce80b-e11fe3ac-b44de10d_0 is DEAD
2025-10-15T15:40:34.640088Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.641524Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.641560Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 23
2025-10-15T15:40:34.642035Z node 17 :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" }
2025-10-15T15:40:34.642201Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 23 topic: "topic1" message_group_id: "sid_rand_12" from ipv6:[::1]:38468
2025-10-15T15:40:34.642226Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=23 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.642239Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.644291Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 23 sessionId:  describe result for acl check
2025-10-15T15:40:34.644486Z node 17 :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;
2025-10-15T15:40:34.644503Z node 17 :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);
2025-10-15T15:40:34.644521Z node 17 :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;
2025-10-15T15:40:34.644545Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799360123:2629] (SourceId=sid_rand_12, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.648997Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799360123:2629] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.667028Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799360123:2629] (SourceId=sid_rand_12, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.668059Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360140:2629] connected; active server actors: 1
2025-10-15T15:40:34.668460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799360123:2629] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_12
2025-10-15T15:40:34.668494Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799360123:2629] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.669995Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360140:2629] disconnected.
2025-10-15T15:40:34.670037Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360140:2629] disconnected; active server actors: 1
2025-10-15T15:40:34.670064Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360140:2629] disconnected no session
2025-10-15T15:40:34.685407Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799360123:2629] (SourceId=sid_rand_12, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.685460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799360123:2629] (SourceId=sid_rand_12, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-15T15:40:34.685483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799360123:2629] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.685519Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 23 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-15T15:40:34.687621Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:34.687932Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_12|f5bad21d-16503c87-73644837-7fd0b6b0_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_12
2025-10-15T15:40:34.688936Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 23 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_12|f5bad21d-16503c87-73644837-7fd0b6b0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_12|f5bad21d-16503c87-73644837-7fd0b6b0_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.695690Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId: sid_rand_12|f5bad21d-16503c87-73644837-7fd0b6b0_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.695730Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 23 sessionId: sid_rand_12|f5bad21d-16503c87-73644837-7fd0b6b0_0 grpc read failed
2025-10-15T15:40:34.695767Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 23 sessionId: sid_rand_12|f5bad21d-16503c87-73644837-7fd0b6b0_0 grpc closed
2025-10-15T15:40:34.695793Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 23 sessionId: sid_rand_12|f5bad21d-16503c87-73644837-7fd0b6b0_0 is DEAD
2025-10-15T15:40:34.696840Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.696999Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.697020Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 24
2025-10-15T15:40:34.699139Z node 17 :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" }
2025-10-15T15:40:34.699330Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 24 topic: "topic1" message_group_id: "sid_rand_13" from ipv6:[::1]:38468
2025-10-15T15:40:34.699357Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=24 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.699370Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.701569Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 24 sessionId:  describe result for acl check
2025-10-15T15:40:34.701752Z node 17 :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;
2025-10-15T15:40:34.701767Z node 17 :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);
2025-10-15T15:40:34.701787Z node 17 :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;
2025-10-15T15:40:34.701813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799360157:2633] (SourceId=sid_rand_13, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.707237Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799360157:2633] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.719456Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799360157:2633] (SourceId=sid_rand_13, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.720764Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360179:2633] connected; active server actors: 1
2025-10-15T15:40:34.721310Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799360157:2633] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_13
2025-10-15T15:40:34.721341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799360157:2633] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.722743Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360179:2633] disconnected.
2025-10-15T15:40:34.722784Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360179:2633] disconnected; active server actors: 1
2025-10-15T15:40:34.722812Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360179:2633] disconnected no session
2025-10-15T15:40:34.735058Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799360157:2633] (SourceId=sid_rand_13, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.735113Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799360157:2633] (SourceId=sid_rand_13, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-15T15:40:34.735143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799360157:2633] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.735187Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 24 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-15T15:40:34.737854Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:34.738096Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_13|cdf2fd00-b79f7a09-3bcd3a34-b25ea755_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_13
2025-10-15T15:40:34.738647Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 24 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_13|cdf2fd00-b79f7a09-3bcd3a34-b25ea755_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_13|cdf2fd00-b79f7a09-3bcd3a34-b25ea755_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.741641Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId: sid_rand_13|cdf2fd00-b79f7a09-3bcd3a34-b25ea755_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.741673Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 24 sessionId: sid_rand_13|cdf2fd00-b79f7a09-3bcd3a34-b25ea755_0 grpc read failed
2025-10-15T15:40:34.741706Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 24 sessionId: sid_rand_13|cdf2fd00-b79f7a09-3bcd3a34-b25ea755_0 grpc closed
2025-10-15T15:40:34.741731Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 24 sessionId: sid_rand_13|cdf2fd00-b79f7a09-3bcd3a34-b25ea755_0 is DEAD
2025-10-15T15:40:34.742696Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.742831Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.742854Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 25
2025-10-15T15:40:34.743596Z node 17 :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" }
2025-10-15T15:40:34.743776Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 25 topic: "topic1" message_group_id: "sid_rand_14" from ipv6:[::1]:38468
2025-10-15T15:40:34.743808Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=25 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.743821Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.745335Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 25 sessionId:  describe result for acl check
2025-10-15T15:40:34.745492Z node 17 :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;
2025-10-15T15:40:34.745514Z node 17 :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);
2025-10-15T15:40:34.745531Z node 17 :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;
2025-10-15T15:40:34.745562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799360197:2637] (SourceId=sid_rand_14, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.750758Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799360197:2637] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.758656Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799360197:2637] (SourceId=sid_rand_14, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.759830Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360213:2637] connected; active server actors: 1
2025-10-15T15:40:34.760331Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799360197:2637] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_14
2025-10-15T15:40:34.760361Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799360197:2637] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.760852Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360213:2637] disconnected.
2025-10-15T15:40:34.760887Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360213:2637] disconnected; active server actors: 1
2025-10-15T15:40:34.760912Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360213:2637] disconnected no session
2025-10-15T15:40:34.776087Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799360197:2637] (SourceId=sid_rand_14, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.776142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799360197:2637] (SourceId=sid_rand_14, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-15T15:40:34.776172Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799360197:2637] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.776216Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 25 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-15T15:40:34.778446Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:34.778769Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_14|fd065a31-1a368dac-9e35071b-10c32d20_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_14
2025-10-15T15:40:34.780658Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 25 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_14|fd065a31-1a368dac-9e35071b-10c32d20_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_14|fd065a31-1a368dac-9e35071b-10c32d20_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.786045Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId: sid_rand_14|fd065a31-1a368dac-9e35071b-10c32d20_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.786079Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 25 sessionId: sid_rand_14|fd065a31-1a368dac-9e35071b-10c32d20_0 grpc read failed
2025-10-15T15:40:34.786539Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 25 sessionId: sid_rand_14|fd065a31-1a368dac-9e35071b-10c32d20_0
2025-10-15T15:40:34.786572Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 25 sessionId: sid_rand_14|fd065a31-1a368dac-9e35071b-10c32d20_0 is DEAD
2025-10-15T15:40:34.787065Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.787208Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.787230Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 26
2025-10-15T15:40:34.788054Z node 17 :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" }
2025-10-15T15:40:34.788236Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 26 topic: "topic1" message_group_id: "sid_rand_15" from ipv6:[::1]:38468
2025-10-15T15:40:34.788261Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=26 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.788273Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.790456Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 26 sessionId:  describe result for acl check
2025-10-15T15:40:34.790640Z node 17 :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;
2025-10-15T15:40:34.790657Z node 17 :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);
2025-10-15T15:40:34.790675Z node 17 :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;
2025-10-15T15:40:34.790699Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799360230:2641] (SourceId=sid_rand_15, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.796429Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799360230:2641] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.807365Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799360230:2641] (SourceId=sid_rand_15, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.809182Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360246:2641] connected; active server actors: 1
2025-10-15T15:40:34.809837Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799360230:2641] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_15
2025-10-15T15:40:34.809869Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799360230:2641] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.811624Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360246:2641] disconnected.
2025-10-15T15:40:34.811662Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360246:2641] disconnected; active server actors: 1
2025-10-15T15:40:34.811689Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360246:2641] disconnected no session
2025-10-15T15:40:34.830515Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799360230:2641] (SourceId=sid_rand_15, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.830572Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799360230:2641] (SourceId=sid_rand_15, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-15T15:40:34.830605Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799360230:2641] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.830654Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 26 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-15T15:40:34.841253Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:34.845389Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_15|d1363f89-3039d4a3-13fd489e-7fee2e2a_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_15
2025-10-15T15:40:34.849678Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 26 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_15|d1363f89-3039d4a3-13fd489e-7fee2e2a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_15|d1363f89-3039d4a3-13fd489e-7fee2e2a_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.852354Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId: sid_rand_15|d1363f89-3039d4a3-13fd489e-7fee2e2a_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.852385Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 26 sessionId: sid_rand_15|d1363f89-3039d4a3-13fd489e-7fee2e2a_0 grpc read failed
2025-10-15T15:40:34.852845Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 26 sessionId: sid_rand_15|d1363f89-3039d4a3-13fd489e-7fee2e2a_0
2025-10-15T15:40:34.852872Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 26 sessionId: sid_rand_15|d1363f89-3039d4a3-13fd489e-7fee2e2a_0 is DEAD
2025-10-15T15:40:34.853342Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.854158Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.854187Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 27
2025-10-15T15:40:34.854716Z node 17 :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" }
2025-10-15T15:40:34.854904Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 27 topic: "topic1" message_group_id: "sid_rand_16" from ipv6:[::1]:38468
2025-10-15T15:40:34.854930Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=27 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.854944Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.857450Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 27 sessionId:  describe result for acl check
2025-10-15T15:40:34.857640Z node 17 :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;
2025-10-15T15:40:34.857657Z node 17 :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);
2025-10-15T15:40:34.857675Z node 17 :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;
2025-10-15T15:40:34.857700Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799360265:2645] (SourceId=sid_rand_16, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.868242Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799360265:2645] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.890571Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360284:2645] connected; active server actors: 1
2025-10-15T15:40:34.892678Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360284:2645] disconnected.
2025-10-15T15:40:34.892716Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360284:2645] disconnected; active server actors: 1
2025-10-15T15:40:34.892741Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360284:2645] disconnected no session
2025-10-15T15:40:34.888513Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799360265:2645] (SourceId=sid_rand_16, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.891213Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799360265:2645] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_16
2025-10-15T15:40:34.891238Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799360265:2645] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Update the table
Init result: { status: SUCCESS init_response { session_id: "sid_rand_16|17aa537b-71218126-95300d13-8cbdc6e9_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.907947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799360265:2645] (SourceId=sid_rand_16, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.908002Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799360265:2645] (SourceId=sid_rand_16, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-15T15:40:34.908032Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799360265:2645] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.908077Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 27 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-15T15:40:34.910501Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:34.910724Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_16|17aa537b-71218126-95300d13-8cbdc6e9_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_16
2025-10-15T15:40:34.911298Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 27 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_16|17aa537b-71218126-95300d13-8cbdc6e9_0
2025-10-15T15:40:34.913645Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId: sid_rand_16|17aa537b-71218126-95300d13-8cbdc6e9_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.913684Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 27 sessionId: sid_rand_16|17aa537b-71218126-95300d13-8cbdc6e9_0 grpc read failed
2025-10-15T15:40:34.914117Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 27 sessionId: sid_rand_16|17aa537b-71218126-95300d13-8cbdc6e9_0
2025-10-15T15:40:34.914143Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 27 sessionId: sid_rand_16|17aa537b-71218126-95300d13-8cbdc6e9_0 is DEAD
2025-10-15T15:40:34.914621Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.914746Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.914766Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 28
2025-10-15T15:40:34.915755Z node 17 :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" }
2025-10-15T15:40:34.915933Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 28 topic: "topic1" message_group_id: "sid_rand_17" from ipv6:[::1]:38468
2025-10-15T15:40:34.915957Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=28 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.915980Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.918313Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 28 sessionId:  describe result for acl check
2025-10-15T15:40:34.918483Z node 17 :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;
2025-10-15T15:40:34.918499Z node 17 :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);
2025-10-15T15:40:34.918516Z node 17 :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;
2025-10-15T15:40:34.918540Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799360302:2649] (SourceId=sid_rand_17, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.923673Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799360302:2649] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:34.937051Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799360302:2649] (SourceId=sid_rand_17, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:34.944316Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360318:2649] connected; active server actors: 1
2025-10-15T15:40:34.945562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799360302:2649] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_17
2025-10-15T15:40:34.945601Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799360302:2649] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:34.946964Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360318:2649] disconnected.
2025-10-15T15:40:34.947000Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360318:2649] disconnected; active server actors: 1
2025-10-15T15:40:34.947022Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473898799360318:2649] disconnected no session
2025-10-15T15:40:34.967953Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799360302:2649] (SourceId=sid_rand_17, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:34.968012Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799360302:2649] (SourceId=sid_rand_17, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-15T15:40:34.968046Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799360302:2649] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:34.968092Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 28 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-15T15:40:34.970854Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:34.972420Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 28 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_17|d3d38ec9-dcff7aaf-56466643-79583119_0
2025-10-15T15:40:34.971264Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_17|d3d38ec9-dcff7aaf-56466643-79583119_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_17
Init result: { status: SUCCESS init_response { session_id: "sid_rand_17|d3d38ec9-dcff7aaf-56466643-79583119_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:34.977259Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId: sid_rand_17|d3d38ec9-dcff7aaf-56466643-79583119_0 grpc read done: success: 0 data: 
2025-10-15T15:40:34.977296Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 28 sessionId: sid_rand_17|d3d38ec9-dcff7aaf-56466643-79583119_0 grpc read failed
2025-10-15T15:40:34.977333Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 28 sessionId: sid_rand_17|d3d38ec9-dcff7aaf-56466643-79583119_0 grpc closed
2025-10-15T15:40:34.977362Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 28 sessionId: sid_rand_17|d3d38ec9-dcff7aaf-56466643-79583119_0 is DEAD
2025-10-15T15:40:34.978383Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:34.978501Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:34.978518Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 29
2025-10-15T15:40:34.983557Z node 17 :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" }
2025-10-15T15:40:34.983774Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 29 topic: "topic1" message_group_id: "sid_rand_18" from ipv6:[::1]:38468
2025-10-15T15:40:34.983800Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=29 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:34.983814Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:34.991108Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 29 sessionId:  describe result for acl check
2025-10-15T15:40:34.991309Z node 17 :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;
2025-10-15T15:40:34.991326Z node 17 :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);
2025-10-15T15:40:34.991347Z node 17 :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;
2025-10-15T15:40:34.991374Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473898799360357:2659] (SourceId=sid_rand_18, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:34.996621Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473898799360357:2659] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.007366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473898799360357:2659] (SourceId=sid_rand_18, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.009526Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327673:2659] connected; active server actors: 1
2025-10-15T15:40:35.015137Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473898799360357:2659] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_18
2025-10-15T15:40:35.015172Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473898799360357:2659] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.020405Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327673:2659] disconnected.
2025-10-15T15:40:35.020475Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327673:2659] disconnected; active server actors: 1
2025-10-15T15:40:35.020504Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327673:2659] disconnected no session
2025-10-15T15:40:35.046430Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473898799360357:2659] (SourceId=sid_rand_18, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.046486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473898799360357:2659] (SourceId=sid_rand_18, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-15T15:40:35.046516Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473898799360357:2659] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.046556Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 29 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-15T15:40:35.048499Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:35.048759Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_18|478b69aa-52965997-7e65b89-ae9fc657_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_18
2025-10-15T15:40:35.049498Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 29 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_18|478b69aa-52965997-7e65b89-ae9fc657_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_18|478b69aa-52965997-7e65b89-ae9fc657_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.055466Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId: sid_rand_18|478b69aa-52965997-7e65b89-ae9fc657_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.055502Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 29 sessionId: sid_rand_18|478b69aa-52965997-7e65b89-ae9fc657_0 grpc read failed
2025-10-15T15:40:35.055546Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.055556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 29 sessionId: sid_rand_18|478b69aa-52965997-7e65b89-ae9fc657_0 grpc closed
2025-10-15T15:40:35.055572Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 30
2025-10-15T15:40:35.055582Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 29 sessionId: sid_rand_18|478b69aa-52965997-7e65b89-ae9fc657_0 is DEAD
2025-10-15T15:40:35.055933Z node 17 :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" }
2025-10-15T15:40:35.056081Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 30 topic: "topic1" message_group_id: "sid_rand_19" from ipv6:[::1]:38468
2025-10-15T15:40:35.056102Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=30 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.056116Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.056690Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.058407Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 30 sessionId:  describe result for acl check
2025-10-15T15:40:35.058577Z node 17 :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;
2025-10-15T15:40:35.058593Z node 17 :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);
2025-10-15T15:40:35.058609Z node 17 :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;
2025-10-15T15:40:35.058632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094327691:2663] (SourceId=sid_rand_19, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.067144Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094327691:2663] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.088518Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094327691:2663] (SourceId=sid_rand_19, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.090076Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327707:2663] connected; active server actors: 1
2025-10-15T15:40:35.090779Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094327691:2663] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_19
2025-10-15T15:40:35.090812Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094327691:2663] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.092428Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327707:2663] disconnected.
2025-10-15T15:40:35.092490Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327707:2663] disconnected; active server actors: 1
2025-10-15T15:40:35.092516Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327707:2663] disconnected no session
2025-10-15T15:40:35.115873Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094327691:2663] (SourceId=sid_rand_19, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.115922Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094327691:2663] (SourceId=sid_rand_19, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-15T15:40:35.115947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094327691:2663] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.115984Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 30 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-15T15:40:35.118304Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:35.118740Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_19|1128601e-af9d0f1c-ef9453b5-b453d68f_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_19
2025-10-15T15:40:35.119980Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 30 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_19|1128601e-af9d0f1c-ef9453b5-b453d68f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_19|1128601e-af9d0f1c-ef9453b5-b453d68f_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.122903Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId: sid_rand_19|1128601e-af9d0f1c-ef9453b5-b453d68f_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.122931Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 30 sessionId: sid_rand_19|1128601e-af9d0f1c-ef9453b5-b453d68f_0 grpc read failed
2025-10-15T15:40:35.122962Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 30 sessionId: sid_rand_19|1128601e-af9d0f1c-ef9453b5-b453d68f_0 grpc closed
2025-10-15T15:40:35.122987Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 30 sessionId: sid_rand_19|1128601e-af9d0f1c-ef9453b5-b453d68f_0 is DEAD
2025-10-15T15:40:35.123983Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.124121Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.124143Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 31
2025-10-15T15:40:35.126324Z node 17 :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" }
2025-10-15T15:40:35.126517Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 31 topic: "topic1" message_group_id: "sid_rand_20" from ipv6:[::1]:38468
2025-10-15T15:40:35.126544Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=31 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.126558Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.128760Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 31 sessionId:  describe result for acl check
2025-10-15T15:40:35.128946Z node 17 :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;
2025-10-15T15:40:35.128963Z node 17 :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);
2025-10-15T15:40:35.128980Z node 17 :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;
2025-10-15T15:40:35.129007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094327725:2667] (SourceId=sid_rand_20, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.135374Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094327725:2667] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.146640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094327725:2667] (SourceId=sid_rand_20, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.148889Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327744:2667] connected; active server actors: 1
2025-10-15T15:40:35.149910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094327725:2667] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_20
2025-10-15T15:40:35.149945Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094327725:2667] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.152198Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327744:2667] disconnected.
2025-10-15T15:40:35.152241Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327744:2667] disconnected; active server actors: 1
2025-10-15T15:40:35.152268Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327744:2667] disconnected no session
2025-10-15T15:40:35.171005Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094327725:2667] (SourceId=sid_rand_20, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.171076Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094327725:2667] (SourceId=sid_rand_20, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-15T15:40:35.171106Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094327725:2667] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.171152Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 31 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-15T15:40:35.173658Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:35.173867Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_20|d3f094bc-38922777-583f116c-c27135fb_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_20
2025-10-15T15:40:35.174573Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 31 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_20|d3f094bc-38922777-583f116c-c27135fb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_20|d3f094bc-38922777-583f116c-c27135fb_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.182824Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId: sid_rand_20|d3f094bc-38922777-583f116c-c27135fb_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.182836Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.182862Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 31 sessionId: sid_rand_20|d3f094bc-38922777-583f116c-c27135fb_0 grpc read failed
2025-10-15T15:40:35.182868Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 32
2025-10-15T15:40:35.182907Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 31 sessionId: sid_rand_20|d3f094bc-38922777-583f116c-c27135fb_0 grpc closed
2025-10-15T15:40:35.182930Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 31 sessionId: sid_rand_20|d3f094bc-38922777-583f116c-c27135fb_0 is DEAD
2025-10-15T15:40:35.183441Z node 17 :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" }
2025-10-15T15:40:35.183618Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 32 topic: "topic1" message_group_id: "sid_rand_21" from ipv6:[::1]:38468
2025-10-15T15:40:35.183640Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=32 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.183654Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.183891Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.186047Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 32 sessionId:  describe result for acl check
2025-10-15T15:40:35.186201Z node 17 :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;
2025-10-15T15:40:35.186216Z node 17 :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);
2025-10-15T15:40:35.186231Z node 17 :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;
2025-10-15T15:40:35.186252Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094327763:2671] (SourceId=sid_rand_21, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.190455Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094327763:2671] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.198097Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094327763:2671] (SourceId=sid_rand_21, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.201259Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327779:2671] connected; active server actors: 1
2025-10-15T15:40:35.201516Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094327763:2671] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_21
2025-10-15T15:40:35.201541Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094327763:2671] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.204728Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327779:2671] disconnected.
2025-10-15T15:40:35.204779Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327779:2671] disconnected; active server actors: 1
2025-10-15T15:40:35.204805Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327779:2671] disconnected no session
2025-10-15T15:40:35.224224Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094327763:2671] (SourceId=sid_rand_21, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.224281Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094327763:2671] (SourceId=sid_rand_21, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-15T15:40:35.224321Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094327763:2671] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.224369Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 32 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-15T15:40:35.226187Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:35.226355Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_21|679c41c9-a4e4941a-1d9e6404-87b41e5c_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_21
2025-10-15T15:40:35.227037Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 32 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_21|679c41c9-a4e4941a-1d9e6404-87b41e5c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_21|679c41c9-a4e4941a-1d9e6404-87b41e5c_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.230575Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId: sid_rand_21|679c41c9-a4e4941a-1d9e6404-87b41e5c_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.230611Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 32 sessionId: sid_rand_21|679c41c9-a4e4941a-1d9e6404-87b41e5c_0 grpc read failed
2025-10-15T15:40:35.230649Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 32 sessionId: sid_rand_21|679c41c9-a4e4941a-1d9e6404-87b41e5c_0 grpc closed
2025-10-15T15:40:35.230675Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 32 sessionId: sid_rand_21|679c41c9-a4e4941a-1d9e6404-87b41e5c_0 is DEAD
2025-10-15T15:40:35.231674Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.231819Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.231842Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 33
2025-10-15T15:40:35.233661Z node 17 :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" }
2025-10-15T15:40:35.233857Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 33 topic: "topic1" message_group_id: "sid_rand_22" from ipv6:[::1]:38468
2025-10-15T15:40:35.233883Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=33 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.233897Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.236234Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 33 sessionId:  describe result for acl check
2025-10-15T15:40:35.236434Z node 17 :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;
2025-10-15T15:40:35.236454Z node 17 :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);
2025-10-15T15:40:35.236487Z node 17 :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;
2025-10-15T15:40:35.236513Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094327800:2675] (SourceId=sid_rand_22, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.249960Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094327800:2675] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.267273Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094327800:2675] (SourceId=sid_rand_22, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.268603Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327816:2675] connected; active server actors: 1
2025-10-15T15:40:35.270343Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327816:2675] disconnected.
2025-10-15T15:40:35.270382Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327816:2675] disconnected; active server actors: 1
2025-10-15T15:40:35.270421Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327816:2675] disconnected no session
2025-10-15T15:40:35.269388Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094327800:2675] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_22
2025-10-15T15:40:35.269427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094327800:2675] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.288035Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094327800:2675] (SourceId=sid_rand_22, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.288088Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094327800:2675] (SourceId=sid_rand_22, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-15T15:40:35.288114Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094327800:2675] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.288151Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 33 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-15T15:40:35.288913Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:35.289185Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_22|f341ad05-d8b54ab9-2991238c-df74111d_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_22
2025-10-15T15:40:35.289667Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 33 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_22|f341ad05-d8b54ab9-2991238c-df74111d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_22|f341ad05-d8b54ab9-2991238c-df74111d_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.297428Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId: sid_rand_22|f341ad05-d8b54ab9-2991238c-df74111d_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.297460Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 33 sessionId: sid_rand_22|f341ad05-d8b54ab9-2991238c-df74111d_0 grpc read failed
2025-10-15T15:40:35.297496Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 33 sessionId: sid_rand_22|f341ad05-d8b54ab9-2991238c-df74111d_0 grpc closed
2025-10-15T15:40:35.297520Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 33 sessionId: sid_rand_22|f341ad05-d8b54ab9-2991238c-df74111d_0 is DEAD
2025-10-15T15:40:35.297650Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.297681Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 34
2025-10-15T15:40:35.298471Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.301346Z node 17 :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" }
2025-10-15T15:40:35.301565Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 34 topic: "topic1" message_group_id: "sid_rand_23" from ipv6:[::1]:38468
2025-10-15T15:40:35.301594Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=34 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.301608Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.303412Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 34 sessionId:  describe result for acl check
2025-10-15T15:40:35.303582Z node 17 :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;
2025-10-15T15:40:35.303602Z node 17 :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);
2025-10-15T15:40:35.303618Z node 17 :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;
2025-10-15T15:40:35.303641Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094327835:2679] (SourceId=sid_rand_23, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.308055Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094327835:2679] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.316244Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094327835:2679] (SourceId=sid_rand_23, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.317261Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327855:2679] connected; active server actors: 1
2025-10-15T15:40:35.319248Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327855:2679] disconnected.
2025-10-15T15:40:35.319291Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327855:2679] disconnected; active server actors: 1
2025-10-15T15:40:35.319313Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327855:2679] disconnected no session
2025-10-15T15:40:35.318630Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094327835:2679] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_23
2025-10-15T15:40:35.318660Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094327835:2679] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.331460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094327835:2679] (SourceId=sid_rand_23, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.331513Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094327835:2679] (SourceId=sid_rand_23, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-15T15:40:35.331538Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094327835:2679] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.331575Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 34 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-15T15:40:35.332606Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:35.332735Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_23|6facb53e-2c46d242-7146ddb5-531a468_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_23
2025-10-15T15:40:35.333347Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 34 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_23|6facb53e-2c46d242-7146ddb5-531a468_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_23|6facb53e-2c46d242-7146ddb5-531a468_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.340219Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId: sid_rand_23|6facb53e-2c46d242-7146ddb5-531a468_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.340262Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 34 sessionId: sid_rand_23|6facb53e-2c46d242-7146ddb5-531a468_0 grpc read failed
2025-10-15T15:40:35.340308Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 34 sessionId: sid_rand_23|6facb53e-2c46d242-7146ddb5-531a468_0 grpc closed
2025-10-15T15:40:35.340329Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 34 sessionId: sid_rand_23|6facb53e-2c46d242-7146ddb5-531a468_0 is DEAD
2025-10-15T15:40:35.341207Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.341227Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 35
2025-10-15T15:40:35.341458Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.341607Z node 17 :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" }
2025-10-15T15:40:35.341750Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 35 topic: "topic1" message_group_id: "sid_rand_24" from ipv6:[::1]:38468
2025-10-15T15:40:35.341767Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=35 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.341778Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.343754Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 35 sessionId:  describe result for acl check
2025-10-15T15:40:35.343885Z node 17 :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;
2025-10-15T15:40:35.343896Z node 17 :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);
2025-10-15T15:40:35.343908Z node 17 :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;
2025-10-15T15:40:35.343928Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094327874:2683] (SourceId=sid_rand_24, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.348137Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094327874:2683] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.355927Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094327874:2683] (SourceId=sid_rand_24, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.357171Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327890:2683] connected; active server actors: 1
2025-10-15T15:40:35.357438Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094327874:2683] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_24
2025-10-15T15:40:35.357468Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094327874:2683] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.358771Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327890:2683] disconnected.
2025-10-15T15:40:35.358809Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327890:2683] disconnected; active server actors: 1
2025-10-15T15:40:35.358832Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327890:2683] disconnected no session
2025-10-15T15:40:35.379267Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094327874:2683] (SourceId=sid_rand_24, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.379316Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094327874:2683] (SourceId=sid_rand_24, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-15T15:40:35.379340Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094327874:2683] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.379378Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 35 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-15T15:40:35.381510Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:35.381810Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_24|1f2a6c96-f2faf34-84bc70ee-6afbfe60_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_24
2025-10-15T15:40:35.382470Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 35 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_24|1f2a6c96-f2faf34-84bc70ee-6afbfe60_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_24|1f2a6c96-f2faf34-84bc70ee-6afbfe60_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.386664Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId: sid_rand_24|1f2a6c96-f2faf34-84bc70ee-6afbfe60_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.386690Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 35 sessionId: sid_rand_24|1f2a6c96-f2faf34-84bc70ee-6afbfe60_0 grpc read failed
2025-10-15T15:40:35.386719Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 35 sessionId: sid_rand_24|1f2a6c96-f2faf34-84bc70ee-6afbfe60_0 grpc closed
2025-10-15T15:40:35.386739Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 35 sessionId: sid_rand_24|1f2a6c96-f2faf34-84bc70ee-6afbfe60_0 is DEAD
2025-10-15T15:40:35.387546Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.388680Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.388703Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 36
2025-10-15T15:40:35.389146Z node 17 :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" }
2025-10-15T15:40:35.389286Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 36 topic: "topic1" message_group_id: "sid_rand_25" from ipv6:[::1]:38468
2025-10-15T15:40:35.389304Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=36 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.389315Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.391126Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 36 sessionId:  describe result for acl check
2025-10-15T15:40:35.391281Z node 17 :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;
2025-10-15T15:40:35.391297Z node 17 :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);
2025-10-15T15:40:35.391311Z node 17 :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;
2025-10-15T15:40:35.391330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094327908:2687] (SourceId=sid_rand_25, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.395283Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094327908:2687] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.404018Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094327908:2687] (SourceId=sid_rand_25, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.409305Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327924:2687] connected; active server actors: 1
2025-10-15T15:40:35.410810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094327908:2687] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_25
2025-10-15T15:40:35.410843Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094327908:2687] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.413321Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327924:2687] disconnected.
2025-10-15T15:40:35.413360Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327924:2687] disconnected; active server actors: 1
2025-10-15T15:40:35.413381Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327924:2687] disconnected no session
2025-10-15T15:40:35.428548Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094327908:2687] (SourceId=sid_rand_25, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.428594Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094327908:2687] (SourceId=sid_rand_25, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-15T15:40:35.428618Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094327908:2687] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.428653Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 36 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-15T15:40:35.431131Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:35.431759Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_25|ccfc5146-3b0308f4-37402562-354c6cf7_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_25
Init result: { status: SUCCESS init_response { session_id: "sid_rand_25|ccfc5146-3b0308f4-37402562-354c6cf7_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.432284Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 36 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_25|ccfc5146-3b0308f4-37402562-354c6cf7_0
2025-10-15T15:40:35.437887Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId: sid_rand_25|ccfc5146-3b0308f4-37402562-354c6cf7_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.437914Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 36 sessionId: sid_rand_25|ccfc5146-3b0308f4-37402562-354c6cf7_0 grpc read failed
2025-10-15T15:40:35.438321Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 36 sessionId: sid_rand_25|ccfc5146-3b0308f4-37402562-354c6cf7_0
2025-10-15T15:40:35.438347Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 36 sessionId: sid_rand_25|ccfc5146-3b0308f4-37402562-354c6cf7_0 is DEAD
2025-10-15T15:40:35.438713Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.439482Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.439506Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 37
2025-10-15T15:40:35.440641Z node 17 :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" }
2025-10-15T15:40:35.440789Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 37 topic: "topic1" message_group_id: "sid_rand_26" from ipv6:[::1]:38468
2025-10-15T15:40:35.440809Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=37 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.440833Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.442856Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 37 sessionId:  describe result for acl check
2025-10-15T15:40:35.443001Z node 17 :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;
2025-10-15T15:40:35.443014Z node 17 :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);
2025-10-15T15:40:35.443027Z node 17 :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;
2025-10-15T15:40:35.443049Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094327942:2691] (SourceId=sid_rand_26, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.447474Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094327942:2691] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.456483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094327942:2691] (SourceId=sid_rand_26, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.462601Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327961:2691] connected; active server actors: 1
2025-10-15T15:40:35.462865Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094327942:2691] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_26
2025-10-15T15:40:35.462897Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094327942:2691] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.466228Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327961:2691] disconnected.
2025-10-15T15:40:35.466269Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327961:2691] disconnected; active server actors: 1
2025-10-15T15:40:35.466293Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327961:2691] disconnected no session
2025-10-15T15:40:35.483439Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094327942:2691] (SourceId=sid_rand_26, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.483483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094327942:2691] (SourceId=sid_rand_26, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-15T15:40:35.483505Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094327942:2691] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.483538Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 37 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-15T15:40:35.485618Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:35.486970Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_26|2ef16b3d-c02a00e9-2749ffb7-6b4b68a3_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_26
2025-10-15T15:40:35.488618Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 37 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_26|2ef16b3d-c02a00e9-2749ffb7-6b4b68a3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_26|2ef16b3d-c02a00e9-2749ffb7-6b4b68a3_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.492285Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId: sid_rand_26|2ef16b3d-c02a00e9-2749ffb7-6b4b68a3_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.492312Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 37 sessionId: sid_rand_26|2ef16b3d-c02a00e9-2749ffb7-6b4b68a3_0 grpc read failed
2025-10-15T15:40:35.492350Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 37 sessionId: sid_rand_26|2ef16b3d-c02a00e9-2749ffb7-6b4b68a3_0 grpc closed
2025-10-15T15:40:35.492370Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 37 sessionId: sid_rand_26|2ef16b3d-c02a00e9-2749ffb7-6b4b68a3_0 is DEAD
2025-10-15T15:40:35.492418Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.492438Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 38
2025-10-15T15:40:35.493232Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.493392Z node 17 :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" }
2025-10-15T15:40:35.493528Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 38 topic: "topic1" message_group_id: "sid_rand_27" from ipv6:[::1]:38468
2025-10-15T15:40:35.493549Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=38 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.493560Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.495349Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 38 sessionId:  describe result for acl check
2025-10-15T15:40:35.495496Z node 17 :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;
2025-10-15T15:40:35.495510Z node 17 :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);
2025-10-15T15:40:35.495523Z node 17 :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;
2025-10-15T15:40:35.495543Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094327979:2695] (SourceId=sid_rand_27, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.500149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094327979:2695] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.506494Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094327979:2695] (SourceId=sid_rand_27, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.507619Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327996:2695] connected; active server actors: 1
2025-10-15T15:40:35.508235Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094327979:2695] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_27
2025-10-15T15:40:35.508253Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094327979:2695] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.509476Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327996:2695] disconnected.
2025-10-15T15:40:35.509500Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327996:2695] disconnected; active server actors: 1
2025-10-15T15:40:35.509516Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094327996:2695] disconnected no session
2025-10-15T15:40:35.518930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094327979:2695] (SourceId=sid_rand_27, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.518962Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094327979:2695] (SourceId=sid_rand_27, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-15T15:40:35.518979Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094327979:2695] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.519004Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 38 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-15T15:40:35.520596Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:35.520771Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_27|7107273c-4b888f97-d4aacca8-26163688_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_27
Init result: { status: SUCCESS init_response { session_id: "sid_rand_27|7107273c-4b888f97-d4aacca8-26163688_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.521156Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 38 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_27|7107273c-4b888f97-d4aacca8-26163688_0
2025-10-15T15:40:35.523540Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId: sid_rand_27|7107273c-4b888f97-d4aacca8-26163688_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.523560Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 38 sessionId: sid_rand_27|7107273c-4b888f97-d4aacca8-26163688_0 grpc read failed
2025-10-15T15:40:35.523585Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 38 sessionId: sid_rand_27|7107273c-4b888f97-d4aacca8-26163688_0 grpc closed
2025-10-15T15:40:35.523604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 38 sessionId: sid_rand_27|7107273c-4b888f97-d4aacca8-26163688_0 is DEAD
2025-10-15T15:40:35.524592Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.524721Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.524741Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 39
2025-10-15T15:40:35.525619Z node 17 :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" }
2025-10-15T15:40:35.525768Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 39 topic: "topic1" message_group_id: "sid_rand_28" from ipv6:[::1]:38468
2025-10-15T15:40:35.525788Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=39 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.525799Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.527586Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 39 sessionId:  describe result for acl check
2025-10-15T15:40:35.527726Z node 17 :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;
2025-10-15T15:40:35.527739Z node 17 :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);
2025-10-15T15:40:35.527751Z node 17 :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;
2025-10-15T15:40:35.527771Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094328014:2699] (SourceId=sid_rand_28, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.531479Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094328014:2699] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.537293Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094328014:2699] (SourceId=sid_rand_28, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.538255Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328030:2699] connected; active server actors: 1
2025-10-15T15:40:35.538676Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094328014:2699] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_28
2025-10-15T15:40:35.538694Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094328014:2699] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.539213Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328030:2699] disconnected.
2025-10-15T15:40:35.539235Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328030:2699] disconnected; active server actors: 1
2025-10-15T15:40:35.539250Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328030:2699] disconnected no session
2025-10-15T15:40:35.553252Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094328014:2699] (SourceId=sid_rand_28, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.553297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094328014:2699] (SourceId=sid_rand_28, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-15T15:40:35.553322Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094328014:2699] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.553355Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 39 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-15T15:40:35.556785Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:35.557276Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_28|3e9da009-5e13001a-3c0a28a1-9b700fab_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_28
2025-10-15T15:40:35.558423Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 39 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_28|3e9da009-5e13001a-3c0a28a1-9b700fab_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_28|3e9da009-5e13001a-3c0a28a1-9b700fab_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.560607Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId: sid_rand_28|3e9da009-5e13001a-3c0a28a1-9b700fab_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.560631Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 39 sessionId: sid_rand_28|3e9da009-5e13001a-3c0a28a1-9b700fab_0 grpc read failed
2025-10-15T15:40:35.560661Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 39 sessionId: sid_rand_28|3e9da009-5e13001a-3c0a28a1-9b700fab_0 grpc closed
2025-10-15T15:40:35.560693Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 39 sessionId: sid_rand_28|3e9da009-5e13001a-3c0a28a1-9b700fab_0 is DEAD
2025-10-15T15:40:35.561424Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.561451Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 40
2025-10-15T15:40:35.561893Z node 17 :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" }
2025-10-15T15:40:35.562101Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 40 topic: "topic1" message_group_id: "sid_rand_29" from ipv6:[::1]:38468
2025-10-15T15:40:35.562143Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=40 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.562160Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.565141Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 40 sessionId:  describe result for acl check
2025-10-15T15:40:35.565315Z node 17 :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;
2025-10-15T15:40:35.565332Z node 17 :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);
2025-10-15T15:40:35.565345Z node 17 :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;
2025-10-15T15:40:35.565375Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094328047:2703] (SourceId=sid_rand_29, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.568823Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094328047:2703] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.575399Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094328047:2703] (SourceId=sid_rand_29, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.576387Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328063:2703] connected; active server actors: 1
2025-10-15T15:40:35.576578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094328047:2703] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_29
2025-10-15T15:40:35.576602Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094328047:2703] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.579155Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328063:2703] disconnected.
2025-10-15T15:40:35.579190Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328063:2703] disconnected; active server actors: 1
2025-10-15T15:40:35.579210Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328063:2703] disconnected no session
2025-10-15T15:40:35.586469Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.587004Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094328047:2703] (SourceId=sid_rand_29, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.587042Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094328047:2703] (SourceId=sid_rand_29, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-15T15:40:35.587064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094328047:2703] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.587097Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 40 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-15T15:40:35.588383Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:35.588714Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_29|cc24cfe-3e2f2f7a-9ecd050e-c4562db6_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_29
2025-10-15T15:40:35.593307Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 40 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_29|cc24cfe-3e2f2f7a-9ecd050e-c4562db6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_29|cc24cfe-3e2f2f7a-9ecd050e-c4562db6_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.598293Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId: sid_rand_29|cc24cfe-3e2f2f7a-9ecd050e-c4562db6_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.598319Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 40 sessionId: sid_rand_29|cc24cfe-3e2f2f7a-9ecd050e-c4562db6_0 grpc read failed
2025-10-15T15:40:35.598352Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 40 sessionId: sid_rand_29|cc24cfe-3e2f2f7a-9ecd050e-c4562db6_0 grpc closed
2025-10-15T15:40:35.598384Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 40 sessionId: sid_rand_29|cc24cfe-3e2f2f7a-9ecd050e-c4562db6_0 is DEAD
2025-10-15T15:40:35.599033Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.599174Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.599195Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 41
2025-10-15T15:40:35.600520Z node 17 :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" }
2025-10-15T15:40:35.600656Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 41 topic: "topic1" message_group_id: "sid_rand_30" from ipv6:[::1]:38468
2025-10-15T15:40:35.600674Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=41 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.600685Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.602306Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 41 sessionId:  describe result for acl check
2025-10-15T15:40:35.602442Z node 17 :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;
2025-10-15T15:40:35.602462Z node 17 :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);
2025-10-15T15:40:35.602474Z node 17 :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;
2025-10-15T15:40:35.602492Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094328080:2707] (SourceId=sid_rand_30, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.606259Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094328080:2707] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.619358Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094328080:2707] (SourceId=sid_rand_30, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.621537Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328099:2707] connected; active server actors: 1
2025-10-15T15:40:35.622045Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094328080:2707] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_30
2025-10-15T15:40:35.622078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094328080:2707] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.623420Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328099:2707] disconnected.
2025-10-15T15:40:35.623454Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328099:2707] disconnected; active server actors: 1
2025-10-15T15:40:35.623475Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328099:2707] disconnected no session
2025-10-15T15:40:35.633433Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094328080:2707] (SourceId=sid_rand_30, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.633482Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094328080:2707] (SourceId=sid_rand_30, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-15T15:40:35.633506Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094328080:2707] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.633543Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 41 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-15T15:40:35.634096Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:35.634188Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_30|e8fd5cb-5834b15c-9d327fcc-8bc853a1_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_30
2025-10-15T15:40:35.634573Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 41 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_30|e8fd5cb-5834b15c-9d327fcc-8bc853a1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_30|e8fd5cb-5834b15c-9d327fcc-8bc853a1_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.636610Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId: sid_rand_30|e8fd5cb-5834b15c-9d327fcc-8bc853a1_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.636644Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 41 sessionId: sid_rand_30|e8fd5cb-5834b15c-9d327fcc-8bc853a1_0 grpc read failed
2025-10-15T15:40:35.636929Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.636949Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 42
2025-10-15T15:40:35.637083Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 41 sessionId: sid_rand_30|e8fd5cb-5834b15c-9d327fcc-8bc853a1_0
2025-10-15T15:40:35.637150Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 41 sessionId: sid_rand_30|e8fd5cb-5834b15c-9d327fcc-8bc853a1_0 is DEAD
2025-10-15T15:40:35.637562Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.637992Z node 17 :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" }
2025-10-15T15:40:35.638110Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 42 topic: "topic1" message_group_id: "sid_rand_31" from ipv6:[::1]:38468
2025-10-15T15:40:35.638125Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=42 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.638133Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.639392Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 42 sessionId:  describe result for acl check
2025-10-15T15:40:35.639501Z node 17 :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;
2025-10-15T15:40:35.639520Z node 17 :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);
2025-10-15T15:40:35.639536Z node 17 :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;
2025-10-15T15:40:35.639560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094328118:2711] (SourceId=sid_rand_31, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.642947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094328118:2711] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.650632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094328118:2711] (SourceId=sid_rand_31, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.652046Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328134:2711] connected; active server actors: 1
2025-10-15T15:40:35.652508Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094328118:2711] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_31
2025-10-15T15:40:35.652530Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094328118:2711] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.653346Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328134:2711] disconnected.
2025-10-15T15:40:35.653367Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328134:2711] disconnected; active server actors: 1
2025-10-15T15:40:35.653392Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328134:2711] disconnected no session
2025-10-15T15:40:35.671093Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094328118:2711] (SourceId=sid_rand_31, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.671142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094328118:2711] (SourceId=sid_rand_31, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-15T15:40:35.671174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094328118:2711] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.671244Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 42 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-15T15:40:35.673334Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:35.673912Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_31|d3b07d5b-ea30b5a3-ae0e379-20c9bc59_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_31
2025-10-15T15:40:35.675261Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 42 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_31|d3b07d5b-ea30b5a3-ae0e379-20c9bc59_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_31|d3b07d5b-ea30b5a3-ae0e379-20c9bc59_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.678928Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId: sid_rand_31|d3b07d5b-ea30b5a3-ae0e379-20c9bc59_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.678952Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 42 sessionId: sid_rand_31|d3b07d5b-ea30b5a3-ae0e379-20c9bc59_0 grpc read failed
2025-10-15T15:40:35.678994Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 42 sessionId: sid_rand_31|d3b07d5b-ea30b5a3-ae0e379-20c9bc59_0
2025-10-15T15:40:35.679019Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 42 sessionId: sid_rand_31|d3b07d5b-ea30b5a3-ae0e379-20c9bc59_0 is DEAD
2025-10-15T15:40:35.679331Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.679421Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.679434Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 43
2025-10-15T15:40:35.679731Z node 17 :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" }
2025-10-15T15:40:35.679832Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 43 topic: "topic1" message_group_id: "sid_rand_32" from ipv6:[::1]:38468
2025-10-15T15:40:35.679849Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=43 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.679857Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.681356Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 43 sessionId:  describe result for acl check
2025-10-15T15:40:35.681510Z node 17 :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;
2025-10-15T15:40:35.681524Z node 17 :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);
2025-10-15T15:40:35.681538Z node 17 :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;
2025-10-15T15:40:35.681560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094328152:2715] (SourceId=sid_rand_32, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.686158Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094328152:2715] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.692993Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094328152:2715] (SourceId=sid_rand_32, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.694167Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328168:2715] connected; active server actors: 1
2025-10-15T15:40:35.694808Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094328152:2715] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_32
2025-10-15T15:40:35.694830Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094328152:2715] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.695315Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328168:2715] disconnected.
2025-10-15T15:40:35.695343Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328168:2715] disconnected; active server actors: 1
2025-10-15T15:40:35.695358Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328168:2715] disconnected no session
2025-10-15T15:40:35.711446Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094328152:2715] (SourceId=sid_rand_32, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.711496Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094328152:2715] (SourceId=sid_rand_32, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-15T15:40:35.711521Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094328152:2715] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.711553Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 43 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-15T15:40:35.712307Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:35.712484Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_32|86dd0695-e78c5d19-e3bcde9e-9b35b3f5_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_32
2025-10-15T15:40:35.712952Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 43 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_32|86dd0695-e78c5d19-e3bcde9e-9b35b3f5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_32|86dd0695-e78c5d19-e3bcde9e-9b35b3f5_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.717760Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId: sid_rand_32|86dd0695-e78c5d19-e3bcde9e-9b35b3f5_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.717790Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 43 sessionId: sid_rand_32|86dd0695-e78c5d19-e3bcde9e-9b35b3f5_0 grpc read failed
2025-10-15T15:40:35.717820Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 43 sessionId: sid_rand_32|86dd0695-e78c5d19-e3bcde9e-9b35b3f5_0 grpc closed
2025-10-15T15:40:35.717839Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 43 sessionId: sid_rand_32|86dd0695-e78c5d19-e3bcde9e-9b35b3f5_0 is DEAD
2025-10-15T15:40:35.718664Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.718706Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.718726Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 44
2025-10-15T15:40:35.719490Z node 17 :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" }
2025-10-15T15:40:35.719633Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 44 topic: "topic1" message_group_id: "sid_rand_33" from ipv6:[::1]:38468
2025-10-15T15:40:35.719658Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=44 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.719670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.721374Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 44 sessionId:  describe result for acl check
2025-10-15T15:40:35.721524Z node 17 :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;
2025-10-15T15:40:35.721543Z node 17 :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);
2025-10-15T15:40:35.721557Z node 17 :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;
2025-10-15T15:40:35.721579Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094328189:2719] (SourceId=sid_rand_33, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.725406Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094328189:2719] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.733460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094328189:2719] (SourceId=sid_rand_33, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.736443Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328205:2719] connected; active server actors: 1
2025-10-15T15:40:35.737147Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094328189:2719] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_33
2025-10-15T15:40:35.737177Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094328189:2719] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.738394Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328205:2719] disconnected.
2025-10-15T15:40:35.738431Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328205:2719] disconnected; active server actors: 1
2025-10-15T15:40:35.738452Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328205:2719] disconnected no session
2025-10-15T15:40:35.751797Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094328189:2719] (SourceId=sid_rand_33, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.751845Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094328189:2719] (SourceId=sid_rand_33, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-15T15:40:35.751870Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094328189:2719] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.751907Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 44 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-15T15:40:35.754351Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:35.754607Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_33|ba1ee1d0-4b78ffab-3a1311de-4ee199d_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_33
2025-10-15T15:40:35.755926Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 44 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_33|ba1ee1d0-4b78ffab-3a1311de-4ee199d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_33|ba1ee1d0-4b78ffab-3a1311de-4ee199d_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.759863Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId: sid_rand_33|ba1ee1d0-4b78ffab-3a1311de-4ee199d_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.759905Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 44 sessionId: sid_rand_33|ba1ee1d0-4b78ffab-3a1311de-4ee199d_0 grpc read failed
2025-10-15T15:40:35.759959Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.759961Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 44 sessionId: sid_rand_33|ba1ee1d0-4b78ffab-3a1311de-4ee199d_0 grpc closed
2025-10-15T15:40:35.759981Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 45
2025-10-15T15:40:35.759987Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 44 sessionId: sid_rand_33|ba1ee1d0-4b78ffab-3a1311de-4ee199d_0 is DEAD
2025-10-15T15:40:35.760600Z node 17 :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" }
2025-10-15T15:40:35.760760Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 45 topic: "topic1" message_group_id: "sid_rand_34" from ipv6:[::1]:38468
2025-10-15T15:40:35.760782Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=45 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.760794Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.761579Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.762599Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 45 sessionId:  describe result for acl check
2025-10-15T15:40:35.762762Z node 17 :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;
2025-10-15T15:40:35.762776Z node 17 :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);
2025-10-15T15:40:35.762790Z node 17 :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;
2025-10-15T15:40:35.762811Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094328223:2723] (SourceId=sid_rand_34, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.767362Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094328223:2723] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.780519Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094328223:2723] (SourceId=sid_rand_34, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.782453Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328242:2723] connected; active server actors: 1
2025-10-15T15:40:35.783142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094328223:2723] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_34
2025-10-15T15:40:35.783170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094328223:2723] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.784413Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328242:2723] disconnected.
2025-10-15T15:40:35.784449Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328242:2723] disconnected; active server actors: 1
2025-10-15T15:40:35.784483Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328242:2723] disconnected no session
2025-10-15T15:40:35.796883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094328223:2723] (SourceId=sid_rand_34, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.796940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094328223:2723] (SourceId=sid_rand_34, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-15T15:40:35.796964Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094328223:2723] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.797000Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 45 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-15T15:40:35.798391Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_34|71d32cab-51f57d7e-240e0d37-3e48d3b_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_34
Init result: { status: SUCCESS init_response { session_id: "sid_rand_34|71d32cab-51f57d7e-240e0d37-3e48d3b_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.797900Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:35.799926Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 45 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_34|71d32cab-51f57d7e-240e0d37-3e48d3b_0
2025-10-15T15:40:35.802924Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId: sid_rand_34|71d32cab-51f57d7e-240e0d37-3e48d3b_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.802950Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 45 sessionId: sid_rand_34|71d32cab-51f57d7e-240e0d37-3e48d3b_0 grpc read failed
2025-10-15T15:40:35.802953Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.802974Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 46
2025-10-15T15:40:35.802974Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 45 sessionId: sid_rand_34|71d32cab-51f57d7e-240e0d37-3e48d3b_0 grpc closed
2025-10-15T15:40:35.802995Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 45 sessionId: sid_rand_34|71d32cab-51f57d7e-240e0d37-3e48d3b_0 is DEAD
2025-10-15T15:40:35.803790Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.804278Z node 17 :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" }
2025-10-15T15:40:35.804415Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 46 topic: "topic1" message_group_id: "sid_rand_35" from ipv6:[::1]:38468
2025-10-15T15:40:35.804435Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=46 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.804447Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.806481Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 46 sessionId:  describe result for acl check
2025-10-15T15:40:35.806622Z node 17 :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;
2025-10-15T15:40:35.806641Z node 17 :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);
2025-10-15T15:40:35.806654Z node 17 :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;
2025-10-15T15:40:35.806671Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094328260:2727] (SourceId=sid_rand_35, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.810677Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094328260:2727] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.818869Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094328260:2727] (SourceId=sid_rand_35, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.819710Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328276:2727] connected; active server actors: 1
2025-10-15T15:40:35.820317Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094328260:2727] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_35
2025-10-15T15:40:35.820351Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094328260:2727] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.820915Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328276:2727] disconnected.
2025-10-15T15:40:35.820955Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328276:2727] disconnected; active server actors: 1
2025-10-15T15:40:35.820977Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328276:2727] disconnected no session
2025-10-15T15:40:35.834516Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094328260:2727] (SourceId=sid_rand_35, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.834563Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094328260:2727] (SourceId=sid_rand_35, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-15T15:40:35.834587Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094328260:2727] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.834627Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 46 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-15T15:40:35.835932Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:35.836074Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_35|a72d7eff-cfa1ec66-27796ea4-2ee30cb8_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_35
2025-10-15T15:40:35.836530Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 46 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_35|a72d7eff-cfa1ec66-27796ea4-2ee30cb8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_35|a72d7eff-cfa1ec66-27796ea4-2ee30cb8_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.842809Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId: sid_rand_35|a72d7eff-cfa1ec66-27796ea4-2ee30cb8_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.842839Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 46 sessionId: sid_rand_35|a72d7eff-cfa1ec66-27796ea4-2ee30cb8_0 grpc read failed
2025-10-15T15:40:35.842868Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 46 sessionId: sid_rand_35|a72d7eff-cfa1ec66-27796ea4-2ee30cb8_0 grpc closed
2025-10-15T15:40:35.842889Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 46 sessionId: sid_rand_35|a72d7eff-cfa1ec66-27796ea4-2ee30cb8_0 is DEAD
2025-10-15T15:40:35.844014Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.844129Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.844147Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 47
2025-10-15T15:40:35.845467Z node 17 :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" }
2025-10-15T15:40:35.845602Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 47 topic: "topic1" message_group_id: "sid_rand_36" from ipv6:[::1]:38468
2025-10-15T15:40:35.845622Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=47 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.845634Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.848856Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 47 sessionId:  describe result for acl check
2025-10-15T15:40:35.849008Z node 17 :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;
2025-10-15T15:40:35.849020Z node 17 :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);
2025-10-15T15:40:35.849034Z node 17 :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;
2025-10-15T15:40:35.849054Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094328303:2731] (SourceId=sid_rand_36, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.852659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094328303:2731] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.859793Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094328303:2731] (SourceId=sid_rand_36, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.860950Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328319:2731] connected; active server actors: 1
2025-10-15T15:40:35.861393Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094328303:2731] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_36
2025-10-15T15:40:35.861422Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094328303:2731] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.862362Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328319:2731] disconnected.
2025-10-15T15:40:35.862399Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328319:2731] disconnected; active server actors: 1
2025-10-15T15:40:35.862421Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328319:2731] disconnected no session
2025-10-15T15:40:35.875305Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094328303:2731] (SourceId=sid_rand_36, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.875357Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094328303:2731] (SourceId=sid_rand_36, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-15T15:40:35.875380Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094328303:2731] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.875418Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 47 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-15T15:40:35.878321Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:35.881854Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_36|6767aedd-f7826e3f-a60a6fb6-97e8c916_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_36
Init result: { status: SUCCESS init_response { session_id: "sid_rand_36|6767aedd-f7826e3f-a60a6fb6-97e8c916_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.882977Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 47 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_36|6767aedd-f7826e3f-a60a6fb6-97e8c916_0
2025-10-15T15:40:35.885462Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.885463Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId: sid_rand_36|6767aedd-f7826e3f-a60a6fb6-97e8c916_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.885482Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 47 sessionId: sid_rand_36|6767aedd-f7826e3f-a60a6fb6-97e8c916_0 grpc read failed
2025-10-15T15:40:35.885509Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 47 sessionId: sid_rand_36|6767aedd-f7826e3f-a60a6fb6-97e8c916_0 grpc closed
2025-10-15T15:40:35.885531Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 47 sessionId: sid_rand_36|6767aedd-f7826e3f-a60a6fb6-97e8c916_0 is DEAD
2025-10-15T15:40:35.885669Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 48
2025-10-15T15:40:35.885990Z node 17 :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" }
2025-10-15T15:40:35.886140Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 48 topic: "topic1" message_group_id: "sid_rand_37" from ipv6:[::1]:38468
2025-10-15T15:40:35.886160Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=48 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.886172Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.886383Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.887887Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 48 sessionId:  describe result for acl check
2025-10-15T15:40:35.888035Z node 17 :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;
2025-10-15T15:40:35.888050Z node 17 :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);
2025-10-15T15:40:35.888063Z node 17 :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;
2025-10-15T15:40:35.888083Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094328336:2737] (SourceId=sid_rand_37, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.891892Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094328336:2737] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.900622Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094328336:2737] (SourceId=sid_rand_37, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.901315Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328352:2737] connected; active server actors: 1
2025-10-15T15:40:35.901478Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094328336:2737] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_37
2025-10-15T15:40:35.901507Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094328336:2737] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.901943Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328352:2737] disconnected.
2025-10-15T15:40:35.901993Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328352:2737] disconnected; active server actors: 1
2025-10-15T15:40:35.902022Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328352:2737] disconnected no session
2025-10-15T15:40:35.920416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094328336:2737] (SourceId=sid_rand_37, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.920481Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094328336:2737] (SourceId=sid_rand_37, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-15T15:40:35.920508Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094328336:2737] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.920545Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 48 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-15T15:40:35.921405Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:35.921590Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_37|14ad325-4b4aac2d-c6a0a6c8-f67e4e9a_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_37
2025-10-15T15:40:35.923961Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 48 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_37|14ad325-4b4aac2d-c6a0a6c8-f67e4e9a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_37|14ad325-4b4aac2d-c6a0a6c8-f67e4e9a_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.926891Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId: sid_rand_37|14ad325-4b4aac2d-c6a0a6c8-f67e4e9a_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.926922Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 48 sessionId: sid_rand_37|14ad325-4b4aac2d-c6a0a6c8-f67e4e9a_0 grpc read failed
2025-10-15T15:40:35.927345Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 48 sessionId: sid_rand_37|14ad325-4b4aac2d-c6a0a6c8-f67e4e9a_0
2025-10-15T15:40:35.927379Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 48 sessionId: sid_rand_37|14ad325-4b4aac2d-c6a0a6c8-f67e4e9a_0 is DEAD
2025-10-15T15:40:35.927873Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.929328Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.929357Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 49
2025-10-15T15:40:35.929708Z node 17 :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" }
2025-10-15T15:40:35.929864Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 49 topic: "topic1" message_group_id: "sid_rand_38" from ipv6:[::1]:38468
2025-10-15T15:40:35.929885Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=49 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.929898Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.933803Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 49 sessionId:  describe result for acl check
2025-10-15T15:40:35.933993Z node 17 :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;
2025-10-15T15:40:35.934008Z node 17 :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);
2025-10-15T15:40:35.934024Z node 17 :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;
2025-10-15T15:40:35.934045Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094328370:2741] (SourceId=sid_rand_38, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.938354Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094328370:2741] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.961781Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094328370:2741] (SourceId=sid_rand_38, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.962349Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328394:2741] connected; active server actors: 1
2025-10-15T15:40:35.962924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094328370:2741] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_38
2025-10-15T15:40:35.962950Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094328370:2741] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.964013Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328394:2741] disconnected.
2025-10-15T15:40:35.964045Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328394:2741] disconnected; active server actors: 1
2025-10-15T15:40:35.964068Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328394:2741] disconnected no session
2025-10-15T15:40:35.975948Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094328370:2741] (SourceId=sid_rand_38, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:35.975994Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094328370:2741] (SourceId=sid_rand_38, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-15T15:40:35.976018Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094328370:2741] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:35.976054Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 49 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-15T15:40:35.977472Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:35.977613Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_38|682c43cf-7faaefcf-176e7131-9f1a394b_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_38
2025-10-15T15:40:35.978091Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 49 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_38|682c43cf-7faaefcf-176e7131-9f1a394b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_38|682c43cf-7faaefcf-176e7131-9f1a394b_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:35.979742Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId: sid_rand_38|682c43cf-7faaefcf-176e7131-9f1a394b_0 grpc read done: success: 0 data: 
2025-10-15T15:40:35.979766Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 49 sessionId: sid_rand_38|682c43cf-7faaefcf-176e7131-9f1a394b_0 grpc read failed
2025-10-15T15:40:35.980173Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 49 sessionId: sid_rand_38|682c43cf-7faaefcf-176e7131-9f1a394b_0
2025-10-15T15:40:35.980204Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 49 sessionId: sid_rand_38|682c43cf-7faaefcf-176e7131-9f1a394b_0 is DEAD
2025-10-15T15:40:35.980588Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:35.980701Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:35.980723Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 50
2025-10-15T15:40:35.981033Z node 17 :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" }
2025-10-15T15:40:35.981750Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 50 topic: "topic1" message_group_id: "sid_rand_39" from ipv6:[::1]:38468
2025-10-15T15:40:35.981781Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=50 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:35.981793Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:35.983463Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 50 sessionId:  describe result for acl check
2025-10-15T15:40:35.983612Z node 17 :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;
2025-10-15T15:40:35.983633Z node 17 :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);
2025-10-15T15:40:35.983648Z node 17 :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;
2025-10-15T15:40:35.983669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473903094328417:2749] (SourceId=sid_rand_39, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:35.987230Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473903094328417:2749] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:35.994208Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473903094328417:2749] (SourceId=sid_rand_39, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:35.995548Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328433:2749] connected; active server actors: 1
2025-10-15T15:40:35.996106Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473903094328417:2749] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_39
2025-10-15T15:40:35.996129Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473903094328417:2749] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:35.997378Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328433:2749] disconnected.
2025-10-15T15:40:35.997409Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328433:2749] disconnected; active server actors: 1
2025-10-15T15:40:35.997429Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473903094328433:2749] disconnected no session
2025-10-15T15:40:36.006760Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473903094328417:2749] (SourceId=sid_rand_39, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.006806Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473903094328417:2749] (SourceId=sid_rand_39, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-15T15:40:36.006832Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473903094328417:2749] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.006869Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 50 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-15T15:40:36.008767Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:36.008953Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_39|22cc3a66-11ff2f43-97acd238-3ad8b2cc_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_39
Init result: { status: SUCCESS init_response { session_id: "sid_rand_39|22cc3a66-11ff2f43-97acd238-3ad8b2cc_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.009414Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 50 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_39|22cc3a66-11ff2f43-97acd238-3ad8b2cc_0
2025-10-15T15:40:36.016867Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId: sid_rand_39|22cc3a66-11ff2f43-97acd238-3ad8b2cc_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.016896Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 50 sessionId: sid_rand_39|22cc3a66-11ff2f43-97acd238-3ad8b2cc_0 grpc read failed
2025-10-15T15:40:36.016925Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 50 sessionId: sid_rand_39|22cc3a66-11ff2f43-97acd238-3ad8b2cc_0 grpc closed
2025-10-15T15:40:36.016946Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 50 sessionId: sid_rand_39|22cc3a66-11ff2f43-97acd238-3ad8b2cc_0 is DEAD
2025-10-15T15:40:36.017829Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.017952Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.017971Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 51
2025-10-15T15:40:36.018881Z node 17 :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" }
2025-10-15T15:40:36.019017Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 51 topic: "topic1" message_group_id: "sid_rand_40" from ipv6:[::1]:38468
2025-10-15T15:40:36.019036Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=51 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.019049Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.020900Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 51 sessionId:  describe result for acl check
2025-10-15T15:40:36.021045Z node 17 :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;
2025-10-15T15:40:36.021057Z node 17 :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);
2025-10-15T15:40:36.021069Z node 17 :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;
2025-10-15T15:40:36.021111Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389295757:2757] (SourceId=sid_rand_40, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.024621Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389295757:2757] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.033969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389295757:2757] (SourceId=sid_rand_40, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.035354Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389295757:2757] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_40
2025-10-15T15:40:36.035384Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389295757:2757] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.034907Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295773:2757] connected; active server actors: 1
2025-10-15T15:40:36.036844Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295773:2757] disconnected.
2025-10-15T15:40:36.036876Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295773:2757] disconnected; active server actors: 1
2025-10-15T15:40:36.036898Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295773:2757] disconnected no session
2025-10-15T15:40:36.051493Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389295757:2757] (SourceId=sid_rand_40, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.051541Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389295757:2757] (SourceId=sid_rand_40, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-15T15:40:36.051566Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389295757:2757] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.051603Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 51 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-15T15:40:36.053746Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:36.053988Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_40|e93d7636-23466e8-89d20e91-65addbf5_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_40
2025-10-15T15:40:36.054521Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 51 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_40|e93d7636-23466e8-89d20e91-65addbf5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_40|e93d7636-23466e8-89d20e91-65addbf5_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.057487Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId: sid_rand_40|e93d7636-23466e8-89d20e91-65addbf5_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.057512Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 51 sessionId: sid_rand_40|e93d7636-23466e8-89d20e91-65addbf5_0 grpc read failed
2025-10-15T15:40:36.057894Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 51 sessionId: sid_rand_40|e93d7636-23466e8-89d20e91-65addbf5_0
2025-10-15T15:40:36.057928Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 51 sessionId: sid_rand_40|e93d7636-23466e8-89d20e91-65addbf5_0 is DEAD
2025-10-15T15:40:36.058359Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.058467Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.058484Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 52
2025-10-15T15:40:36.059192Z node 17 :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" }
2025-10-15T15:40:36.059332Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 52 topic: "topic1" message_group_id: "sid_rand_41" from ipv6:[::1]:38468
2025-10-15T15:40:36.059353Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=52 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.059366Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.061285Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 52 sessionId:  describe result for acl check
2025-10-15T15:40:36.061435Z node 17 :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;
2025-10-15T15:40:36.061449Z node 17 :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);
2025-10-15T15:40:36.061463Z node 17 :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;
2025-10-15T15:40:36.061484Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389295791:2761] (SourceId=sid_rand_41, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.065326Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389295791:2761] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.078338Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389295791:2761] (SourceId=sid_rand_41, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.079525Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295807:2761] connected; active server actors: 1
2025-10-15T15:40:36.079999Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389295791:2761] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_41
2025-10-15T15:40:36.080026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389295791:2761] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.081903Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295807:2761] disconnected.
2025-10-15T15:40:36.081942Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295807:2761] disconnected; active server actors: 1
2025-10-15T15:40:36.081965Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295807:2761] disconnected no session
2025-10-15T15:40:36.099720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389295791:2761] (SourceId=sid_rand_41, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.099766Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389295791:2761] (SourceId=sid_rand_41, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-15T15:40:36.099788Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389295791:2761] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.099822Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 52 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-15T15:40:36.102438Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:36.102653Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_41|1f8e823a-db89cc34-608ed5e4-f8ed721f_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_41
2025-10-15T15:40:36.103089Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 52 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_41|1f8e823a-db89cc34-608ed5e4-f8ed721f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_41|1f8e823a-db89cc34-608ed5e4-f8ed721f_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.106517Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId: sid_rand_41|1f8e823a-db89cc34-608ed5e4-f8ed721f_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.106542Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 52 sessionId: sid_rand_41|1f8e823a-db89cc34-608ed5e4-f8ed721f_0 grpc read failed
2025-10-15T15:40:36.106573Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 52 sessionId: sid_rand_41|1f8e823a-db89cc34-608ed5e4-f8ed721f_0 grpc closed
2025-10-15T15:40:36.106592Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 52 sessionId: sid_rand_41|1f8e823a-db89cc34-608ed5e4-f8ed721f_0 is DEAD
2025-10-15T15:40:36.107516Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.107623Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.107640Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 53
2025-10-15T15:40:36.108080Z node 17 :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" }
2025-10-15T15:40:36.108213Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 53 topic: "topic1" message_group_id: "sid_rand_42" from ipv6:[::1]:38468
2025-10-15T15:40:36.108232Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=53 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.108244Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.110006Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 53 sessionId:  describe result for acl check
2025-10-15T15:40:36.110153Z node 17 :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;
2025-10-15T15:40:36.110165Z node 17 :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);
2025-10-15T15:40:36.110177Z node 17 :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;
2025-10-15T15:40:36.110197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389295825:2765] (SourceId=sid_rand_42, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.114106Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389295825:2765] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.121176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389295825:2765] (SourceId=sid_rand_42, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.122747Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389295825:2765] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_42
2025-10-15T15:40:36.122770Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389295825:2765] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.122252Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295844:2765] connected; active server actors: 1
2025-10-15T15:40:36.124028Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295844:2765] disconnected.
2025-10-15T15:40:36.124055Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295844:2765] disconnected; active server actors: 1
2025-10-15T15:40:36.124073Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295844:2765] disconnected no session
2025-10-15T15:40:36.135501Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389295825:2765] (SourceId=sid_rand_42, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.135553Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389295825:2765] (SourceId=sid_rand_42, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-15T15:40:36.135576Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389295825:2765] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.135613Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 53 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-15T15:40:36.137850Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:36.138089Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_42|4d2a1a31-934d6ca-c499897-ef68461f_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_42
2025-10-15T15:40:36.138578Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 53 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_42|4d2a1a31-934d6ca-c499897-ef68461f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_42|4d2a1a31-934d6ca-c499897-ef68461f_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.140985Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId: sid_rand_42|4d2a1a31-934d6ca-c499897-ef68461f_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.141008Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 53 sessionId: sid_rand_42|4d2a1a31-934d6ca-c499897-ef68461f_0 grpc read failed
2025-10-15T15:40:36.141033Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 53 sessionId: sid_rand_42|4d2a1a31-934d6ca-c499897-ef68461f_0 grpc closed
2025-10-15T15:40:36.141054Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 53 sessionId: sid_rand_42|4d2a1a31-934d6ca-c499897-ef68461f_0 is DEAD
2025-10-15T15:40:36.141874Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.141979Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.141998Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 54
2025-10-15T15:40:36.143053Z node 17 :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" }
2025-10-15T15:40:36.143201Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 54 topic: "topic1" message_group_id: "sid_rand_43" from ipv6:[::1]:38468
2025-10-15T15:40:36.143220Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=54 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.143231Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.145138Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 54 sessionId:  describe result for acl check
2025-10-15T15:40:36.145304Z node 17 :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;
2025-10-15T15:40:36.145318Z node 17 :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);
2025-10-15T15:40:36.145332Z node 17 :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;
2025-10-15T15:40:36.145353Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389295863:2769] (SourceId=sid_rand_43, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.149442Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389295863:2769] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.157855Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389295863:2769] (SourceId=sid_rand_43, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.159279Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295879:2769] connected; active server actors: 1
2025-10-15T15:40:36.159853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389295863:2769] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_43
2025-10-15T15:40:36.159879Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389295863:2769] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.161208Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295879:2769] disconnected.
2025-10-15T15:40:36.161244Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295879:2769] disconnected; active server actors: 1
2025-10-15T15:40:36.161264Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295879:2769] disconnected no session
2025-10-15T15:40:36.175803Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389295863:2769] (SourceId=sid_rand_43, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.175861Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389295863:2769] (SourceId=sid_rand_43, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-15T15:40:36.175890Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389295863:2769] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.175933Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 54 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-15T15:40:36.178370Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:36.178715Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_43|3a88a321-40b929fa-249af198-186ff94d_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_43
2025-10-15T15:40:36.179475Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 54 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_43|3a88a321-40b929fa-249af198-186ff94d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_43|3a88a321-40b929fa-249af198-186ff94d_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.185274Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId: sid_rand_43|3a88a321-40b929fa-249af198-186ff94d_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.185306Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 54 sessionId: sid_rand_43|3a88a321-40b929fa-249af198-186ff94d_0 grpc read failed
2025-10-15T15:40:36.185335Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 54 sessionId: sid_rand_43|3a88a321-40b929fa-249af198-186ff94d_0 grpc closed
2025-10-15T15:40:36.185353Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 54 sessionId: sid_rand_43|3a88a321-40b929fa-249af198-186ff94d_0 is DEAD
2025-10-15T15:40:36.186163Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.186272Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.186291Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 55
2025-10-15T15:40:36.187453Z node 17 :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" }
2025-10-15T15:40:36.187598Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 55 topic: "topic1" message_group_id: "sid_rand_44" from ipv6:[::1]:38468
2025-10-15T15:40:36.187617Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=55 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.187629Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.189684Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 55 sessionId:  describe result for acl check
2025-10-15T15:40:36.189842Z node 17 :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;
2025-10-15T15:40:36.189856Z node 17 :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);
2025-10-15T15:40:36.189869Z node 17 :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;
2025-10-15T15:40:36.189890Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389295898:2773] (SourceId=sid_rand_44, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.193392Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389295898:2773] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.203386Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389295898:2773] (SourceId=sid_rand_44, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.205152Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295914:2773] connected; active server actors: 1
2025-10-15T15:40:36.205803Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389295898:2773] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_44
2025-10-15T15:40:36.205834Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389295898:2773] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.207404Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295914:2773] disconnected.
2025-10-15T15:40:36.207444Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295914:2773] disconnected; active server actors: 1
2025-10-15T15:40:36.207469Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295914:2773] disconnected no session
2025-10-15T15:40:36.220124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389295898:2773] (SourceId=sid_rand_44, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.220178Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389295898:2773] (SourceId=sid_rand_44, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-15T15:40:36.220215Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389295898:2773] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.220262Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 55 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-15T15:40:36.223666Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:36.224130Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_44|840df47a-3c783e6f-f062eafe-6b818bd1_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_44
2025-10-15T15:40:36.225442Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 55 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_44|840df47a-3c783e6f-f062eafe-6b818bd1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_44|840df47a-3c783e6f-f062eafe-6b818bd1_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.229812Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId: sid_rand_44|840df47a-3c783e6f-f062eafe-6b818bd1_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.229845Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 55 sessionId: sid_rand_44|840df47a-3c783e6f-f062eafe-6b818bd1_0 grpc read failed
2025-10-15T15:40:36.229881Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 55 sessionId: sid_rand_44|840df47a-3c783e6f-f062eafe-6b818bd1_0 grpc closed
2025-10-15T15:40:36.229906Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 55 sessionId: sid_rand_44|840df47a-3c783e6f-f062eafe-6b818bd1_0 is DEAD
2025-10-15T15:40:36.231558Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.231694Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.231715Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 56
2025-10-15T15:40:36.232144Z node 17 :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" }
2025-10-15T15:40:36.232298Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 56 topic: "topic1" message_group_id: "sid_rand_45" from ipv6:[::1]:38468
2025-10-15T15:40:36.232320Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=56 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.232332Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.234340Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 56 sessionId:  describe result for acl check
2025-10-15T15:40:36.234495Z node 17 :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;
2025-10-15T15:40:36.234510Z node 17 :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);
2025-10-15T15:40:36.234525Z node 17 :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;
2025-10-15T15:40:36.234547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389295934:2777] (SourceId=sid_rand_45, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.238381Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389295934:2777] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.258123Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389295934:2777] (SourceId=sid_rand_45, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.261923Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295953:2777] connected; active server actors: 1
2025-10-15T15:40:36.263910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389295934:2777] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_45
2025-10-15T15:40:36.263941Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389295934:2777] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.266266Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295953:2777] disconnected.
2025-10-15T15:40:36.266322Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295953:2777] disconnected; active server actors: 1
2025-10-15T15:40:36.266347Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295953:2777] disconnected no session
2025-10-15T15:40:36.282471Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389295934:2777] (SourceId=sid_rand_45, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.282522Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389295934:2777] (SourceId=sid_rand_45, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-15T15:40:36.282549Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389295934:2777] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.282587Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 56 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-15T15:40:36.284864Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:36.285116Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_45|ed126143-39741c11-3739899a-7507f7b0_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_45
2025-10-15T15:40:36.285705Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 56 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_45|ed126143-39741c11-3739899a-7507f7b0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_45|ed126143-39741c11-3739899a-7507f7b0_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.289599Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId: sid_rand_45|ed126143-39741c11-3739899a-7507f7b0_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.289624Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 56 sessionId: sid_rand_45|ed126143-39741c11-3739899a-7507f7b0_0 grpc read failed
2025-10-15T15:40:36.289651Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 56 sessionId: sid_rand_45|ed126143-39741c11-3739899a-7507f7b0_0 grpc closed
2025-10-15T15:40:36.289671Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 56 sessionId: sid_rand_45|ed126143-39741c11-3739899a-7507f7b0_0 is DEAD
2025-10-15T15:40:36.290424Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.290528Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.290544Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 57
2025-10-15T15:40:36.291594Z node 17 :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" }
2025-10-15T15:40:36.291751Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 57 topic: "topic1" message_group_id: "sid_rand_46" from ipv6:[::1]:38468
2025-10-15T15:40:36.291773Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=57 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.291782Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.293620Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 57 sessionId:  describe result for acl check
2025-10-15T15:40:36.293766Z node 17 :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;
2025-10-15T15:40:36.293780Z node 17 :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);
2025-10-15T15:40:36.293793Z node 17 :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;
2025-10-15T15:40:36.293813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389295971:2781] (SourceId=sid_rand_46, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.297598Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389295971:2781] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.308529Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389295971:2781] (SourceId=sid_rand_46, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.309549Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295988:2781] connected; active server actors: 1
2025-10-15T15:40:36.310144Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389295971:2781] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_46
2025-10-15T15:40:36.310169Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389295971:2781] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.311491Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295988:2781] disconnected.
2025-10-15T15:40:36.311537Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295988:2781] disconnected; active server actors: 1
2025-10-15T15:40:36.311561Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389295988:2781] disconnected no session
2025-10-15T15:40:36.321300Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389295971:2781] (SourceId=sid_rand_46, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.321351Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389295971:2781] (SourceId=sid_rand_46, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-15T15:40:36.321375Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389295971:2781] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.321413Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 57 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-15T15:40:36.324173Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:36.324559Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_46|79eb2dd2-2cd9710-27d456b4-27babf77_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_46
2025-10-15T15:40:36.325796Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 57 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_46|79eb2dd2-2cd9710-27d456b4-27babf77_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_46|79eb2dd2-2cd9710-27d456b4-27babf77_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.328385Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.328412Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 58
2025-10-15T15:40:36.328596Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId: sid_rand_46|79eb2dd2-2cd9710-27d456b4-27babf77_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.328615Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 57 sessionId: sid_rand_46|79eb2dd2-2cd9710-27d456b4-27babf77_0 grpc read failed
2025-10-15T15:40:36.328640Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 57 sessionId: sid_rand_46|79eb2dd2-2cd9710-27d456b4-27babf77_0 grpc closed
2025-10-15T15:40:36.328660Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 57 sessionId: sid_rand_46|79eb2dd2-2cd9710-27d456b4-27babf77_0 is DEAD
2025-10-15T15:40:36.329453Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.330609Z node 17 :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" }
2025-10-15T15:40:36.330755Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 58 topic: "topic1" message_group_id: "sid_rand_47" from ipv6:[::1]:38468
2025-10-15T15:40:36.330774Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=58 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.330785Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.332685Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 58 sessionId:  describe result for acl check
2025-10-15T15:40:36.332855Z node 17 :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;
2025-10-15T15:40:36.332869Z node 17 :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);
2025-10-15T15:40:36.332883Z node 17 :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;
2025-10-15T15:40:36.332904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389296005:2785] (SourceId=sid_rand_47, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.336659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389296005:2785] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.345474Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389296005:2785] (SourceId=sid_rand_47, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.347046Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296022:2785] connected; active server actors: 1
2025-10-15T15:40:36.347699Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389296005:2785] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_47
2025-10-15T15:40:36.347724Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389296005:2785] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.349153Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296022:2785] disconnected.
2025-10-15T15:40:36.349189Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296022:2785] disconnected; active server actors: 1
2025-10-15T15:40:36.349212Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296022:2785] disconnected no session
2025-10-15T15:40:36.363465Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389296005:2785] (SourceId=sid_rand_47, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.363510Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389296005:2785] (SourceId=sid_rand_47, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-15T15:40:36.363534Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389296005:2785] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.363569Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 58 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-15T15:40:36.365744Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:36.366037Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_47|2a0ccdda-77e533d-bea1fb2f-d73b3119_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_47
2025-10-15T15:40:36.366501Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 58 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_47|2a0ccdda-77e533d-bea1fb2f-d73b3119_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_47|2a0ccdda-77e533d-bea1fb2f-d73b3119_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.369019Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId: sid_rand_47|2a0ccdda-77e533d-bea1fb2f-d73b3119_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.369044Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 58 sessionId: sid_rand_47|2a0ccdda-77e533d-bea1fb2f-d73b3119_0 grpc read failed
2025-10-15T15:40:36.369069Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 58 sessionId: sid_rand_47|2a0ccdda-77e533d-bea1fb2f-d73b3119_0 grpc closed
2025-10-15T15:40:36.369107Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 58 sessionId: sid_rand_47|2a0ccdda-77e533d-bea1fb2f-d73b3119_0 is DEAD
2025-10-15T15:40:36.369912Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.370026Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.370045Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 59
2025-10-15T15:40:36.371033Z node 17 :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" }
2025-10-15T15:40:36.371234Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 59 topic: "topic1" message_group_id: "sid_rand_48" from ipv6:[::1]:38468
2025-10-15T15:40:36.371252Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=59 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.371270Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.373157Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 59 sessionId:  describe result for acl check
2025-10-15T15:40:36.373314Z node 17 :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;
2025-10-15T15:40:36.373327Z node 17 :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);
2025-10-15T15:40:36.373340Z node 17 :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;
2025-10-15T15:40:36.373359Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389296040:2789] (SourceId=sid_rand_48, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.377235Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389296040:2789] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.386670Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389296040:2789] (SourceId=sid_rand_48, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.393476Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296059:2789] connected; active server actors: 1
2025-10-15T15:40:36.393830Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389296040:2789] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_48
2025-10-15T15:40:36.393872Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389296040:2789] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.395973Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296059:2789] disconnected.
2025-10-15T15:40:36.396010Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296059:2789] disconnected; active server actors: 1
2025-10-15T15:40:36.396032Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296059:2789] disconnected no session
2025-10-15T15:40:36.416275Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389296040:2789] (SourceId=sid_rand_48, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.416321Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389296040:2789] (SourceId=sid_rand_48, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-15T15:40:36.416344Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389296040:2789] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.416380Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 59 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-15T15:40:36.418348Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:36.418595Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_48|3bf624e4-ad932bff-8e89a023-c0170e60_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_48
2025-10-15T15:40:36.419607Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 59 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_48|3bf624e4-ad932bff-8e89a023-c0170e60_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_48|3bf624e4-ad932bff-8e89a023-c0170e60_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.422369Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId: sid_rand_48|3bf624e4-ad932bff-8e89a023-c0170e60_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.422392Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 59 sessionId: sid_rand_48|3bf624e4-ad932bff-8e89a023-c0170e60_0 grpc read failed
2025-10-15T15:40:36.422417Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 59 sessionId: sid_rand_48|3bf624e4-ad932bff-8e89a023-c0170e60_0 grpc closed
2025-10-15T15:40:36.422437Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 59 sessionId: sid_rand_48|3bf624e4-ad932bff-8e89a023-c0170e60_0 is DEAD
2025-10-15T15:40:36.423240Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.423344Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.423361Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 60
2025-10-15T15:40:36.424415Z node 17 :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" }
2025-10-15T15:40:36.424571Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 60 topic: "topic1" message_group_id: "sid_rand_49" from ipv6:[::1]:38468
2025-10-15T15:40:36.424592Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=60 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.424603Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.426759Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 60 sessionId:  describe result for acl check
2025-10-15T15:40:36.426906Z node 17 :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;
2025-10-15T15:40:36.426920Z node 17 :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);
2025-10-15T15:40:36.426934Z node 17 :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;
2025-10-15T15:40:36.426955Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389296077:2793] (SourceId=sid_rand_49, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.431532Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389296077:2793] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.439521Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389296077:2793] (SourceId=sid_rand_49, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.441959Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389296077:2793] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_49
2025-10-15T15:40:36.441986Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389296077:2793] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.441254Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296093:2793] connected; active server actors: 1
2025-10-15T15:40:36.443637Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296093:2793] disconnected.
2025-10-15T15:40:36.443668Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296093:2793] disconnected; active server actors: 1
2025-10-15T15:40:36.443689Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296093:2793] disconnected no session
2025-10-15T15:40:36.453672Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389296077:2793] (SourceId=sid_rand_49, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.453721Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389296077:2793] (SourceId=sid_rand_49, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-15T15:40:36.453745Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389296077:2793] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.453780Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 60 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-15T15:40:36.456003Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:36.456254Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_49|ec539b54-eb2f9be7-781e668b-ced1702c_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_49
2025-10-15T15:40:36.456775Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 60 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_49|ec539b54-eb2f9be7-781e668b-ced1702c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_49|ec539b54-eb2f9be7-781e668b-ced1702c_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.459551Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId: sid_rand_49|ec539b54-eb2f9be7-781e668b-ced1702c_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.459575Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 60 sessionId: sid_rand_49|ec539b54-eb2f9be7-781e668b-ced1702c_0 grpc read failed
2025-10-15T15:40:36.459598Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 60 sessionId: sid_rand_49|ec539b54-eb2f9be7-781e668b-ced1702c_0 grpc closed
2025-10-15T15:40:36.459621Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 60 sessionId: sid_rand_49|ec539b54-eb2f9be7-781e668b-ced1702c_0 is DEAD
2025-10-15T15:40:36.459827Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.459846Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 61
2025-10-15T15:40:36.461028Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.462214Z node 17 :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" }
2025-10-15T15:40:36.462363Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 61 topic: "topic1" message_group_id: "sid_rand_50" from ipv6:[::1]:38468
2025-10-15T15:40:36.462383Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=61 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.462394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.464262Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 61 sessionId:  describe result for acl check
2025-10-15T15:40:36.464397Z node 17 :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;
2025-10-15T15:40:36.464410Z node 17 :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);
2025-10-15T15:40:36.464423Z node 17 :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;
2025-10-15T15:40:36.464445Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389296111:2797] (SourceId=sid_rand_50, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.468183Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389296111:2797] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.484505Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389296111:2797] (SourceId=sid_rand_50, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.487135Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389296111:2797] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_50
2025-10-15T15:40:36.487168Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389296111:2797] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.486316Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296144:2797] connected; active server actors: 1
2025-10-15T15:40:36.489638Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296144:2797] disconnected.
2025-10-15T15:40:36.489674Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296144:2797] disconnected; active server actors: 1
2025-10-15T15:40:36.489696Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296144:2797] disconnected no session
2025-10-15T15:40:36.498380Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389296111:2797] (SourceId=sid_rand_50, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.498442Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389296111:2797] (SourceId=sid_rand_50, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-15T15:40:36.498469Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389296111:2797] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.498506Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 61 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-15T15:40:36.500414Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:36.500650Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_50|78b8c7fd-57b1aa9d-91958df1-193805a_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_50
2025-10-15T15:40:36.501151Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 61 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_50|78b8c7fd-57b1aa9d-91958df1-193805a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_50|78b8c7fd-57b1aa9d-91958df1-193805a_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.507025Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId: sid_rand_50|78b8c7fd-57b1aa9d-91958df1-193805a_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.507081Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 61 sessionId: sid_rand_50|78b8c7fd-57b1aa9d-91958df1-193805a_0 grpc read failed
2025-10-15T15:40:36.507122Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 61 sessionId: sid_rand_50|78b8c7fd-57b1aa9d-91958df1-193805a_0 grpc closed
2025-10-15T15:40:36.507161Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 61 sessionId: sid_rand_50|78b8c7fd-57b1aa9d-91958df1-193805a_0 is DEAD
2025-10-15T15:40:36.507703Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.507726Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 62
2025-10-15T15:40:36.508155Z node 17 :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" }
2025-10-15T15:40:36.508326Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 62 topic: "topic1" message_group_id: "sid_rand_51" from ipv6:[::1]:38468
2025-10-15T15:40:36.508350Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=62 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.508363Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.508681Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.510390Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 62 sessionId:  describe result for acl check
2025-10-15T15:40:36.510558Z node 17 :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;
2025-10-15T15:40:36.510579Z node 17 :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);
2025-10-15T15:40:36.510593Z node 17 :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;
2025-10-15T15:40:36.510615Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389296164:2805] (SourceId=sid_rand_51, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.514846Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389296164:2805] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.525544Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389296164:2805] (SourceId=sid_rand_51, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.527301Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296183:2805] connected; active server actors: 1
2025-10-15T15:40:36.527971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389296164:2805] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_51
2025-10-15T15:40:36.528006Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389296164:2805] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.531034Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296183:2805] disconnected.
2025-10-15T15:40:36.531084Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296183:2805] disconnected; active server actors: 1
2025-10-15T15:40:36.531123Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296183:2805] disconnected no session
2025-10-15T15:40:36.549117Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389296164:2805] (SourceId=sid_rand_51, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.549176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389296164:2805] (SourceId=sid_rand_51, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-15T15:40:36.549208Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389296164:2805] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.549253Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 62 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-15T15:40:36.552273Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:36.552652Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_51|def1d254-eff2c4c8-ee153f87-6033d9f2_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_51
2025-10-15T15:40:36.553509Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 62 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_51|def1d254-eff2c4c8-ee153f87-6033d9f2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_51|def1d254-eff2c4c8-ee153f87-6033d9f2_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.559162Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId: sid_rand_51|def1d254-eff2c4c8-ee153f87-6033d9f2_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.559198Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 62 sessionId: sid_rand_51|def1d254-eff2c4c8-ee153f87-6033d9f2_0 grpc read failed
2025-10-15T15:40:36.559237Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 62 sessionId: sid_rand_51|def1d254-eff2c4c8-ee153f87-6033d9f2_0 grpc closed
2025-10-15T15:40:36.559273Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 62 sessionId: sid_rand_51|def1d254-eff2c4c8-ee153f87-6033d9f2_0 is DEAD
2025-10-15T15:40:36.559351Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.559384Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 63
2025-10-15T15:40:36.559767Z node 17 :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" }
2025-10-15T15:40:36.559921Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 63 topic: "topic1" message_group_id: "sid_rand_52" from ipv6:[::1]:38468
2025-10-15T15:40:36.559941Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=63 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.559954Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.560409Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.562877Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 63 sessionId:  describe result for acl check
2025-10-15T15:40:36.563073Z node 17 :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;
2025-10-15T15:40:36.563090Z node 17 :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);
2025-10-15T15:40:36.563108Z node 17 :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;
2025-10-15T15:40:36.563133Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389296201:2809] (SourceId=sid_rand_52, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.569628Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389296201:2809] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.583014Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389296201:2809] (SourceId=sid_rand_52, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.583846Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296217:2809] connected; active server actors: 1
2025-10-15T15:40:36.584530Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389296201:2809] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_52
2025-10-15T15:40:36.584560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389296201:2809] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.586021Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296217:2809] disconnected.
2025-10-15T15:40:36.586063Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296217:2809] disconnected; active server actors: 1
2025-10-15T15:40:36.586086Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296217:2809] disconnected no session
2025-10-15T15:40:36.596103Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389296201:2809] (SourceId=sid_rand_52, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.596150Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389296201:2809] (SourceId=sid_rand_52, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-15T15:40:36.596175Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389296201:2809] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.596212Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 63 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-15T15:40:36.597211Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:36.597492Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_52|9bba256c-650ae5c7-8666d41f-1fb46d25_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_52
2025-10-15T15:40:36.598026Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 63 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_52|9bba256c-650ae5c7-8666d41f-1fb46d25_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_52|9bba256c-650ae5c7-8666d41f-1fb46d25_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.600897Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId: sid_rand_52|9bba256c-650ae5c7-8666d41f-1fb46d25_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.600925Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 63 sessionId: sid_rand_52|9bba256c-650ae5c7-8666d41f-1fb46d25_0 grpc read failed
2025-10-15T15:40:36.600952Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 63 sessionId: sid_rand_52|9bba256c-650ae5c7-8666d41f-1fb46d25_0 grpc closed
2025-10-15T15:40:36.600973Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 63 sessionId: sid_rand_52|9bba256c-650ae5c7-8666d41f-1fb46d25_0 is DEAD
2025-10-15T15:40:36.601838Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.601962Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.601983Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 64
2025-10-15T15:40:36.603019Z node 17 :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" }
2025-10-15T15:40:36.603181Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 64 topic: "topic1" message_group_id: "sid_rand_53" from ipv6:[::1]:38468
2025-10-15T15:40:36.603202Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=64 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.603213Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.605265Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 64 sessionId:  describe result for acl check
2025-10-15T15:40:36.605418Z node 17 :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;
2025-10-15T15:40:36.605432Z node 17 :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);
2025-10-15T15:40:36.605448Z node 17 :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;
2025-10-15T15:40:36.605469Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389296235:2813] (SourceId=sid_rand_53, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.610058Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389296235:2813] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.620021Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389296235:2813] (SourceId=sid_rand_53, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.621715Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296251:2813] connected; active server actors: 1
2025-10-15T15:40:36.622902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389296235:2813] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_53
2025-10-15T15:40:36.622936Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389296235:2813] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.623631Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296251:2813] disconnected.
2025-10-15T15:40:36.623667Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296251:2813] disconnected; active server actors: 1
2025-10-15T15:40:36.623689Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296251:2813] disconnected no session
2025-10-15T15:40:36.639635Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389296235:2813] (SourceId=sid_rand_53, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.639689Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389296235:2813] (SourceId=sid_rand_53, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-15T15:40:36.639725Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389296235:2813] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.639762Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 64 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-15T15:40:36.642914Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:36.643339Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_53|652211ea-cfc08810-657605f-ddebe373_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_53
2025-10-15T15:40:36.644384Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 64 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_53|652211ea-cfc08810-657605f-ddebe373_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_53|652211ea-cfc08810-657605f-ddebe373_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.647140Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId: sid_rand_53|652211ea-cfc08810-657605f-ddebe373_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.647165Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 64 sessionId: sid_rand_53|652211ea-cfc08810-657605f-ddebe373_0 grpc read failed
2025-10-15T15:40:36.647193Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 64 sessionId: sid_rand_53|652211ea-cfc08810-657605f-ddebe373_0 grpc closed
2025-10-15T15:40:36.647213Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 64 sessionId: sid_rand_53|652211ea-cfc08810-657605f-ddebe373_0 is DEAD
2025-10-15T15:40:36.647296Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.647317Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 65
2025-10-15T15:40:36.647603Z node 17 :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" }
2025-10-15T15:40:36.647743Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 65 topic: "topic1" message_group_id: "sid_rand_54" from ipv6:[::1]:38468
2025-10-15T15:40:36.647762Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=65 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.647773Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.648046Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.650003Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 65 sessionId:  describe result for acl check
2025-10-15T15:40:36.650149Z node 17 :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;
2025-10-15T15:40:36.650163Z node 17 :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);
2025-10-15T15:40:36.650177Z node 17 :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;
2025-10-15T15:40:36.650198Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389296269:2817] (SourceId=sid_rand_54, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.655048Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389296269:2817] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.664334Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389296269:2817] (SourceId=sid_rand_54, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.665161Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296288:2817] connected; active server actors: 1
2025-10-15T15:40:36.665577Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389296269:2817] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_54
2025-10-15T15:40:36.665603Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389296269:2817] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.667342Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296288:2817] disconnected.
2025-10-15T15:40:36.667383Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296288:2817] disconnected; active server actors: 1
2025-10-15T15:40:36.667405Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296288:2817] disconnected no session
2025-10-15T15:40:36.675218Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389296269:2817] (SourceId=sid_rand_54, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.675262Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389296269:2817] (SourceId=sid_rand_54, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-15T15:40:36.675287Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389296269:2817] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.675324Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 65 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-15T15:40:36.676644Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:36.676973Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_54|971d4ce0-32dac373-56cafc33-11000c31_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_54
2025-10-15T15:40:36.678057Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 65 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_54|971d4ce0-32dac373-56cafc33-11000c31_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_54|971d4ce0-32dac373-56cafc33-11000c31_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.682538Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId: sid_rand_54|971d4ce0-32dac373-56cafc33-11000c31_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.682564Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 65 sessionId: sid_rand_54|971d4ce0-32dac373-56cafc33-11000c31_0 grpc read failed
2025-10-15T15:40:36.682593Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 65 sessionId: sid_rand_54|971d4ce0-32dac373-56cafc33-11000c31_0 grpc closed
2025-10-15T15:40:36.682614Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 65 sessionId: sid_rand_54|971d4ce0-32dac373-56cafc33-11000c31_0 is DEAD
2025-10-15T15:40:36.682703Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.682724Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 66
2025-10-15T15:40:36.682990Z node 17 :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" }
2025-10-15T15:40:36.683145Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 66 topic: "topic1" message_group_id: "sid_rand_55" from ipv6:[::1]:38468
2025-10-15T15:40:36.683167Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=66 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.683179Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.683606Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.684947Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 66 sessionId:  describe result for acl check
2025-10-15T15:40:36.685107Z node 17 :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;
2025-10-15T15:40:36.685121Z node 17 :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);
2025-10-15T15:40:36.685136Z node 17 :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;
2025-10-15T15:40:36.685155Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389296306:2821] (SourceId=sid_rand_55, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.688975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389296306:2821] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.698914Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389296306:2821] (SourceId=sid_rand_55, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.699581Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296322:2821] connected; active server actors: 1
2025-10-15T15:40:36.699969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389296306:2821] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_55
2025-10-15T15:40:36.699996Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389296306:2821] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.700588Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296322:2821] disconnected.
2025-10-15T15:40:36.700617Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296322:2821] disconnected; active server actors: 1
2025-10-15T15:40:36.700648Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296322:2821] disconnected no session
2025-10-15T15:40:36.713137Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389296306:2821] (SourceId=sid_rand_55, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.713187Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389296306:2821] (SourceId=sid_rand_55, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-15T15:40:36.713213Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389296306:2821] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.713249Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 66 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-15T15:40:36.714153Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:36.714293Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_55|4b6c000e-d0f754e9-39f0415b-4d9269c6_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_55
2025-10-15T15:40:36.714801Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 66 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_55|4b6c000e-d0f754e9-39f0415b-4d9269c6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_55|4b6c000e-d0f754e9-39f0415b-4d9269c6_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.718637Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId: sid_rand_55|4b6c000e-d0f754e9-39f0415b-4d9269c6_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.718639Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.718661Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 67
2025-10-15T15:40:36.718665Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 66 sessionId: sid_rand_55|4b6c000e-d0f754e9-39f0415b-4d9269c6_0 grpc read failed
2025-10-15T15:40:36.718694Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 66 sessionId: sid_rand_55|4b6c000e-d0f754e9-39f0415b-4d9269c6_0 grpc closed
2025-10-15T15:40:36.718715Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 66 sessionId: sid_rand_55|4b6c000e-d0f754e9-39f0415b-4d9269c6_0 is DEAD
2025-10-15T15:40:36.719101Z node 17 :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" }
2025-10-15T15:40:36.719242Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 67 topic: "topic1" message_group_id: "sid_rand_56" from ipv6:[::1]:38468
2025-10-15T15:40:36.719261Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=67 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.719271Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.719554Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.721600Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 67 sessionId:  describe result for acl check
2025-10-15T15:40:36.721767Z node 17 :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;
2025-10-15T15:40:36.721789Z node 17 :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);
2025-10-15T15:40:36.721803Z node 17 :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;
2025-10-15T15:40:36.721824Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389296343:2825] (SourceId=sid_rand_56, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.725724Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389296343:2825] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.739470Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389296343:2825] (SourceId=sid_rand_56, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.740507Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296359:2825] connected; active server actors: 1
2025-10-15T15:40:36.741183Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389296343:2825] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_56
2025-10-15T15:40:36.741210Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389296343:2825] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.741995Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296359:2825] disconnected.
2025-10-15T15:40:36.742028Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296359:2825] disconnected; active server actors: 1
2025-10-15T15:40:36.742049Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296359:2825] disconnected no session
2025-10-15T15:40:36.753011Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389296343:2825] (SourceId=sid_rand_56, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.753060Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389296343:2825] (SourceId=sid_rand_56, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-15T15:40:36.753099Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389296343:2825] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.753137Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 67 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-15T15:40:36.754234Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:36.754563Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_56|d1b29ec-65ae947a-96053123-3dbcb4e0_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_56
2025-10-15T15:40:36.755570Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 67 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_56|d1b29ec-65ae947a-96053123-3dbcb4e0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_56|d1b29ec-65ae947a-96053123-3dbcb4e0_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.757960Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId: sid_rand_56|d1b29ec-65ae947a-96053123-3dbcb4e0_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.757994Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 67 sessionId: sid_rand_56|d1b29ec-65ae947a-96053123-3dbcb4e0_0 grpc read failed
2025-10-15T15:40:36.758026Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 67 sessionId: sid_rand_56|d1b29ec-65ae947a-96053123-3dbcb4e0_0 grpc closed
2025-10-15T15:40:36.758056Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 67 sessionId: sid_rand_56|d1b29ec-65ae947a-96053123-3dbcb4e0_0 is DEAD
2025-10-15T15:40:36.758135Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.758162Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 68
2025-10-15T15:40:36.758470Z node 17 :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" }
2025-10-15T15:40:36.758603Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 68 topic: "topic1" message_group_id: "sid_rand_57" from ipv6:[::1]:38468
2025-10-15T15:40:36.758683Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=68 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.758703Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.758926Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.760351Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 68 sessionId:  describe result for acl check
2025-10-15T15:40:36.760555Z node 17 :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;
2025-10-15T15:40:36.760569Z node 17 :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);
2025-10-15T15:40:36.760582Z node 17 :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;
2025-10-15T15:40:36.760629Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389296376:2829] (SourceId=sid_rand_57, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.765429Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389296376:2829] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.775804Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389296376:2829] (SourceId=sid_rand_57, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.779001Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296393:2829] connected; active server actors: 1
2025-10-15T15:40:36.779570Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389296376:2829] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_57
2025-10-15T15:40:36.779599Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389296376:2829] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.781008Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296393:2829] disconnected.
2025-10-15T15:40:36.781041Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296393:2829] disconnected; active server actors: 1
2025-10-15T15:40:36.781063Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296393:2829] disconnected no session
2025-10-15T15:40:36.791239Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389296376:2829] (SourceId=sid_rand_57, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.791289Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389296376:2829] (SourceId=sid_rand_57, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-15T15:40:36.791333Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389296376:2829] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.791373Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 68 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-15T15:40:36.792619Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:36.792869Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_57|32af81de-22a90302-76a47825-a60e1b58_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_57
2025-10-15T15:40:36.793776Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 68 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_57|32af81de-22a90302-76a47825-a60e1b58_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_57|32af81de-22a90302-76a47825-a60e1b58_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.796001Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId: sid_rand_57|32af81de-22a90302-76a47825-a60e1b58_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.796027Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 68 sessionId: sid_rand_57|32af81de-22a90302-76a47825-a60e1b58_0 grpc read failed
2025-10-15T15:40:36.796055Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 68 sessionId: sid_rand_57|32af81de-22a90302-76a47825-a60e1b58_0 grpc closed
2025-10-15T15:40:36.796074Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 68 sessionId: sid_rand_57|32af81de-22a90302-76a47825-a60e1b58_0 is DEAD
2025-10-15T15:40:36.796218Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.796241Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 69
2025-10-15T15:40:36.796719Z node 17 :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" }
2025-10-15T15:40:36.796861Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 69 topic: "topic1" message_group_id: "sid_rand_58" from ipv6:[::1]:38468
2025-10-15T15:40:36.796881Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=69 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.796892Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.797042Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.799013Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 69 sessionId:  describe result for acl check
2025-10-15T15:40:36.799151Z node 17 :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;
2025-10-15T15:40:36.799164Z node 17 :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);
2025-10-15T15:40:36.799176Z node 17 :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;
2025-10-15T15:40:36.799195Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389296410:2833] (SourceId=sid_rand_58, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.803444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389296410:2833] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.812600Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389296410:2833] (SourceId=sid_rand_58, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.813896Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296431:2833] connected; active server actors: 1
2025-10-15T15:40:36.814340Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389296410:2833] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_58
2025-10-15T15:40:36.814366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389296410:2833] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.814996Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296431:2833] disconnected.
2025-10-15T15:40:36.815028Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296431:2833] disconnected; active server actors: 1
2025-10-15T15:40:36.815050Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296431:2833] disconnected no session
2025-10-15T15:40:36.825271Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389296410:2833] (SourceId=sid_rand_58, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.825319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389296410:2833] (SourceId=sid_rand_58, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-15T15:40:36.825350Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389296410:2833] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.825390Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 69 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-15T15:40:36.828059Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:36.828336Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_58|443cd613-f44b93df-5054b5f6-ba2c6341_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_58
2025-10-15T15:40:36.828939Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 69 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_58|443cd613-f44b93df-5054b5f6-ba2c6341_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_58|443cd613-f44b93df-5054b5f6-ba2c6341_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.833197Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId: sid_rand_58|443cd613-f44b93df-5054b5f6-ba2c6341_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.833220Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 69 sessionId: sid_rand_58|443cd613-f44b93df-5054b5f6-ba2c6341_0 grpc read failed
2025-10-15T15:40:36.833604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 69 sessionId: sid_rand_58|443cd613-f44b93df-5054b5f6-ba2c6341_0
2025-10-15T15:40:36.833634Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 69 sessionId: sid_rand_58|443cd613-f44b93df-5054b5f6-ba2c6341_0 is DEAD
2025-10-15T15:40:36.834019Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.834795Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.834818Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 70
2025-10-15T15:40:36.835173Z node 17 :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" }
2025-10-15T15:40:36.835315Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 70 topic: "topic1" message_group_id: "sid_rand_59" from ipv6:[::1]:38468
2025-10-15T15:40:36.835334Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=70 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.835350Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.837234Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 70 sessionId:  describe result for acl check
2025-10-15T15:40:36.837394Z node 17 :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;
2025-10-15T15:40:36.837410Z node 17 :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);
2025-10-15T15:40:36.837425Z node 17 :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;
2025-10-15T15:40:36.837446Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389296449:2837] (SourceId=sid_rand_59, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.841582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389296449:2837] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.849649Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389296449:2837] (SourceId=sid_rand_59, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.851268Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296466:2837] connected; active server actors: 1
2025-10-15T15:40:36.851888Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389296449:2837] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_59
2025-10-15T15:40:36.851914Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389296449:2837] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.853283Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296466:2837] disconnected.
2025-10-15T15:40:36.853320Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296466:2837] disconnected; active server actors: 1
2025-10-15T15:40:36.853344Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296466:2837] disconnected no session
2025-10-15T15:40:36.878356Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389296449:2837] (SourceId=sid_rand_59, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.878403Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389296449:2837] (SourceId=sid_rand_59, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-15T15:40:36.878426Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389296449:2837] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.878461Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 70 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-15T15:40:36.885850Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:36.886270Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_59|5910d70f-5872cc9-33b6b7fe-998c0d42_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_59
2025-10-15T15:40:36.887317Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 70 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_59|5910d70f-5872cc9-33b6b7fe-998c0d42_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_59|5910d70f-5872cc9-33b6b7fe-998c0d42_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.891021Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId: sid_rand_59|5910d70f-5872cc9-33b6b7fe-998c0d42_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.891045Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 70 sessionId: sid_rand_59|5910d70f-5872cc9-33b6b7fe-998c0d42_0 grpc read failed
2025-10-15T15:40:36.891072Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 70 sessionId: sid_rand_59|5910d70f-5872cc9-33b6b7fe-998c0d42_0 grpc closed
2025-10-15T15:40:36.891092Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 70 sessionId: sid_rand_59|5910d70f-5872cc9-33b6b7fe-998c0d42_0 is DEAD
2025-10-15T15:40:36.891921Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.892030Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.892048Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 71
2025-10-15T15:40:36.893275Z node 17 :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" }
2025-10-15T15:40:36.893417Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 71 topic: "topic1" message_group_id: "sid_rand_60" from ipv6:[::1]:38468
2025-10-15T15:40:36.893438Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=71 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.893451Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.895319Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 71 sessionId:  describe result for acl check
2025-10-15T15:40:36.895467Z node 17 :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;
2025-10-15T15:40:36.895482Z node 17 :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);
2025-10-15T15:40:36.895495Z node 17 :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;
2025-10-15T15:40:36.895516Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389296483:2841] (SourceId=sid_rand_60, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.902252Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389296483:2841] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.917841Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296499:2841] connected; active server actors: 1
2025-10-15T15:40:36.916232Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389296483:2841] (SourceId=sid_rand_60, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.918250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389296483:2841] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_60
2025-10-15T15:40:36.918275Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389296483:2841] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.919660Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296499:2841] disconnected.
2025-10-15T15:40:36.919704Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296499:2841] disconnected; active server actors: 1
2025-10-15T15:40:36.919729Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296499:2841] disconnected no session
2025-10-15T15:40:36.931712Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389296483:2841] (SourceId=sid_rand_60, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.931764Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389296483:2841] (SourceId=sid_rand_60, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-15T15:40:36.931790Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389296483:2841] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.931828Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 71 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-15T15:40:36.936010Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:36.936432Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_60|936f6bae-f3653871-f8605eee-1f87af6_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_60
2025-10-15T15:40:36.936924Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 71 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_60|936f6bae-f3653871-f8605eee-1f87af6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_60|936f6bae-f3653871-f8605eee-1f87af6_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:36.944464Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId: sid_rand_60|936f6bae-f3653871-f8605eee-1f87af6_0 grpc read done: success: 0 data: 
2025-10-15T15:40:36.944508Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 71 sessionId: sid_rand_60|936f6bae-f3653871-f8605eee-1f87af6_0 grpc read failed
2025-10-15T15:40:36.944541Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 71 sessionId: sid_rand_60|936f6bae-f3653871-f8605eee-1f87af6_0 grpc closed
2025-10-15T15:40:36.944564Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 71 sessionId: sid_rand_60|936f6bae-f3653871-f8605eee-1f87af6_0 is DEAD
2025-10-15T15:40:36.945436Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:36.945553Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:36.945570Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 72
2025-10-15T15:40:36.947551Z node 17 :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" }
2025-10-15T15:40:36.947705Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 72 topic: "topic1" message_group_id: "sid_rand_61" from ipv6:[::1]:38468
2025-10-15T15:40:36.947726Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=72 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:36.947737Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:36.950308Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 72 sessionId:  describe result for acl check
2025-10-15T15:40:36.950477Z node 17 :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;
2025-10-15T15:40:36.950490Z node 17 :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);
2025-10-15T15:40:36.950503Z node 17 :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;
2025-10-15T15:40:36.950525Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473907389296521:2845] (SourceId=sid_rand_61, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:36.956503Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473907389296521:2845] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:36.972533Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473907389296521:2845] (SourceId=sid_rand_61, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:36.976108Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473907389296521:2845] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_61
2025-10-15T15:40:36.974516Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296540:2845] connected; active server actors: 1
2025-10-15T15:40:36.976152Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473907389296521:2845] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:36.977742Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296540:2845] disconnected.
2025-10-15T15:40:36.977788Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296540:2845] disconnected; active server actors: 1
2025-10-15T15:40:36.977814Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473907389296540:2845] disconnected no session
2025-10-15T15:40:36.995243Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473907389296521:2845] (SourceId=sid_rand_61, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:36.995298Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473907389296521:2845] (SourceId=sid_rand_61, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-15T15:40:36.995326Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473907389296521:2845] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:36.995369Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 72 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-15T15:40:36.997457Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:36.997662Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_61|a2627312-48bbce04-bc1c9660-75a1b8c_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_61
2025-10-15T15:40:36.998674Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 72 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_61|a2627312-48bbce04-bc1c9660-75a1b8c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_61|a2627312-48bbce04-bc1c9660-75a1b8c_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:37.002376Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId: sid_rand_61|a2627312-48bbce04-bc1c9660-75a1b8c_0 grpc read done: success: 0 data: 
2025-10-15T15:40:37.002406Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 72 sessionId: sid_rand_61|a2627312-48bbce04-bc1c9660-75a1b8c_0 grpc read failed
2025-10-15T15:40:37.002435Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 72 sessionId: sid_rand_61|a2627312-48bbce04-bc1c9660-75a1b8c_0 grpc closed
2025-10-15T15:40:37.002455Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 72 sessionId: sid_rand_61|a2627312-48bbce04-bc1c9660-75a1b8c_0 is DEAD
2025-10-15T15:40:37.003237Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:37.003354Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:37.003371Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 73
2025-10-15T15:40:37.004348Z node 17 :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" }
2025-10-15T15:40:37.004518Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 73 topic: "topic1" message_group_id: "sid_rand_62" from ipv6:[::1]:38468
2025-10-15T15:40:37.004542Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=73 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:37.004553Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:37.006375Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 73 sessionId:  describe result for acl check
2025-10-15T15:40:37.006525Z node 17 :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;
2025-10-15T15:40:37.006539Z node 17 :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);
2025-10-15T15:40:37.006552Z node 17 :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;
2025-10-15T15:40:37.006573Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473911684263855:2851] (SourceId=sid_rand_62, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:37.012533Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473911684263855:2851] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:37.056894Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684263872:2851] connected; active server actors: 1
2025-10-15T15:40:37.055913Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473911684263855:2851] (SourceId=sid_rand_62, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:37.058868Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684263872:2851] disconnected.
2025-10-15T15:40:37.058902Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684263872:2851] disconnected; active server actors: 1
2025-10-15T15:40:37.058923Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684263872:2851] disconnected no session
2025-10-15T15:40:37.057531Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473911684263855:2851] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_62
2025-10-15T15:40:37.057561Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473911684263855:2851] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:37.071969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473911684263855:2851] (SourceId=sid_rand_62, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:37.072014Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473911684263855:2851] (SourceId=sid_rand_62, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-15T15:40:37.072042Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473911684263855:2851] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:37.072077Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 73 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-15T15:40:37.073564Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:37.074057Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_62|f9e2eb31-680aaf5b-820ca328-d91e93a_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_62
2025-10-15T15:40:37.075155Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 73 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_62|f9e2eb31-680aaf5b-820ca328-d91e93a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_62|f9e2eb31-680aaf5b-820ca328-d91e93a_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:37.079287Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId: sid_rand_62|f9e2eb31-680aaf5b-820ca328-d91e93a_0 grpc read done: success: 0 data: 
2025-10-15T15:40:37.079312Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 73 sessionId: sid_rand_62|f9e2eb31-680aaf5b-820ca328-d91e93a_0 grpc read failed
2025-10-15T15:40:37.079333Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 73 sessionId: sid_rand_62|f9e2eb31-680aaf5b-820ca328-d91e93a_0 grpc closed
2025-10-15T15:40:37.079354Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 73 sessionId: sid_rand_62|f9e2eb31-680aaf5b-820ca328-d91e93a_0 is DEAD
2025-10-15T15:40:37.080125Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:37.080241Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:37.080267Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 74
2025-10-15T15:40:37.080747Z node 17 :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" }
2025-10-15T15:40:37.080885Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 74 topic: "topic1" message_group_id: "sid_rand_63" from ipv6:[::1]:38468
2025-10-15T15:40:37.080904Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=74 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:37.080914Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:37.082967Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 74 sessionId:  describe result for acl check
2025-10-15T15:40:37.083150Z node 17 :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;
2025-10-15T15:40:37.083163Z node 17 :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);
2025-10-15T15:40:37.083177Z node 17 :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;
2025-10-15T15:40:37.083197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473911684263889:2855] (SourceId=sid_rand_63, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:37.087442Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473911684263889:2855] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:37.098638Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473911684263889:2855] (SourceId=sid_rand_63, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:37.099294Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684263908:2855] connected; active server actors: 1
2025-10-15T15:40:37.099766Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473911684263889:2855] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_63
2025-10-15T15:40:37.099794Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473911684263889:2855] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:37.100174Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684263908:2855] disconnected.
2025-10-15T15:40:37.100208Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684263908:2855] disconnected; active server actors: 1
2025-10-15T15:40:37.100229Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684263908:2855] disconnected no session
2025-10-15T15:40:37.108758Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473911684263889:2855] (SourceId=sid_rand_63, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:37.108805Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473911684263889:2855] (SourceId=sid_rand_63, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-15T15:40:37.108827Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473911684263889:2855] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:37.108861Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 74 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-15T15:40:37.109864Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:37.110220Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_63|b2a2eb2d-b07732a7-c4a6ae93-b9a67668_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_63
2025-10-15T15:40:37.110713Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 74 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_63|b2a2eb2d-b07732a7-c4a6ae93-b9a67668_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_63|b2a2eb2d-b07732a7-c4a6ae93-b9a67668_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:37.113484Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId: sid_rand_63|b2a2eb2d-b07732a7-c4a6ae93-b9a67668_0 grpc read done: success: 0 data: 
2025-10-15T15:40:37.113506Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 74 sessionId: sid_rand_63|b2a2eb2d-b07732a7-c4a6ae93-b9a67668_0 grpc read failed
2025-10-15T15:40:37.113530Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 74 sessionId: sid_rand_63|b2a2eb2d-b07732a7-c4a6ae93-b9a67668_0 grpc closed
2025-10-15T15:40:37.113549Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 74 sessionId: sid_rand_63|b2a2eb2d-b07732a7-c4a6ae93-b9a67668_0 is DEAD
2025-10-15T15:40:37.113997Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:37.114015Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 75
2025-10-15T15:40:37.114303Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:37.115259Z node 17 :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" }
2025-10-15T15:40:37.115406Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 75 topic: "topic1" message_group_id: "sid_rand_64" from ipv6:[::1]:38468
2025-10-15T15:40:37.115432Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=75 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:37.115442Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:37.117314Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 75 sessionId:  describe result for acl check
2025-10-15T15:40:37.117461Z node 17 :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;
2025-10-15T15:40:37.117475Z node 17 :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);
2025-10-15T15:40:37.117489Z node 17 :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;
2025-10-15T15:40:37.117515Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473911684263926:2859] (SourceId=sid_rand_64, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:37.121815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473911684263926:2859] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:37.128048Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473911684263926:2859] (SourceId=sid_rand_64, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:37.129078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473911684263926:2859] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_64
2025-10-15T15:40:37.129118Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473911684263926:2859] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:37.128678Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684263942:2859] connected; active server actors: 1
2025-10-15T15:40:37.130224Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684263942:2859] disconnected.
2025-10-15T15:40:37.130258Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684263942:2859] disconnected; active server actors: 1
2025-10-15T15:40:37.130280Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684263942:2859] disconnected no session
2025-10-15T15:40:37.144122Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473911684263926:2859] (SourceId=sid_rand_64, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:37.144181Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473911684263926:2859] (SourceId=sid_rand_64, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-15T15:40:37.144206Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473911684263926:2859] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:37.144243Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 75 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-15T15:40:37.149327Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:37.152395Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_64|c2f4cf6a-ccd8e0d9-8b6db366-71891842_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_64
2025-10-15T15:40:37.153787Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 75 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_64|c2f4cf6a-ccd8e0d9-8b6db366-71891842_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_64|c2f4cf6a-ccd8e0d9-8b6db366-71891842_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:37.155828Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId: sid_rand_64|c2f4cf6a-ccd8e0d9-8b6db366-71891842_0 grpc read done: success: 0 data: 
2025-10-15T15:40:37.155846Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 75 sessionId: sid_rand_64|c2f4cf6a-ccd8e0d9-8b6db366-71891842_0 grpc read failed
2025-10-15T15:40:37.156169Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 75 sessionId: sid_rand_64|c2f4cf6a-ccd8e0d9-8b6db366-71891842_0
2025-10-15T15:40:37.156188Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 75 sessionId: sid_rand_64|c2f4cf6a-ccd8e0d9-8b6db366-71891842_0 is DEAD
2025-10-15T15:40:37.156461Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:37.156908Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:37.156923Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 76
2025-10-15T15:40:37.157279Z node 17 :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" }
2025-10-15T15:40:37.157412Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 76 topic: "topic1" message_group_id: "sid_rand_65" from ipv6:[::1]:38468
2025-10-15T15:40:37.157430Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=76 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:37.157442Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:37.159116Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 76 sessionId:  describe result for acl check
2025-10-15T15:40:37.159260Z node 17 :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;
2025-10-15T15:40:37.159303Z node 17 :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);
2025-10-15T15:40:37.159321Z node 17 :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;
2025-10-15T15:40:37.159341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473911684263960:2863] (SourceId=sid_rand_65, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:37.163118Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473911684263960:2863] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:37.176145Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473911684263960:2863] (SourceId=sid_rand_65, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:37.179788Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684263976:2863] connected; active server actors: 1
2025-10-15T15:40:37.180684Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684263976:2863] disconnected.
2025-10-15T15:40:37.180714Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684263976:2863] disconnected; active server actors: 1
2025-10-15T15:40:37.180735Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684263976:2863] disconnected no session
2025-10-15T15:40:37.180141Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473911684263960:2863] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_65
2025-10-15T15:40:37.180174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473911684263960:2863] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:37.192309Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473911684263960:2863] (SourceId=sid_rand_65, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:37.192367Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473911684263960:2863] (SourceId=sid_rand_65, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-15T15:40:37.192391Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473911684263960:2863] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:37.192428Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 76 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-15T15:40:37.193471Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-15T15:40:37.193645Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_65|4954255c-e6324992-9b712128-68c55efd_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_65
2025-10-15T15:40:37.194113Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 76 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_65|4954255c-e6324992-9b712128-68c55efd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_65|4954255c-e6324992-9b712128-68c55efd_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:37.197257Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId: sid_rand_65|4954255c-e6324992-9b712128-68c55efd_0 grpc read done: success: 0 data: 
2025-10-15T15:40:37.197284Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 76 sessionId: sid_rand_65|4954255c-e6324992-9b712128-68c55efd_0 grpc read failed
2025-10-15T15:40:37.197308Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 76 sessionId: sid_rand_65|4954255c-e6324992-9b712128-68c55efd_0 grpc closed
2025-10-15T15:40:37.197327Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 76 sessionId: sid_rand_65|4954255c-e6324992-9b712128-68c55efd_0 is DEAD
2025-10-15T15:40:37.197496Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:37.197518Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 77
2025-10-15T15:40:37.197825Z node 17 :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" }
2025-10-15T15:40:37.197976Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 77 topic: "topic1" message_group_id: "sid_rand_66" from ipv6:[::1]:38468
2025-10-15T15:40:37.197999Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=77 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:37.198010Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:37.198158Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:37.200133Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 77 sessionId:  describe result for acl check
2025-10-15T15:40:37.200285Z node 17 :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;
2025-10-15T15:40:37.200321Z node 17 :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);
2025-10-15T15:40:37.200334Z node 17 :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;
2025-10-15T15:40:37.200355Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473911684263995:2867] (SourceId=sid_rand_66, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:37.203809Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473911684263995:2867] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:37.216068Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264011:2867] connected; active server actors: 1
2025-10-15T15:40:37.214316Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473911684263995:2867] (SourceId=sid_rand_66, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:37.216634Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473911684263995:2867] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_66
2025-10-15T15:40:37.216655Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473911684263995:2867] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:37.217919Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264011:2867] disconnected.
2025-10-15T15:40:37.217954Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264011:2867] disconnected; active server actors: 1
2025-10-15T15:40:37.217977Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264011:2867] disconnected no session
2025-10-15T15:40:37.230469Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473911684263995:2867] (SourceId=sid_rand_66, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:37.230526Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473911684263995:2867] (SourceId=sid_rand_66, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-15T15:40:37.230555Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473911684263995:2867] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:37.230591Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 77 sessionId:  partition: 10 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_66|fac45c9b-accaee00-f875452f-cef6152c_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:37.233894Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:37.234097Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_66|fac45c9b-accaee00-f875452f-cef6152c_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_66
2025-10-15T15:40:37.234751Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 77 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_66|fac45c9b-accaee00-f875452f-cef6152c_0
2025-10-15T15:40:37.238520Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId: sid_rand_66|fac45c9b-accaee00-f875452f-cef6152c_0 grpc read done: success: 0 data: 
2025-10-15T15:40:37.238547Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 77 sessionId: sid_rand_66|fac45c9b-accaee00-f875452f-cef6152c_0 grpc read failed
2025-10-15T15:40:37.238571Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 77 sessionId: sid_rand_66|fac45c9b-accaee00-f875452f-cef6152c_0 grpc closed
2025-10-15T15:40:37.238590Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 77 sessionId: sid_rand_66|fac45c9b-accaee00-f875452f-cef6152c_0 is DEAD
2025-10-15T15:40:37.238880Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:37.238905Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 78
2025-10-15T15:40:37.239303Z node 17 :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" }
2025-10-15T15:40:37.239430Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 78 topic: "topic1" message_group_id: "sid_rand_67" from ipv6:[::1]:38468
2025-10-15T15:40:37.239450Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=78 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:37.239460Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:37.239576Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:37.241301Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 78 sessionId:  describe result for acl check
2025-10-15T15:40:37.241439Z node 17 :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;
2025-10-15T15:40:37.241452Z node 17 :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);
2025-10-15T15:40:37.241464Z node 17 :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;
2025-10-15T15:40:37.241484Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473911684264033:2871] (SourceId=sid_rand_67, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:37.245799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473911684264033:2871] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:37.267971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473911684264033:2871] (SourceId=sid_rand_67, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:37.273342Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264052:2871] connected; active server actors: 1
2025-10-15T15:40:37.273640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473911684264033:2871] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_67
2025-10-15T15:40:37.273669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473911684264033:2871] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:37.277187Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264052:2871] disconnected.
2025-10-15T15:40:37.277231Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264052:2871] disconnected; active server actors: 1
2025-10-15T15:40:37.277253Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264052:2871] disconnected no session
2025-10-15T15:40:37.289557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473911684264033:2871] (SourceId=sid_rand_67, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:37.289600Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473911684264033:2871] (SourceId=sid_rand_67, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-15T15:40:37.289624Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473911684264033:2871] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:37.289656Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 78 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-15T15:40:37.291714Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:37.292157Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_67|faea9942-2b6f56bb-39125694-a23e38aa_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_67
2025-10-15T15:40:37.292881Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 78 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_67|faea9942-2b6f56bb-39125694-a23e38aa_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_67|faea9942-2b6f56bb-39125694-a23e38aa_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:37.298993Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId: sid_rand_67|faea9942-2b6f56bb-39125694-a23e38aa_0 grpc read done: success: 0 data: 
2025-10-15T15:40:37.299015Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 78 sessionId: sid_rand_67|faea9942-2b6f56bb-39125694-a23e38aa_0 grpc read failed
2025-10-15T15:40:37.299039Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 78 sessionId: sid_rand_67|faea9942-2b6f56bb-39125694-a23e38aa_0 grpc closed
2025-10-15T15:40:37.299071Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 78 sessionId: sid_rand_67|faea9942-2b6f56bb-39125694-a23e38aa_0 is DEAD
2025-10-15T15:40:37.299675Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:37.299757Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:37.299769Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 79
2025-10-15T15:40:37.300553Z node 17 :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" }
2025-10-15T15:40:37.300655Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 79 topic: "topic1" message_group_id: "sid_rand_68" from ipv6:[::1]:38468
2025-10-15T15:40:37.300669Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=79 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:37.300678Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:37.302399Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 79 sessionId:  describe result for acl check
2025-10-15T15:40:37.302554Z node 17 :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;
2025-10-15T15:40:37.302567Z node 17 :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);
2025-10-15T15:40:37.302589Z node 17 :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;
2025-10-15T15:40:37.302610Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473911684264070:2875] (SourceId=sid_rand_68, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:37.306699Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473911684264070:2875] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:37.317828Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473911684264070:2875] (SourceId=sid_rand_68, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:37.320758Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264087:2875] connected; active server actors: 1
2025-10-15T15:40:37.321134Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473911684264070:2875] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_68
2025-10-15T15:40:37.321165Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473911684264070:2875] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:37.322471Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264087:2875] disconnected.
2025-10-15T15:40:37.322498Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264087:2875] disconnected; active server actors: 1
2025-10-15T15:40:37.322514Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264087:2875] disconnected no session
2025-10-15T15:40:37.333116Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473911684264070:2875] (SourceId=sid_rand_68, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:37.333167Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473911684264070:2875] (SourceId=sid_rand_68, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-15T15:40:37.333191Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473911684264070:2875] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:37.333227Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 79 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-15T15:40:37.334356Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:37.334553Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_68|ade1a225-156a0b2e-72f8edf8-f44eb409_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_68
Init result: { status: SUCCESS init_response { session_id: "sid_rand_68|ade1a225-156a0b2e-72f8edf8-f44eb409_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:37.335048Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 79 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_68|ade1a225-156a0b2e-72f8edf8-f44eb409_0
2025-10-15T15:40:37.337129Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId: sid_rand_68|ade1a225-156a0b2e-72f8edf8-f44eb409_0 grpc read done: success: 0 data: 
2025-10-15T15:40:37.337150Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 79 sessionId: sid_rand_68|ade1a225-156a0b2e-72f8edf8-f44eb409_0 grpc read failed
2025-10-15T15:40:37.337534Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 79 sessionId: sid_rand_68|ade1a225-156a0b2e-72f8edf8-f44eb409_0
2025-10-15T15:40:37.337567Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 79 sessionId: sid_rand_68|ade1a225-156a0b2e-72f8edf8-f44eb409_0 is DEAD
2025-10-15T15:40:37.337933Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:37.338431Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:37.338458Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 80
2025-10-15T15:40:37.338906Z node 17 :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" }
2025-10-15T15:40:37.339051Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 80 topic: "topic1" message_group_id: "sid_rand_69" from ipv6:[::1]:38468
2025-10-15T15:40:37.339073Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=80 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:37.339085Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:37.341149Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 80 sessionId:  describe result for acl check
2025-10-15T15:40:37.341315Z node 17 :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;
2025-10-15T15:40:37.341330Z node 17 :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);
2025-10-15T15:40:37.341343Z node 17 :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;
2025-10-15T15:40:37.341366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473911684264105:2879] (SourceId=sid_rand_69, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:37.346554Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473911684264105:2879] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:37.360881Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473911684264105:2879] (SourceId=sid_rand_69, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:37.362437Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473911684264105:2879] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_69
2025-10-15T15:40:37.362464Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473911684264105:2879] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:37.361988Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264124:2879] connected; active server actors: 1
2025-10-15T15:40:37.363816Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264124:2879] disconnected.
2025-10-15T15:40:37.363843Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264124:2879] disconnected; active server actors: 1
2025-10-15T15:40:37.363862Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264124:2879] disconnected no session
2025-10-15T15:40:37.377197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473911684264105:2879] (SourceId=sid_rand_69, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:37.377250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473911684264105:2879] (SourceId=sid_rand_69, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-15T15:40:37.377277Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473911684264105:2879] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:37.377318Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 80 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-15T15:40:37.378804Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:37.378939Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_69|304e2520-c7020a74-e0045a3f-bfc5bc35_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_69
2025-10-15T15:40:37.379313Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 80 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_69|304e2520-c7020a74-e0045a3f-bfc5bc35_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_69|304e2520-c7020a74-e0045a3f-bfc5bc35_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:37.381414Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId: sid_rand_69|304e2520-c7020a74-e0045a3f-bfc5bc35_0 grpc read done: success: 0 data: 
2025-10-15T15:40:37.381440Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 80 sessionId: sid_rand_69|304e2520-c7020a74-e0045a3f-bfc5bc35_0 grpc read failed
2025-10-15T15:40:37.381465Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 80 sessionId: sid_rand_69|304e2520-c7020a74-e0045a3f-bfc5bc35_0 grpc closed
2025-10-15T15:40:37.381485Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 80 sessionId: sid_rand_69|304e2520-c7020a74-e0045a3f-bfc5bc35_0 is DEAD
2025-10-15T15:40:37.382269Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:37.382653Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:37.382672Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 81
2025-10-15T15:40:37.384660Z node 17 :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" }
2025-10-15T15:40:37.384806Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 81 topic: "topic1" message_group_id: "sid_rand_70" from ipv6:[::1]:38468
2025-10-15T15:40:37.384825Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=81 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:37.384835Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:37.386874Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 81 sessionId:  describe result for acl check
2025-10-15T15:40:37.387002Z node 17 :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;
2025-10-15T15:40:37.387015Z node 17 :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);
2025-10-15T15:40:37.387028Z node 17 :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;
2025-10-15T15:40:37.387723Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473911684264153:2885] (SourceId=sid_rand_70, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:37.391470Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473911684264153:2885] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:37.399290Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473911684264153:2885] (SourceId=sid_rand_70, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:37.400718Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264169:2885] connected; active server actors: 1
2025-10-15T15:40:37.401300Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473911684264153:2885] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_70
2025-10-15T15:40:37.401326Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473911684264153:2885] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:37.402692Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264169:2885] disconnected.
2025-10-15T15:40:37.402726Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264169:2885] disconnected; active server actors: 1
2025-10-15T15:40:37.402748Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264169:2885] disconnected no session
2025-10-15T15:40:37.424964Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473911684264153:2885] (SourceId=sid_rand_70, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:37.425010Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473911684264153:2885] (SourceId=sid_rand_70, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-15T15:40:37.425043Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473911684264153:2885] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:37.425080Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 81 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-15T15:40:37.427379Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:37.427478Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_70|d0ed3303-69304760-732c6d80-b85be6fc_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_70
2025-10-15T15:40:37.433676Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 81 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_70|d0ed3303-69304760-732c6d80-b85be6fc_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_70|d0ed3303-69304760-732c6d80-b85be6fc_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:37.438960Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId: sid_rand_70|d0ed3303-69304760-732c6d80-b85be6fc_0 grpc read done: success: 0 data: 
2025-10-15T15:40:37.438993Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 81 sessionId: sid_rand_70|d0ed3303-69304760-732c6d80-b85be6fc_0 grpc read failed
2025-10-15T15:40:37.439025Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 81 sessionId: sid_rand_70|d0ed3303-69304760-732c6d80-b85be6fc_0 grpc closed
2025-10-15T15:40:37.439045Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 81 sessionId: sid_rand_70|d0ed3303-69304760-732c6d80-b85be6fc_0 is DEAD
2025-10-15T15:40:37.439177Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:37.439200Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 82
2025-10-15T15:40:37.439548Z node 17 :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" }
2025-10-15T15:40:37.439692Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 82 topic: "topic1" message_group_id: "sid_rand_71" from ipv6:[::1]:38468
2025-10-15T15:40:37.439728Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=82 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:37.439742Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:37.440011Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:37.441638Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 82 sessionId:  describe result for acl check
2025-10-15T15:40:37.441800Z node 17 :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;
2025-10-15T15:40:37.441814Z node 17 :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);
2025-10-15T15:40:37.441828Z node 17 :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;
2025-10-15T15:40:37.441850Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473911684264187:2889] (SourceId=sid_rand_71, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:37.446030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473911684264187:2889] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:37.461723Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473911684264187:2889] (SourceId=sid_rand_71, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:37.462810Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264203:2889] connected; active server actors: 1
2025-10-15T15:40:37.463437Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473911684264187:2889] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_71
2025-10-15T15:40:37.463464Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473911684264187:2889] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:37.465026Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264203:2889] disconnected.
2025-10-15T15:40:37.465063Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264203:2889] disconnected; active server actors: 1
2025-10-15T15:40:37.465101Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264203:2889] disconnected no session
2025-10-15T15:40:37.475394Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473911684264187:2889] (SourceId=sid_rand_71, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:37.475440Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473911684264187:2889] (SourceId=sid_rand_71, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-15T15:40:37.475465Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473911684264187:2889] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:37.475501Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 82 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-15T15:40:37.477273Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-15T15:40:37.477922Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_71|71f9c4af-86c84727-4bad0ed1-dd1a17e9_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_71
2025-10-15T15:40:37.478970Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 82 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_71|71f9c4af-86c84727-4bad0ed1-dd1a17e9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_71|71f9c4af-86c84727-4bad0ed1-dd1a17e9_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:37.481263Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId: sid_rand_71|71f9c4af-86c84727-4bad0ed1-dd1a17e9_0 grpc read done: success: 0 data: 
2025-10-15T15:40:37.481287Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 82 sessionId: sid_rand_71|71f9c4af-86c84727-4bad0ed1-dd1a17e9_0 grpc read failed
2025-10-15T15:40:37.481312Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 82 sessionId: sid_rand_71|71f9c4af-86c84727-4bad0ed1-dd1a17e9_0 grpc closed
2025-10-15T15:40:37.481332Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 82 sessionId: sid_rand_71|71f9c4af-86c84727-4bad0ed1-dd1a17e9_0 is DEAD
2025-10-15T15:40:37.481506Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:37.481526Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 83
2025-10-15T15:40:37.482097Z node 17 :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" }
2025-10-15T15:40:37.482264Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 83 topic: "topic1" message_group_id: "sid_rand_72" from ipv6:[::1]:38468
2025-10-15T15:40:37.482282Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=83 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:37.482292Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:37.482327Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:37.483654Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 83 sessionId:  describe result for acl check
2025-10-15T15:40:37.483762Z node 17 :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;
2025-10-15T15:40:37.483770Z node 17 :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);
2025-10-15T15:40:37.483779Z node 17 :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;
2025-10-15T15:40:37.483793Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473911684264221:2893] (SourceId=sid_rand_72, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:37.487507Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473911684264221:2893] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:37.500317Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473911684264221:2893] (SourceId=sid_rand_72, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:37.501609Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264241:2893] connected; active server actors: 1
2025-10-15T15:40:37.502291Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473911684264221:2893] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_72
2025-10-15T15:40:37.502314Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473911684264221:2893] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:37.503622Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264241:2893] disconnected.
2025-10-15T15:40:37.503651Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264241:2893] disconnected; active server actors: 1
2025-10-15T15:40:37.503670Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264241:2893] disconnected no session
2025-10-15T15:40:37.515399Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473911684264221:2893] (SourceId=sid_rand_72, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:37.515463Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473911684264221:2893] (SourceId=sid_rand_72, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-15T15:40:37.515486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473911684264221:2893] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:37.515521Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 83 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-15T15:40:37.517056Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:37.517469Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_72|612b6341-66a06b96-6cfd5283-cfccf43a_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_72
2025-10-15T15:40:37.518087Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 83 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_72|612b6341-66a06b96-6cfd5283-cfccf43a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_72|612b6341-66a06b96-6cfd5283-cfccf43a_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:37.521068Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId: sid_rand_72|612b6341-66a06b96-6cfd5283-cfccf43a_0 grpc read done: success: 0 data: 
2025-10-15T15:40:37.521106Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 83 sessionId: sid_rand_72|612b6341-66a06b96-6cfd5283-cfccf43a_0 grpc read failed
2025-10-15T15:40:37.521133Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 83 sessionId: sid_rand_72|612b6341-66a06b96-6cfd5283-cfccf43a_0 grpc closed
2025-10-15T15:40:37.521153Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 83 sessionId: sid_rand_72|612b6341-66a06b96-6cfd5283-cfccf43a_0 is DEAD
2025-10-15T15:40:37.521953Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:37.522053Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:37.522068Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 84
2025-10-15T15:40:37.529399Z node 17 :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" }
2025-10-15T15:40:37.529570Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 84 topic: "topic1" message_group_id: "sid_rand_73" from ipv6:[::1]:38468
2025-10-15T15:40:37.529589Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=84 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:37.529603Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:37.531509Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 84 sessionId:  describe result for acl check
2025-10-15T15:40:37.531667Z node 17 :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;
2025-10-15T15:40:37.531705Z node 17 :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);
2025-10-15T15:40:37.531721Z node 17 :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;
2025-10-15T15:40:37.531742Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473911684264262:2899] (SourceId=sid_rand_73, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:37.539623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473911684264262:2899] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:37.553111Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473911684264262:2899] (SourceId=sid_rand_73, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:37.554816Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473911684264262:2899] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_73
2025-10-15T15:40:37.554842Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473911684264262:2899] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:37.554311Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264289:2899] connected; active server actors: 1
2025-10-15T15:40:37.556113Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264289:2899] disconnected.
2025-10-15T15:40:37.556140Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264289:2899] disconnected; active server actors: 1
2025-10-15T15:40:37.556163Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264289:2899] disconnected no session
2025-10-15T15:40:37.574420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473911684264262:2899] (SourceId=sid_rand_73, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:37.574465Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473911684264262:2899] (SourceId=sid_rand_73, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-15T15:40:37.574490Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473911684264262:2899] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:37.574526Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 84 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-15T15:40:37.579369Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:37.579502Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_73|bb5666-57b34e10-253ff521-bb7871e7_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_73
2025-10-15T15:40:37.579897Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 84 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_73|bb5666-57b34e10-253ff521-bb7871e7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_73|bb5666-57b34e10-253ff521-bb7871e7_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:40:37.581849Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId: sid_rand_73|bb5666-57b34e10-253ff521-bb7871e7_0 grpc read done: success: 0 data: 
2025-10-15T15:40:37.581873Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 84 sessionId: sid_rand_73|bb5666-57b34e10-253ff521-bb7871e7_0 grpc read failed
2025-10-15T15:40:37.581901Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 84 sessionId: sid_rand_73|bb5666-57b34e10-253ff521-bb7871e7_0 grpc closed
2025-10-15T15:40:37.581919Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 84 sessionId: sid_rand_73|bb5666-57b34e10-253ff521-bb7871e7_0 is DEAD
2025-10-15T15:40:37.582928Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:40:37.583040Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:40:37.583058Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 85
2025-10-15T15:40:37.583591Z node 17 :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" }
2025-10-15T15:40:37.583719Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 85 topic: "topic1" message_group_id: "sid_rand_74" from ipv6:[::1]:38468
2025-10-15T15:40:37.583739Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=85 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:38468 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:40:37.583750Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:40:37.585546Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 85 sessionId:  describe result for acl check
2025-10-15T15:40:37.585693Z node 17 :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;
2025-10-15T15:40:37.585708Z node 17 :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);
2025-10-15T15:40:37.585721Z node 17 :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;
2025-10-15T15:40:37.585741Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561473911684264307:2907] (SourceId=sid_rand_74, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:40:37.592174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561473911684264307:2907] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:40:37.604352Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561473911684264307:2907] (SourceId=sid_rand_74, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:40:37.605719Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264323:2907] connected; active server actors: 1
2025-10-15T15:40:37.606387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561473911684264307:2907] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_74
2025-10-15T15:40:37.606428Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561473911684264307:2907] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Update the table
2025-10-15T15:40:37.608253Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264323:2907] disconnected.
2025-10-15T15:40:37.608305Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264323:2907] disconnected; active server actors: 1
2025-10-15T15:40:37.608330Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561473911684264323:2907] disconnected no session
2025-10-15T15:40:37.628460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561473911684264307:2907] (SourceId=sid_rand_74, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:40:37.628529Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561473911684264307:2907] (SourceId=sid_rand_74, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-15T15:40:37.628560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561473911684264307:2907] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Start idle
2025-10-15T15:40:37.628602Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 85 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-15T15:40:37.630362Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-15T15:40:37.630812Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_74|4f7c7a72-eebbfab1-40ac8c05-4458f3e1_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_74
2025-10-15T15:40:37.631604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 85 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_74|4f7c7a72-eebbfab1-40ac8c05-4458f3e1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_74|4f7c7a72-eebbfab1-40ac8c05-4458f3e1_0" topic: "topic1" cluster: "dc1" partition_id: 14 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:5
Round robin check: 3:5
Round robin check: 4:5
Round robin check: 5:5
Round robin check: 6:5
Round robin check: 7:4
Round robin check: 8:4
Round robin check: 9:4
Round robin check: 10:5
Round robin check: 11:5
Round robin check: 12:6
Round robin check: 13:6
Round robin check: 14:6
2025-10-15T15:40:37.645077Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId: sid_rand_74|4f7c7a72-eebbfab1-40ac8c05-4458f3e1_0 grpc read done: success: 0 data: 
2025-10-15T15:40:37.645133Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 85 sessionId: sid_rand_74|4f7c7a72-eebbfab1-40ac8c05-4458f3e1_0 grpc read failed
2025-10-15T15:40:37.645180Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 85 sessionId: sid_rand_74|4f7c7a72-eebbfab1-40ac8c05-4458f3e1_0 grpc closed
2025-10-15T15:40:37.645220Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 85 sessionId: sid_rand_74|4f7c7a72-eebbfab1-40ac8c05-4458f3e1_0 is DEAD
2025-10-15T15:40:37.646360Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
