2025-11-19T20:53:38.257867Z node 17 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[17:7574542556614690572:2081];send_to=[0:7307199536658146131:7762515];
2025-11-19T20:53:38.257888Z 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-11-19T20:53:38.259541Z node 18 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[18:7574542553423930082:2079];send_to=[0:7307199536658146131:7762515];
2025-11-19T20:53:38.259780Z 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=scheme_cache_undelivered_message;
2025-11-19T20:53:38.260497Z node 17 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/t32p/0019ff/r3tmp/tmpuVgrfN/pdisk_1.dat
2025-11-19T20:53:38.260786Z 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-11-19T20:53:38.261714Z node 18 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-11-19T20:53:38.261856Z 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-11-19T20:53:38.273363Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-11-19T20:53:38.277644Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-11-19T20:53:38.277665Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-11-19T20:53:38.278869Z node 17 :HIVE WARN: hive_impl.cpp:811: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 18 Cookie 18
2025-11-19T20:53:38.279123Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 61704, node 17
2025-11-19T20:53:38.285659Z 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/t32p/0019ff/r3tmp/yandex6wxhw4.tmp
2025-11-19T20:53:38.285675Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/t32p/0019ff/r3tmp/yandex6wxhw4.tmp
2025-11-19T20:53:38.285735Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/t32p/0019ff/r3tmp/yandex6wxhw4.tmp
2025-11-19T20:53:38.285798Z node 17 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-11-19T20:53:38.288489Z INFO: TTestServer started on Port 5307 GrpcPort 61704
TClient is connected to server localhost:5307
PQClient connected to localhost:61704
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-11-19T20:53:38.360302Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-11-19T20:53:38.360344Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-11-19T20:53:38.361707Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-11-19T20:53:38.362017Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976720657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
waiting...
waiting...
2025-11-19T20:53:38.369839Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720659:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
waiting...
waiting...
waiting...
2025-11-19T20:53:38.422742Z 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-11-19T20:53:38.513049Z 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-11-19T20:53:38.572234Z node 18 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [18:7574542553423930365:2296], 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-11-19T20:53:38.572235Z node 18 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [18:7574542553423930388:2299], 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-11-19T20:53:38.572253Z node 18 :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-11-19T20:53:38.572324Z node 18 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [18:7574542553423930395:2301], 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-11-19T20:53:38.572335Z node 18 :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-11-19T20:53:38.573541Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateResourcePool, opId: 281474976715657:3, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:179)
2025-11-19T20:53:38.577849Z node 18 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [18:7574542553423930394:2300], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976715657 completed, doublechecking }
2025-11-19T20:53:38.608665Z node 17 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:615: Compilation failed, self: [17:7574542556614691690:2335], status: SCHEME_ERROR, issues: <main>: Error: Type annotation, code: 1030
    <main>:3:16: Error: At function: KiReadTable!
        <main>:3:16: Error: Cannot find table 'db.[/Root/PQ/Config/V2/Cluster]' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions., code: 2003
2025-11-19T20:53:38.608923Z node 17 :KQP_SESSION WARN: kqp_session_actor.cpp:2517: SessionId: ydb://session/3?node_id=17&id=OTViNGVjNTItMTc3MGE3YzgtYjQyYzkxMDQtZWE1NTNiNzI=, ActorId: [17:7574542556614691649:2327], ActorState: ExecuteState, TraceId: 01kaey9wnc7jftgmzagazwqtgt, ReplyQueryCompileError, status: SCHEME_ERROR, issues: { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 3 column: 16 } message: "At function: KiReadTable!" end_position { row: 3 column: 16 } severity: 1 issues { position { row: 3 column: 16 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Cluster]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 3 column: 16 } issue_code: 2003 severity: 1 } } }, remove tx with tx_id: 
2025-11-19T20:53:38.609083Z 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: 3 column: 16 } message: "At function: KiReadTable!" end_position { row: 3 column: 16 } severity: 1 issues { position { row: 3 column: 16 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Cluster]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 3 column: 16 } issue_code: 2003 severity: 1 } } } TxMeta { } } YdbStatus: SCHEME_ERROR ConsumedRu: 1 }
2025-11-19T20:53:38.610023Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720662:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
2025-11-19T20:53:38.624208Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720663:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
2025-11-19T20:53:38.634172Z node 18 :TX_PROXY ERROR: schemereq.cpp:593: Actor# [18:7574542553423930488:2174] txid# 281474976715658, 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), source_location: ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:92" severity: 1 }
2025-11-19T20:53:38.638095Z node 18 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:615: Compilation failed, self: [18:7574542553423930502:2309], 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-11-19T20:53:38.638186Z node 18 :KQP_SESSION WARN: kqp_session_actor.cpp:2517: SessionId: ydb://session/3?node_id=18&id=OWIyNGNmNjktNDE2YWUxMzktYjAyOTZlZWQtYjQxNzE0Zjg=, ActorId: [18:7574542553423930362:2294], ActorState: ExecuteState, TraceId: 01kaey9wmb6592chqfk673rbxx, ReplyQueryCompileError, status: SCHEME_ERROR, issues: { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 5 column: 17 } message: "At function: KiReadTable!" end_position { row: 5 column: 17 } severity: 1 issues { position { row: 5 column: 17 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Versions]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 5 column: 17 } issue_code: 2003 severity: 1 } } }, remove tx with tx_id: 
2025-11-19T20:53:38.638273Z 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-11-19T20:53:38.642103Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720664:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
=== 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-11-19T20:53:38.670213Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976720665. Ctx: { TraceId: 01kaey9wq173tp0cyb94ccms23, Database: , SessionId: ydb://session/3?node_id=17&id=MTViZWMyMGUtNjZmOGFjYWYtOTAzOTUzMjEtN2I5YjJkYzU=, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [17:7574542556614692053:3028] 
2025-11-19T20:53:39.260154Z node 17 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-11-19T20:53:39.261684Z node 18 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-11-19T20:53:43.258393Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[17:7574542556614690572:2081];send_to=[0:7307199536658146131:7762515];
2025-11-19T20:53:43.258432Z 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-11-19T20:53:43.259996Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[18:7574542553423930082:2079];send_to=[0:7307199536658146131:7762515];
2025-11-19T20:53:43.260034Z 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=timeout;
=== CheckClustersList. Ok
PQ Client: create topic: rt3.dc1--topic1 with 10 partitions
CallPersQueueGRPC request to localhost:61704
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-19T20:53:43.835917Z 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:61704
MetaRequest {
  CmdCreateTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 10
    Config {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000
      }
      LocalDC: true
      Codecs {
        Ids: 0
        Ids: 1
        Ids: 2
        Codecs: "raw"
        Codecs: "gzip"
        Codecs: "lzop"
      }
      Consumers {
        Name: "user"
        ReadFromTimestampsMs: 0
        FormatVersion: 0
        Version: 0
      }
    }
  }
}
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976720671
  SchemeShardTabletId: 72057594046644480
  PathId: 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-11-19T20:53:43.842844Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][] pipe [17:7574542578089528859:3215] connected; active server actors: 1
2025-11-19T20:53:43.843062Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1520: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [3, 0, 1, 6, 8, 9, 2, 5, 7, 4]
2025-11-19T20:53:43.843257Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:971: [72075186224037894][rt3.dc1--topic1] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037894
2025-11-19T20:53:43.843417Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-19T20:53:43.843434Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037893] doesn't have tx writes info
2025-11-19T20:53:43.843547Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:404: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037893, NodeId 18, Generation 1
2025-11-19T20:53:43.843554Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-19T20:53:43.843561Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037892] doesn't have tx writes info
2025-11-19T20:53:43.843661Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:404: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037892, NodeId 17, Generation 1
2025-11-19T20:53:43.843832Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:140: [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-11-19T20:53:43.846627Z node 17 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037892][Partition][3][StateInit] bootstrapping 3 [17:7574542578089528964:2429]
2025-11-19T20:53:43.846864Z node 18 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037893][Partition][9][StateInit] bootstrapping 9 [18:7574542574898767393:2389]
2025-11-19T20:53:43.847364Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][3][StateInit] init complete for topic 'rt3.dc1--topic1' partition 3 generation 1 [17:7574542578089528964:2429]
2025-11-19T20:53:43.847374Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][9][StateInit] init complete for topic 'rt3.dc1--topic1' partition 9 generation 1 [18:7574542574898767393:2389]
2025-11-19T20:53:43.847706Z node 18 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037893][Partition][2][StateInit] bootstrapping 2 [18:7574542574898767394:2389]
2025-11-19T20:53:43.847797Z node 17 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [17:7574542578089528965:2429]
2025-11-19T20:53:43.848372Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][2][StateInit] init complete for topic 'rt3.dc1--topic1' partition 2 generation 1 [18:7574542574898767394:2389]
2025-11-19T20:53:43.848542Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][0][StateInit] init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [17:7574542578089528965:2429]
2025-11-19T20:53:43.848599Z node 18 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037893][Partition][5][StateInit] bootstrapping 5 [18:7574542574898767395:2389]
2025-11-19T20:53:43.848872Z node 17 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037892][Partition][1][StateInit] bootstrapping 1 [17:7574542578089528966:2429]
2025-11-19T20:53:43.848923Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][5][StateInit] init complete for topic 'rt3.dc1--topic1' partition 5 generation 1 [18:7574542574898767395:2389]
2025-11-19T20:53:43.849157Z node 18 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037893][Partition][7][StateInit] bootstrapping 7 [18:7574542574898767396:2389]
2025-11-19T20:53:43.849376Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][1][StateInit] init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [17:7574542578089528966:2429]
2025-11-19T20:53:43.849454Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][7][StateInit] init complete for topic 'rt3.dc1--topic1' partition 7 generation 1 [18:7574542574898767396:2389]
2025-11-19T20:53:43.849589Z node 17 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037892][Partition][6][StateInit] bootstrapping 6 [17:7574542578089528969:2429]
2025-11-19T20:53:43.849643Z node 18 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037893][Partition][4][StateInit] bootstrapping 4 [18:7574542574898767397:2389]
2025-11-19T20:53:43.849891Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][6][StateInit] init complete for topic 'rt3.dc1--topic1' partition 6 generation 1 [17:7574542578089528969:2429]
2025-11-19T20:53:43.849953Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][4][StateInit] init complete for topic 'rt3.dc1--topic1' partition 4 generation 1 [18:7574542574898767397:2389]
2025-11-19T20:53:43.850124Z node 17 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037892][Partition][8][StateInit] bootstrapping 8 [17:7574542578089528971:2429]
2025-11-19T20:53:43.850497Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][8][StateInit] init complete for topic 'rt3.dc1--topic1' partition 8 generation 1 [17:7574542578089528971:2429]
2025-11-19T20:53:43.851907Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-19T20:53:43.852102Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-19T20:53:43.853923Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976720672. Ctx: { TraceId: 01kaeya1s0e61t8mp8sb09epyw, Database: , SessionId: ydb://session/3?node_id=17&id=NzRjYmJiZmEtNTRjYjQzOTktZjNiMTFiNy1lZmQ5ZjBlMQ==, 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: 281474976720671
    CreateStep: 1763585623891
    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: 281474976720671
    CreateStep: 1763585623891
    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:61704
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-19T20:53:43.859801Z 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
2025-11-19T20:53:43.861055Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:43.861071Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-11-19T20:53:43.861193Z 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-11-19T20:53:43.861223Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:37532
2025-11-19T20:53:43.861232Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:43.861237Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:43.861587Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-11-19T20:53:43.861616Z 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-11-19T20:53:43.861623Z 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-11-19T20:53:43.861624Z 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-11-19T20:53:43.861628Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542578089529070:2440] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:43.862098Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542578089529070:2440] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:43.879730Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542578089529070:2440] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:43.879814Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529102:2440] connected; active server actors: 1
2025-11-19T20:53:43.879840Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542578089529070:2440] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=12345678
2025-11-19T20:53:43.879857Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542578089529070:2440] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:43.879936Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529102:2440] disconnected.
2025-11-19T20:53:43.879946Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529102:2440] disconnected; active server actors: 1
2025-11-19T20:53:43.879948Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529102:2440] disconnected no session
2025-11-19T20:53:43.895661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542578089529070:2440] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:43.895678Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542578089529070:2440] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-19T20:53:43.895682Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542578089529070:2440] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:43.895688Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-19T20:53:43.895954Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:43.896030Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 12345678|2c98a0a6-87f74b41-62f9450d-b4fbc1cc_0 generated for partition 7 topic 'rt3.dc1--topic1' owner 12345678
2025-11-19T20:53:43.896322Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 7 MaxSeqNo: 0 sessionId: 12345678|2c98a0a6-87f74b41-62f9450d-b4fbc1cc_0
2025-11-19T20:53:43.896878Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: 12345678|2c98a0a6-87f74b41-62f9450d-b4fbc1cc_0 grpc read done: success: 0 data: 
2025-11-19T20:53:43.896888Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: 12345678|2c98a0a6-87f74b41-62f9450d-b4fbc1cc_0 grpc read failed
2025-11-19T20:53:43.896962Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 1 sessionId: 12345678|2c98a0a6-87f74b41-62f9450d-b4fbc1cc_0
2025-11-19T20:53:43.896974Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: 12345678|2c98a0a6-87f74b41-62f9450d-b4fbc1cc_0 is DEAD
Finish: 0 
2025-11-19T20:53:43.897224Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:43.897494Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:43.897505Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-11-19T20:53:43.897734Z 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-11-19T20:53:43.897773Z 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]:37532
2025-11-19T20:53:43.897781Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:43.897786Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:43.898222Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-11-19T20:53:43.898250Z 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-11-19T20:53:43.898257Z 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-11-19T20:53:43.898259Z 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-11-19T20:53:43.898264Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542578089529128:2450] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:43.898841Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542578089529128:2450] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:43.900555Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542578089529128:2450] (SourceId=source, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:43.900619Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529144:2450] connected; active server actors: 1
2025-11-19T20:53:43.900639Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542578089529128:2450] (SourceId=source, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=source
2025-11-19T20:53:43.900644Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542578089529128:2450] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:43.900700Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529144:2450] disconnected.
2025-11-19T20:53:43.900709Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529144:2450] disconnected; active server actors: 1
2025-11-19T20:53:43.900711Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529144:2450] disconnected no session
2025-11-19T20:53:43.903500Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542578089529128:2450] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:43.903514Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542578089529128:2450] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-19T20:53:43.903518Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542578089529128:2450] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:43.903531Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-19T20:53:43.903652Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:43.903670Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|b2adc8d1-9e535779-ab7ae945-29d621a8_0 generated for partition 8 topic 'rt3.dc1--topic1' owner source
2025-11-19T20:53:43.903795Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 8 MaxSeqNo: 0 sessionId: source|b2adc8d1-9e535779-ab7ae945-29d621a8_0
request: { write_request { sequence_numbers: 2 created_at_ms: 1763585623904 sent_at_ms: 1763585623904 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-11-19T20:53:43.904355Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|b2adc8d1-9e535779-ab7ae945-29d621a8_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T20:53:43.904433Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T20:53:43.904495Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-19T20:53:43.905414Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 3 created_at_ms: 1763585623905 sent_at_ms: 1763585623905 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-11-19T20:53:43.905784Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|b2adc8d1-9e535779-ab7ae945-29d621a8_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T20:53:43.905855Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T20:53:43.905906Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-19T20:53:43.906713Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 4 created_at_ms: 1763585623906 sent_at_ms: 1763585623906 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-11-19T20:53:43.907067Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|b2adc8d1-9e535779-ab7ae945-29d621a8_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T20:53:43.907144Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T20:53:43.907201Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-19T20:53:43.907938Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 5 created_at_ms: 1763585623908 sent_at_ms: 1763585623908 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-11-19T20:53:43.908245Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|b2adc8d1-9e535779-ab7ae945-29d621a8_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T20:53:43.908323Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T20:53:43.908383Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-19T20:53:43.909109Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-19T20:53:43.909365Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|b2adc8d1-9e535779-ab7ae945-29d621a8_0 grpc read done: success: 0 data: 
2025-11-19T20:53:43.909378Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: source|b2adc8d1-9e535779-ab7ae945-29d621a8_0 grpc read failed
2025-11-19T20:53:43.909458Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 2 sessionId: source|b2adc8d1-9e535779-ab7ae945-29d621a8_0
2025-11-19T20:53:43.909469Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: source|b2adc8d1-9e535779-ab7ae945-29d621a8_0 is DEAD
1 0 
CallPersQueueGRPC request to localhost:61704
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-19T20:53:43.909584Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:43.910249Z 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
CallPersQueueGRPC request to localhost:61704
MetaRequest {
  CmdChangeTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 15
  }
}
2025-11-19T20:53:43.911214Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterPersQueueGroup, opId: 281474976720677:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_alter_pq.cpp:311)
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976720677
  SchemeShardTabletId: 72057594046644480
}
ErrorCode: OK
Alter got 1
2025-11-19T20:53:43.914585Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1520: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [11, 13, 14, 12, 10]
2025-11-19T20:53:43.916277Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-19T20:53:43.916301Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037895] doesn't have tx writes info
2025-11-19T20:53:43.919627Z node 18 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037895][Partition][11][StateInit] bootstrapping 11 [18:7574542574898767491:2391]
2025-11-19T20:53:43.919789Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-19T20:53:43.920111Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][11][StateInit] init complete for topic 'rt3.dc1--topic1' partition 11 generation 1 [18:7574542574898767491:2391]
2025-11-19T20:53:43.920212Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-19T20:53:43.920420Z node 18 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037895][Partition][13][StateInit] bootstrapping 13 [18:7574542574898767493:2391]
2025-11-19T20:53:43.920755Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][13][StateInit] init complete for topic 'rt3.dc1--topic1' partition 13 generation 1 [18:7574542574898767493:2391]
2025-11-19T20:53:43.920971Z node 18 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037895][Partition][14][StateInit] bootstrapping 14 [18:7574542574898767496:2391]
2025-11-19T20:53:43.921267Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][14][StateInit] init complete for topic 'rt3.dc1--topic1' partition 14 generation 1 [18:7574542574898767496:2391]
2025-11-19T20:53:43.921458Z node 18 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037895][Partition][12][StateInit] bootstrapping 12 [18:7574542574898767497:2391]
2025-11-19T20:53:43.921754Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][12][StateInit] init complete for topic 'rt3.dc1--topic1' partition 12 generation 1 [18:7574542574898767497:2391]
2025-11-19T20:53:43.921930Z node 18 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037895][Partition][10][StateInit] bootstrapping 10 [18:7574542574898767503:2391]
2025-11-19T20:53:43.922239Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][10][StateInit] init complete for topic 'rt3.dc1--topic1' partition 10 generation 1 [18:7574542574898767503:2391]
2025-11-19T20:53:43.922895Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976720678. Ctx: { TraceId: 01kaeya1v97ag9v3psa318arrj, Database: , SessionId: ydb://session/3?node_id=17&id=OTQ4NTAyMjEtZDJmZTk3ZTMtZWMwOGU3Yi02M2RjZTdjMA==, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
2025-11-19T20:53:43.924409Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
CallPersQueueGRPC request to localhost:61704
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-19T20:53:43.927309Z 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: 281474976720671
    CreateStep: 1763585623891
    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: 281474976720671
    CreateStep: 1763585623891
    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-11-19T20:53:43.928739Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:43.928751Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-11-19T20:53:43.928896Z 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-11-19T20:53:43.928936Z 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]:37532
2025-11-19T20:53:43.928945Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:43.928949Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:43.929302Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-11-19T20:53:43.929334Z 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-11-19T20:53:43.929341Z 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-11-19T20:53:43.929343Z 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-11-19T20:53:43.929350Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542578089529357:2466] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:43.929792Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542578089529357:2466] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:43.931686Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542578089529357:2466] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:43.933815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542578089529357:2466] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:43.933825Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542578089529357:2466] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=0
2025-11-19T20:53:43.933829Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542578089529357:2466] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:43.933835Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-19T20:53:43.933950Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:43.933984Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|f4a994a9-e5b7d0d9-a25d190e-1a7b6872_0 generated for partition 8 topic 'rt3.dc1--topic1' owner source
2025-11-19T20:53:43.934154Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 8 MaxSeqNo: 5 sessionId: source|f4a994a9-e5b7d0d9-a25d190e-1a7b6872_0
request: { write_request { sequence_numbers: 6 created_at_ms: 1763585623934 sent_at_ms: 1763585623934 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-11-19T20:53:43.934624Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|f4a994a9-e5b7d0d9-a25d190e-1a7b6872_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T20:53:43.934749Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T20:53:43.934829Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-19T20:53:43.935643Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 7 created_at_ms: 1763585623935 sent_at_ms: 1763585623935 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-11-19T20:53:43.935993Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|f4a994a9-e5b7d0d9-a25d190e-1a7b6872_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T20:53:43.936113Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T20:53:43.936185Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-19T20:53:43.936866Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 8 created_at_ms: 1763585623936 sent_at_ms: 1763585623936 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-11-19T20:53:43.937101Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|f4a994a9-e5b7d0d9-a25d190e-1a7b6872_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T20:53:43.937149Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T20:53:43.937192Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-19T20:53:43.937784Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 9 created_at_ms: 1763585623937 sent_at_ms: 1763585623937 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-11-19T20:53:43.937994Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|f4a994a9-e5b7d0d9-a25d190e-1a7b6872_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T20:53:43.938029Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T20:53:43.938094Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-19T20:53:43.938633Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-19T20:53:43.938795Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|f4a994a9-e5b7d0d9-a25d190e-1a7b6872_0 grpc read done: success: 0 data: 
2025-11-19T20:53:43.938800Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: source|f4a994a9-e5b7d0d9-a25d190e-1a7b6872_0 grpc read failed
2025-11-19T20:53:43.938852Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 3 sessionId: source|f4a994a9-e5b7d0d9-a25d190e-1a7b6872_0
2025-11-19T20:53:43.938858Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: source|f4a994a9-e5b7d0d9-a25d190e-1a7b6872_0 is DEAD
1 0 
2025-11-19T20:53:43.938946Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:43.939207Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:43.939218Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 4
2025-11-19T20:53:43.939335Z 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-11-19T20:53:43.939360Z 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]:37532
2025-11-19T20:53:43.939367Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:43.939369Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:43.939712Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 4 sessionId:  describe result for acl check
2025-11-19T20:53:43.939740Z 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-11-19T20:53:43.939747Z 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-11-19T20:53:43.939749Z 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-11-19T20:53:43.939755Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542578089529408:2470] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:43.940234Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542578089529408:2470] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:43.942055Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542578089529408:2470] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:43.944036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542578089529408:2470] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:43.944048Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542578089529408:2470] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=0
2025-11-19T20:53:43.944051Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542578089529408:2470] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:43.944057Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 4 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-19T20:53:43.944173Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:43.944215Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|a35d3652-3d1ca190-1ade4362-dd9052e_0 generated for partition 8 topic 'rt3.dc1--topic1' owner source
2025-11-19T20:53:43.944344Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 4 partition: 8 MaxSeqNo: 9 sessionId: source|a35d3652-3d1ca190-1ade4362-dd9052e_0
request: { write_request { sequence_numbers: 10 sequence_numbers: 11 sequence_numbers: 12 sequence_numbers: 13 sequence_numbers: 14 created_at_ms: 1763585623944 created_at_ms: 1763585623944 created_at_ms: 1763585623944 created_at_ms: 1763585623944 created_at_ms: 1763585623944 sent_at_ms: 1763585623944 sent_at_ms: 1763585623944 sent_at_ms: 1763585623944 sent_at_ms: 1763585623944 sent_at_ms: 1763585623944 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-11-19T20:53:43.944851Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|a35d3652-3d1ca190-1ade4362-dd9052e_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T20:53:43.944944Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T20:53:43.945007Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-19T20:53:43.945861Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 15 sequence_numbers: 16 sequence_numbers: 17 sequence_numbers: 18 sequence_numbers: 19 created_at_ms: 1763585623946 created_at_ms: 1763585623946 created_at_ms: 1763585623946 created_at_ms: 1763585623946 created_at_ms: 1763585623946 sent_at_ms: 1763585623946 sent_at_ms: 1763585623946 sent_at_ms: 1763585623946 sent_at_ms: 1763585623946 sent_at_ms: 1763585623946 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-11-19T20:53:43.946192Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|a35d3652-3d1ca190-1ade4362-dd9052e_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T20:53:43.946247Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T20:53:43.946303Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-19T20:53:43.946931Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 20 sequence_numbers: 21 sequence_numbers: 22 sequence_numbers: 23 sequence_numbers: 24 created_at_ms: 1763585623947 created_at_ms: 1763585623947 created_at_ms: 1763585623947 created_at_ms: 1763585623947 created_at_ms: 1763585623947 sent_at_ms: 1763585623947 sent_at_ms: 1763585623947 sent_at_ms: 1763585623947 sent_at_ms: 1763585623947 sent_at_ms: 1763585623947 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-11-19T20:53:43.947159Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|a35d3652-3d1ca190-1ade4362-dd9052e_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T20:53:43.947214Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T20:53:43.947264Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-19T20:53:43.947904Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 25 sequence_numbers: 26 sequence_numbers: 27 sequence_numbers: 28 sequence_numbers: 29 created_at_ms: 1763585623948 created_at_ms: 1763585623948 created_at_ms: 1763585623948 created_at_ms: 1763585623948 created_at_ms: 1763585623948 sent_at_ms: 1763585623948 sent_at_ms: 1763585623948 sent_at_ms: 1763585623948 sent_at_ms: 1763585623948 sent_at_ms: 1763585623948 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-11-19T20:53:43.948185Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|a35d3652-3d1ca190-1ade4362-dd9052e_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T20:53:43.948267Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T20:53:43.948339Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-19T20:53:43.948971Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-19T20:53:43.949201Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|a35d3652-3d1ca190-1ade4362-dd9052e_0 grpc read done: success: 0 data: 
2025-11-19T20:53:43.949206Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 4 sessionId: source|a35d3652-3d1ca190-1ade4362-dd9052e_0 grpc read failed
2025-11-19T20:53:43.949247Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 4 sessionId: source|a35d3652-3d1ca190-1ade4362-dd9052e_0
2025-11-19T20:53:43.949256Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 4 sessionId: source|a35d3652-3d1ca190-1ade4362-dd9052e_0 is DEAD
1 0 
2025-11-19T20:53:43.949495Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:43.949696Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:43.949710Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 5
2025-11-19T20:53:43.949864Z 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-11-19T20:53:43.949906Z 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]:37532
2025-11-19T20:53:43.949909Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic2 durationSec=0
2025-11-19T20:53:43.949913Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:43.950218Z 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-11-19T20:53:43.950332Z 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-11-19T20:53:43.950792Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:43.950803Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 6
2025-11-19T20:53:43.950919Z 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-11-19T20:53:43.950955Z 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]:37532
2025-11-19T20:53:43.950964Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:43.950968Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:43.951358Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 6 sessionId:  describe result for acl check
2025-11-19T20:53:43.951392Z 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-11-19T20:53:43.951399Z 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-11-19T20:53:43.951402Z 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-11-19T20:53:43.951409Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542578089529468:2477] (SourceId=sid1, PreferedPartition=1) StartKqpSession
2025-11-19T20:53:43.951968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542578089529468:2477] (SourceId=sid1, PreferedPartition=1) Select from the table
2025-11-19T20:53:43.953736Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542578089529468:2477] (SourceId=sid1, PreferedPartition=1) Update the table
2025-11-19T20:53:43.955934Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542578089529468:2477] (SourceId=sid1, PreferedPartition=1) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:43.955947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542578089529468:2477] (SourceId=sid1, PreferedPartition=1) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-19T20:53:43.955950Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542578089529468:2477] (SourceId=sid1, PreferedPartition=1) Start idle
2025-11-19T20:53:43.955957Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 6 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-19T20:53:43.956086Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:43.956134Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|580a7cd8-dbd64fa-da16a353-20ff1a74_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-11-19T20:53:43.956235Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 6 partition: 1 MaxSeqNo: 0 sessionId: sid1|580a7cd8-dbd64fa-da16a353-20ff1a74_0
Init result: { status: SUCCESS init_response { session_id: "sid1|580a7cd8-dbd64fa-da16a353-20ff1a74_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:43.956795Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId: sid1|580a7cd8-dbd64fa-da16a353-20ff1a74_0 grpc read done: success: 0 data: 
2025-11-19T20:53:43.956801Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 6 sessionId: sid1|580a7cd8-dbd64fa-da16a353-20ff1a74_0 grpc read failed
2025-11-19T20:53:43.956805Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 6 sessionId: sid1|580a7cd8-dbd64fa-da16a353-20ff1a74_0 grpc closed
2025-11-19T20:53:43.956809Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 6 sessionId: sid1|580a7cd8-dbd64fa-da16a353-20ff1a74_0 is DEAD
2025-11-19T20:53:43.956938Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:43.956947Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 7
2025-11-19T20:53:43.957030Z 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-11-19T20:53:43.957033Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:43.957053Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 7 topic: "topic1" message_group_id: "sid1" from ipv6:[::1]:37532
2025-11-19T20:53:43.957061Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:43.957064Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:43.957348Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 7 sessionId:  describe result for acl check
2025-11-19T20:53:43.957369Z 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-11-19T20:53:43.957374Z 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-11-19T20:53:43.957375Z 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-11-19T20:53:43.957378Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542578089529503:2481] (SourceId=sid1, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:43.957820Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542578089529503:2481] (SourceId=sid1, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:43.959100Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542578089529503:2481] (SourceId=sid1, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:43.961000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542578089529503:2481] (SourceId=sid1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:43.961015Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542578089529503:2481] (SourceId=sid1, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2025-11-19T20:53:43.961018Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542578089529503:2481] (SourceId=sid1, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:43.961023Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-19T20:53:43.961130Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:43.961148Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|513b7103-9ccc0644-9a9494f5-e355057a_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-11-19T20:53:43.961288Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: sid1|513b7103-9ccc0644-9a9494f5-e355057a_0
Init result: { status: SUCCESS init_response { session_id: "sid1|513b7103-9ccc0644-9a9494f5-e355057a_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:43.961807Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId: sid1|513b7103-9ccc0644-9a9494f5-e355057a_0 grpc read done: success: 0 data: 
2025-11-19T20:53:43.961814Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 7 sessionId: sid1|513b7103-9ccc0644-9a9494f5-e355057a_0 grpc read failed
2025-11-19T20:53:43.961817Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 7 sessionId: sid1|513b7103-9ccc0644-9a9494f5-e355057a_0 grpc closed
2025-11-19T20:53:43.961820Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 7 sessionId: sid1|513b7103-9ccc0644-9a9494f5-e355057a_0 is DEAD
2025-11-19T20:53:43.961921Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:43.961930Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 8
2025-11-19T20:53:43.961992Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:43.962002Z 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-11-19T20:53:43.962016Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 8 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:37532
2025-11-19T20:53:43.962022Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:43.962025Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:43.962296Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 8 sessionId:  describe result for acl check
2025-11-19T20:53:43.962318Z 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-11-19T20:53:43.962323Z 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-11-19T20:53:43.962324Z 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-11-19T20:53:43.962327Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542578089529538:2485] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:43.962727Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542578089529538:2485] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:43.964042Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542578089529538:2485] (SourceId=sidx, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:43.964103Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529554:2485] connected; active server actors: 1
2025-11-19T20:53:43.964115Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542578089529538:2485] (SourceId=sidx, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sidx
2025-11-19T20:53:43.964124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542578089529538:2485] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:43.964158Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529554:2485] disconnected.
2025-11-19T20:53:43.964165Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529554:2485] disconnected; active server actors: 1
2025-11-19T20:53:43.964167Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529554:2485] disconnected no session
2025-11-19T20:53:43.966119Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542578089529538:2485] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:43.966131Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542578089529538:2485] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-19T20:53:43.966144Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542578089529538:2485] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:43.966150Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 8 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-19T20:53:43.966373Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:43.966445Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|88ba5ebc-a4058beb-f911fd17-24d40388_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sidx
2025-11-19T20:53:43.966663Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 8 partition: 9 MaxSeqNo: 0 sessionId: sidx|88ba5ebc-a4058beb-f911fd17-24d40388_0
Init result: { status: SUCCESS init_response { session_id: "sidx|88ba5ebc-a4058beb-f911fd17-24d40388_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:43.967189Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId: sidx|88ba5ebc-a4058beb-f911fd17-24d40388_0 grpc read done: success: 0 data: 
2025-11-19T20:53:43.967194Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 8 sessionId: sidx|88ba5ebc-a4058beb-f911fd17-24d40388_0 grpc read failed
2025-11-19T20:53:43.967197Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 8 sessionId: sidx|88ba5ebc-a4058beb-f911fd17-24d40388_0 grpc closed
2025-11-19T20:53:43.967201Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 8 sessionId: sidx|88ba5ebc-a4058beb-f911fd17-24d40388_0 is DEAD
2025-11-19T20:53:43.967305Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:43.967312Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 9
2025-11-19T20:53:43.967378Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:43.967411Z 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-11-19T20:53:43.967433Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 9 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:37532
2025-11-19T20:53:43.967441Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:43.967444Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:43.967729Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 9 sessionId:  describe result for acl check
2025-11-19T20:53:43.967749Z 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-11-19T20:53:43.967753Z 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-11-19T20:53:43.967754Z 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-11-19T20:53:43.967757Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542578089529574:2489] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:43.968216Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542578089529574:2489] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:43.969269Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542578089529574:2489] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:43.971367Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542578089529574:2489] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:43.971379Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542578089529574:2489] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=0
2025-11-19T20:53:43.971383Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542578089529574:2489] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:43.971389Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 9 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-19T20:53:43.971611Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:43.971686Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|bae54104-e3fdb03c-5e2bb568-a3a7eefb_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sidx
2025-11-19T20:53:43.971972Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 9 partition: 9 MaxSeqNo: 0 sessionId: sidx|bae54104-e3fdb03c-5e2bb568-a3a7eefb_0
Init result: { status: SUCCESS init_response { session_id: "sidx|bae54104-e3fdb03c-5e2bb568-a3a7eefb_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:43.972498Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId: sidx|bae54104-e3fdb03c-5e2bb568-a3a7eefb_0 grpc read done: success: 0 data: 
2025-11-19T20:53:43.972503Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 9 sessionId: sidx|bae54104-e3fdb03c-5e2bb568-a3a7eefb_0 grpc read failed
2025-11-19T20:53:43.972506Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 9 sessionId: sidx|bae54104-e3fdb03c-5e2bb568-a3a7eefb_0 grpc closed
2025-11-19T20:53:43.972510Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 9 sessionId: sidx|bae54104-e3fdb03c-5e2bb568-a3a7eefb_0 is DEAD
2025-11-19T20:53:43.972619Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:43.972628Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 10
2025-11-19T20:53:43.972734Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:43.972754Z 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-11-19T20:53:43.972779Z 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]:37532
2025-11-19T20:53:43.972788Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:43.972791Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:43.973076Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 10 sessionId:  describe result for acl check
2025-11-19T20:53:43.973097Z 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-11-19T20:53:43.973101Z 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-11-19T20:53:43.973102Z 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-11-19T20:53:43.973105Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542578089529608:2493] (SourceId=sid1, PreferedPartition=2) StartKqpSession
2025-11-19T20:53:43.973519Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542578089529608:2493] (SourceId=sid1, PreferedPartition=2) Select from the table
2025-11-19T20:53:43.975145Z node 17 :PQ_PARTITION_CHOOSER INFO: partition_chooser_impl__abstract_chooser_actor.h:312: TPartitionChooser [17:7574542578089529608:2493] (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-11-19T20:53:43.975171Z 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-11-19T20:53:43.975291Z 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-11-19T20:53:43.975668Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:43.975676Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 11
2025-11-19T20:53:43.975751Z 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-11-19T20:53:43.975768Z 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]:37532
2025-11-19T20:53:43.975774Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=11 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:43.975777Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:43.976219Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 11 sessionId:  describe result for acl check
2025-11-19T20:53:43.976255Z 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-11-19T20:53:43.976262Z 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-11-19T20:53:43.976263Z 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-11-19T20:53:43.976268Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542578089529630:2497] (SourceId=sid_rand_0, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:43.976782Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542578089529630:2497] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:43.978210Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542578089529630:2497] (SourceId=sid_rand_0, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:43.978287Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529646:2497] connected; active server actors: 1
2025-11-19T20:53:43.978307Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542578089529630:2497] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_0
2025-11-19T20:53:43.978310Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542578089529630:2497] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:43.978356Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529646:2497] disconnected.
2025-11-19T20:53:43.978364Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529646:2497] disconnected; active server actors: 1
2025-11-19T20:53:43.978366Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529646:2497] disconnected no session
2025-11-19T20:53:43.980851Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542578089529630:2497] (SourceId=sid_rand_0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:43.980876Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542578089529630:2497] (SourceId=sid_rand_0, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-19T20:53:43.980878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542578089529630:2497] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:43.980885Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 11 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-19T20:53:43.981134Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:43.981194Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_0|8353d8fa-3728e2d0-6ed06c32-757c3dc5_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_0
2025-11-19T20:53:43.981487Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 11 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_0|8353d8fa-3728e2d0-6ed06c32-757c3dc5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_0|8353d8fa-3728e2d0-6ed06c32-757c3dc5_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:43.981985Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId: sid_rand_0|8353d8fa-3728e2d0-6ed06c32-757c3dc5_0 grpc read done: success: 0 data: 
2025-11-19T20:53:43.981990Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 11 sessionId: sid_rand_0|8353d8fa-3728e2d0-6ed06c32-757c3dc5_0 grpc read failed
2025-11-19T20:53:43.981994Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 11 sessionId: sid_rand_0|8353d8fa-3728e2d0-6ed06c32-757c3dc5_0 grpc closed
2025-11-19T20:53:43.981998Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 11 sessionId: sid_rand_0|8353d8fa-3728e2d0-6ed06c32-757c3dc5_0 is DEAD
2025-11-19T20:53:43.982171Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:43.982184Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 12
2025-11-19T20:53:43.982191Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:43.982274Z 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-11-19T20:53:43.982301Z 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]:37532
2025-11-19T20:53:43.982304Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=12 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:43.982307Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:43.982695Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 12 sessionId:  describe result for acl check
2025-11-19T20:53:43.982729Z 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-11-19T20:53:43.982737Z 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-11-19T20:53:43.982739Z 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-11-19T20:53:43.982744Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542578089529666:2501] (SourceId=sid_rand_1, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:43.983272Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542578089529666:2501] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:43.984872Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542578089529666:2501] (SourceId=sid_rand_1, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:43.984948Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529682:2501] connected; active server actors: 1
2025-11-19T20:53:43.984966Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542578089529666:2501] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_1
2025-11-19T20:53:43.984971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542578089529666:2501] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:43.985011Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529682:2501] disconnected.
2025-11-19T20:53:43.985019Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529682:2501] disconnected; active server actors: 1
2025-11-19T20:53:43.985021Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529682:2501] disconnected no session
2025-11-19T20:53:43.987433Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542578089529666:2501] (SourceId=sid_rand_1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:43.987444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542578089529666:2501] (SourceId=sid_rand_1, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-19T20:53:43.987447Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542578089529666:2501] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:43.987452Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 12 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-19T20:53:43.987677Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:43.987760Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_1|26fb46d1-5d4582a6-89c8e79f-bc8de0da_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_1
2025-11-19T20:53:43.987992Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 12 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_1|26fb46d1-5d4582a6-89c8e79f-bc8de0da_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_1|26fb46d1-5d4582a6-89c8e79f-bc8de0da_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:43.988668Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId: sid_rand_1|26fb46d1-5d4582a6-89c8e79f-bc8de0da_0 grpc read done: success: 0 data: 
2025-11-19T20:53:43.988675Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 12 sessionId: sid_rand_1|26fb46d1-5d4582a6-89c8e79f-bc8de0da_0 grpc read failed
2025-11-19T20:53:43.988750Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 12 sessionId: sid_rand_1|26fb46d1-5d4582a6-89c8e79f-bc8de0da_0
2025-11-19T20:53:43.988760Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 12 sessionId: sid_rand_1|26fb46d1-5d4582a6-89c8e79f-bc8de0da_0 is DEAD
2025-11-19T20:53:43.988857Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:43.988863Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:43.988869Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 13
2025-11-19T20:53:43.988969Z 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-11-19T20:53:43.988993Z 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]:37532
2025-11-19T20:53:43.988997Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=13 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:43.989000Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:43.989359Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 13 sessionId:  describe result for acl check
2025-11-19T20:53:43.989388Z 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-11-19T20:53:43.989390Z 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-11-19T20:53:43.989392Z 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-11-19T20:53:43.989395Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542578089529702:2505] (SourceId=sid_rand_2, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:43.989933Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542578089529702:2505] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:43.991469Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542578089529702:2505] (SourceId=sid_rand_2, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:43.991520Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529718:2505] connected; active server actors: 1
2025-11-19T20:53:43.991534Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542578089529702:2505] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_2
2025-11-19T20:53:43.991538Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542578089529702:2505] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:43.991569Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529718:2505] disconnected.
2025-11-19T20:53:43.991575Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529718:2505] disconnected; active server actors: 1
2025-11-19T20:53:43.991576Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529718:2505] disconnected no session
2025-11-19T20:53:43.993954Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542578089529702:2505] (SourceId=sid_rand_2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:43.993963Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542578089529702:2505] (SourceId=sid_rand_2, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-19T20:53:43.993966Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542578089529702:2505] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:43.993971Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 13 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-19T20:53:43.994185Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:43.994252Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_2|d235db60-b303fae3-f6d2d3b2-38e9653a_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_2
2025-11-19T20:53:43.994432Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 13 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_2|d235db60-b303fae3-f6d2d3b2-38e9653a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_2|d235db60-b303fae3-f6d2d3b2-38e9653a_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:43.994909Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId: sid_rand_2|d235db60-b303fae3-f6d2d3b2-38e9653a_0 grpc read done: success: 0 data: 
2025-11-19T20:53:43.994916Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 13 sessionId: sid_rand_2|d235db60-b303fae3-f6d2d3b2-38e9653a_0 grpc read failed
2025-11-19T20:53:43.994921Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 13 sessionId: sid_rand_2|d235db60-b303fae3-f6d2d3b2-38e9653a_0 grpc closed
2025-11-19T20:53:43.994925Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 13 sessionId: sid_rand_2|d235db60-b303fae3-f6d2d3b2-38e9653a_0 is DEAD
2025-11-19T20:53:43.995040Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:43.995049Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 14
2025-11-19T20:53:43.995155Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:43.995187Z 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-11-19T20:53:43.995212Z 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]:37532
2025-11-19T20:53:43.995222Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=14 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:43.995224Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:43.995507Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 14 sessionId:  describe result for acl check
2025-11-19T20:53:43.995527Z 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-11-19T20:53:43.995528Z 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-11-19T20:53:43.995529Z 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-11-19T20:53:43.995532Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542578089529738:2509] (SourceId=sid_rand_3, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:43.995934Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542578089529738:2509] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:43.997484Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542578089529738:2509] (SourceId=sid_rand_3, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:43.997542Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529754:2509] connected; active server actors: 1
2025-11-19T20:53:43.997558Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542578089529738:2509] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_3
2025-11-19T20:53:43.997562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542578089529738:2509] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:43.997601Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529754:2509] disconnected.
2025-11-19T20:53:43.997609Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529754:2509] disconnected; active server actors: 1
2025-11-19T20:53:43.997612Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542578089529754:2509] disconnected no session
2025-11-19T20:53:43.999961Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542578089529738:2509] (SourceId=sid_rand_3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:43.999972Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542578089529738:2509] (SourceId=sid_rand_3, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-19T20:53:43.999975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542578089529738:2509] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:43.999983Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 14 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-19T20:53:44.000157Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.000256Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_3|a6dd79dd-c98ee923-160aede7-254bc784_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_3
2025-11-19T20:53:44.000469Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 14 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_3|a6dd79dd-c98ee923-160aede7-254bc784_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_3|a6dd79dd-c98ee923-160aede7-254bc784_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.001020Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId: sid_rand_3|a6dd79dd-c98ee923-160aede7-254bc784_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.001026Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 14 sessionId: sid_rand_3|a6dd79dd-c98ee923-160aede7-254bc784_0 grpc read failed
2025-11-19T20:53:44.001030Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 14 sessionId: sid_rand_3|a6dd79dd-c98ee923-160aede7-254bc784_0 grpc closed
2025-11-19T20:53:44.001032Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 14 sessionId: sid_rand_3|a6dd79dd-c98ee923-160aede7-254bc784_0 is DEAD
2025-11-19T20:53:44.001169Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.001179Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 15
2025-11-19T20:53:44.001238Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.001257Z 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-11-19T20:53:44.001276Z 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]:37532
2025-11-19T20:53:44.001285Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=15 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.001288Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.001566Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 15 sessionId:  describe result for acl check
2025-11-19T20:53:44.001588Z 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-11-19T20:53:44.001593Z 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-11-19T20:53:44.001594Z 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-11-19T20:53:44.001597Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497070:2513] (SourceId=sid_rand_4, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.002020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497070:2513] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.003230Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497070:2513] (SourceId=sid_rand_4, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.003282Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497086:2513] connected; active server actors: 1
2025-11-19T20:53:44.003295Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497070:2513] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_4
2025-11-19T20:53:44.003299Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497070:2513] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.003338Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497086:2513] disconnected.
2025-11-19T20:53:44.003344Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497086:2513] disconnected; active server actors: 1
2025-11-19T20:53:44.003346Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497086:2513] disconnected no session
2025-11-19T20:53:44.005687Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497070:2513] (SourceId=sid_rand_4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.005698Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497070:2513] (SourceId=sid_rand_4, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-19T20:53:44.005701Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497070:2513] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.005706Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 15 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-19T20:53:44.005884Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.005971Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_4|6869a2ab-cc4ca69f-e76b7b8c-48390daf_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_4
2025-11-19T20:53:44.006204Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 15 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_4|6869a2ab-cc4ca69f-e76b7b8c-48390daf_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_4|6869a2ab-cc4ca69f-e76b7b8c-48390daf_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.006795Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId: sid_rand_4|6869a2ab-cc4ca69f-e76b7b8c-48390daf_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.006801Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 15 sessionId: sid_rand_4|6869a2ab-cc4ca69f-e76b7b8c-48390daf_0 grpc read failed
2025-11-19T20:53:44.006805Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 15 sessionId: sid_rand_4|6869a2ab-cc4ca69f-e76b7b8c-48390daf_0 grpc closed
2025-11-19T20:53:44.006808Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 15 sessionId: sid_rand_4|6869a2ab-cc4ca69f-e76b7b8c-48390daf_0 is DEAD
2025-11-19T20:53:44.006942Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.006952Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 16
2025-11-19T20:53:44.006987Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.007038Z 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-11-19T20:53:44.007060Z 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]:37532
2025-11-19T20:53:44.007066Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=16 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.007069Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.007345Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 16 sessionId:  describe result for acl check
2025-11-19T20:53:44.007368Z 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-11-19T20:53:44.007375Z 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-11-19T20:53:44.007377Z 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-11-19T20:53:44.007380Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497106:2517] (SourceId=sid_rand_5, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.007795Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497106:2517] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.009331Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497106:2517] (SourceId=sid_rand_5, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.009399Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497122:2517] connected; active server actors: 1
2025-11-19T20:53:44.009411Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497106:2517] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_5
2025-11-19T20:53:44.009414Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497106:2517] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.009448Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497122:2517] disconnected.
2025-11-19T20:53:44.009457Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497122:2517] disconnected; active server actors: 1
2025-11-19T20:53:44.009460Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497122:2517] disconnected no session
2025-11-19T20:53:44.011735Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497106:2517] (SourceId=sid_rand_5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.011748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497106:2517] (SourceId=sid_rand_5, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-19T20:53:44.011752Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497106:2517] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.011758Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 16 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-19T20:53:44.011897Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.011944Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_5|3b318806-9e571a13-57af04a7-fdf91edd_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_5
2025-11-19T20:53:44.012053Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 16 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_5|3b318806-9e571a13-57af04a7-fdf91edd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_5|3b318806-9e571a13-57af04a7-fdf91edd_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.012630Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId: sid_rand_5|3b318806-9e571a13-57af04a7-fdf91edd_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.012636Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 16 sessionId: sid_rand_5|3b318806-9e571a13-57af04a7-fdf91edd_0 grpc read failed
2025-11-19T20:53:44.012639Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 16 sessionId: sid_rand_5|3b318806-9e571a13-57af04a7-fdf91edd_0 grpc closed
2025-11-19T20:53:44.012643Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 16 sessionId: sid_rand_5|3b318806-9e571a13-57af04a7-fdf91edd_0 is DEAD
2025-11-19T20:53:44.012696Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.012706Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 17
2025-11-19T20:53:44.012767Z 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-11-19T20:53:44.012792Z 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]:37532
2025-11-19T20:53:44.012801Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=17 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.012804Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.012871Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.013130Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 17 sessionId:  describe result for acl check
2025-11-19T20:53:44.013157Z 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-11-19T20:53:44.013163Z 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-11-19T20:53:44.013165Z 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-11-19T20:53:44.013169Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497143:2521] (SourceId=sid_rand_6, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.013641Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497143:2521] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.014944Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497143:2521] (SourceId=sid_rand_6, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.014993Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497159:2521] connected; active server actors: 1
2025-11-19T20:53:44.015005Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497143:2521] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_6
2025-11-19T20:53:44.015009Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497143:2521] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.015048Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497159:2521] disconnected.
2025-11-19T20:53:44.015056Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497159:2521] disconnected; active server actors: 1
2025-11-19T20:53:44.015059Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497159:2521] disconnected no session
2025-11-19T20:53:44.017493Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497143:2521] (SourceId=sid_rand_6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.017509Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497143:2521] (SourceId=sid_rand_6, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-19T20:53:44.017513Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497143:2521] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.017520Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 17 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-19T20:53:44.017639Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.017685Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_6|a4cf2803-41100cbf-1bc516c2-ba85dbd4_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_6
2025-11-19T20:53:44.017808Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 17 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_6|a4cf2803-41100cbf-1bc516c2-ba85dbd4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_6|a4cf2803-41100cbf-1bc516c2-ba85dbd4_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.018425Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId: sid_rand_6|a4cf2803-41100cbf-1bc516c2-ba85dbd4_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.018434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 17 sessionId: sid_rand_6|a4cf2803-41100cbf-1bc516c2-ba85dbd4_0 grpc read failed
2025-11-19T20:53:44.018473Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 17 sessionId: sid_rand_6|a4cf2803-41100cbf-1bc516c2-ba85dbd4_0
2025-11-19T20:53:44.018480Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 17 sessionId: sid_rand_6|a4cf2803-41100cbf-1bc516c2-ba85dbd4_0 is DEAD
2025-11-19T20:53:44.018565Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.018610Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.018619Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 18
2025-11-19T20:53:44.018712Z 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-11-19T20:53:44.018741Z 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]:37532
2025-11-19T20:53:44.018748Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=18 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.018751Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.019208Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 18 sessionId:  describe result for acl check
2025-11-19T20:53:44.019245Z 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-11-19T20:53:44.019253Z 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-11-19T20:53:44.019254Z 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-11-19T20:53:44.019259Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497180:2525] (SourceId=sid_rand_7, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.019797Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497180:2525] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.021409Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497180:2525] (SourceId=sid_rand_7, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.021493Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497196:2525] connected; active server actors: 1
2025-11-19T20:53:44.021508Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497180:2525] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_7
2025-11-19T20:53:44.021512Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497180:2525] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.021554Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497196:2525] disconnected.
2025-11-19T20:53:44.021563Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497196:2525] disconnected; active server actors: 1
2025-11-19T20:53:44.021565Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497196:2525] disconnected no session
2025-11-19T20:53:44.024114Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497180:2525] (SourceId=sid_rand_7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.024127Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497180:2525] (SourceId=sid_rand_7, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-19T20:53:44.024130Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497180:2525] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.024138Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 18 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-19T20:53:44.024430Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.024524Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_7|3e907d55-58fa93b2-391e1a3a-a90eab3e_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_7
2025-11-19T20:53:44.024731Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 18 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_7|3e907d55-58fa93b2-391e1a3a-a90eab3e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_7|3e907d55-58fa93b2-391e1a3a-a90eab3e_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.025401Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId: sid_rand_7|3e907d55-58fa93b2-391e1a3a-a90eab3e_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.025410Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 18 sessionId: sid_rand_7|3e907d55-58fa93b2-391e1a3a-a90eab3e_0 grpc read failed
2025-11-19T20:53:44.025414Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 18 sessionId: sid_rand_7|3e907d55-58fa93b2-391e1a3a-a90eab3e_0 grpc closed
2025-11-19T20:53:44.025417Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 18 sessionId: sid_rand_7|3e907d55-58fa93b2-391e1a3a-a90eab3e_0 is DEAD
2025-11-19T20:53:44.025526Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.025537Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 19
2025-11-19T20:53:44.025645Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.025676Z 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-11-19T20:53:44.025701Z 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]:37532
2025-11-19T20:53:44.025711Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=19 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.025714Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.026090Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 19 sessionId:  describe result for acl check
2025-11-19T20:53:44.026114Z 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-11-19T20:53:44.026119Z 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-11-19T20:53:44.026120Z 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-11-19T20:53:44.026124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497217:2529] (SourceId=sid_rand_8, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.026597Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497217:2529] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.027720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497217:2529] (SourceId=sid_rand_8, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.027771Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497233:2529] connected; active server actors: 1
2025-11-19T20:53:44.027784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497217:2529] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_8
2025-11-19T20:53:44.027787Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497217:2529] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.027814Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497233:2529] disconnected.
2025-11-19T20:53:44.027820Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497233:2529] disconnected; active server actors: 1
2025-11-19T20:53:44.027822Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497233:2529] disconnected no session
2025-11-19T20:53:44.030513Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497217:2529] (SourceId=sid_rand_8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.030525Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497217:2529] (SourceId=sid_rand_8, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-19T20:53:44.030529Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497217:2529] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.030537Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 19 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-19T20:53:44.030678Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.030739Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_8|e9f754e6-6b8c0750-1d6a4ab9-5b5b1bc3_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_8
2025-11-19T20:53:44.030872Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 19 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_8|e9f754e6-6b8c0750-1d6a4ab9-5b5b1bc3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_8|e9f754e6-6b8c0750-1d6a4ab9-5b5b1bc3_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.031524Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId: sid_rand_8|e9f754e6-6b8c0750-1d6a4ab9-5b5b1bc3_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.031536Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 19 sessionId: sid_rand_8|e9f754e6-6b8c0750-1d6a4ab9-5b5b1bc3_0 grpc read failed
2025-11-19T20:53:44.031542Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 19 sessionId: sid_rand_8|e9f754e6-6b8c0750-1d6a4ab9-5b5b1bc3_0 grpc closed
2025-11-19T20:53:44.031547Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 19 sessionId: sid_rand_8|e9f754e6-6b8c0750-1d6a4ab9-5b5b1bc3_0 is DEAD
2025-11-19T20:53:44.031701Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.031734Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.031743Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 20
2025-11-19T20:53:44.031858Z 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-11-19T20:53:44.031888Z 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]:37532
2025-11-19T20:53:44.031892Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=20 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.031894Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.032263Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 20 sessionId:  describe result for acl check
2025-11-19T20:53:44.032294Z 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-11-19T20:53:44.032301Z 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-11-19T20:53:44.032303Z 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-11-19T20:53:44.032308Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497254:2533] (SourceId=sid_rand_9, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.032852Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497254:2533] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.034515Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497254:2533] (SourceId=sid_rand_9, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.034589Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497270:2533] connected; active server actors: 1
2025-11-19T20:53:44.034606Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497254:2533] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_9
2025-11-19T20:53:44.034611Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497254:2533] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.034655Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497270:2533] disconnected.
2025-11-19T20:53:44.034663Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497270:2533] disconnected; active server actors: 1
2025-11-19T20:53:44.034666Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497270:2533] disconnected no session
2025-11-19T20:53:44.036949Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497254:2533] (SourceId=sid_rand_9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.036959Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497254:2533] (SourceId=sid_rand_9, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-19T20:53:44.036961Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497254:2533] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.036966Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 20 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-19T20:53:44.037198Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.037306Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_9|b3524c36-4a2c9774-26c4b911-e94fdac5_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_9
2025-11-19T20:53:44.037530Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 20 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_9|b3524c36-4a2c9774-26c4b911-e94fdac5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_9|b3524c36-4a2c9774-26c4b911-e94fdac5_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.038050Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId: sid_rand_9|b3524c36-4a2c9774-26c4b911-e94fdac5_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.038057Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 20 sessionId: sid_rand_9|b3524c36-4a2c9774-26c4b911-e94fdac5_0 grpc read failed
2025-11-19T20:53:44.038061Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 20 sessionId: sid_rand_9|b3524c36-4a2c9774-26c4b911-e94fdac5_0 grpc closed
2025-11-19T20:53:44.038065Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 20 sessionId: sid_rand_9|b3524c36-4a2c9774-26c4b911-e94fdac5_0 is DEAD
2025-11-19T20:53:44.038202Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.038211Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 21
2025-11-19T20:53:44.038231Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.038328Z 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-11-19T20:53:44.038353Z 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]:37532
2025-11-19T20:53:44.038360Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=21 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.038363Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.038729Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 21 sessionId:  describe result for acl check
2025-11-19T20:53:44.038754Z 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-11-19T20:53:44.038762Z 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-11-19T20:53:44.038764Z 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-11-19T20:53:44.038768Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497293:2537] (SourceId=sid_rand_10, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.039222Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497293:2537] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.040560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497293:2537] (SourceId=sid_rand_10, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.040630Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497309:2537] connected; active server actors: 1
2025-11-19T20:53:44.040641Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497293:2537] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_10
2025-11-19T20:53:44.040645Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497293:2537] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.040675Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497309:2537] disconnected.
2025-11-19T20:53:44.040681Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497309:2537] disconnected; active server actors: 1
2025-11-19T20:53:44.040683Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497309:2537] disconnected no session
2025-11-19T20:53:44.043089Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497293:2537] (SourceId=sid_rand_10, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.043101Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497293:2537] (SourceId=sid_rand_10, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-19T20:53:44.043105Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497293:2537] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.043111Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 21 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-19T20:53:44.043324Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.043415Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_10|6d86323-331c08ef-544e49ff-9f8444c4_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_10
2025-11-19T20:53:44.043652Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 21 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_10|6d86323-331c08ef-544e49ff-9f8444c4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_10|6d86323-331c08ef-544e49ff-9f8444c4_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.044269Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId: sid_rand_10|6d86323-331c08ef-544e49ff-9f8444c4_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.044278Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 21 sessionId: sid_rand_10|6d86323-331c08ef-544e49ff-9f8444c4_0 grpc read failed
2025-11-19T20:53:44.044282Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 21 sessionId: sid_rand_10|6d86323-331c08ef-544e49ff-9f8444c4_0 grpc closed
2025-11-19T20:53:44.044288Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 21 sessionId: sid_rand_10|6d86323-331c08ef-544e49ff-9f8444c4_0 is DEAD
2025-11-19T20:53:44.044352Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.044363Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 22
2025-11-19T20:53:44.044463Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.044483Z 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-11-19T20:53:44.044505Z 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]:37532
2025-11-19T20:53:44.044512Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=22 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.044514Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.044847Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 22 sessionId:  describe result for acl check
2025-11-19T20:53:44.044876Z 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-11-19T20:53:44.044882Z 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-11-19T20:53:44.044884Z 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-11-19T20:53:44.044888Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497329:2541] (SourceId=sid_rand_11, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.045327Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497329:2541] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.046880Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497329:2541] (SourceId=sid_rand_11, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.046937Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497346:2541] connected; active server actors: 1
2025-11-19T20:53:44.046956Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497329:2541] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_11
2025-11-19T20:53:44.046971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497329:2541] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.047032Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497346:2541] disconnected.
2025-11-19T20:53:44.047042Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497346:2541] disconnected; active server actors: 1
2025-11-19T20:53:44.047047Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497346:2541] disconnected no session
2025-11-19T20:53:44.049911Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497329:2541] (SourceId=sid_rand_11, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.049928Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497329:2541] (SourceId=sid_rand_11, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-19T20:53:44.049932Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497329:2541] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.049941Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 22 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-19T20:53:44.050088Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.050122Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_11|3fa2613-9f51f9bf-5241b0ae-c5b39a45_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_11
2025-11-19T20:53:44.050284Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 22 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_11|3fa2613-9f51f9bf-5241b0ae-c5b39a45_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_11|3fa2613-9f51f9bf-5241b0ae-c5b39a45_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.050992Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId: sid_rand_11|3fa2613-9f51f9bf-5241b0ae-c5b39a45_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.051001Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 22 sessionId: sid_rand_11|3fa2613-9f51f9bf-5241b0ae-c5b39a45_0 grpc read failed
2025-11-19T20:53:44.051006Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 22 sessionId: sid_rand_11|3fa2613-9f51f9bf-5241b0ae-c5b39a45_0 grpc closed
2025-11-19T20:53:44.051012Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 22 sessionId: sid_rand_11|3fa2613-9f51f9bf-5241b0ae-c5b39a45_0 is DEAD
2025-11-19T20:53:44.051116Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.051124Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 23
2025-11-19T20:53:44.051245Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.051269Z 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-11-19T20:53:44.051303Z 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]:37532
2025-11-19T20:53:44.051311Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=23 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.051314Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.051661Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 23 sessionId:  describe result for acl check
2025-11-19T20:53:44.051696Z 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-11-19T20:53:44.051702Z 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-11-19T20:53:44.051704Z 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-11-19T20:53:44.051708Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497367:2545] (SourceId=sid_rand_12, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.052242Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497367:2545] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.054092Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497367:2545] (SourceId=sid_rand_12, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.054204Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497383:2545] connected; active server actors: 1
2025-11-19T20:53:44.054219Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497367:2545] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_12
2025-11-19T20:53:44.054222Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497367:2545] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.054259Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497383:2545] disconnected.
2025-11-19T20:53:44.054265Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497383:2545] disconnected; active server actors: 1
2025-11-19T20:53:44.054267Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497383:2545] disconnected no session
2025-11-19T20:53:44.057308Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497367:2545] (SourceId=sid_rand_12, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.057320Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497367:2545] (SourceId=sid_rand_12, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-19T20:53:44.057325Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497367:2545] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.057332Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 23 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-19T20:53:44.057613Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.057721Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_12|6d7de34d-78671d86-615f75f9-df50580e_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_12
2025-11-19T20:53:44.058040Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 23 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_12|6d7de34d-78671d86-615f75f9-df50580e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_12|6d7de34d-78671d86-615f75f9-df50580e_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.058765Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId: sid_rand_12|6d7de34d-78671d86-615f75f9-df50580e_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.058776Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 23 sessionId: sid_rand_12|6d7de34d-78671d86-615f75f9-df50580e_0 grpc read failed
2025-11-19T20:53:44.058781Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 23 sessionId: sid_rand_12|6d7de34d-78671d86-615f75f9-df50580e_0 grpc closed
2025-11-19T20:53:44.058787Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 23 sessionId: sid_rand_12|6d7de34d-78671d86-615f75f9-df50580e_0 is DEAD
2025-11-19T20:53:44.058981Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.058991Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 24
2025-11-19T20:53:44.059061Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.059095Z 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-11-19T20:53:44.059123Z 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]:37532
2025-11-19T20:53:44.059132Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=24 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.059135Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.059565Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 24 sessionId:  describe result for acl check
2025-11-19T20:53:44.059603Z 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-11-19T20:53:44.059605Z 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-11-19T20:53:44.059607Z 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-11-19T20:53:44.059613Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497403:2549] (SourceId=sid_rand_13, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.060270Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497403:2549] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.062629Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497403:2549] (SourceId=sid_rand_13, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.062709Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497419:2549] connected; active server actors: 1
2025-11-19T20:53:44.062731Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497403:2549] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_13
2025-11-19T20:53:44.062736Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497403:2549] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.062802Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497419:2549] disconnected.
2025-11-19T20:53:44.062812Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497419:2549] disconnected; active server actors: 1
2025-11-19T20:53:44.062817Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497419:2549] disconnected no session
2025-11-19T20:53:44.065769Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497403:2549] (SourceId=sid_rand_13, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.065784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497403:2549] (SourceId=sid_rand_13, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-19T20:53:44.065788Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497403:2549] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.065797Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 24 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-19T20:53:44.066067Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.066190Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_13|f471be83-2d5fa533-61c64a21-c3d295c9_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_13
2025-11-19T20:53:44.066522Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 24 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_13|f471be83-2d5fa533-61c64a21-c3d295c9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_13|f471be83-2d5fa533-61c64a21-c3d295c9_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.067285Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId: sid_rand_13|f471be83-2d5fa533-61c64a21-c3d295c9_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.067291Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 24 sessionId: sid_rand_13|f471be83-2d5fa533-61c64a21-c3d295c9_0 grpc read failed
2025-11-19T20:53:44.067294Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 24 sessionId: sid_rand_13|f471be83-2d5fa533-61c64a21-c3d295c9_0 grpc closed
2025-11-19T20:53:44.067302Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 24 sessionId: sid_rand_13|f471be83-2d5fa533-61c64a21-c3d295c9_0 is DEAD
2025-11-19T20:53:44.067356Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.067368Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 25
2025-11-19T20:53:44.067479Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.067526Z 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-11-19T20:53:44.067547Z 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]:37532
2025-11-19T20:53:44.067554Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=25 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.067557Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.067859Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 25 sessionId:  describe result for acl check
2025-11-19T20:53:44.067890Z 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-11-19T20:53:44.067894Z 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-11-19T20:53:44.067896Z 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-11-19T20:53:44.067900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497439:2553] (SourceId=sid_rand_14, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.068318Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497439:2553] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.069752Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497439:2553] (SourceId=sid_rand_14, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.069815Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497455:2553] connected; active server actors: 1
2025-11-19T20:53:44.069828Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497439:2553] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_14
2025-11-19T20:53:44.069832Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497439:2553] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.069864Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497455:2553] disconnected.
2025-11-19T20:53:44.069870Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497455:2553] disconnected; active server actors: 1
2025-11-19T20:53:44.069872Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497455:2553] disconnected no session
2025-11-19T20:53:44.072606Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497439:2553] (SourceId=sid_rand_14, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.072628Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497439:2553] (SourceId=sid_rand_14, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-19T20:53:44.072633Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497439:2553] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.072647Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 25 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-19T20:53:44.072936Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.073058Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_14|59fa2a94-c1c86804-691c4c85-1cad932f_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_14
2025-11-19T20:53:44.073378Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 25 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_14|59fa2a94-c1c86804-691c4c85-1cad932f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_14|59fa2a94-c1c86804-691c4c85-1cad932f_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.074046Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId: sid_rand_14|59fa2a94-c1c86804-691c4c85-1cad932f_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.074061Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 25 sessionId: sid_rand_14|59fa2a94-c1c86804-691c4c85-1cad932f_0 grpc read failed
2025-11-19T20:53:44.074069Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 25 sessionId: sid_rand_14|59fa2a94-c1c86804-691c4c85-1cad932f_0 grpc closed
2025-11-19T20:53:44.074076Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 25 sessionId: sid_rand_14|59fa2a94-c1c86804-691c4c85-1cad932f_0 is DEAD
2025-11-19T20:53:44.074197Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.074209Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 26
2025-11-19T20:53:44.074355Z 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-11-19T20:53:44.074390Z 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]:37532
2025-11-19T20:53:44.074400Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=26 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.074404Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.074478Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.074900Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 26 sessionId:  describe result for acl check
2025-11-19T20:53:44.074939Z 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-11-19T20:53:44.074942Z 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-11-19T20:53:44.074945Z 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-11-19T20:53:44.074949Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497475:2557] (SourceId=sid_rand_15, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.075649Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497475:2557] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.077824Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497475:2557] (SourceId=sid_rand_15, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.077961Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497491:2557] connected; active server actors: 1
2025-11-19T20:53:44.077979Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497475:2557] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_15
2025-11-19T20:53:44.077988Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497475:2557] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.078050Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497491:2557] disconnected.
2025-11-19T20:53:44.078061Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497491:2557] disconnected; active server actors: 1
2025-11-19T20:53:44.078064Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497491:2557] disconnected no session
2025-11-19T20:53:44.081150Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497475:2557] (SourceId=sid_rand_15, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.081162Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497475:2557] (SourceId=sid_rand_15, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-19T20:53:44.081166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497475:2557] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.081173Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 26 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-19T20:53:44.081439Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.081522Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_15|f328e8ce-9f5eb1a0-b8f4526e-febb2a95_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_15
2025-11-19T20:53:44.081799Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 26 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_15|f328e8ce-9f5eb1a0-b8f4526e-febb2a95_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_15|f328e8ce-9f5eb1a0-b8f4526e-febb2a95_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.082480Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId: sid_rand_15|f328e8ce-9f5eb1a0-b8f4526e-febb2a95_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.082490Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 26 sessionId: sid_rand_15|f328e8ce-9f5eb1a0-b8f4526e-febb2a95_0 grpc read failed
2025-11-19T20:53:44.082496Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 26 sessionId: sid_rand_15|f328e8ce-9f5eb1a0-b8f4526e-febb2a95_0 grpc closed
2025-11-19T20:53:44.082502Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 26 sessionId: sid_rand_15|f328e8ce-9f5eb1a0-b8f4526e-febb2a95_0 is DEAD
2025-11-19T20:53:44.082682Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.082691Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 27
2025-11-19T20:53:44.082779Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.082795Z 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-11-19T20:53:44.082814Z 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]:37532
2025-11-19T20:53:44.082822Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=27 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.082825Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.083237Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 27 sessionId:  describe result for acl check
2025-11-19T20:53:44.083274Z 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-11-19T20:53:44.083280Z 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-11-19T20:53:44.083283Z 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-11-19T20:53:44.083287Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497511:2561] (SourceId=sid_rand_16, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.083903Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497511:2561] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.085777Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497511:2561] (SourceId=sid_rand_16, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.085838Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497527:2561] connected; active server actors: 1
2025-11-19T20:53:44.085856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497511:2561] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_16
2025-11-19T20:53:44.085860Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497511:2561] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.085901Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497527:2561] disconnected.
2025-11-19T20:53:44.085910Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497527:2561] disconnected; active server actors: 1
2025-11-19T20:53:44.085912Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497527:2561] disconnected no session
2025-11-19T20:53:44.088132Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497511:2561] (SourceId=sid_rand_16, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.088143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497511:2561] (SourceId=sid_rand_16, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-19T20:53:44.088146Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497511:2561] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.088151Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 27 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-19T20:53:44.088244Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.088271Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_16|96b4ab37-cc0e866f-38db6a4-c282cd67_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_16
2025-11-19T20:53:44.088365Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 27 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_16|96b4ab37-cc0e866f-38db6a4-c282cd67_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_16|96b4ab37-cc0e866f-38db6a4-c282cd67_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.088863Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId: sid_rand_16|96b4ab37-cc0e866f-38db6a4-c282cd67_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.088869Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 27 sessionId: sid_rand_16|96b4ab37-cc0e866f-38db6a4-c282cd67_0 grpc read failed
2025-11-19T20:53:44.088873Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 27 sessionId: sid_rand_16|96b4ab37-cc0e866f-38db6a4-c282cd67_0 grpc closed
2025-11-19T20:53:44.088877Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 27 sessionId: sid_rand_16|96b4ab37-cc0e866f-38db6a4-c282cd67_0 is DEAD
2025-11-19T20:53:44.089041Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.089048Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.089051Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 28
2025-11-19T20:53:44.089185Z 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-11-19T20:53:44.089208Z 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]:37532
2025-11-19T20:53:44.089214Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=28 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.089217Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.089490Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 28 sessionId:  describe result for acl check
2025-11-19T20:53:44.089510Z 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-11-19T20:53:44.089515Z 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-11-19T20:53:44.089516Z 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-11-19T20:53:44.089519Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497548:2565] (SourceId=sid_rand_17, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.089909Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497548:2565] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.091083Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497548:2565] (SourceId=sid_rand_17, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.091127Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497564:2565] connected; active server actors: 1
2025-11-19T20:53:44.091142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497548:2565] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_17
2025-11-19T20:53:44.091155Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497548:2565] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.091202Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497564:2565] disconnected.
2025-11-19T20:53:44.091213Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497564:2565] disconnected; active server actors: 1
2025-11-19T20:53:44.091215Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497564:2565] disconnected no session
2025-11-19T20:53:44.093751Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497548:2565] (SourceId=sid_rand_17, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.093764Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497548:2565] (SourceId=sid_rand_17, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-19T20:53:44.093769Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497548:2565] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.093776Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 28 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-19T20:53:44.093911Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.093939Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_17|5f18ec55-19ecb71c-e9662505-d9d6c199_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_17
2025-11-19T20:53:44.094098Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 28 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_17|5f18ec55-19ecb71c-e9662505-d9d6c199_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_17|5f18ec55-19ecb71c-e9662505-d9d6c199_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.094787Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId: sid_rand_17|5f18ec55-19ecb71c-e9662505-d9d6c199_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.094796Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 28 sessionId: sid_rand_17|5f18ec55-19ecb71c-e9662505-d9d6c199_0 grpc read failed
2025-11-19T20:53:44.094959Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 28 sessionId: sid_rand_17|5f18ec55-19ecb71c-e9662505-d9d6c199_0
2025-11-19T20:53:44.094969Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 28 sessionId: sid_rand_17|5f18ec55-19ecb71c-e9662505-d9d6c199_0 is DEAD
2025-11-19T20:53:44.095001Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.095014Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 29
2025-11-19T20:53:44.095050Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.095114Z 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-11-19T20:53:44.095143Z 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]:37532
2025-11-19T20:53:44.095153Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=29 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.095157Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.095556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 29 sessionId:  describe result for acl check
2025-11-19T20:53:44.095591Z 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-11-19T20:53:44.095593Z 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-11-19T20:53:44.095595Z 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-11-19T20:53:44.095600Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497585:2569] (SourceId=sid_rand_18, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.096200Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497585:2569] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.097714Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497585:2569] (SourceId=sid_rand_18, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.097787Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497601:2569] connected; active server actors: 1
2025-11-19T20:53:44.097810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497585:2569] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_18
2025-11-19T20:53:44.097815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497585:2569] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.097865Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497601:2569] disconnected.
2025-11-19T20:53:44.097874Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497601:2569] disconnected; active server actors: 1
2025-11-19T20:53:44.097878Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497601:2569] disconnected no session
2025-11-19T20:53:44.100686Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497585:2569] (SourceId=sid_rand_18, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.100711Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497585:2569] (SourceId=sid_rand_18, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-19T20:53:44.100716Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497585:2569] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.100728Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 29 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-19T20:53:44.101055Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.101133Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_18|9c4f6c15-2f44fdb0-78aec172-c4f81687_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_18
2025-11-19T20:53:44.101405Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 29 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_18|9c4f6c15-2f44fdb0-78aec172-c4f81687_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_18|9c4f6c15-2f44fdb0-78aec172-c4f81687_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.102053Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId: sid_rand_18|9c4f6c15-2f44fdb0-78aec172-c4f81687_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.102061Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 29 sessionId: sid_rand_18|9c4f6c15-2f44fdb0-78aec172-c4f81687_0 grpc read failed
2025-11-19T20:53:44.102066Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 29 sessionId: sid_rand_18|9c4f6c15-2f44fdb0-78aec172-c4f81687_0 grpc closed
2025-11-19T20:53:44.102072Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 29 sessionId: sid_rand_18|9c4f6c15-2f44fdb0-78aec172-c4f81687_0 is DEAD
2025-11-19T20:53:44.102326Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.102339Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 30
2025-11-19T20:53:44.102359Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.102468Z 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-11-19T20:53:44.102502Z 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]:37532
2025-11-19T20:53:44.102512Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=30 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.102515Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.102915Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 30 sessionId:  describe result for acl check
2025-11-19T20:53:44.102946Z 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-11-19T20:53:44.102948Z 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-11-19T20:53:44.102950Z 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-11-19T20:53:44.102954Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497621:2573] (SourceId=sid_rand_19, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.103418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497621:2573] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.105616Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497621:2573] (SourceId=sid_rand_19, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.105691Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497637:2573] connected; active server actors: 1
2025-11-19T20:53:44.105714Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497621:2573] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_19
2025-11-19T20:53:44.105718Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497621:2573] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.105767Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497637:2573] disconnected.
2025-11-19T20:53:44.105776Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497637:2573] disconnected; active server actors: 1
2025-11-19T20:53:44.105778Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497637:2573] disconnected no session
2025-11-19T20:53:44.108074Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497621:2573] (SourceId=sid_rand_19, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.108086Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497621:2573] (SourceId=sid_rand_19, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-19T20:53:44.108090Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497621:2573] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.108103Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 30 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-19T20:53:44.108244Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.108292Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_19|bfde6043-9fcf263d-92c23f87-3b51f030_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_19
2025-11-19T20:53:44.108434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 30 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_19|bfde6043-9fcf263d-92c23f87-3b51f030_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_19|bfde6043-9fcf263d-92c23f87-3b51f030_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.109036Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId: sid_rand_19|bfde6043-9fcf263d-92c23f87-3b51f030_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.109048Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 30 sessionId: sid_rand_19|bfde6043-9fcf263d-92c23f87-3b51f030_0 grpc read failed
2025-11-19T20:53:44.109054Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 30 sessionId: sid_rand_19|bfde6043-9fcf263d-92c23f87-3b51f030_0 grpc closed
2025-11-19T20:53:44.109060Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 30 sessionId: sid_rand_19|bfde6043-9fcf263d-92c23f87-3b51f030_0 is DEAD
2025-11-19T20:53:44.109113Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.109122Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 31
2025-11-19T20:53:44.109193Z 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-11-19T20:53:44.109214Z 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]:37532
2025-11-19T20:53:44.109220Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=31 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.109223Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.109330Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.109590Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 31 sessionId:  describe result for acl check
2025-11-19T20:53:44.109619Z 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-11-19T20:53:44.109626Z 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-11-19T20:53:44.109628Z 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-11-19T20:53:44.109632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497658:2577] (SourceId=sid_rand_20, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.110147Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497658:2577] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.111744Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497658:2577] (SourceId=sid_rand_20, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.111803Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497674:2577] connected; active server actors: 1
2025-11-19T20:53:44.111821Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497658:2577] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_20
2025-11-19T20:53:44.111825Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497658:2577] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.111884Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497674:2577] disconnected.
2025-11-19T20:53:44.111892Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497674:2577] disconnected; active server actors: 1
2025-11-19T20:53:44.111895Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497674:2577] disconnected no session
2025-11-19T20:53:44.114252Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497658:2577] (SourceId=sid_rand_20, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.114264Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497658:2577] (SourceId=sid_rand_20, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-19T20:53:44.114267Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497658:2577] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.114271Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 31 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-19T20:53:44.114516Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.114599Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_20|295cb83f-e8438134-3d060500-342eeae3_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_20
2025-11-19T20:53:44.114826Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 31 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_20|295cb83f-e8438134-3d060500-342eeae3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_20|295cb83f-e8438134-3d060500-342eeae3_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.115291Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId: sid_rand_20|295cb83f-e8438134-3d060500-342eeae3_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.115298Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 31 sessionId: sid_rand_20|295cb83f-e8438134-3d060500-342eeae3_0 grpc read failed
2025-11-19T20:53:44.115302Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 31 sessionId: sid_rand_20|295cb83f-e8438134-3d060500-342eeae3_0 grpc closed
2025-11-19T20:53:44.115308Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 31 sessionId: sid_rand_20|295cb83f-e8438134-3d060500-342eeae3_0 is DEAD
2025-11-19T20:53:44.115470Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.115474Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.115483Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 32
2025-11-19T20:53:44.115562Z 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-11-19T20:53:44.115590Z 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]:37532
2025-11-19T20:53:44.115598Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=32 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.115602Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.115991Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 32 sessionId:  describe result for acl check
2025-11-19T20:53:44.116018Z 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-11-19T20:53:44.116024Z 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-11-19T20:53:44.116026Z 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-11-19T20:53:44.116029Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497694:2581] (SourceId=sid_rand_21, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.116500Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497694:2581] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.117838Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497694:2581] (SourceId=sid_rand_21, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.117890Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497710:2581] connected; active server actors: 1
2025-11-19T20:53:44.117908Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497694:2581] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_21
2025-11-19T20:53:44.117930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497694:2581] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.117982Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497710:2581] disconnected.
2025-11-19T20:53:44.117990Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497710:2581] disconnected; active server actors: 1
2025-11-19T20:53:44.117993Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497710:2581] disconnected no session
2025-11-19T20:53:44.120278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497694:2581] (SourceId=sid_rand_21, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.120290Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497694:2581] (SourceId=sid_rand_21, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-19T20:53:44.120293Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497694:2581] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.120297Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 32 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-19T20:53:44.120500Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.120578Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_21|a8f5c461-d21d020c-2f54439d-d8be2721_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_21
2025-11-19T20:53:44.120819Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 32 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_21|a8f5c461-d21d020c-2f54439d-d8be2721_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_21|a8f5c461-d21d020c-2f54439d-d8be2721_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.121248Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId: sid_rand_21|a8f5c461-d21d020c-2f54439d-d8be2721_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.121254Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 32 sessionId: sid_rand_21|a8f5c461-d21d020c-2f54439d-d8be2721_0 grpc read failed
2025-11-19T20:53:44.121326Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 32 sessionId: sid_rand_21|a8f5c461-d21d020c-2f54439d-d8be2721_0
2025-11-19T20:53:44.121335Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 32 sessionId: sid_rand_21|a8f5c461-d21d020c-2f54439d-d8be2721_0 is DEAD
2025-11-19T20:53:44.121370Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.121384Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 33
2025-11-19T20:53:44.121415Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.121464Z 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-11-19T20:53:44.121485Z 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]:37532
2025-11-19T20:53:44.121493Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=33 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.121495Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.121792Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 33 sessionId:  describe result for acl check
2025-11-19T20:53:44.121813Z 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-11-19T20:53:44.121818Z 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-11-19T20:53:44.121819Z 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-11-19T20:53:44.121823Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497730:2585] (SourceId=sid_rand_22, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.122256Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497730:2585] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.123478Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497730:2585] (SourceId=sid_rand_22, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.123541Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497746:2585] connected; active server actors: 1
2025-11-19T20:53:44.123557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497730:2585] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_22
2025-11-19T20:53:44.123561Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497730:2585] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.123603Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497746:2585] disconnected.
2025-11-19T20:53:44.123612Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497746:2585] disconnected; active server actors: 1
2025-11-19T20:53:44.123614Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497746:2585] disconnected no session
2025-11-19T20:53:44.125793Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497730:2585] (SourceId=sid_rand_22, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.125804Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497730:2585] (SourceId=sid_rand_22, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-19T20:53:44.125806Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497730:2585] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.125811Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 33 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-19T20:53:44.125904Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.125937Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_22|6c598b6e-7295c8a9-c61250f3-d063d57_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_22
2025-11-19T20:53:44.126029Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 33 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_22|6c598b6e-7295c8a9-c61250f3-d063d57_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_22|6c598b6e-7295c8a9-c61250f3-d063d57_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.126463Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId: sid_rand_22|6c598b6e-7295c8a9-c61250f3-d063d57_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.126469Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 33 sessionId: sid_rand_22|6c598b6e-7295c8a9-c61250f3-d063d57_0 grpc read failed
2025-11-19T20:53:44.126473Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 33 sessionId: sid_rand_22|6c598b6e-7295c8a9-c61250f3-d063d57_0 grpc closed
2025-11-19T20:53:44.126476Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 33 sessionId: sid_rand_22|6c598b6e-7295c8a9-c61250f3-d063d57_0 is DEAD
2025-11-19T20:53:44.126577Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.126588Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 34
2025-11-19T20:53:44.126658Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.126663Z 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-11-19T20:53:44.126683Z 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]:37532
2025-11-19T20:53:44.126687Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=34 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.126694Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.127016Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 34 sessionId:  describe result for acl check
2025-11-19T20:53:44.127049Z 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-11-19T20:53:44.127056Z 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-11-19T20:53:44.127059Z 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-11-19T20:53:44.127063Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497767:2589] (SourceId=sid_rand_23, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.127593Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497767:2589] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.129013Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497767:2589] (SourceId=sid_rand_23, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.129069Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497783:2589] connected; active server actors: 1
2025-11-19T20:53:44.129082Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497767:2589] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_23
2025-11-19T20:53:44.129086Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497767:2589] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.129121Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497783:2589] disconnected.
2025-11-19T20:53:44.129129Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497783:2589] disconnected; active server actors: 1
2025-11-19T20:53:44.129131Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497783:2589] disconnected no session
2025-11-19T20:53:44.131476Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497767:2589] (SourceId=sid_rand_23, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.131486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497767:2589] (SourceId=sid_rand_23, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-19T20:53:44.131488Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497767:2589] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.131492Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 34 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-19T20:53:44.131677Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.131772Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_23|c042e4c2-3a3a9650-8e56040-7d3755b2_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_23
2025-11-19T20:53:44.132038Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 34 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_23|c042e4c2-3a3a9650-8e56040-7d3755b2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_23|c042e4c2-3a3a9650-8e56040-7d3755b2_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.132461Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId: sid_rand_23|c042e4c2-3a3a9650-8e56040-7d3755b2_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.132468Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 34 sessionId: sid_rand_23|c042e4c2-3a3a9650-8e56040-7d3755b2_0 grpc read failed
2025-11-19T20:53:44.132471Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 34 sessionId: sid_rand_23|c042e4c2-3a3a9650-8e56040-7d3755b2_0 grpc closed
2025-11-19T20:53:44.132474Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 34 sessionId: sid_rand_23|c042e4c2-3a3a9650-8e56040-7d3755b2_0 is DEAD
2025-11-19T20:53:44.132606Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.132618Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 35
2025-11-19T20:53:44.132624Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.132700Z 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-11-19T20:53:44.132721Z 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]:37532
2025-11-19T20:53:44.132726Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=35 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.132728Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.133064Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 35 sessionId:  describe result for acl check
2025-11-19T20:53:44.133096Z 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-11-19T20:53:44.133104Z 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-11-19T20:53:44.133106Z 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-11-19T20:53:44.133110Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497803:2593] (SourceId=sid_rand_24, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.133621Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497803:2593] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.135314Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497803:2593] (SourceId=sid_rand_24, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.135381Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497819:2593] connected; active server actors: 1
2025-11-19T20:53:44.135397Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497803:2593] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_24
2025-11-19T20:53:44.135402Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497803:2593] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.135441Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497819:2593] disconnected.
2025-11-19T20:53:44.135450Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497819:2593] disconnected; active server actors: 1
2025-11-19T20:53:44.135452Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497819:2593] disconnected no session
2025-11-19T20:53:44.137750Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497803:2593] (SourceId=sid_rand_24, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.137764Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497803:2593] (SourceId=sid_rand_24, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-19T20:53:44.137768Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497803:2593] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.137819Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 35 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-19T20:53:44.137947Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.137993Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_24|2687147b-e73e71b8-982054ca-f2268f68_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_24
2025-11-19T20:53:44.138115Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 35 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_24|2687147b-e73e71b8-982054ca-f2268f68_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_24|2687147b-e73e71b8-982054ca-f2268f68_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.138768Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId: sid_rand_24|2687147b-e73e71b8-982054ca-f2268f68_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.138780Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 35 sessionId: sid_rand_24|2687147b-e73e71b8-982054ca-f2268f68_0 grpc read failed
2025-11-19T20:53:44.138786Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 35 sessionId: sid_rand_24|2687147b-e73e71b8-982054ca-f2268f68_0 grpc closed
2025-11-19T20:53:44.138792Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 35 sessionId: sid_rand_24|2687147b-e73e71b8-982054ca-f2268f68_0 is DEAD
2025-11-19T20:53:44.138876Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.138890Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 36
2025-11-19T20:53:44.139038Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.139096Z 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-11-19T20:53:44.139128Z 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]:37532
2025-11-19T20:53:44.139135Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=36 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.139140Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.139583Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 36 sessionId:  describe result for acl check
2025-11-19T20:53:44.139623Z 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-11-19T20:53:44.139630Z 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-11-19T20:53:44.139632Z 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-11-19T20:53:44.139637Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497840:2597] (SourceId=sid_rand_25, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.140228Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497840:2597] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.142179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497840:2597] (SourceId=sid_rand_25, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.142265Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497856:2597] connected; active server actors: 1
2025-11-19T20:53:44.142285Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497840:2597] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_25
2025-11-19T20:53:44.142290Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497840:2597] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.142349Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497856:2597] disconnected.
2025-11-19T20:53:44.142358Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497856:2597] disconnected; active server actors: 1
2025-11-19T20:53:44.142361Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497856:2597] disconnected no session
2025-11-19T20:53:44.144897Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497840:2597] (SourceId=sid_rand_25, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.144911Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497840:2597] (SourceId=sid_rand_25, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-19T20:53:44.144915Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497840:2597] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.144922Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 36 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-19T20:53:44.145183Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.145271Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_25|65eeb7-5b9c74d6-e9b1091c-b7df75df_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_25
2025-11-19T20:53:44.145583Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 36 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_25|65eeb7-5b9c74d6-e9b1091c-b7df75df_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_25|65eeb7-5b9c74d6-e9b1091c-b7df75df_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.146048Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId: sid_rand_25|65eeb7-5b9c74d6-e9b1091c-b7df75df_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.146059Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 36 sessionId: sid_rand_25|65eeb7-5b9c74d6-e9b1091c-b7df75df_0 grpc read failed
2025-11-19T20:53:44.146064Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 36 sessionId: sid_rand_25|65eeb7-5b9c74d6-e9b1091c-b7df75df_0 grpc closed
2025-11-19T20:53:44.146070Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 36 sessionId: sid_rand_25|65eeb7-5b9c74d6-e9b1091c-b7df75df_0 is DEAD
2025-11-19T20:53:44.146146Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.146160Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 37
2025-11-19T20:53:44.146270Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.146307Z 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-11-19T20:53:44.146335Z 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]:37532
2025-11-19T20:53:44.146345Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=37 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.146353Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.146735Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 37 sessionId:  describe result for acl check
2025-11-19T20:53:44.146769Z 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-11-19T20:53:44.146771Z 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-11-19T20:53:44.146773Z 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-11-19T20:53:44.146777Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497876:2601] (SourceId=sid_rand_26, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.147308Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497876:2601] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.148536Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497876:2601] (SourceId=sid_rand_26, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.148606Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497892:2601] connected; active server actors: 1
2025-11-19T20:53:44.148626Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497876:2601] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_26
2025-11-19T20:53:44.148631Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497876:2601] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.148679Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497892:2601] disconnected.
2025-11-19T20:53:44.148689Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497892:2601] disconnected; active server actors: 1
2025-11-19T20:53:44.148692Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497892:2601] disconnected no session
2025-11-19T20:53:44.151171Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497876:2601] (SourceId=sid_rand_26, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.151184Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497876:2601] (SourceId=sid_rand_26, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-19T20:53:44.151188Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497876:2601] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.151196Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 37 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-19T20:53:44.151447Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.151522Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_26|44e47cf2-41d422ed-c41c9b41-ae18391a_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_26
2025-11-19T20:53:44.151755Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 37 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_26|44e47cf2-41d422ed-c41c9b41-ae18391a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_26|44e47cf2-41d422ed-c41c9b41-ae18391a_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.152338Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId: sid_rand_26|44e47cf2-41d422ed-c41c9b41-ae18391a_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.152347Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 37 sessionId: sid_rand_26|44e47cf2-41d422ed-c41c9b41-ae18391a_0 grpc read failed
2025-11-19T20:53:44.152381Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 37 sessionId: sid_rand_26|44e47cf2-41d422ed-c41c9b41-ae18391a_0
2025-11-19T20:53:44.152388Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 37 sessionId: sid_rand_26|44e47cf2-41d422ed-c41c9b41-ae18391a_0 is DEAD
2025-11-19T20:53:44.152485Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.152519Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.152527Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 38
2025-11-19T20:53:44.152662Z 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-11-19T20:53:44.152688Z 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]:37532
2025-11-19T20:53:44.152692Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=38 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.152695Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.153095Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 38 sessionId:  describe result for acl check
2025-11-19T20:53:44.153137Z 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-11-19T20:53:44.153144Z 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-11-19T20:53:44.153146Z 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-11-19T20:53:44.153150Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497912:2605] (SourceId=sid_rand_27, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.153683Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497912:2605] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.155584Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497912:2605] (SourceId=sid_rand_27, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.155648Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497928:2605] connected; active server actors: 1
2025-11-19T20:53:44.155662Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497912:2605] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_27
2025-11-19T20:53:44.155667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497912:2605] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.155711Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497928:2605] disconnected.
2025-11-19T20:53:44.155720Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497928:2605] disconnected; active server actors: 1
2025-11-19T20:53:44.155723Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497928:2605] disconnected no session
2025-11-19T20:53:44.158107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497912:2605] (SourceId=sid_rand_27, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.158119Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497912:2605] (SourceId=sid_rand_27, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-19T20:53:44.158122Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497912:2605] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.158128Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 38 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-19T20:53:44.158357Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.158432Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_27|a024b886-50b1e98a-5ffe27a-39aad274_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_27
2025-11-19T20:53:44.158675Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 38 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_27|a024b886-50b1e98a-5ffe27a-39aad274_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_27|a024b886-50b1e98a-5ffe27a-39aad274_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.159200Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId: sid_rand_27|a024b886-50b1e98a-5ffe27a-39aad274_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.159208Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 38 sessionId: sid_rand_27|a024b886-50b1e98a-5ffe27a-39aad274_0 grpc read failed
2025-11-19T20:53:44.159213Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 38 sessionId: sid_rand_27|a024b886-50b1e98a-5ffe27a-39aad274_0 grpc closed
2025-11-19T20:53:44.159218Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 38 sessionId: sid_rand_27|a024b886-50b1e98a-5ffe27a-39aad274_0 is DEAD
2025-11-19T20:53:44.159282Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.159295Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 39
2025-11-19T20:53:44.159386Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.159417Z 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-11-19T20:53:44.159437Z 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]:37532
2025-11-19T20:53:44.159443Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=39 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.159446Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.159777Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 39 sessionId:  describe result for acl check
2025-11-19T20:53:44.159811Z 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-11-19T20:53:44.159817Z 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-11-19T20:53:44.159819Z 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-11-19T20:53:44.159823Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497948:2609] (SourceId=sid_rand_28, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.160374Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497948:2609] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.161771Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497948:2609] (SourceId=sid_rand_28, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.161828Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497964:2609] connected; active server actors: 1
2025-11-19T20:53:44.161835Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497948:2609] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_28
2025-11-19T20:53:44.161838Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497948:2609] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.161872Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497964:2609] disconnected.
2025-11-19T20:53:44.161879Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497964:2609] disconnected; active server actors: 1
2025-11-19T20:53:44.161882Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384497964:2609] disconnected no session
2025-11-19T20:53:44.164373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497948:2609] (SourceId=sid_rand_28, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.164387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497948:2609] (SourceId=sid_rand_28, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-19T20:53:44.164391Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497948:2609] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.164399Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 39 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-19T20:53:44.164509Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.164543Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_28|20671d7e-f0e30d39-879d9bd2-6004b6aa_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_28
2025-11-19T20:53:44.164661Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 39 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_28|20671d7e-f0e30d39-879d9bd2-6004b6aa_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_28|20671d7e-f0e30d39-879d9bd2-6004b6aa_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.165167Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId: sid_rand_28|20671d7e-f0e30d39-879d9bd2-6004b6aa_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.165175Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 39 sessionId: sid_rand_28|20671d7e-f0e30d39-879d9bd2-6004b6aa_0 grpc read failed
2025-11-19T20:53:44.165179Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 39 sessionId: sid_rand_28|20671d7e-f0e30d39-879d9bd2-6004b6aa_0 grpc closed
2025-11-19T20:53:44.165183Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 39 sessionId: sid_rand_28|20671d7e-f0e30d39-879d9bd2-6004b6aa_0 is DEAD
2025-11-19T20:53:44.165282Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.165294Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 40
2025-11-19T20:53:44.165378Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.165402Z 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-11-19T20:53:44.165427Z 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]:37532
2025-11-19T20:53:44.165436Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=40 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.165439Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.165849Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 40 sessionId:  describe result for acl check
2025-11-19T20:53:44.165887Z 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-11-19T20:53:44.165894Z 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-11-19T20:53:44.165896Z 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-11-19T20:53:44.165901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384497988:2613] (SourceId=sid_rand_29, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.166418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384497988:2613] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.168236Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384497988:2613] (SourceId=sid_rand_29, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.168297Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498004:2613] connected; active server actors: 1
2025-11-19T20:53:44.168320Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384497988:2613] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_29
2025-11-19T20:53:44.168323Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384497988:2613] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.168385Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498004:2613] disconnected.
2025-11-19T20:53:44.168393Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498004:2613] disconnected; active server actors: 1
2025-11-19T20:53:44.168395Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498004:2613] disconnected no session
2025-11-19T20:53:44.170495Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384497988:2613] (SourceId=sid_rand_29, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.170507Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384497988:2613] (SourceId=sid_rand_29, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-19T20:53:44.170510Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384497988:2613] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.170516Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 40 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-19T20:53:44.170628Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.170673Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_29|ba1af0d4-b8d6ab72-a0e46486-831b72d6_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_29
2025-11-19T20:53:44.170780Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 40 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_29|ba1af0d4-b8d6ab72-a0e46486-831b72d6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_29|ba1af0d4-b8d6ab72-a0e46486-831b72d6_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.171371Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId: sid_rand_29|ba1af0d4-b8d6ab72-a0e46486-831b72d6_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.171378Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 40 sessionId: sid_rand_29|ba1af0d4-b8d6ab72-a0e46486-831b72d6_0 grpc read failed
2025-11-19T20:53:44.171383Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 40 sessionId: sid_rand_29|ba1af0d4-b8d6ab72-a0e46486-831b72d6_0 grpc closed
2025-11-19T20:53:44.171387Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 40 sessionId: sid_rand_29|ba1af0d4-b8d6ab72-a0e46486-831b72d6_0 is DEAD
2025-11-19T20:53:44.171465Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.171474Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 41
2025-11-19T20:53:44.171576Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.171611Z 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-11-19T20:53:44.171638Z 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]:37532
2025-11-19T20:53:44.171645Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=41 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.171647Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.171987Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 41 sessionId:  describe result for acl check
2025-11-19T20:53:44.172014Z 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-11-19T20:53:44.172019Z 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-11-19T20:53:44.172020Z 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-11-19T20:53:44.172024Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498025:2617] (SourceId=sid_rand_30, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.172417Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498025:2617] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.173698Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498025:2617] (SourceId=sid_rand_30, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.173778Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498041:2617] connected; active server actors: 1
2025-11-19T20:53:44.173794Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498025:2617] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_30
2025-11-19T20:53:44.173798Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498025:2617] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.173835Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498041:2617] disconnected.
2025-11-19T20:53:44.173843Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498041:2617] disconnected; active server actors: 1
2025-11-19T20:53:44.173845Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498041:2617] disconnected no session
2025-11-19T20:53:44.176030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498025:2617] (SourceId=sid_rand_30, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.176044Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498025:2617] (SourceId=sid_rand_30, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-19T20:53:44.176045Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498025:2617] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.176051Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 41 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-19T20:53:44.176282Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.176382Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_30|14159a5d-56599854-fcee3d80-b4888ce_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_30
2025-11-19T20:53:44.176659Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 41 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_30|14159a5d-56599854-fcee3d80-b4888ce_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_30|14159a5d-56599854-fcee3d80-b4888ce_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.177194Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId: sid_rand_30|14159a5d-56599854-fcee3d80-b4888ce_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.177201Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 41 sessionId: sid_rand_30|14159a5d-56599854-fcee3d80-b4888ce_0 grpc read failed
2025-11-19T20:53:44.177204Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 41 sessionId: sid_rand_30|14159a5d-56599854-fcee3d80-b4888ce_0 grpc closed
2025-11-19T20:53:44.177207Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 41 sessionId: sid_rand_30|14159a5d-56599854-fcee3d80-b4888ce_0 is DEAD
2025-11-19T20:53:44.177377Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.177381Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.177399Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 42
2025-11-19T20:53:44.177522Z 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-11-19T20:53:44.177557Z 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]:37532
2025-11-19T20:53:44.177567Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=42 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.177571Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.177900Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 42 sessionId:  describe result for acl check
2025-11-19T20:53:44.177939Z 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-11-19T20:53:44.177947Z 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-11-19T20:53:44.177948Z 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-11-19T20:53:44.177952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498061:2621] (SourceId=sid_rand_31, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.178377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498061:2621] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.179775Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498061:2621] (SourceId=sid_rand_31, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.179843Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498077:2621] connected; active server actors: 1
2025-11-19T20:53:44.179855Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498061:2621] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_31
2025-11-19T20:53:44.179872Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498061:2621] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.179910Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498077:2621] disconnected.
2025-11-19T20:53:44.179918Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498077:2621] disconnected; active server actors: 1
2025-11-19T20:53:44.179920Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498077:2621] disconnected no session
2025-11-19T20:53:44.182344Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498061:2621] (SourceId=sid_rand_31, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.182364Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498061:2621] (SourceId=sid_rand_31, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-19T20:53:44.182366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498061:2621] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.182372Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 42 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-19T20:53:44.182487Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.182539Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_31|498be385-53ce5e74-1ab21103-53338844_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_31
2025-11-19T20:53:44.182677Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 42 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_31|498be385-53ce5e74-1ab21103-53338844_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_31|498be385-53ce5e74-1ab21103-53338844_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.183296Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId: sid_rand_31|498be385-53ce5e74-1ab21103-53338844_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.183306Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 42 sessionId: sid_rand_31|498be385-53ce5e74-1ab21103-53338844_0 grpc read failed
2025-11-19T20:53:44.183310Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 42 sessionId: sid_rand_31|498be385-53ce5e74-1ab21103-53338844_0 grpc closed
2025-11-19T20:53:44.183315Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 42 sessionId: sid_rand_31|498be385-53ce5e74-1ab21103-53338844_0 is DEAD
2025-11-19T20:53:44.183422Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.183430Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 43
2025-11-19T20:53:44.183533Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.183577Z 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-11-19T20:53:44.183600Z 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]:37532
2025-11-19T20:53:44.183606Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=43 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.183609Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.183923Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 43 sessionId:  describe result for acl check
2025-11-19T20:53:44.183949Z 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-11-19T20:53:44.183954Z 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-11-19T20:53:44.183955Z 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-11-19T20:53:44.183958Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498098:2625] (SourceId=sid_rand_32, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.184425Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498098:2625] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.185849Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498098:2625] (SourceId=sid_rand_32, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.185908Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498114:2625] connected; active server actors: 1
2025-11-19T20:53:44.185926Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498098:2625] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_32
2025-11-19T20:53:44.185928Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498098:2625] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.185956Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498114:2625] disconnected.
2025-11-19T20:53:44.185962Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498114:2625] disconnected; active server actors: 1
2025-11-19T20:53:44.185965Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498114:2625] disconnected no session
2025-11-19T20:53:44.187943Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498098:2625] (SourceId=sid_rand_32, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.187956Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498098:2625] (SourceId=sid_rand_32, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-19T20:53:44.187960Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498098:2625] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.187966Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 43 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-19T20:53:44.188200Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.188290Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_32|a8657b59-9e228607-748333ea-9d87a2c2_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_32
2025-11-19T20:53:44.188523Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 43 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_32|a8657b59-9e228607-748333ea-9d87a2c2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_32|a8657b59-9e228607-748333ea-9d87a2c2_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.189169Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId: sid_rand_32|a8657b59-9e228607-748333ea-9d87a2c2_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.189177Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 43 sessionId: sid_rand_32|a8657b59-9e228607-748333ea-9d87a2c2_0 grpc read failed
2025-11-19T20:53:44.189182Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 43 sessionId: sid_rand_32|a8657b59-9e228607-748333ea-9d87a2c2_0 grpc closed
2025-11-19T20:53:44.189188Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 43 sessionId: sid_rand_32|a8657b59-9e228607-748333ea-9d87a2c2_0 is DEAD
2025-11-19T20:53:44.189248Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.189256Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 44
2025-11-19T20:53:44.189355Z 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-11-19T20:53:44.189376Z 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]:37532
2025-11-19T20:53:44.189382Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=44 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.189385Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.189431Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.189699Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 44 sessionId:  describe result for acl check
2025-11-19T20:53:44.189727Z 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-11-19T20:53:44.189733Z 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-11-19T20:53:44.189735Z 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-11-19T20:53:44.189739Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498135:2629] (SourceId=sid_rand_33, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.190197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498135:2629] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.191506Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498135:2629] (SourceId=sid_rand_33, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.191560Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498151:2629] connected; active server actors: 1
2025-11-19T20:53:44.191573Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498135:2629] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_33
2025-11-19T20:53:44.191575Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498135:2629] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.191603Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498151:2629] disconnected.
2025-11-19T20:53:44.191610Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498151:2629] disconnected; active server actors: 1
2025-11-19T20:53:44.191613Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498151:2629] disconnected no session
2025-11-19T20:53:44.194052Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498135:2629] (SourceId=sid_rand_33, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.194062Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498135:2629] (SourceId=sid_rand_33, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-19T20:53:44.194064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498135:2629] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.194068Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 44 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-19T20:53:44.194320Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.194424Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_33|d67d3d4f-37d3783d-f3db8b13-7201db7f_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_33
2025-11-19T20:53:44.194664Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 44 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_33|d67d3d4f-37d3783d-f3db8b13-7201db7f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_33|d67d3d4f-37d3783d-f3db8b13-7201db7f_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.195202Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId: sid_rand_33|d67d3d4f-37d3783d-f3db8b13-7201db7f_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.195209Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 44 sessionId: sid_rand_33|d67d3d4f-37d3783d-f3db8b13-7201db7f_0 grpc read failed
2025-11-19T20:53:44.195213Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 44 sessionId: sid_rand_33|d67d3d4f-37d3783d-f3db8b13-7201db7f_0 grpc closed
2025-11-19T20:53:44.195217Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 44 sessionId: sid_rand_33|d67d3d4f-37d3783d-f3db8b13-7201db7f_0 is DEAD
2025-11-19T20:53:44.195401Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.195416Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.195419Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 45
2025-11-19T20:53:44.195518Z 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-11-19T20:53:44.195543Z 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]:37532
2025-11-19T20:53:44.195550Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=45 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.195553Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.195833Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 45 sessionId:  describe result for acl check
2025-11-19T20:53:44.195858Z 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-11-19T20:53:44.195874Z 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-11-19T20:53:44.195876Z 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-11-19T20:53:44.195878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498171:2633] (SourceId=sid_rand_34, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.196343Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498171:2633] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.197642Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498171:2633] (SourceId=sid_rand_34, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.197697Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498187:2633] connected; active server actors: 1
2025-11-19T20:53:44.197710Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498171:2633] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_34
2025-11-19T20:53:44.197713Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498171:2633] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.197739Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498187:2633] disconnected.
2025-11-19T20:53:44.197745Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498187:2633] disconnected; active server actors: 1
2025-11-19T20:53:44.197747Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498187:2633] disconnected no session
2025-11-19T20:53:44.200132Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498171:2633] (SourceId=sid_rand_34, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.200142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498171:2633] (SourceId=sid_rand_34, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-19T20:53:44.200145Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498171:2633] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.200149Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 45 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-19T20:53:44.200278Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.200324Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_34|8c024459-b1816f65-9e9e5803-2e26de4c_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_34
2025-11-19T20:53:44.200429Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 45 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_34|8c024459-b1816f65-9e9e5803-2e26de4c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_34|8c024459-b1816f65-9e9e5803-2e26de4c_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.201117Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId: sid_rand_34|8c024459-b1816f65-9e9e5803-2e26de4c_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.201125Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 45 sessionId: sid_rand_34|8c024459-b1816f65-9e9e5803-2e26de4c_0 grpc read failed
2025-11-19T20:53:44.201130Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 45 sessionId: sid_rand_34|8c024459-b1816f65-9e9e5803-2e26de4c_0 grpc closed
2025-11-19T20:53:44.201136Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 45 sessionId: sid_rand_34|8c024459-b1816f65-9e9e5803-2e26de4c_0 is DEAD
2025-11-19T20:53:44.201269Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.201283Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 46
2025-11-19T20:53:44.201342Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.201410Z 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-11-19T20:53:44.201445Z 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]:37532
2025-11-19T20:53:44.201450Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=46 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.201460Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.201847Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 46 sessionId:  describe result for acl check
2025-11-19T20:53:44.201879Z 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-11-19T20:53:44.201886Z 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-11-19T20:53:44.201887Z 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-11-19T20:53:44.201892Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498208:2637] (SourceId=sid_rand_35, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.202413Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498208:2637] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.203906Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498208:2637] (SourceId=sid_rand_35, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.203960Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498224:2637] connected; active server actors: 1
2025-11-19T20:53:44.203981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498208:2637] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_35
2025-11-19T20:53:44.203986Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498208:2637] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.204024Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498224:2637] disconnected.
2025-11-19T20:53:44.204031Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498224:2637] disconnected; active server actors: 1
2025-11-19T20:53:44.204033Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498224:2637] disconnected no session
2025-11-19T20:53:44.206259Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498208:2637] (SourceId=sid_rand_35, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.206270Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498208:2637] (SourceId=sid_rand_35, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-19T20:53:44.206272Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498208:2637] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.206280Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 46 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-19T20:53:44.206515Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.206606Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_35|568aae2a-e3726ba7-b7a4031a-babfd114_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_35
2025-11-19T20:53:44.206859Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 46 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_35|568aae2a-e3726ba7-b7a4031a-babfd114_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_35|568aae2a-e3726ba7-b7a4031a-babfd114_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.207364Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId: sid_rand_35|568aae2a-e3726ba7-b7a4031a-babfd114_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.207370Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 46 sessionId: sid_rand_35|568aae2a-e3726ba7-b7a4031a-babfd114_0 grpc read failed
2025-11-19T20:53:44.207375Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 46 sessionId: sid_rand_35|568aae2a-e3726ba7-b7a4031a-babfd114_0 grpc closed
2025-11-19T20:53:44.207378Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 46 sessionId: sid_rand_35|568aae2a-e3726ba7-b7a4031a-babfd114_0 is DEAD
2025-11-19T20:53:44.207531Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.207541Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 47
2025-11-19T20:53:44.207590Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.207629Z 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-11-19T20:53:44.207654Z 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]:37532
2025-11-19T20:53:44.207661Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=47 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.207664Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.207969Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 47 sessionId:  describe result for acl check
2025-11-19T20:53:44.207999Z 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-11-19T20:53:44.208008Z 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-11-19T20:53:44.208010Z 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-11-19T20:53:44.208013Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498247:2641] (SourceId=sid_rand_36, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.208429Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498247:2641] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.209989Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498247:2641] (SourceId=sid_rand_36, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.210071Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498263:2641] connected; active server actors: 1
2025-11-19T20:53:44.210085Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498247:2641] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_36
2025-11-19T20:53:44.210089Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498247:2641] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.210128Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498263:2641] disconnected.
2025-11-19T20:53:44.210134Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498263:2641] disconnected; active server actors: 1
2025-11-19T20:53:44.210136Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498263:2641] disconnected no session
2025-11-19T20:53:44.212513Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498247:2641] (SourceId=sid_rand_36, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.212522Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498247:2641] (SourceId=sid_rand_36, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-19T20:53:44.212525Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498247:2641] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.212530Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 47 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-19T20:53:44.212630Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.212671Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_36|b4449927-a43eafe3-c710c407-575f48b8_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_36
2025-11-19T20:53:44.212786Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 47 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_36|b4449927-a43eafe3-c710c407-575f48b8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_36|b4449927-a43eafe3-c710c407-575f48b8_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.213233Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId: sid_rand_36|b4449927-a43eafe3-c710c407-575f48b8_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.213239Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 47 sessionId: sid_rand_36|b4449927-a43eafe3-c710c407-575f48b8_0 grpc read failed
2025-11-19T20:53:44.213243Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 47 sessionId: sid_rand_36|b4449927-a43eafe3-c710c407-575f48b8_0 grpc closed
2025-11-19T20:53:44.213247Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 47 sessionId: sid_rand_36|b4449927-a43eafe3-c710c407-575f48b8_0 is DEAD
2025-11-19T20:53:44.213369Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.213378Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 48
2025-11-19T20:53:44.213441Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.213469Z 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-11-19T20:53:44.213491Z 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]:37532
2025-11-19T20:53:44.213498Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=48 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.213500Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.213791Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 48 sessionId:  describe result for acl check
2025-11-19T20:53:44.213820Z 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-11-19T20:53:44.213826Z 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-11-19T20:53:44.213829Z 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-11-19T20:53:44.213832Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498285:2645] (SourceId=sid_rand_37, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.214259Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498285:2645] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.215387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498285:2645] (SourceId=sid_rand_37, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.215437Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498301:2645] connected; active server actors: 1
2025-11-19T20:53:44.215450Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498285:2645] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_37
2025-11-19T20:53:44.215453Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498285:2645] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.215483Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498301:2645] disconnected.
2025-11-19T20:53:44.215488Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498301:2645] disconnected; active server actors: 1
2025-11-19T20:53:44.215490Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498301:2645] disconnected no session
2025-11-19T20:53:44.217403Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498285:2645] (SourceId=sid_rand_37, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.217412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498285:2645] (SourceId=sid_rand_37, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-19T20:53:44.217414Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498285:2645] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.217418Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 48 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-19T20:53:44.217585Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.217676Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_37|f152b254-7d8a024e-6fd57f35-cf4a125f_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_37
2025-11-19T20:53:44.217932Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 48 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_37|f152b254-7d8a024e-6fd57f35-cf4a125f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_37|f152b254-7d8a024e-6fd57f35-cf4a125f_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.218365Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId: sid_rand_37|f152b254-7d8a024e-6fd57f35-cf4a125f_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.218373Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 48 sessionId: sid_rand_37|f152b254-7d8a024e-6fd57f35-cf4a125f_0 grpc read failed
2025-11-19T20:53:44.218376Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 48 sessionId: sid_rand_37|f152b254-7d8a024e-6fd57f35-cf4a125f_0 grpc closed
2025-11-19T20:53:44.218380Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 48 sessionId: sid_rand_37|f152b254-7d8a024e-6fd57f35-cf4a125f_0 is DEAD
2025-11-19T20:53:44.218511Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.218519Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 49
2025-11-19T20:53:44.218546Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.218597Z 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-11-19T20:53:44.218619Z 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]:37532
2025-11-19T20:53:44.218625Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=49 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.218627Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.218906Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 49 sessionId:  describe result for acl check
2025-11-19T20:53:44.218931Z 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-11-19T20:53:44.218936Z 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-11-19T20:53:44.218937Z 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-11-19T20:53:44.218940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498321:2649] (SourceId=sid_rand_38, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.219301Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498321:2649] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.220703Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498321:2649] (SourceId=sid_rand_38, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.220759Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498337:2649] connected; active server actors: 1
2025-11-19T20:53:44.220774Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498321:2649] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_38
2025-11-19T20:53:44.220776Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498321:2649] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.220805Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498337:2649] disconnected.
2025-11-19T20:53:44.220810Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498337:2649] disconnected; active server actors: 1
2025-11-19T20:53:44.220812Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498337:2649] disconnected no session
2025-11-19T20:53:44.223145Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498321:2649] (SourceId=sid_rand_38, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.223154Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498321:2649] (SourceId=sid_rand_38, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-19T20:53:44.223158Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498321:2649] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.223163Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 49 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-19T20:53:44.223360Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.223440Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_38|ea85c700-c277f5bc-9f04c424-c8d791d8_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_38
2025-11-19T20:53:44.223685Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 49 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_38|ea85c700-c277f5bc-9f04c424-c8d791d8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_38|ea85c700-c277f5bc-9f04c424-c8d791d8_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.224296Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId: sid_rand_38|ea85c700-c277f5bc-9f04c424-c8d791d8_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.224303Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 49 sessionId: sid_rand_38|ea85c700-c277f5bc-9f04c424-c8d791d8_0 grpc read failed
2025-11-19T20:53:44.224307Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 49 sessionId: sid_rand_38|ea85c700-c277f5bc-9f04c424-c8d791d8_0 grpc closed
2025-11-19T20:53:44.224311Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 49 sessionId: sid_rand_38|ea85c700-c277f5bc-9f04c424-c8d791d8_0 is DEAD
2025-11-19T20:53:44.224474Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.224483Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 50
2025-11-19T20:53:44.224486Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.224582Z 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-11-19T20:53:44.224614Z 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]:37532
2025-11-19T20:53:44.224620Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=50 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.224624Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.224923Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 50 sessionId:  describe result for acl check
2025-11-19T20:53:44.224946Z 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-11-19T20:53:44.224951Z 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-11-19T20:53:44.224953Z 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-11-19T20:53:44.224956Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498357:2653] (SourceId=sid_rand_39, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.225395Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498357:2653] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.227139Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498357:2653] (SourceId=sid_rand_39, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.227212Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498373:2653] connected; active server actors: 1
2025-11-19T20:53:44.227232Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498357:2653] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_39
2025-11-19T20:53:44.227242Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498357:2653] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.227292Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498373:2653] disconnected.
2025-11-19T20:53:44.227302Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498373:2653] disconnected; active server actors: 1
2025-11-19T20:53:44.227305Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498373:2653] disconnected no session
2025-11-19T20:53:44.229885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498357:2653] (SourceId=sid_rand_39, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.229898Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498357:2653] (SourceId=sid_rand_39, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-19T20:53:44.229902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498357:2653] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.229909Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 50 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-19T20:53:44.230168Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.230262Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_39|803b9645-24768451-3b68cf8f-b829eff_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_39
2025-11-19T20:53:44.230527Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 50 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_39|803b9645-24768451-3b68cf8f-b829eff_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_39|803b9645-24768451-3b68cf8f-b829eff_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.231093Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId: sid_rand_39|803b9645-24768451-3b68cf8f-b829eff_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.231110Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 50 sessionId: sid_rand_39|803b9645-24768451-3b68cf8f-b829eff_0 grpc read failed
2025-11-19T20:53:44.231115Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 50 sessionId: sid_rand_39|803b9645-24768451-3b68cf8f-b829eff_0 grpc closed
2025-11-19T20:53:44.231119Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 50 sessionId: sid_rand_39|803b9645-24768451-3b68cf8f-b829eff_0 is DEAD
2025-11-19T20:53:44.231195Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.231204Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 51
2025-11-19T20:53:44.231339Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.231372Z 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-11-19T20:53:44.231394Z 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]:37532
2025-11-19T20:53:44.231402Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=51 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.231406Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.231758Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 51 sessionId:  describe result for acl check
2025-11-19T20:53:44.231785Z 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-11-19T20:53:44.231792Z 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-11-19T20:53:44.231794Z 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-11-19T20:53:44.231796Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498393:2657] (SourceId=sid_rand_40, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.232296Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498393:2657] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.233702Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498393:2657] (SourceId=sid_rand_40, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.233753Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498409:2657] connected; active server actors: 1
2025-11-19T20:53:44.233783Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498393:2657] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_40
2025-11-19T20:53:44.233794Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498393:2657] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.233843Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498409:2657] disconnected.
2025-11-19T20:53:44.233849Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498409:2657] disconnected; active server actors: 1
2025-11-19T20:53:44.233851Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498409:2657] disconnected no session
2025-11-19T20:53:44.236629Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498393:2657] (SourceId=sid_rand_40, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.236640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498393:2657] (SourceId=sid_rand_40, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-19T20:53:44.236643Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498393:2657] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.236649Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 51 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-19T20:53:44.236876Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.236966Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_40|ee9899e7-b169b488-cc42750f-e6f9aa18_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_40
2025-11-19T20:53:44.237275Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 51 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_40|ee9899e7-b169b488-cc42750f-e6f9aa18_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_40|ee9899e7-b169b488-cc42750f-e6f9aa18_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.237821Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId: sid_rand_40|ee9899e7-b169b488-cc42750f-e6f9aa18_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.237831Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 51 sessionId: sid_rand_40|ee9899e7-b169b488-cc42750f-e6f9aa18_0 grpc read failed
2025-11-19T20:53:44.237835Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 51 sessionId: sid_rand_40|ee9899e7-b169b488-cc42750f-e6f9aa18_0 grpc closed
2025-11-19T20:53:44.237840Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 51 sessionId: sid_rand_40|ee9899e7-b169b488-cc42750f-e6f9aa18_0 is DEAD
2025-11-19T20:53:44.238014Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.238023Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 52
2025-11-19T20:53:44.238124Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.238177Z 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-11-19T20:53:44.238199Z 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]:37532
2025-11-19T20:53:44.238203Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=52 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.238205Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.238606Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 52 sessionId:  describe result for acl check
2025-11-19T20:53:44.238641Z 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-11-19T20:53:44.238649Z 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-11-19T20:53:44.238651Z 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-11-19T20:53:44.238656Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498429:2661] (SourceId=sid_rand_41, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.239198Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498429:2661] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.241060Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498429:2661] (SourceId=sid_rand_41, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.241141Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498445:2661] connected; active server actors: 1
2025-11-19T20:53:44.241155Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498429:2661] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_41
2025-11-19T20:53:44.241166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498429:2661] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.241212Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498445:2661] disconnected.
2025-11-19T20:53:44.241218Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498445:2661] disconnected; active server actors: 1
2025-11-19T20:53:44.241220Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498445:2661] disconnected no session
2025-11-19T20:53:44.243690Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498429:2661] (SourceId=sid_rand_41, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.243706Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498429:2661] (SourceId=sid_rand_41, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-19T20:53:44.243710Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498429:2661] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.243716Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 52 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-19T20:53:44.244064Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.244171Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_41|8b7643e8-677316f8-4f4a5614-1776e7db_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_41
2025-11-19T20:53:44.244548Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 52 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_41|8b7643e8-677316f8-4f4a5614-1776e7db_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_41|8b7643e8-677316f8-4f4a5614-1776e7db_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.245078Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId: sid_rand_41|8b7643e8-677316f8-4f4a5614-1776e7db_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.245087Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 52 sessionId: sid_rand_41|8b7643e8-677316f8-4f4a5614-1776e7db_0 grpc read failed
2025-11-19T20:53:44.245093Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 52 sessionId: sid_rand_41|8b7643e8-677316f8-4f4a5614-1776e7db_0 grpc closed
2025-11-19T20:53:44.245098Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 52 sessionId: sid_rand_41|8b7643e8-677316f8-4f4a5614-1776e7db_0 is DEAD
2025-11-19T20:53:44.245179Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.245191Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 53
2025-11-19T20:53:44.245314Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.245352Z 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-11-19T20:53:44.245378Z 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]:37532
2025-11-19T20:53:44.245381Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=53 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.245384Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.245794Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 53 sessionId:  describe result for acl check
2025-11-19T20:53:44.245824Z 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-11-19T20:53:44.245830Z 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-11-19T20:53:44.245832Z 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-11-19T20:53:44.245835Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498465:2665] (SourceId=sid_rand_42, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.246451Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498465:2665] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.248221Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498465:2665] (SourceId=sid_rand_42, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.248296Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498481:2665] connected; active server actors: 1
2025-11-19T20:53:44.248321Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498465:2665] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_42
2025-11-19T20:53:44.248326Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498465:2665] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.248379Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498481:2665] disconnected.
2025-11-19T20:53:44.248390Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498481:2665] disconnected; active server actors: 1
2025-11-19T20:53:44.248394Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498481:2665] disconnected no session
2025-11-19T20:53:44.250948Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498465:2665] (SourceId=sid_rand_42, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.250962Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498465:2665] (SourceId=sid_rand_42, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-19T20:53:44.250966Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498465:2665] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.250973Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 53 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-19T20:53:44.251213Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.251300Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_42|f4b0602c-33bec259-a7aeab11-f6fbd0b8_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_42
2025-11-19T20:53:44.251555Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 53 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_42|f4b0602c-33bec259-a7aeab11-f6fbd0b8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_42|f4b0602c-33bec259-a7aeab11-f6fbd0b8_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.252056Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId: sid_rand_42|f4b0602c-33bec259-a7aeab11-f6fbd0b8_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.252063Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 53 sessionId: sid_rand_42|f4b0602c-33bec259-a7aeab11-f6fbd0b8_0 grpc read failed
2025-11-19T20:53:44.252067Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 53 sessionId: sid_rand_42|f4b0602c-33bec259-a7aeab11-f6fbd0b8_0 grpc closed
2025-11-19T20:53:44.252071Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 53 sessionId: sid_rand_42|f4b0602c-33bec259-a7aeab11-f6fbd0b8_0 is DEAD
2025-11-19T20:53:44.252220Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.252226Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.252230Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 54
2025-11-19T20:53:44.252295Z 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-11-19T20:53:44.252318Z 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]:37532
2025-11-19T20:53:44.252325Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=54 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.252329Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.252727Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 54 sessionId:  describe result for acl check
2025-11-19T20:53:44.252762Z 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-11-19T20:53:44.252770Z 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-11-19T20:53:44.252772Z 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-11-19T20:53:44.252775Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498501:2669] (SourceId=sid_rand_43, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.253351Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498501:2669] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.255287Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498501:2669] (SourceId=sid_rand_43, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.255380Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498517:2669] connected; active server actors: 1
2025-11-19T20:53:44.255398Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498501:2669] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_43
2025-11-19T20:53:44.255410Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498501:2669] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.255461Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498517:2669] disconnected.
2025-11-19T20:53:44.255471Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498517:2669] disconnected; active server actors: 1
2025-11-19T20:53:44.255474Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498517:2669] disconnected no session
2025-11-19T20:53:44.258121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498501:2669] (SourceId=sid_rand_43, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.258137Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498501:2669] (SourceId=sid_rand_43, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-19T20:53:44.258150Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498501:2669] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.258156Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 54 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-19T20:53:44.258279Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.258321Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_43|d716ee9d-2f50897-ce2a189c-2074fc8a_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_43
2025-11-19T20:53:44.258439Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 54 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_43|d716ee9d-2f50897-ce2a189c-2074fc8a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_43|d716ee9d-2f50897-ce2a189c-2074fc8a_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.258956Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId: sid_rand_43|d716ee9d-2f50897-ce2a189c-2074fc8a_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.258965Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 54 sessionId: sid_rand_43|d716ee9d-2f50897-ce2a189c-2074fc8a_0 grpc read failed
2025-11-19T20:53:44.258969Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 54 sessionId: sid_rand_43|d716ee9d-2f50897-ce2a189c-2074fc8a_0 grpc closed
2025-11-19T20:53:44.258973Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 54 sessionId: sid_rand_43|d716ee9d-2f50897-ce2a189c-2074fc8a_0 is DEAD
2025-11-19T20:53:44.259121Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.259131Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 55
2025-11-19T20:53:44.259227Z 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-11-19T20:53:44.259227Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.259251Z 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]:37532
2025-11-19T20:53:44.259260Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=55 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.259263Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.259610Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 55 sessionId:  describe result for acl check
2025-11-19T20:53:44.259637Z 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-11-19T20:53:44.259642Z 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-11-19T20:53:44.259644Z 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-11-19T20:53:44.259647Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498540:2674] (SourceId=sid_rand_44, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.260122Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498540:2674] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.262031Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498540:2674] (SourceId=sid_rand_44, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.262107Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498558:2674] connected; active server actors: 1
2025-11-19T20:53:44.262129Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498540:2674] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_44
2025-11-19T20:53:44.262132Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498540:2674] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.262194Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498558:2674] disconnected.
2025-11-19T20:53:44.262203Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498558:2674] disconnected; active server actors: 1
2025-11-19T20:53:44.262208Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498558:2674] disconnected no session
2025-11-19T20:53:44.264596Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498540:2674] (SourceId=sid_rand_44, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.264605Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498540:2674] (SourceId=sid_rand_44, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-19T20:53:44.264608Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498540:2674] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.264614Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 55 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-19T20:53:44.264710Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.264749Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_44|b438b1ba-5e9b1c0d-f3fcd85d-75077b5d_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_44
2025-11-19T20:53:44.264899Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 55 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_44|b438b1ba-5e9b1c0d-f3fcd85d-75077b5d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_44|b438b1ba-5e9b1c0d-f3fcd85d-75077b5d_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.265479Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId: sid_rand_44|b438b1ba-5e9b1c0d-f3fcd85d-75077b5d_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.265486Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 55 sessionId: sid_rand_44|b438b1ba-5e9b1c0d-f3fcd85d-75077b5d_0 grpc read failed
2025-11-19T20:53:44.265491Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 55 sessionId: sid_rand_44|b438b1ba-5e9b1c0d-f3fcd85d-75077b5d_0 grpc closed
2025-11-19T20:53:44.265495Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 55 sessionId: sid_rand_44|b438b1ba-5e9b1c0d-f3fcd85d-75077b5d_0 is DEAD
2025-11-19T20:53:44.265626Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.265635Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 56
2025-11-19T20:53:44.265733Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.265737Z 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-11-19T20:53:44.265753Z 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]:37532
2025-11-19T20:53:44.265756Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=56 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.265760Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.266057Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 56 sessionId:  describe result for acl check
2025-11-19T20:53:44.266087Z 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-11-19T20:53:44.266088Z 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-11-19T20:53:44.266090Z 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-11-19T20:53:44.266092Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498579:2679] (SourceId=sid_rand_45, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.266505Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498579:2679] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.268045Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498579:2679] (SourceId=sid_rand_45, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.268111Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498595:2679] connected; active server actors: 1
2025-11-19T20:53:44.268131Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498579:2679] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_45
2025-11-19T20:53:44.268138Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498579:2679] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.268187Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498595:2679] disconnected.
2025-11-19T20:53:44.268194Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498595:2679] disconnected; active server actors: 1
2025-11-19T20:53:44.268196Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498595:2679] disconnected no session
2025-11-19T20:53:44.270799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498579:2679] (SourceId=sid_rand_45, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.270812Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498579:2679] (SourceId=sid_rand_45, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-19T20:53:44.270815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498579:2679] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.270820Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 56 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-19T20:53:44.271074Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.271164Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_45|deb42e47-59dbbadd-73155bea-9fa8a8ca_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_45
2025-11-19T20:53:44.271407Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 56 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_45|deb42e47-59dbbadd-73155bea-9fa8a8ca_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_45|deb42e47-59dbbadd-73155bea-9fa8a8ca_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.272469Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId: sid_rand_45|deb42e47-59dbbadd-73155bea-9fa8a8ca_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.272481Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 56 sessionId: sid_rand_45|deb42e47-59dbbadd-73155bea-9fa8a8ca_0 grpc read failed
2025-11-19T20:53:44.272486Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 56 sessionId: sid_rand_45|deb42e47-59dbbadd-73155bea-9fa8a8ca_0 grpc closed
2025-11-19T20:53:44.272490Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 56 sessionId: sid_rand_45|deb42e47-59dbbadd-73155bea-9fa8a8ca_0 is DEAD
2025-11-19T20:53:44.272559Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.272570Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 57
2025-11-19T20:53:44.272684Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.272724Z 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-11-19T20:53:44.272753Z 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]:37532
2025-11-19T20:53:44.272763Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=57 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.272766Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.273098Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 57 sessionId:  describe result for acl check
2025-11-19T20:53:44.273124Z 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-11-19T20:53:44.273130Z 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-11-19T20:53:44.273131Z 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-11-19T20:53:44.273134Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498615:2683] (SourceId=sid_rand_46, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.273630Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498615:2683] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.275065Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498615:2683] (SourceId=sid_rand_46, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.275129Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498631:2683] connected; active server actors: 1
2025-11-19T20:53:44.275142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498615:2683] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_46
2025-11-19T20:53:44.275151Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498615:2683] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.275191Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498631:2683] disconnected.
2025-11-19T20:53:44.275198Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498631:2683] disconnected; active server actors: 1
2025-11-19T20:53:44.275200Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498631:2683] disconnected no session
2025-11-19T20:53:44.277444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498615:2683] (SourceId=sid_rand_46, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.277457Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498615:2683] (SourceId=sid_rand_46, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-19T20:53:44.277461Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498615:2683] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.277467Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 57 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-19T20:53:44.277570Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.277616Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_46|aad4546e-aa78e19b-e57977c6-8612571_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_46
2025-11-19T20:53:44.277768Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 57 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_46|aad4546e-aa78e19b-e57977c6-8612571_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_46|aad4546e-aa78e19b-e57977c6-8612571_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.278243Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId: sid_rand_46|aad4546e-aa78e19b-e57977c6-8612571_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.278250Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 57 sessionId: sid_rand_46|aad4546e-aa78e19b-e57977c6-8612571_0 grpc read failed
2025-11-19T20:53:44.278254Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 57 sessionId: sid_rand_46|aad4546e-aa78e19b-e57977c6-8612571_0 grpc closed
2025-11-19T20:53:44.278259Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 57 sessionId: sid_rand_46|aad4546e-aa78e19b-e57977c6-8612571_0 is DEAD
2025-11-19T20:53:44.278414Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.278426Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 58
2025-11-19T20:53:44.278497Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.278527Z 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-11-19T20:53:44.278553Z 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]:37532
2025-11-19T20:53:44.278561Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=58 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.278564Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.278915Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 58 sessionId:  describe result for acl check
2025-11-19T20:53:44.278950Z 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-11-19T20:53:44.278956Z 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-11-19T20:53:44.278958Z 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-11-19T20:53:44.278962Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498652:2687] (SourceId=sid_rand_47, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.279470Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498652:2687] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.280842Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498652:2687] (SourceId=sid_rand_47, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.280904Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498668:2687] connected; active server actors: 1
2025-11-19T20:53:44.280918Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498652:2687] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_47
2025-11-19T20:53:44.280922Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498652:2687] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.280964Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498668:2687] disconnected.
2025-11-19T20:53:44.280972Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498668:2687] disconnected; active server actors: 1
2025-11-19T20:53:44.280974Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498668:2687] disconnected no session
2025-11-19T20:53:44.283012Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498652:2687] (SourceId=sid_rand_47, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.283025Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498652:2687] (SourceId=sid_rand_47, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-19T20:53:44.283028Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498652:2687] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.283033Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 58 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-19T20:53:44.283226Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.283289Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_47|f8f04e36-71add45a-68690633-dfd2d9_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_47
2025-11-19T20:53:44.283532Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 58 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_47|f8f04e36-71add45a-68690633-dfd2d9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_47|f8f04e36-71add45a-68690633-dfd2d9_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.284169Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId: sid_rand_47|f8f04e36-71add45a-68690633-dfd2d9_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.284180Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 58 sessionId: sid_rand_47|f8f04e36-71add45a-68690633-dfd2d9_0 grpc read failed
2025-11-19T20:53:44.284186Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 58 sessionId: sid_rand_47|f8f04e36-71add45a-68690633-dfd2d9_0 grpc closed
2025-11-19T20:53:44.284191Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 58 sessionId: sid_rand_47|f8f04e36-71add45a-68690633-dfd2d9_0 is DEAD
2025-11-19T20:53:44.284319Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.284328Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 59
2025-11-19T20:53:44.284440Z 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-11-19T20:53:44.284461Z 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]:37532
2025-11-19T20:53:44.284471Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=59 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.284473Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.284554Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.284812Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 59 sessionId:  describe result for acl check
2025-11-19T20:53:44.284845Z 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-11-19T20:53:44.284851Z 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-11-19T20:53:44.284853Z 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-11-19T20:53:44.284857Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498688:2691] (SourceId=sid_rand_48, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.285329Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498688:2691] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.286965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498688:2691] (SourceId=sid_rand_48, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.287034Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498704:2691] connected; active server actors: 1
2025-11-19T20:53:44.287055Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498688:2691] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_48
2025-11-19T20:53:44.287064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498688:2691] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.287120Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498704:2691] disconnected.
2025-11-19T20:53:44.287128Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498704:2691] disconnected; active server actors: 1
2025-11-19T20:53:44.287130Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498704:2691] disconnected no session
2025-11-19T20:53:44.289299Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498688:2691] (SourceId=sid_rand_48, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.289312Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498688:2691] (SourceId=sid_rand_48, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-19T20:53:44.289315Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498688:2691] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.289321Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 59 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-19T20:53:44.289501Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.289571Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_48|ab6e436-74245955-3676d702-d2fdc33b_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_48
2025-11-19T20:53:44.289822Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 59 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_48|ab6e436-74245955-3676d702-d2fdc33b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_48|ab6e436-74245955-3676d702-d2fdc33b_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.290385Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId: sid_rand_48|ab6e436-74245955-3676d702-d2fdc33b_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.290393Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 59 sessionId: sid_rand_48|ab6e436-74245955-3676d702-d2fdc33b_0 grpc read failed
2025-11-19T20:53:44.290396Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 59 sessionId: sid_rand_48|ab6e436-74245955-3676d702-d2fdc33b_0 grpc closed
2025-11-19T20:53:44.290401Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 59 sessionId: sid_rand_48|ab6e436-74245955-3676d702-d2fdc33b_0 is DEAD
2025-11-19T20:53:44.290507Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.290518Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 60
2025-11-19T20:53:44.290609Z 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-11-19T20:53:44.290614Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.290636Z 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]:37532
2025-11-19T20:53:44.290641Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=60 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.290644Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.290957Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 60 sessionId:  describe result for acl check
2025-11-19T20:53:44.290984Z 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-11-19T20:53:44.290985Z 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-11-19T20:53:44.290986Z 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-11-19T20:53:44.290989Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498730:2695] (SourceId=sid_rand_49, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.291428Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498730:2695] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.293142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498730:2695] (SourceId=sid_rand_49, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.293235Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498746:2695] connected; active server actors: 1
2025-11-19T20:53:44.293253Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498730:2695] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_49
2025-11-19T20:53:44.293257Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498730:2695] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.293299Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498746:2695] disconnected.
2025-11-19T20:53:44.293309Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498746:2695] disconnected; active server actors: 1
2025-11-19T20:53:44.293312Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498746:2695] disconnected no session
2025-11-19T20:53:44.295339Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498730:2695] (SourceId=sid_rand_49, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.295350Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498730:2695] (SourceId=sid_rand_49, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-19T20:53:44.295353Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498730:2695] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.295358Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 60 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-19T20:53:44.295473Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.295519Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_49|8a3eb461-9dc5f00e-2379040b-a445d257_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_49
2025-11-19T20:53:44.295617Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 60 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_49|8a3eb461-9dc5f00e-2379040b-a445d257_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_49|8a3eb461-9dc5f00e-2379040b-a445d257_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.296197Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId: sid_rand_49|8a3eb461-9dc5f00e-2379040b-a445d257_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.296206Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 60 sessionId: sid_rand_49|8a3eb461-9dc5f00e-2379040b-a445d257_0 grpc read failed
2025-11-19T20:53:44.296221Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 60 sessionId: sid_rand_49|8a3eb461-9dc5f00e-2379040b-a445d257_0 grpc closed
2025-11-19T20:53:44.296229Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 60 sessionId: sid_rand_49|8a3eb461-9dc5f00e-2379040b-a445d257_0 is DEAD
2025-11-19T20:53:44.296350Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.296361Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 61
2025-11-19T20:53:44.296481Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.296526Z 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-11-19T20:53:44.296554Z 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]:37532
2025-11-19T20:53:44.296561Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=61 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.296565Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.296988Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 61 sessionId:  describe result for acl check
2025-11-19T20:53:44.297028Z 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-11-19T20:53:44.297036Z 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-11-19T20:53:44.297038Z 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-11-19T20:53:44.297042Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498767:2699] (SourceId=sid_rand_50, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.297606Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498767:2699] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.299767Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498767:2699] (SourceId=sid_rand_50, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.299878Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498783:2699] connected; active server actors: 1
2025-11-19T20:53:44.299906Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498767:2699] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_50
2025-11-19T20:53:44.299909Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498767:2699] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.299963Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498783:2699] disconnected.
2025-11-19T20:53:44.299970Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498783:2699] disconnected; active server actors: 1
2025-11-19T20:53:44.299972Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498783:2699] disconnected no session
2025-11-19T20:53:44.302597Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498767:2699] (SourceId=sid_rand_50, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.302608Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498767:2699] (SourceId=sid_rand_50, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-19T20:53:44.302611Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498767:2699] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.302618Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 61 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-19T20:53:44.302849Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.302920Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_50|358a0fb0-d5029105-bda2e43-64d13612_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_50
2025-11-19T20:53:44.303123Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 61 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_50|358a0fb0-d5029105-bda2e43-64d13612_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_50|358a0fb0-d5029105-bda2e43-64d13612_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.303721Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId: sid_rand_50|358a0fb0-d5029105-bda2e43-64d13612_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.303727Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 61 sessionId: sid_rand_50|358a0fb0-d5029105-bda2e43-64d13612_0 grpc read failed
2025-11-19T20:53:44.303731Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 61 sessionId: sid_rand_50|358a0fb0-d5029105-bda2e43-64d13612_0 grpc closed
2025-11-19T20:53:44.303736Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 61 sessionId: sid_rand_50|358a0fb0-d5029105-bda2e43-64d13612_0 is DEAD
2025-11-19T20:53:44.303847Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.303912Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.303928Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 62
2025-11-19T20:53:44.304060Z 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-11-19T20:53:44.304084Z 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]:37532
2025-11-19T20:53:44.304088Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=62 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.304092Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.304506Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 62 sessionId:  describe result for acl check
2025-11-19T20:53:44.304546Z 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-11-19T20:53:44.304555Z 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-11-19T20:53:44.304557Z 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-11-19T20:53:44.304563Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498803:2703] (SourceId=sid_rand_51, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.305115Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498803:2703] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.307005Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498803:2703] (SourceId=sid_rand_51, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.307075Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498819:2703] connected; active server actors: 1
2025-11-19T20:53:44.307090Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498803:2703] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_51
2025-11-19T20:53:44.307093Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498803:2703] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.307129Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498819:2703] disconnected.
2025-11-19T20:53:44.307135Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498819:2703] disconnected; active server actors: 1
2025-11-19T20:53:44.307137Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498819:2703] disconnected no session
2025-11-19T20:53:44.309330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498803:2703] (SourceId=sid_rand_51, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.309340Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498803:2703] (SourceId=sid_rand_51, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-19T20:53:44.309342Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498803:2703] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.309348Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 62 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-19T20:53:44.309470Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.309516Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_51|ccb52283-4c9a5624-a519df5a-9fc2a7f3_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_51
2025-11-19T20:53:44.309625Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 62 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_51|ccb52283-4c9a5624-a519df5a-9fc2a7f3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_51|ccb52283-4c9a5624-a519df5a-9fc2a7f3_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.310187Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId: sid_rand_51|ccb52283-4c9a5624-a519df5a-9fc2a7f3_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.310193Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 62 sessionId: sid_rand_51|ccb52283-4c9a5624-a519df5a-9fc2a7f3_0 grpc read failed
2025-11-19T20:53:44.310197Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 62 sessionId: sid_rand_51|ccb52283-4c9a5624-a519df5a-9fc2a7f3_0 grpc closed
2025-11-19T20:53:44.310202Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 62 sessionId: sid_rand_51|ccb52283-4c9a5624-a519df5a-9fc2a7f3_0 is DEAD
2025-11-19T20:53:44.310316Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.310324Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 63
2025-11-19T20:53:44.310446Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.310456Z 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-11-19T20:53:44.310471Z 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]:37532
2025-11-19T20:53:44.310478Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=63 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.310481Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.310779Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 63 sessionId:  describe result for acl check
2025-11-19T20:53:44.310800Z 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-11-19T20:53:44.310805Z 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-11-19T20:53:44.310807Z 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-11-19T20:53:44.310810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498840:2707] (SourceId=sid_rand_52, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.311245Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498840:2707] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.312540Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498840:2707] (SourceId=sid_rand_52, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.312635Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498856:2707] connected; active server actors: 1
2025-11-19T20:53:44.312660Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498840:2707] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_52
2025-11-19T20:53:44.312664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498840:2707] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.312713Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498856:2707] disconnected.
2025-11-19T20:53:44.312720Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498856:2707] disconnected; active server actors: 1
2025-11-19T20:53:44.312722Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498856:2707] disconnected no session
2025-11-19T20:53:44.315513Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498840:2707] (SourceId=sid_rand_52, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.315523Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498840:2707] (SourceId=sid_rand_52, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-19T20:53:44.315526Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498840:2707] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.315530Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 63 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-19T20:53:44.315726Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.315807Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_52|10f5bccf-eda140ab-103102-82ee46f7_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_52
2025-11-19T20:53:44.316146Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 63 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_52|10f5bccf-eda140ab-103102-82ee46f7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_52|10f5bccf-eda140ab-103102-82ee46f7_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.316708Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId: sid_rand_52|10f5bccf-eda140ab-103102-82ee46f7_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.316715Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 63 sessionId: sid_rand_52|10f5bccf-eda140ab-103102-82ee46f7_0 grpc read failed
2025-11-19T20:53:44.316718Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 63 sessionId: sid_rand_52|10f5bccf-eda140ab-103102-82ee46f7_0 grpc closed
2025-11-19T20:53:44.316723Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 63 sessionId: sid_rand_52|10f5bccf-eda140ab-103102-82ee46f7_0 is DEAD
2025-11-19T20:53:44.316824Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.316840Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 64
2025-11-19T20:53:44.316908Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.316928Z 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-11-19T20:53:44.316949Z 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]:37532
2025-11-19T20:53:44.316959Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=64 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.316962Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.317310Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 64 sessionId:  describe result for acl check
2025-11-19T20:53:44.317347Z 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-11-19T20:53:44.317356Z 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-11-19T20:53:44.317358Z 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-11-19T20:53:44.317364Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498876:2711] (SourceId=sid_rand_53, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.317870Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498876:2711] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.319227Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498876:2711] (SourceId=sid_rand_53, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.319296Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498892:2711] connected; active server actors: 1
2025-11-19T20:53:44.319313Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498876:2711] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_53
2025-11-19T20:53:44.319316Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498876:2711] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.319361Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498892:2711] disconnected.
2025-11-19T20:53:44.319372Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498892:2711] disconnected; active server actors: 1
2025-11-19T20:53:44.319374Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498892:2711] disconnected no session
2025-11-19T20:53:44.322053Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498876:2711] (SourceId=sid_rand_53, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.322067Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498876:2711] (SourceId=sid_rand_53, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-19T20:53:44.322071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498876:2711] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.322078Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 64 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-19T20:53:44.322333Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.322412Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_53|c7b5309c-ff0d96c5-ec8bd251-1e920765_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_53
2025-11-19T20:53:44.322668Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 64 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_53|c7b5309c-ff0d96c5-ec8bd251-1e920765_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_53|c7b5309c-ff0d96c5-ec8bd251-1e920765_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.323151Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId: sid_rand_53|c7b5309c-ff0d96c5-ec8bd251-1e920765_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.323159Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 64 sessionId: sid_rand_53|c7b5309c-ff0d96c5-ec8bd251-1e920765_0 grpc read failed
2025-11-19T20:53:44.323163Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 64 sessionId: sid_rand_53|c7b5309c-ff0d96c5-ec8bd251-1e920765_0 grpc closed
2025-11-19T20:53:44.323169Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 64 sessionId: sid_rand_53|c7b5309c-ff0d96c5-ec8bd251-1e920765_0 is DEAD
2025-11-19T20:53:44.323339Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.323350Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 65
2025-11-19T20:53:44.323382Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.323468Z 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-11-19T20:53:44.323501Z 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]:37532
2025-11-19T20:53:44.323508Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=65 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.323512Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.323856Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 65 sessionId:  describe result for acl check
2025-11-19T20:53:44.323895Z 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-11-19T20:53:44.323897Z 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-11-19T20:53:44.323898Z 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-11-19T20:53:44.323902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498912:2715] (SourceId=sid_rand_54, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.324341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498912:2715] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.325755Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498912:2715] (SourceId=sid_rand_54, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.325818Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498928:2715] connected; active server actors: 1
2025-11-19T20:53:44.325840Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498912:2715] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_54
2025-11-19T20:53:44.325848Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498912:2715] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.325888Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498928:2715] disconnected.
2025-11-19T20:53:44.325896Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498928:2715] disconnected; active server actors: 1
2025-11-19T20:53:44.325899Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498928:2715] disconnected no session
2025-11-19T20:53:44.328239Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498912:2715] (SourceId=sid_rand_54, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.328253Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498912:2715] (SourceId=sid_rand_54, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-19T20:53:44.328256Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498912:2715] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.328262Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 65 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-19T20:53:44.328491Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.328587Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_54|989bd64f-ffbffb6f-91b55025-c6de4c1d_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_54
2025-11-19T20:53:44.328846Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 65 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_54|989bd64f-ffbffb6f-91b55025-c6de4c1d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_54|989bd64f-ffbffb6f-91b55025-c6de4c1d_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.329453Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId: sid_rand_54|989bd64f-ffbffb6f-91b55025-c6de4c1d_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.329459Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 65 sessionId: sid_rand_54|989bd64f-ffbffb6f-91b55025-c6de4c1d_0 grpc read failed
2025-11-19T20:53:44.329462Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 65 sessionId: sid_rand_54|989bd64f-ffbffb6f-91b55025-c6de4c1d_0 grpc closed
2025-11-19T20:53:44.329466Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 65 sessionId: sid_rand_54|989bd64f-ffbffb6f-91b55025-c6de4c1d_0 is DEAD
2025-11-19T20:53:44.329591Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.329600Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 66
2025-11-19T20:53:44.329678Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.329703Z 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-11-19T20:53:44.329730Z 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]:37532
2025-11-19T20:53:44.329737Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=66 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.329739Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.330018Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 66 sessionId:  describe result for acl check
2025-11-19T20:53:44.330041Z 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-11-19T20:53:44.330046Z 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-11-19T20:53:44.330047Z 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-11-19T20:53:44.330050Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498948:2719] (SourceId=sid_rand_55, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.330620Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498948:2719] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.331756Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498948:2719] (SourceId=sid_rand_55, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.331796Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498964:2719] connected; active server actors: 1
2025-11-19T20:53:44.331810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498948:2719] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_55
2025-11-19T20:53:44.331819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498948:2719] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.331853Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498964:2719] disconnected.
2025-11-19T20:53:44.331879Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498964:2719] disconnected; active server actors: 1
2025-11-19T20:53:44.331881Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384498964:2719] disconnected no session
2025-11-19T20:53:44.334117Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498948:2719] (SourceId=sid_rand_55, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.334125Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498948:2719] (SourceId=sid_rand_55, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-19T20:53:44.334127Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498948:2719] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.334148Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 66 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-19T20:53:44.334338Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.334413Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_55|9049c6da-f07671a3-499ed48e-99b4682f_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_55
2025-11-19T20:53:44.334646Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 66 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_55|9049c6da-f07671a3-499ed48e-99b4682f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_55|9049c6da-f07671a3-499ed48e-99b4682f_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.335185Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId: sid_rand_55|9049c6da-f07671a3-499ed48e-99b4682f_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.335194Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 66 sessionId: sid_rand_55|9049c6da-f07671a3-499ed48e-99b4682f_0 grpc read failed
2025-11-19T20:53:44.335197Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 66 sessionId: sid_rand_55|9049c6da-f07671a3-499ed48e-99b4682f_0 grpc closed
2025-11-19T20:53:44.335200Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 66 sessionId: sid_rand_55|9049c6da-f07671a3-499ed48e-99b4682f_0 is DEAD
2025-11-19T20:53:44.335300Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.335307Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 67
2025-11-19T20:53:44.335402Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.335418Z 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-11-19T20:53:44.335431Z 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]:37532
2025-11-19T20:53:44.335437Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=67 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.335438Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.335658Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 67 sessionId:  describe result for acl check
2025-11-19T20:53:44.335677Z 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-11-19T20:53:44.335685Z 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-11-19T20:53:44.335686Z 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-11-19T20:53:44.335688Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384498984:2723] (SourceId=sid_rand_56, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.336420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384498984:2723] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.337395Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384498984:2723] (SourceId=sid_rand_56, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.337439Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499000:2723] connected; active server actors: 1
2025-11-19T20:53:44.337454Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384498984:2723] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_56
2025-11-19T20:53:44.337459Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384498984:2723] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.337520Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499000:2723] disconnected.
2025-11-19T20:53:44.337527Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499000:2723] disconnected; active server actors: 1
2025-11-19T20:53:44.337529Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499000:2723] disconnected no session
2025-11-19T20:53:44.339225Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384498984:2723] (SourceId=sid_rand_56, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.339233Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384498984:2723] (SourceId=sid_rand_56, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-19T20:53:44.339235Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384498984:2723] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.339239Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 67 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-19T20:53:44.339409Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.339479Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_56|27badef0-91086815-ce9772fe-88d63a41_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_56
2025-11-19T20:53:44.339686Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 67 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_56|27badef0-91086815-ce9772fe-88d63a41_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_56|27badef0-91086815-ce9772fe-88d63a41_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.340200Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId: sid_rand_56|27badef0-91086815-ce9772fe-88d63a41_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.340214Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 67 sessionId: sid_rand_56|27badef0-91086815-ce9772fe-88d63a41_0 grpc read failed
2025-11-19T20:53:44.340220Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 67 sessionId: sid_rand_56|27badef0-91086815-ce9772fe-88d63a41_0 grpc closed
2025-11-19T20:53:44.340226Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 67 sessionId: sid_rand_56|27badef0-91086815-ce9772fe-88d63a41_0 is DEAD
2025-11-19T20:53:44.340325Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.340332Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 68
2025-11-19T20:53:44.340400Z 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-11-19T20:53:44.340417Z 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]:37532
2025-11-19T20:53:44.340423Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=68 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.340424Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.340484Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.340622Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 68 sessionId:  describe result for acl check
2025-11-19T20:53:44.340639Z 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-11-19T20:53:44.340643Z 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-11-19T20:53:44.340644Z 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-11-19T20:53:44.340647Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499020:2727] (SourceId=sid_rand_57, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.340978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499020:2727] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.341782Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499020:2727] (SourceId=sid_rand_57, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.341811Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499036:2727] connected; active server actors: 1
2025-11-19T20:53:44.341822Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499020:2727] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_57
2025-11-19T20:53:44.341831Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499020:2727] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.341861Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499036:2727] disconnected.
2025-11-19T20:53:44.341866Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499036:2727] disconnected; active server actors: 1
2025-11-19T20:53:44.341870Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499036:2727] disconnected no session
2025-11-19T20:53:44.343770Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499020:2727] (SourceId=sid_rand_57, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.343779Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499020:2727] (SourceId=sid_rand_57, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-19T20:53:44.343781Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499020:2727] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.343785Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 68 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-19T20:53:44.343855Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.343900Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_57|338fdc-8b5b0e92-4abed571-c051ef01_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_57
2025-11-19T20:53:44.344011Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 68 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_57|338fdc-8b5b0e92-4abed571-c051ef01_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_57|338fdc-8b5b0e92-4abed571-c051ef01_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.344528Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId: sid_rand_57|338fdc-8b5b0e92-4abed571-c051ef01_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.344534Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 68 sessionId: sid_rand_57|338fdc-8b5b0e92-4abed571-c051ef01_0 grpc read failed
2025-11-19T20:53:44.344536Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 68 sessionId: sid_rand_57|338fdc-8b5b0e92-4abed571-c051ef01_0 grpc closed
2025-11-19T20:53:44.344539Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 68 sessionId: sid_rand_57|338fdc-8b5b0e92-4abed571-c051ef01_0 is DEAD
2025-11-19T20:53:44.344569Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.344575Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 69
2025-11-19T20:53:44.344658Z 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-11-19T20:53:44.344673Z 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]:37532
2025-11-19T20:53:44.344679Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=69 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.344680Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.344687Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.344879Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 69 sessionId:  describe result for acl check
2025-11-19T20:53:44.344896Z 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-11-19T20:53:44.344900Z 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-11-19T20:53:44.344901Z 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-11-19T20:53:44.344904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499057:2731] (SourceId=sid_rand_58, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.345212Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499057:2731] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.346398Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499057:2731] (SourceId=sid_rand_58, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.346425Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499073:2731] connected; active server actors: 1
2025-11-19T20:53:44.346436Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499057:2731] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_58
2025-11-19T20:53:44.346445Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499057:2731] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.346477Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499073:2731] disconnected.
2025-11-19T20:53:44.346483Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499073:2731] disconnected; active server actors: 1
2025-11-19T20:53:44.346485Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499073:2731] disconnected no session
2025-11-19T20:53:44.348544Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499057:2731] (SourceId=sid_rand_58, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.348556Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499057:2731] (SourceId=sid_rand_58, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-19T20:53:44.348559Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499057:2731] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.348564Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 69 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-19T20:53:44.348779Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.348868Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_58|2d7c005b-33afc302-d8918321-f65809e1_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_58
2025-11-19T20:53:44.349189Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 69 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_58|2d7c005b-33afc302-d8918321-f65809e1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_58|2d7c005b-33afc302-d8918321-f65809e1_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.349690Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId: sid_rand_58|2d7c005b-33afc302-d8918321-f65809e1_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.349698Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 69 sessionId: sid_rand_58|2d7c005b-33afc302-d8918321-f65809e1_0 grpc read failed
2025-11-19T20:53:44.349702Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 69 sessionId: sid_rand_58|2d7c005b-33afc302-d8918321-f65809e1_0 grpc closed
2025-11-19T20:53:44.349706Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 69 sessionId: sid_rand_58|2d7c005b-33afc302-d8918321-f65809e1_0 is DEAD
2025-11-19T20:53:44.349813Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.349822Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 70
2025-11-19T20:53:44.349879Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.349893Z 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-11-19T20:53:44.349909Z 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]:37532
2025-11-19T20:53:44.349917Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=70 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.349919Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.350158Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 70 sessionId:  describe result for acl check
2025-11-19T20:53:44.350175Z 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-11-19T20:53:44.350180Z 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-11-19T20:53:44.350182Z 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-11-19T20:53:44.350185Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499093:2735] (SourceId=sid_rand_59, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.350469Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499093:2735] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.352081Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499093:2735] (SourceId=sid_rand_59, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.352166Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499109:2735] connected; active server actors: 1
2025-11-19T20:53:44.352185Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499093:2735] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_59
2025-11-19T20:53:44.352189Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499093:2735] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.352240Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499109:2735] disconnected.
2025-11-19T20:53:44.352251Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499109:2735] disconnected; active server actors: 1
2025-11-19T20:53:44.352254Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499109:2735] disconnected no session
2025-11-19T20:53:44.354700Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499093:2735] (SourceId=sid_rand_59, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.354713Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499093:2735] (SourceId=sid_rand_59, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-19T20:53:44.354718Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499093:2735] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.354724Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 70 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-19T20:53:44.354837Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.354873Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_59|427ea9e2-79376619-b43089f6-56576658_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_59
2025-11-19T20:53:44.354998Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 70 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_59|427ea9e2-79376619-b43089f6-56576658_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_59|427ea9e2-79376619-b43089f6-56576658_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.355463Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId: sid_rand_59|427ea9e2-79376619-b43089f6-56576658_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.355471Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 70 sessionId: sid_rand_59|427ea9e2-79376619-b43089f6-56576658_0 grpc read failed
2025-11-19T20:53:44.355474Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 70 sessionId: sid_rand_59|427ea9e2-79376619-b43089f6-56576658_0 grpc closed
2025-11-19T20:53:44.355477Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 70 sessionId: sid_rand_59|427ea9e2-79376619-b43089f6-56576658_0 is DEAD
2025-11-19T20:53:44.355554Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.355564Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 71
2025-11-19T20:53:44.355669Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.355702Z 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-11-19T20:53:44.355722Z 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]:37532
2025-11-19T20:53:44.355731Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=71 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.355733Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.356027Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 71 sessionId:  describe result for acl check
2025-11-19T20:53:44.356052Z 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-11-19T20:53:44.356054Z 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-11-19T20:53:44.356055Z 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-11-19T20:53:44.356058Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499131:2739] (SourceId=sid_rand_60, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.356481Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499131:2739] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.357898Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499131:2739] (SourceId=sid_rand_60, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.357953Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499147:2739] connected; active server actors: 1
2025-11-19T20:53:44.357968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499131:2739] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_60
2025-11-19T20:53:44.357971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499131:2739] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.357999Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499147:2739] disconnected.
2025-11-19T20:53:44.358007Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499147:2739] disconnected; active server actors: 1
2025-11-19T20:53:44.358009Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499147:2739] disconnected no session
2025-11-19T20:53:44.360295Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499131:2739] (SourceId=sid_rand_60, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.360307Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499131:2739] (SourceId=sid_rand_60, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-19T20:53:44.360311Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499131:2739] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.360316Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 71 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-19T20:53:44.360507Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.360583Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_60|b3842663-3a6c5bc4-2cd087a-e311735a_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_60
2025-11-19T20:53:44.360808Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 71 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_60|b3842663-3a6c5bc4-2cd087a-e311735a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_60|b3842663-3a6c5bc4-2cd087a-e311735a_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.361311Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId: sid_rand_60|b3842663-3a6c5bc4-2cd087a-e311735a_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.361318Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 71 sessionId: sid_rand_60|b3842663-3a6c5bc4-2cd087a-e311735a_0 grpc read failed
2025-11-19T20:53:44.361323Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 71 sessionId: sid_rand_60|b3842663-3a6c5bc4-2cd087a-e311735a_0 grpc closed
2025-11-19T20:53:44.361326Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 71 sessionId: sid_rand_60|b3842663-3a6c5bc4-2cd087a-e311735a_0 is DEAD
2025-11-19T20:53:44.361405Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.361414Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 72
2025-11-19T20:53:44.361514Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.361546Z 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-11-19T20:53:44.361567Z 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]:37532
2025-11-19T20:53:44.361575Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=72 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.361578Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.361855Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 72 sessionId:  describe result for acl check
2025-11-19T20:53:44.361876Z 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-11-19T20:53:44.361883Z 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-11-19T20:53:44.361884Z 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-11-19T20:53:44.361887Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499167:2743] (SourceId=sid_rand_61, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.362256Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499167:2743] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.363578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499167:2743] (SourceId=sid_rand_61, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.363637Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499183:2743] connected; active server actors: 1
2025-11-19T20:53:44.363653Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499167:2743] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_61
2025-11-19T20:53:44.363656Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499167:2743] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.363684Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499183:2743] disconnected.
2025-11-19T20:53:44.363691Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499183:2743] disconnected; active server actors: 1
2025-11-19T20:53:44.363693Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499183:2743] disconnected no session
2025-11-19T20:53:44.365979Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499167:2743] (SourceId=sid_rand_61, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.365991Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499167:2743] (SourceId=sid_rand_61, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-19T20:53:44.365993Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499167:2743] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.365998Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 72 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-19T20:53:44.366184Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.366240Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_61|a60c3bac-c24d9b82-acad8f13-1a4102b9_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_61
2025-11-19T20:53:44.366432Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 72 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_61|a60c3bac-c24d9b82-acad8f13-1a4102b9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_61|a60c3bac-c24d9b82-acad8f13-1a4102b9_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.366946Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId: sid_rand_61|a60c3bac-c24d9b82-acad8f13-1a4102b9_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.366956Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 72 sessionId: sid_rand_61|a60c3bac-c24d9b82-acad8f13-1a4102b9_0 grpc read failed
2025-11-19T20:53:44.366961Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 72 sessionId: sid_rand_61|a60c3bac-c24d9b82-acad8f13-1a4102b9_0 grpc closed
2025-11-19T20:53:44.366966Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 72 sessionId: sid_rand_61|a60c3bac-c24d9b82-acad8f13-1a4102b9_0 is DEAD
2025-11-19T20:53:44.366985Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.366996Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 73
2025-11-19T20:53:44.367082Z 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-11-19T20:53:44.367103Z 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]:37532
2025-11-19T20:53:44.367106Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=73 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.367109Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.367278Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.367369Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 73 sessionId:  describe result for acl check
2025-11-19T20:53:44.367393Z 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-11-19T20:53:44.367399Z 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-11-19T20:53:44.367400Z 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-11-19T20:53:44.367404Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499203:2747] (SourceId=sid_rand_62, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.367798Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499203:2747] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.369148Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499203:2747] (SourceId=sid_rand_62, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.369205Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499219:2747] connected; active server actors: 1
2025-11-19T20:53:44.369223Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499203:2747] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_62
2025-11-19T20:53:44.369225Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499203:2747] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.369252Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499219:2747] disconnected.
2025-11-19T20:53:44.369259Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499219:2747] disconnected; active server actors: 1
2025-11-19T20:53:44.369261Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499219:2747] disconnected no session
2025-11-19T20:53:44.371626Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499203:2747] (SourceId=sid_rand_62, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.371638Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499203:2747] (SourceId=sid_rand_62, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-19T20:53:44.371641Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499203:2747] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.371646Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 73 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-19T20:53:44.371733Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.371767Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_62|a586691d-7acf2ce7-ce58a397-c62910ff_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_62
2025-11-19T20:53:44.371852Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 73 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_62|a586691d-7acf2ce7-ce58a397-c62910ff_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_62|a586691d-7acf2ce7-ce58a397-c62910ff_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.372406Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId: sid_rand_62|a586691d-7acf2ce7-ce58a397-c62910ff_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.372415Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 73 sessionId: sid_rand_62|a586691d-7acf2ce7-ce58a397-c62910ff_0 grpc read failed
2025-11-19T20:53:44.372419Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 73 sessionId: sid_rand_62|a586691d-7acf2ce7-ce58a397-c62910ff_0 grpc closed
2025-11-19T20:53:44.372423Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 73 sessionId: sid_rand_62|a586691d-7acf2ce7-ce58a397-c62910ff_0 is DEAD
2025-11-19T20:53:44.372518Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.372527Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 74
2025-11-19T20:53:44.372626Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.372658Z 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-11-19T20:53:44.372678Z 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]:37532
2025-11-19T20:53:44.372686Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=74 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.372689Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.372976Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 74 sessionId:  describe result for acl check
2025-11-19T20:53:44.373003Z 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-11-19T20:53:44.373010Z 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-11-19T20:53:44.373011Z 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-11-19T20:53:44.373014Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499240:2751] (SourceId=sid_rand_63, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.373414Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499240:2751] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.374801Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499240:2751] (SourceId=sid_rand_63, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.374862Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499256:2751] connected; active server actors: 1
2025-11-19T20:53:44.374876Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499240:2751] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_63
2025-11-19T20:53:44.374878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499240:2751] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.374905Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499256:2751] disconnected.
2025-11-19T20:53:44.374913Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499256:2751] disconnected; active server actors: 1
2025-11-19T20:53:44.374915Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499256:2751] disconnected no session
2025-11-19T20:53:44.376708Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499240:2751] (SourceId=sid_rand_63, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.376720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499240:2751] (SourceId=sid_rand_63, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-19T20:53:44.376723Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499240:2751] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.376727Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 74 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-19T20:53:44.376930Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.377013Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_63|694832ef-449e0416-b3fd175b-bafe3ede_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_63
2025-11-19T20:53:44.377266Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 74 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_63|694832ef-449e0416-b3fd175b-bafe3ede_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_63|694832ef-449e0416-b3fd175b-bafe3ede_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.377748Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId: sid_rand_63|694832ef-449e0416-b3fd175b-bafe3ede_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.377759Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 74 sessionId: sid_rand_63|694832ef-449e0416-b3fd175b-bafe3ede_0 grpc read failed
2025-11-19T20:53:44.377764Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 74 sessionId: sid_rand_63|694832ef-449e0416-b3fd175b-bafe3ede_0 grpc closed
2025-11-19T20:53:44.377767Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 74 sessionId: sid_rand_63|694832ef-449e0416-b3fd175b-bafe3ede_0 is DEAD
2025-11-19T20:53:44.377882Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.377895Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 75
2025-11-19T20:53:44.377956Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.377987Z 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-11-19T20:53:44.378008Z 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]:37532
2025-11-19T20:53:44.378016Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=75 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.378019Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.378333Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 75 sessionId:  describe result for acl check
2025-11-19T20:53:44.378369Z 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-11-19T20:53:44.378377Z 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-11-19T20:53:44.378378Z 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-11-19T20:53:44.378381Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499276:2755] (SourceId=sid_rand_64, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.378743Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499276:2755] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.379987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499276:2755] (SourceId=sid_rand_64, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.380053Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499292:2755] connected; active server actors: 1
2025-11-19T20:53:44.380069Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499276:2755] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_64
2025-11-19T20:53:44.380071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499276:2755] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.380103Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499292:2755] disconnected.
2025-11-19T20:53:44.380114Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499292:2755] disconnected; active server actors: 1
2025-11-19T20:53:44.380116Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499292:2755] disconnected no session
2025-11-19T20:53:44.382317Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499276:2755] (SourceId=sid_rand_64, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.382340Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499276:2755] (SourceId=sid_rand_64, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-19T20:53:44.382343Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499276:2755] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.382348Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 75 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-19T20:53:44.382445Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.382462Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_64|a7343559-9eaedf22-3614b4ed-161e54e7_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_64
2025-11-19T20:53:44.382558Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 75 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_64|a7343559-9eaedf22-3614b4ed-161e54e7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_64|a7343559-9eaedf22-3614b4ed-161e54e7_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.382956Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId: sid_rand_64|a7343559-9eaedf22-3614b4ed-161e54e7_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.382965Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 75 sessionId: sid_rand_64|a7343559-9eaedf22-3614b4ed-161e54e7_0 grpc read failed
2025-11-19T20:53:44.383006Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 75 sessionId: sid_rand_64|a7343559-9eaedf22-3614b4ed-161e54e7_0
2025-11-19T20:53:44.383017Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 75 sessionId: sid_rand_64|a7343559-9eaedf22-3614b4ed-161e54e7_0 is DEAD
2025-11-19T20:53:44.383056Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.383067Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 76
2025-11-19T20:53:44.383097Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.383124Z 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-11-19T20:53:44.383143Z 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]:37532
2025-11-19T20:53:44.383150Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=76 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.383152Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.383426Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 76 sessionId:  describe result for acl check
2025-11-19T20:53:44.383449Z 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-11-19T20:53:44.383456Z 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-11-19T20:53:44.383457Z 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-11-19T20:53:44.383459Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499314:2759] (SourceId=sid_rand_65, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.383844Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499314:2759] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.384941Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499314:2759] (SourceId=sid_rand_65, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.384999Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499330:2759] connected; active server actors: 1
2025-11-19T20:53:44.385014Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499314:2759] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_65
2025-11-19T20:53:44.385016Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499314:2759] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.385046Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499330:2759] disconnected.
2025-11-19T20:53:44.385054Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499330:2759] disconnected; active server actors: 1
2025-11-19T20:53:44.385056Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499330:2759] disconnected no session
2025-11-19T20:53:44.387269Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499314:2759] (SourceId=sid_rand_65, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.387282Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499314:2759] (SourceId=sid_rand_65, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-19T20:53:44.387284Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499314:2759] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.387289Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 76 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-19T20:53:44.387456Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.387519Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_65|49d7d1e9-85718726-69f3af6a-477f7299_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_65
2025-11-19T20:53:44.387759Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 76 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_65|49d7d1e9-85718726-69f3af6a-477f7299_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_65|49d7d1e9-85718726-69f3af6a-477f7299_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.388218Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId: sid_rand_65|49d7d1e9-85718726-69f3af6a-477f7299_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.388226Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 76 sessionId: sid_rand_65|49d7d1e9-85718726-69f3af6a-477f7299_0 grpc read failed
2025-11-19T20:53:44.388298Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 76 sessionId: sid_rand_65|49d7d1e9-85718726-69f3af6a-477f7299_0
2025-11-19T20:53:44.388311Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 76 sessionId: sid_rand_65|49d7d1e9-85718726-69f3af6a-477f7299_0 is DEAD
2025-11-19T20:53:44.388337Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.388350Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 77
2025-11-19T20:53:44.388382Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.388416Z 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-11-19T20:53:44.388438Z 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]:37532
2025-11-19T20:53:44.388446Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=77 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.388449Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.388730Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 77 sessionId:  describe result for acl check
2025-11-19T20:53:44.388755Z 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-11-19T20:53:44.388756Z 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-11-19T20:53:44.388758Z 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-11-19T20:53:44.388761Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499350:2763] (SourceId=sid_rand_66, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.389167Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499350:2763] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.390642Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499350:2763] (SourceId=sid_rand_66, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.390691Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499366:2763] connected; active server actors: 1
2025-11-19T20:53:44.390702Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499350:2763] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_66
2025-11-19T20:53:44.390706Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499350:2763] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.390739Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499366:2763] disconnected.
2025-11-19T20:53:44.390748Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499366:2763] disconnected; active server actors: 1
2025-11-19T20:53:44.390750Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499366:2763] disconnected no session
2025-11-19T20:53:44.393373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499350:2763] (SourceId=sid_rand_66, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.393385Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499350:2763] (SourceId=sid_rand_66, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-19T20:53:44.393388Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499350:2763] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.393393Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 77 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-19T20:53:44.393606Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.393675Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_66|ee4ae39b-38cb7f1d-f6b18d9a-3f08b0a_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_66
2025-11-19T20:53:44.393902Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 77 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_66|ee4ae39b-38cb7f1d-f6b18d9a-3f08b0a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_66|ee4ae39b-38cb7f1d-f6b18d9a-3f08b0a_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.394391Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId: sid_rand_66|ee4ae39b-38cb7f1d-f6b18d9a-3f08b0a_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.394401Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 77 sessionId: sid_rand_66|ee4ae39b-38cb7f1d-f6b18d9a-3f08b0a_0 grpc read failed
2025-11-19T20:53:44.394406Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 77 sessionId: sid_rand_66|ee4ae39b-38cb7f1d-f6b18d9a-3f08b0a_0 grpc closed
2025-11-19T20:53:44.394410Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 77 sessionId: sid_rand_66|ee4ae39b-38cb7f1d-f6b18d9a-3f08b0a_0 is DEAD
2025-11-19T20:53:44.394515Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.394530Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 78
2025-11-19T20:53:44.394640Z 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-11-19T20:53:44.394656Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.394659Z 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]:37532
2025-11-19T20:53:44.394667Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=78 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.394670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.394947Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 78 sessionId:  describe result for acl check
2025-11-19T20:53:44.394972Z 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-11-19T20:53:44.394981Z 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-11-19T20:53:44.394984Z 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-11-19T20:53:44.394988Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499386:2767] (SourceId=sid_rand_67, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.395390Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499386:2767] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.396938Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499386:2767] (SourceId=sid_rand_67, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.396985Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499402:2767] connected; active server actors: 1
2025-11-19T20:53:44.397001Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499386:2767] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_67
2025-11-19T20:53:44.397014Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499386:2767] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.397059Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499402:2767] disconnected.
2025-11-19T20:53:44.397070Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499402:2767] disconnected; active server actors: 1
2025-11-19T20:53:44.397073Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499402:2767] disconnected no session
2025-11-19T20:53:44.399464Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499386:2767] (SourceId=sid_rand_67, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.399474Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499386:2767] (SourceId=sid_rand_67, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-19T20:53:44.399477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499386:2767] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.399482Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 78 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-19T20:53:44.399782Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_67|5ce135aa-560c5123-3644f012-dec0af41_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_67
2025-11-19T20:53:44.399678Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.400064Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 78 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_67|5ce135aa-560c5123-3644f012-dec0af41_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_67|5ce135aa-560c5123-3644f012-dec0af41_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.400555Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId: sid_rand_67|5ce135aa-560c5123-3644f012-dec0af41_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.400564Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 78 sessionId: sid_rand_67|5ce135aa-560c5123-3644f012-dec0af41_0 grpc read failed
2025-11-19T20:53:44.400567Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 78 sessionId: sid_rand_67|5ce135aa-560c5123-3644f012-dec0af41_0 grpc closed
2025-11-19T20:53:44.400573Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 78 sessionId: sid_rand_67|5ce135aa-560c5123-3644f012-dec0af41_0 is DEAD
2025-11-19T20:53:44.400667Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.400676Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 79
2025-11-19T20:53:44.400768Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.400773Z 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-11-19T20:53:44.400792Z 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]:37532
2025-11-19T20:53:44.400802Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=79 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.400810Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.401088Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 79 sessionId:  describe result for acl check
2025-11-19T20:53:44.401110Z 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-11-19T20:53:44.401111Z 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-11-19T20:53:44.401112Z 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-11-19T20:53:44.401115Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499422:2771] (SourceId=sid_rand_68, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.401512Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499422:2771] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.402928Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499422:2771] (SourceId=sid_rand_68, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.402976Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499438:2771] connected; active server actors: 1
2025-11-19T20:53:44.402990Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499422:2771] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_68
2025-11-19T20:53:44.402993Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499422:2771] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.403031Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499438:2771] disconnected.
2025-11-19T20:53:44.403037Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499438:2771] disconnected; active server actors: 1
2025-11-19T20:53:44.403039Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499438:2771] disconnected no session
2025-11-19T20:53:44.405151Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499422:2771] (SourceId=sid_rand_68, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.405166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499422:2771] (SourceId=sid_rand_68, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-19T20:53:44.405171Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499422:2771] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.405178Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 79 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-19T20:53:44.405464Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.405557Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_68|711fb176-3ba9d85c-64bb9f1b-cab876d_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_68
2025-11-19T20:53:44.405792Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 79 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_68|711fb176-3ba9d85c-64bb9f1b-cab876d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_68|711fb176-3ba9d85c-64bb9f1b-cab876d_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.406325Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId: sid_rand_68|711fb176-3ba9d85c-64bb9f1b-cab876d_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.406331Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 79 sessionId: sid_rand_68|711fb176-3ba9d85c-64bb9f1b-cab876d_0 grpc read failed
2025-11-19T20:53:44.406393Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 79 sessionId: sid_rand_68|711fb176-3ba9d85c-64bb9f1b-cab876d_0
2025-11-19T20:53:44.406401Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 79 sessionId: sid_rand_68|711fb176-3ba9d85c-64bb9f1b-cab876d_0 is DEAD
2025-11-19T20:53:44.406503Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.406542Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.406553Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 80
2025-11-19T20:53:44.406638Z 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-11-19T20:53:44.406665Z 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]:37532
2025-11-19T20:53:44.406672Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=80 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.406675Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.407112Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 80 sessionId:  describe result for acl check
2025-11-19T20:53:44.407161Z 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-11-19T20:53:44.407171Z 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-11-19T20:53:44.407174Z 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-11-19T20:53:44.407180Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499458:2775] (SourceId=sid_rand_69, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.407627Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499458:2775] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.409762Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499458:2775] (SourceId=sid_rand_69, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.409831Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499474:2775] connected; active server actors: 1
2025-11-19T20:53:44.409851Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499458:2775] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_69
2025-11-19T20:53:44.409857Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499458:2775] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.409924Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499474:2775] disconnected.
2025-11-19T20:53:44.409936Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499474:2775] disconnected; active server actors: 1
2025-11-19T20:53:44.409938Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499474:2775] disconnected no session
2025-11-19T20:53:44.413035Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499458:2775] (SourceId=sid_rand_69, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.413053Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499458:2775] (SourceId=sid_rand_69, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-19T20:53:44.413056Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499458:2775] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.413064Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 80 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-19T20:53:44.413343Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.413445Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_69|a3b16b54-5c03a686-ebc91e0e-68266995_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_69
2025-11-19T20:53:44.413786Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 80 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_69|a3b16b54-5c03a686-ebc91e0e-68266995_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_69|a3b16b54-5c03a686-ebc91e0e-68266995_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.414490Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId: sid_rand_69|a3b16b54-5c03a686-ebc91e0e-68266995_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.414503Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 80 sessionId: sid_rand_69|a3b16b54-5c03a686-ebc91e0e-68266995_0 grpc read failed
2025-11-19T20:53:44.414511Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 80 sessionId: sid_rand_69|a3b16b54-5c03a686-ebc91e0e-68266995_0 grpc closed
2025-11-19T20:53:44.414519Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 80 sessionId: sid_rand_69|a3b16b54-5c03a686-ebc91e0e-68266995_0 is DEAD
2025-11-19T20:53:44.414566Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.414577Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 81
2025-11-19T20:53:44.414710Z 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-11-19T20:53:44.414748Z 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]:37532
2025-11-19T20:53:44.414760Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=81 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.414764Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.414848Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.415174Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 81 sessionId:  describe result for acl check
2025-11-19T20:53:44.415225Z 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-11-19T20:53:44.415233Z 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-11-19T20:53:44.415236Z 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-11-19T20:53:44.415242Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499494:2779] (SourceId=sid_rand_70, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.415964Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499494:2779] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.417886Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499494:2779] (SourceId=sid_rand_70, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.418003Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499513:2779] connected; active server actors: 1
2025-11-19T20:53:44.418033Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499494:2779] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_70
2025-11-19T20:53:44.418047Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499494:2779] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.418112Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499513:2779] disconnected.
2025-11-19T20:53:44.418125Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499513:2779] disconnected; active server actors: 1
2025-11-19T20:53:44.418128Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499513:2779] disconnected no session
2025-11-19T20:53:44.421118Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499494:2779] (SourceId=sid_rand_70, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.421137Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499494:2779] (SourceId=sid_rand_70, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-19T20:53:44.421142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499494:2779] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.421153Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 81 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-19T20:53:44.421418Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-19T20:53:44.421503Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_70|d77166b-46fc4eec-bb5a19c8-17abc445_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_70
2025-11-19T20:53:44.421803Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 81 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_70|d77166b-46fc4eec-bb5a19c8-17abc445_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_70|d77166b-46fc4eec-bb5a19c8-17abc445_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.422410Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId: sid_rand_70|d77166b-46fc4eec-bb5a19c8-17abc445_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.422418Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 81 sessionId: sid_rand_70|d77166b-46fc4eec-bb5a19c8-17abc445_0 grpc read failed
2025-11-19T20:53:44.422424Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 81 sessionId: sid_rand_70|d77166b-46fc4eec-bb5a19c8-17abc445_0 grpc closed
2025-11-19T20:53:44.422429Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 81 sessionId: sid_rand_70|d77166b-46fc4eec-bb5a19c8-17abc445_0 is DEAD
2025-11-19T20:53:44.422587Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.422601Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 82
2025-11-19T20:53:44.422695Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.422747Z 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-11-19T20:53:44.422774Z 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]:37532
2025-11-19T20:53:44.422782Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=82 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.422785Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.423130Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 82 sessionId:  describe result for acl check
2025-11-19T20:53:44.423159Z 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-11-19T20:53:44.423165Z 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-11-19T20:53:44.423167Z 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-11-19T20:53:44.423174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499533:2783] (SourceId=sid_rand_71, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.423724Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499533:2783] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.425331Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499533:2783] (SourceId=sid_rand_71, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.425412Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499549:2783] connected; active server actors: 1
2025-11-19T20:53:44.425430Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499533:2783] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_71
2025-11-19T20:53:44.425435Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499533:2783] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.425485Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499549:2783] disconnected.
2025-11-19T20:53:44.425492Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499549:2783] disconnected; active server actors: 1
2025-11-19T20:53:44.425495Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499549:2783] disconnected no session
2025-11-19T20:53:44.428225Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499533:2783] (SourceId=sid_rand_71, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.428246Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499533:2783] (SourceId=sid_rand_71, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-19T20:53:44.428249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499533:2783] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.428255Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 82 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-19T20:53:44.428391Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.428421Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_71|da6276eb-fc607ff2-d721d031-95f655eb_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_71
2025-11-19T20:53:44.428538Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 82 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_71|da6276eb-fc607ff2-d721d031-95f655eb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_71|da6276eb-fc607ff2-d721d031-95f655eb_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.429082Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId: sid_rand_71|da6276eb-fc607ff2-d721d031-95f655eb_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.429088Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 82 sessionId: sid_rand_71|da6276eb-fc607ff2-d721d031-95f655eb_0 grpc read failed
2025-11-19T20:53:44.429092Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 82 sessionId: sid_rand_71|da6276eb-fc607ff2-d721d031-95f655eb_0 grpc closed
2025-11-19T20:53:44.429095Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 82 sessionId: sid_rand_71|da6276eb-fc607ff2-d721d031-95f655eb_0 is DEAD
2025-11-19T20:53:44.429238Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.429270Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.429279Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 83
2025-11-19T20:53:44.429408Z 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-11-19T20:53:44.429436Z 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]:37532
2025-11-19T20:53:44.429445Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=83 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.429448Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.429751Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 83 sessionId:  describe result for acl check
2025-11-19T20:53:44.429778Z 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-11-19T20:53:44.429791Z 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-11-19T20:53:44.429797Z 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-11-19T20:53:44.429800Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499570:2787] (SourceId=sid_rand_72, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.430220Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499570:2787] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.431710Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499570:2787] (SourceId=sid_rand_72, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.431769Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499586:2787] connected; active server actors: 1
2025-11-19T20:53:44.431782Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499570:2787] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_72
2025-11-19T20:53:44.431786Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499570:2787] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.431828Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499586:2787] disconnected.
2025-11-19T20:53:44.431836Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499586:2787] disconnected; active server actors: 1
2025-11-19T20:53:44.431838Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499586:2787] disconnected no session
2025-11-19T20:53:44.434195Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499570:2787] (SourceId=sid_rand_72, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.434209Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499570:2787] (SourceId=sid_rand_72, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-19T20:53:44.434212Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499570:2787] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.434219Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 83 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-19T20:53:44.434429Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.434537Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_72|20b2ff73-68c28bcd-9930a281-c4b8b74f_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_72
2025-11-19T20:53:44.434840Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 83 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_72|20b2ff73-68c28bcd-9930a281-c4b8b74f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_72|20b2ff73-68c28bcd-9930a281-c4b8b74f_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.435331Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId: sid_rand_72|20b2ff73-68c28bcd-9930a281-c4b8b74f_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.435337Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 83 sessionId: sid_rand_72|20b2ff73-68c28bcd-9930a281-c4b8b74f_0 grpc read failed
2025-11-19T20:53:44.435340Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 83 sessionId: sid_rand_72|20b2ff73-68c28bcd-9930a281-c4b8b74f_0 grpc closed
2025-11-19T20:53:44.435344Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 83 sessionId: sid_rand_72|20b2ff73-68c28bcd-9930a281-c4b8b74f_0 is DEAD
2025-11-19T20:53:44.435513Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.435546Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.435552Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 84
2025-11-19T20:53:44.435610Z 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-11-19T20:53:44.435628Z 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]:37532
2025-11-19T20:53:44.435633Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=84 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.435635Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.435986Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 84 sessionId:  describe result for acl check
2025-11-19T20:53:44.436011Z 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-11-19T20:53:44.436012Z 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-11-19T20:53:44.436013Z 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-11-19T20:53:44.436016Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499606:2791] (SourceId=sid_rand_73, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.436420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499606:2791] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.438051Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499606:2791] (SourceId=sid_rand_73, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.438106Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499622:2791] connected; active server actors: 1
2025-11-19T20:53:44.438124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499606:2791] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_73
2025-11-19T20:53:44.438158Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499606:2791] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.438213Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499622:2791] disconnected.
2025-11-19T20:53:44.438222Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499622:2791] disconnected; active server actors: 1
2025-11-19T20:53:44.438225Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499622:2791] disconnected no session
2025-11-19T20:53:44.440417Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499606:2791] (SourceId=sid_rand_73, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.440430Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499606:2791] (SourceId=sid_rand_73, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-19T20:53:44.440433Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499606:2791] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.440439Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 84 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-19T20:53:44.440714Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-19T20:53:44.440829Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_73|596180af-cd62ae93-51554fa8-813d5d37_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_73
2025-11-19T20:53:44.441114Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 84 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_73|596180af-cd62ae93-51554fa8-813d5d37_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_73|596180af-cd62ae93-51554fa8-813d5d37_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T20:53:44.441752Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId: sid_rand_73|596180af-cd62ae93-51554fa8-813d5d37_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.441760Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 84 sessionId: sid_rand_73|596180af-cd62ae93-51554fa8-813d5d37_0 grpc read failed
2025-11-19T20:53:44.441765Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 84 sessionId: sid_rand_73|596180af-cd62ae93-51554fa8-813d5d37_0 grpc closed
2025-11-19T20:53:44.441769Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 84 sessionId: sid_rand_73|596180af-cd62ae93-51554fa8-813d5d37_0 is DEAD
2025-11-19T20:53:44.441849Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T20:53:44.441861Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 85
2025-11-19T20:53:44.441967Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-19T20:53:44.442008Z 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-11-19T20:53:44.442039Z 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]:37532
2025-11-19T20:53:44.442046Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=85 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:37532 proto=v1  topic=topic1 durationSec=0
2025-11-19T20:53:44.442050Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T20:53:44.442450Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 85 sessionId:  describe result for acl check
2025-11-19T20:53:44.442484Z 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-11-19T20:53:44.442490Z 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-11-19T20:53:44.442492Z 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-11-19T20:53:44.442497Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574542582384499642:2795] (SourceId=sid_rand_74, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T20:53:44.442962Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574542582384499642:2795] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Select from the table
2025-11-19T20:53:44.444593Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574542582384499642:2795] (SourceId=sid_rand_74, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T20:53:44.444658Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499658:2795] connected; active server actors: 1
2025-11-19T20:53:44.444678Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574542582384499642:2795] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_74
2025-11-19T20:53:44.444683Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574542582384499642:2795] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Update the table
2025-11-19T20:53:44.444746Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499658:2795] disconnected.
2025-11-19T20:53:44.444754Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499658:2795] disconnected; active server actors: 1
2025-11-19T20:53:44.444757Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574542582384499658:2795] disconnected no session
2025-11-19T20:53:44.446971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574542582384499642:2795] (SourceId=sid_rand_74, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T20:53:44.446984Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574542582384499642:2795] (SourceId=sid_rand_74, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-19T20:53:44.446987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574542582384499642:2795] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Start idle
2025-11-19T20:53:44.446992Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 85 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-19T20:53:44.447092Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-19T20:53:44.447149Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_74|6282d3ab-6a9b593b-22f2acee-241958b0_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_74
2025-11-19T20:53:44.447266Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 85 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_74|6282d3ab-6a9b593b-22f2acee-241958b0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_74|6282d3ab-6a9b593b-22f2acee-241958b0_0" topic: "topic1" cluster: "dc1" partition_id: 6 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:6
Round robin check: 5:6
Round robin check: 6:6
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:5
Round robin check: 13:5
Round robin check: 14:5
2025-11-19T20:53:44.447796Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId: sid_rand_74|6282d3ab-6a9b593b-22f2acee-241958b0_0 grpc read done: success: 0 data: 
2025-11-19T20:53:44.447807Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 85 sessionId: sid_rand_74|6282d3ab-6a9b593b-22f2acee-241958b0_0 grpc read failed
2025-11-19T20:53:44.447811Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 85 sessionId: sid_rand_74|6282d3ab-6a9b593b-22f2acee-241958b0_0 grpc closed
2025-11-19T20:53:44.447816Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 85 sessionId: sid_rand_74|6282d3ab-6a9b593b-22f2acee-241958b0_0 is DEAD
2025-11-19T20:53:44.448080Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
