2025-11-19T11:45:24.041769Z node 17 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[17:7574401275809528591:2082];send_to=[0:7307199536658146131:7762515];
2025-11-19T11:45:24.041946Z 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-19T11:45:24.044656Z 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-19T11:45:24.045916Z node 17 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-11-19T11:45:24.046825Z node 18 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[18:7574401276056558616:2086];send_to=[0:7307199536658146131:7762515];
2025-11-19T11:45:24.046975Z 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;
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/oai3/002d79/r3tmp/tmpzVUSd4/pdisk_1.dat
2025-11-19T11:45:24.049489Z node 18 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-11-19T11:45:24.053083Z 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-19T11:45:24.063047Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
TServer::EnableGrpc on GrpcPort 6301, node 17
2025-11-19T11:45:24.080703Z 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/oai3/002d79/r3tmp/yandexukBTSi.tmp
2025-11-19T11:45:24.080717Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/oai3/002d79/r3tmp/yandexukBTSi.tmp
2025-11-19T11:45:24.080776Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/oai3/002d79/r3tmp/yandexukBTSi.tmp
2025-11-19T11:45:24.080802Z node 17 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-11-19T11:45:24.082626Z INFO: TTestServer started on Port 12004 GrpcPort 6301
TClient is connected to server localhost:12004
PQClient connected to localhost:6301
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-19T11:45:24.145835Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-11-19T11:45:24.145872Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-11-19T11:45:24.148912Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-11-19T11:45:24.148933Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Disconnected -> Connecting
waiting...
2025-11-19T11:45:24.149535Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-11-19T11:45:24.149729Z 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)
2025-11-19T11:45:24.150327Z node 17 :HIVE WARN: hive_impl.cpp:811: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 18 Cookie 18
2025-11-19T11:45:24.150571Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Connecting -> Connected
waiting...
waiting...
2025-11-19T11:45:24.168055Z 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...
2025-11-19T11:45:24.194979Z 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
waiting...
2025-11-19T11:45:24.243500Z 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-19T11:45:24.474144Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7574401275809529564:2326], 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-19T11:45:24.474174Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-19T11:45:24.474363Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7574401275809529597:2329], 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-19T11:45:24.474375Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7574401275809529598:2330], 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-19T11:45:24.474399Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-19T11:45:24.475320Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateResourcePool, opId: 281474976720662: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-19T11:45:24.475568Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7574401275809529630:2333], 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-19T11:45:24.475580Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-19T11:45:24.475730Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7574401275809529635:2334], 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-19T11:45:24.475738Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-19T11:45:24.482243Z node 17 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [17:7574401275809529601:2331], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976720662 completed, doublechecking }
2025-11-19T11:45:24.482649Z 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-19T11:45:24.488859Z node 18 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:615: Compilation failed, self: [18:7574401276056558990:2305], 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-19T11:45:24.489041Z node 18 :KQP_SESSION WARN: kqp_session_actor.cpp:2517: SessionId: ydb://session/3?node_id=18&id=ZWY5MzFiM2UtOTU2ZTM4NjktMTQ0ZDg5OTgtZjMwMjNlYTQ=, ActorId: [18:7574401276056558949:2298], ActorState: ExecuteState, TraceId: 01kadyy1g1bww9enpa35154p2c, 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-19T11:45:24.489438Z 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: 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-19T11:45:24.503885Z 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)
2025-11-19T11:45:24.540354Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720665:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
2025-11-19T11:45:24.551612Z node 17 :TX_PROXY ERROR: schemereq.cpp:593: Actor# [17:7574401275809530000:2960] txid# 281474976720666, 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 }
=== 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-19T11:45:24.589605Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976720667. Ctx: { TraceId: 01kadyy1jn30twh9n8byb3ps2p, Database: , SessionId: ydb://session/3?node_id=17&id=YWE2MDIzNi1hYWZjMDQ1ZS1lY2YwZTg1Ni1lOTkyMWI5OA==, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [17:7574401275809530124:3045] 
2025-11-19T11:45:25.043680Z 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-19T11:45:25.048769Z 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-19T11:45:29.041857Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[17:7574401275809528591:2082];send_to=[0:7307199536658146131:7762515];
2025-11-19T11:45:29.041900Z 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-19T11:45:29.046926Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[18:7574401276056558616:2086];send_to=[0:7307199536658146131:7762515];
2025-11-19T11:45:29.046962Z 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:6301
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-19T11:45:29.825883Z 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:6301
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: 281474976720674
  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-19T11:45:29.837233Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-19T11:45:29.837268Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037893] doesn't have tx writes info
2025-11-19T11:45:29.837912Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][] pipe [17:7574401297284367071:3304] connected; active server actors: 1
2025-11-19T11:45:29.838280Z node 18 :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-19T11:45:29.838472Z node 18 :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-19T11:45:29.838719Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-19T11:45:29.838737Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037892] doesn't have tx writes info
2025-11-19T11:45:29.838999Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:404: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037892, NodeId 18, Generation 1
2025-11-19T11:45:29.839312Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:404: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037893, NodeId 17, Generation 1
2025-11-19T11:45:29.839662Z node 18 :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-19T11:45:29.842217Z node 17 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037893][Partition][9][StateInit] bootstrapping 9 [17:7574401297284367154:2467]
2025-11-19T11:45:29.842829Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][9][StateInit] init complete for topic 'rt3.dc1--topic1' partition 9 generation 1 [17:7574401297284367154:2467]
2025-11-19T11:45:29.843013Z node 18 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037892][Partition][3][StateInit] bootstrapping 3 [18:7574401297531395762:2357]
2025-11-19T11:45:29.843156Z node 17 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037893][Partition][2][StateInit] bootstrapping 2 [17:7574401297284367155:2467]
2025-11-19T11:45:29.843588Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][2][StateInit] init complete for topic 'rt3.dc1--topic1' partition 2 generation 1 [17:7574401297284367155:2467]
2025-11-19T11:45:29.843765Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][3][StateInit] init complete for topic 'rt3.dc1--topic1' partition 3 generation 1 [18:7574401297531395762:2357]
2025-11-19T11:45:29.843898Z node 17 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037893][Partition][5][StateInit] bootstrapping 5 [17:7574401297284367157:2467]
2025-11-19T11:45:29.844149Z node 18 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [18:7574401297531395763:2357]
2025-11-19T11:45:29.844393Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][5][StateInit] init complete for topic 'rt3.dc1--topic1' partition 5 generation 1 [17:7574401297284367157:2467]
2025-11-19T11:45:29.844582Z node 17 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037893][Partition][7][StateInit] bootstrapping 7 [17:7574401297284367158:2467]
2025-11-19T11:45:29.844653Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][0][StateInit] init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [18:7574401297531395763:2357]
2025-11-19T11:45:29.844957Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][7][StateInit] init complete for topic 'rt3.dc1--topic1' partition 7 generation 1 [17:7574401297284367158:2467]
2025-11-19T11:45:29.844964Z node 18 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037892][Partition][1][StateInit] bootstrapping 1 [18:7574401297531395764:2357]
2025-11-19T11:45:29.845340Z node 17 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037893][Partition][4][StateInit] bootstrapping 4 [17:7574401297284367159:2467]
2025-11-19T11:45:29.845467Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][1][StateInit] init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [18:7574401297531395764:2357]
2025-11-19T11:45:29.845654Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][4][StateInit] init complete for topic 'rt3.dc1--topic1' partition 4 generation 1 [17:7574401297284367159:2467]
2025-11-19T11:45:29.845768Z node 18 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037892][Partition][6][StateInit] bootstrapping 6 [18:7574401297531395765:2357]
2025-11-19T11:45:29.846262Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][6][StateInit] init complete for topic 'rt3.dc1--topic1' partition 6 generation 1 [18:7574401297531395765:2357]
2025-11-19T11:45:29.846426Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976720675. Ctx: { TraceId: 01kadyy6q6dztdsdpg36zekkds, Database: , SessionId: ydb://session/3?node_id=17&id=M2MyNzI0OTctZGFlY2IwYzMtMWMxNTkzMTgtOGRmOTk0MDg=, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
2025-11-19T11:45:29.846543Z node 18 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037892][Partition][8][StateInit] bootstrapping 8 [18:7574401297531395766:2357]
2025-11-19T11:45:29.847060Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][8][StateInit] init complete for topic 'rt3.dc1--topic1' partition 8 generation 1 [18:7574401297531395766:2357]
2025-11-19T11:45:29.847828Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-19T11:45:29.849192Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
===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: 281474976720674
    CreateStep: 1763552729890
    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: 281474976720674
    CreateStep: 1763552729890
    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:6301
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-19T11:45:29.853241Z 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-19T11:45:29.854793Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:29.854808Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-11-19T11:45:29.854947Z 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-19T11:45:29.854987Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:33886
2025-11-19T11:45:29.854996Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:29.855000Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:29.855369Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-11-19T11:45:29.855400Z 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-19T11:45:29.855406Z 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-19T11:45:29.855407Z 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-19T11:45:29.855412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401297284367263:2477] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:29.855932Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401297284367263:2477] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:29.881677Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401297284367263:2477] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:29.881796Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401297284367294:2477] connected; active server actors: 1
2025-11-19T11:45:29.881904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401297284367263:2477] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=12345678
2025-11-19T11:45:29.881915Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401297284367263:2477] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:29.882015Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401297284367294:2477] disconnected.
2025-11-19T11:45:29.882024Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401297284367294:2477] disconnected; active server actors: 1
2025-11-19T11:45:29.882026Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401297284367294:2477] disconnected no session
2025-11-19T11:45:29.900194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401297284367263:2477] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:29.900211Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401297284367263:2477] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-19T11:45:29.900214Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401297284367263:2477] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:29.900223Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-19T11:45:29.900391Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:29.900435Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 12345678|e8e42c56-c938de8d-5c7e22de-c837b6af_0 generated for partition 5 topic 'rt3.dc1--topic1' owner 12345678
2025-11-19T11:45:29.900604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 5 MaxSeqNo: 0 sessionId: 12345678|e8e42c56-c938de8d-5c7e22de-c837b6af_0
2025-11-19T11:45:29.901088Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: 12345678|e8e42c56-c938de8d-5c7e22de-c837b6af_0 grpc read done: success: 0 data: 
2025-11-19T11:45:29.901099Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: 12345678|e8e42c56-c938de8d-5c7e22de-c837b6af_0 grpc read failed
2025-11-19T11:45:29.901182Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 1 sessionId: 12345678|e8e42c56-c938de8d-5c7e22de-c837b6af_0
2025-11-19T11:45:29.901194Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: 12345678|e8e42c56-c938de8d-5c7e22de-c837b6af_0 is DEAD
Finish: 0 
2025-11-19T11:45:29.901311Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:29.901604Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:29.901630Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-11-19T11:45:29.901841Z 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-19T11:45:29.901883Z 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]:33886
2025-11-19T11:45:29.901892Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:29.901895Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:29.902302Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-11-19T11:45:29.902341Z 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-19T11:45:29.902347Z 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-19T11:45:29.902349Z 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-19T11:45:29.902354Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401297284367319:2487] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:29.902956Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401297284367319:2487] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:29.904871Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401297284367319:2487] (SourceId=source, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:29.904986Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401297284367335:2487] connected; active server actors: 1
2025-11-19T11:45:29.905148Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401297284367319:2487] (SourceId=source, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=source
2025-11-19T11:45:29.905158Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401297284367319:2487] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:29.905259Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401297284367335:2487] disconnected.
2025-11-19T11:45:29.905267Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401297284367335:2487] disconnected; active server actors: 1
2025-11-19T11:45:29.905270Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401297284367335:2487] disconnected no session
2025-11-19T11:45:29.908146Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401297284367319:2487] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:29.908157Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401297284367319:2487] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-19T11:45:29.908160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401297284367319:2487] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:29.908167Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-19T11:45:29.908359Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:29.908448Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|cfaa74d6-5e2ef711-a26b3e45-f1d88f6e_0 generated for partition 6 topic 'rt3.dc1--topic1' owner source
2025-11-19T11:45:29.908817Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 6 MaxSeqNo: 0 sessionId: source|cfaa74d6-5e2ef711-a26b3e45-f1d88f6e_0
request: { write_request { sequence_numbers: 2 created_at_ms: 1763552729909 sent_at_ms: 1763552729909 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-19T11:45:29.909325Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|cfaa74d6-5e2ef711-a26b3e45-f1d88f6e_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T11:45:29.909414Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T11:45:29.909573Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
2025-11-19T11:45:29.910920Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 3 created_at_ms: 1763552729911 sent_at_ms: 1763552729911 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-19T11:45:29.911266Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|cfaa74d6-5e2ef711-a26b3e45-f1d88f6e_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T11:45:29.911331Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T11:45:29.911504Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
2025-11-19T11:45:29.912504Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 4 created_at_ms: 1763552729912 sent_at_ms: 1763552729912 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-19T11:45:29.912841Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|cfaa74d6-5e2ef711-a26b3e45-f1d88f6e_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T11:45:29.912913Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T11:45:29.913080Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
2025-11-19T11:45:29.913952Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 5 created_at_ms: 1763552729914 sent_at_ms: 1763552729914 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-19T11:45:29.914259Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|cfaa74d6-5e2ef711-a26b3e45-f1d88f6e_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T11:45:29.914323Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T11:45:29.914500Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
2025-11-19T11:45:29.915365Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
2025-11-19T11:45:29.915707Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|cfaa74d6-5e2ef711-a26b3e45-f1d88f6e_0 grpc read done: success: 0 data: 
2025-11-19T11:45:29.915718Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: source|cfaa74d6-5e2ef711-a26b3e45-f1d88f6e_0 grpc read failed
2025-11-19T11:45:29.915798Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 2 sessionId: source|cfaa74d6-5e2ef711-a26b3e45-f1d88f6e_0
2025-11-19T11:45:29.915809Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: source|cfaa74d6-5e2ef711-a26b3e45-f1d88f6e_0 is DEAD
1 0 
2025-11-19T11:45:29.915896Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
CallPersQueueGRPC request to localhost:6301
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-19T11:45:29.916801Z 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:6301
MetaRequest {
  CmdChangeTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 15
  }
}
2025-11-19T11:45:29.917970Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterPersQueueGroup, opId: 281474976720680: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: 281474976720680
  SchemeShardTabletId: 72057594046644480
}
ErrorCode: OK
Alter got 1
2025-11-19T11:45:29.921940Z node 18 :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-19T11:45:29.923451Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-19T11:45:29.923473Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037895] doesn't have tx writes info
2025-11-19T11:45:29.927425Z node 17 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037895][Partition][11][StateInit] bootstrapping 11 [17:7574401297284367492:2498]
2025-11-19T11:45:29.928121Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][11][StateInit] init complete for topic 'rt3.dc1--topic1' partition 11 generation 1 [17:7574401297284367492:2498]
2025-11-19T11:45:29.928528Z node 17 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037895][Partition][13][StateInit] bootstrapping 13 [17:7574401297284367494:2498]
2025-11-19T11:45:29.928664Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-19T11:45:29.929083Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][13][StateInit] init complete for topic 'rt3.dc1--topic1' partition 13 generation 1 [17:7574401297284367494:2498]
2025-11-19T11:45:29.929417Z node 17 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037895][Partition][14][StateInit] bootstrapping 14 [17:7574401297284367495:2498]
2025-11-19T11:45:29.929927Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][14][StateInit] init complete for topic 'rt3.dc1--topic1' partition 14 generation 1 [17:7574401297284367495:2498]
2025-11-19T11:45:29.930240Z node 17 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037895][Partition][12][StateInit] bootstrapping 12 [17:7574401297284367497:2498]
2025-11-19T11:45:29.930756Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][12][StateInit] init complete for topic 'rt3.dc1--topic1' partition 12 generation 1 [17:7574401297284367497:2498]
2025-11-19T11:45:29.931079Z node 17 :PERSQUEUE INFO: partition_init.cpp:1107: [72075186224037895][Partition][10][StateInit] bootstrapping 10 [17:7574401297284367498:2498]
2025-11-19T11:45:29.931569Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][10][StateInit] init complete for topic 'rt3.dc1--topic1' partition 10 generation 1 [17:7574401297284367498:2498]
2025-11-19T11:45:29.932746Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976720681. Ctx: { TraceId: 01kadyy6t16h2teprdhmg5btzq, Database: , SessionId: ydb://session/3?node_id=17&id=MzljMGU5ODUtN2UwMWJjNzMtOTcwZDRjNS1hMzFjZWNkNg==, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
2025-11-19T11:45:29.933581Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-19T11:45:29.934462Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
CallPersQueueGRPC request to localhost:6301
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-19T11:45:29.937204Z 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: 281474976720674
    CreateStep: 1763552729890
    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: 281474976720674
    CreateStep: 1763552729890
    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-19T11:45:29.938927Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:29.938948Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-11-19T11:45:29.939103Z 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-19T11:45:29.939145Z 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]:33886
2025-11-19T11:45:29.939154Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:29.939159Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:29.939561Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-11-19T11:45:29.939599Z 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-19T11:45:29.939605Z 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-19T11:45:29.939607Z 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-19T11:45:29.939613Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401297284367620:2505] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:29.940150Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401297284367620:2505] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:29.942509Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401297284367620:2505] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:29.945895Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401297284367620:2505] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:29.945910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401297284367620:2505] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=0
2025-11-19T11:45:29.945914Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401297284367620:2505] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:29.945922Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-19T11:45:29.946260Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:29.946376Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|af74b81-5aee0af3-38ea89d3-f6d6fbf5_0 generated for partition 6 topic 'rt3.dc1--topic1' owner source
2025-11-19T11:45:29.946671Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 6 MaxSeqNo: 5 sessionId: source|af74b81-5aee0af3-38ea89d3-f6d6fbf5_0
request: { write_request { sequence_numbers: 6 created_at_ms: 1763552729946 sent_at_ms: 1763552729946 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-19T11:45:29.947181Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|af74b81-5aee0af3-38ea89d3-f6d6fbf5_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T11:45:29.947284Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T11:45:29.947472Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
2025-11-19T11:45:29.948948Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 7 created_at_ms: 1763552729949 sent_at_ms: 1763552729949 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-19T11:45:29.949362Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|af74b81-5aee0af3-38ea89d3-f6d6fbf5_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T11:45:29.949431Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T11:45:29.949689Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
2025-11-19T11:45:29.953568Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 8 created_at_ms: 1763552729953 sent_at_ms: 1763552729953 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-19T11:45:29.954117Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|af74b81-5aee0af3-38ea89d3-f6d6fbf5_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T11:45:29.954221Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T11:45:29.954453Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
2025-11-19T11:45:29.955712Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 9 created_at_ms: 1763552729955 sent_at_ms: 1763552729955 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-19T11:45:29.956064Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|af74b81-5aee0af3-38ea89d3-f6d6fbf5_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T11:45:29.956141Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T11:45:29.956323Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
2025-11-19T11:45:29.957482Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
2025-11-19T11:45:29.957801Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|af74b81-5aee0af3-38ea89d3-f6d6fbf5_0 grpc read done: success: 0 data: 
2025-11-19T11:45:29.957812Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: source|af74b81-5aee0af3-38ea89d3-f6d6fbf5_0 grpc read failed
2025-11-19T11:45:29.957917Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 3 sessionId: source|af74b81-5aee0af3-38ea89d3-f6d6fbf5_0
2025-11-19T11:45:29.957927Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: source|af74b81-5aee0af3-38ea89d3-f6d6fbf5_0 is DEAD
1 0 
2025-11-19T11:45:29.958080Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:29.958400Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:29.958414Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 4
2025-11-19T11:45:29.958547Z 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-19T11:45:29.958586Z 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]:33886
2025-11-19T11:45:29.958595Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:29.958600Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:29.959065Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 4 sessionId:  describe result for acl check
2025-11-19T11:45:29.959112Z 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-19T11:45:29.959120Z 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-19T11:45:29.959122Z 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-19T11:45:29.959129Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401297284367656:2509] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:29.959845Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401297284367656:2509] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:29.962662Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401297284367656:2509] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:29.966116Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401297284367656:2509] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:29.966130Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401297284367656:2509] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=0
2025-11-19T11:45:29.966133Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401297284367656:2509] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:29.966141Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 4 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-19T11:45:29.966427Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:29.966549Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|d8ad3a59-17455a2c-ebb16e06-c89a942f_0 generated for partition 6 topic 'rt3.dc1--topic1' owner source
2025-11-19T11:45:29.966893Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 4 partition: 6 MaxSeqNo: 9 sessionId: source|d8ad3a59-17455a2c-ebb16e06-c89a942f_0
request: { write_request { sequence_numbers: 10 sequence_numbers: 11 sequence_numbers: 12 sequence_numbers: 13 sequence_numbers: 14 created_at_ms: 1763552729967 created_at_ms: 1763552729967 created_at_ms: 1763552729967 created_at_ms: 1763552729967 created_at_ms: 1763552729967 sent_at_ms: 1763552729967 sent_at_ms: 1763552729967 sent_at_ms: 1763552729967 sent_at_ms: 1763552729967 sent_at_ms: 1763552729967 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-19T11:45:29.967494Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|d8ad3a59-17455a2c-ebb16e06-c89a942f_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T11:45:29.967622Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T11:45:29.967831Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
2025-11-19T11:45:29.970030Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 15 sequence_numbers: 16 sequence_numbers: 17 sequence_numbers: 18 sequence_numbers: 19 created_at_ms: 1763552729970 created_at_ms: 1763552729970 created_at_ms: 1763552729970 created_at_ms: 1763552729970 created_at_ms: 1763552729970 sent_at_ms: 1763552729970 sent_at_ms: 1763552729970 sent_at_ms: 1763552729970 sent_at_ms: 1763552729970 sent_at_ms: 1763552729970 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-19T11:45:29.970719Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|d8ad3a59-17455a2c-ebb16e06-c89a942f_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T11:45:29.970843Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T11:45:29.971037Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
2025-11-19T11:45:29.972675Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 20 sequence_numbers: 21 sequence_numbers: 22 sequence_numbers: 23 sequence_numbers: 24 created_at_ms: 1763552729972 created_at_ms: 1763552729972 created_at_ms: 1763552729972 created_at_ms: 1763552729972 created_at_ms: 1763552729972 sent_at_ms: 1763552729972 sent_at_ms: 1763552729972 sent_at_ms: 1763552729972 sent_at_ms: 1763552729972 sent_at_ms: 1763552729972 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-19T11:45:29.973182Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|d8ad3a59-17455a2c-ebb16e06-c89a942f_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T11:45:29.973283Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T11:45:29.973487Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
2025-11-19T11:45:29.974735Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 25 sequence_numbers: 26 sequence_numbers: 27 sequence_numbers: 28 sequence_numbers: 29 created_at_ms: 1763552729974 created_at_ms: 1763552729974 created_at_ms: 1763552729974 created_at_ms: 1763552729974 created_at_ms: 1763552729974 sent_at_ms: 1763552729974 sent_at_ms: 1763552729974 sent_at_ms: 1763552729974 sent_at_ms: 1763552729974 sent_at_ms: 1763552729974 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-19T11:45:29.975177Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|d8ad3a59-17455a2c-ebb16e06-c89a942f_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-19T11:45:29.975297Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-19T11:45:29.975472Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
2025-11-19T11:45:29.976533Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::IEventHandle
2025-11-19T11:45:29.976823Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|d8ad3a59-17455a2c-ebb16e06-c89a942f_0 grpc read done: success: 0 data: 
2025-11-19T11:45:29.976830Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 4 sessionId: source|d8ad3a59-17455a2c-ebb16e06-c89a942f_0 grpc read failed
2025-11-19T11:45:29.976902Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 4 sessionId: source|d8ad3a59-17455a2c-ebb16e06-c89a942f_0
2025-11-19T11:45:29.976909Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 4 sessionId: source|d8ad3a59-17455a2c-ebb16e06-c89a942f_0 is DEAD
1 0 
2025-11-19T11:45:29.977063Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:29.977362Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:29.977375Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 5
2025-11-19T11:45:29.977495Z 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-19T11:45:29.977530Z 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]:33886
2025-11-19T11:45:29.977539Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic2 durationSec=0
2025-11-19T11:45:29.977542Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:29.977826Z 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-19T11:45:29.977918Z 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-19T11:45:29.978381Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:29.978390Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 6
2025-11-19T11:45:29.978499Z 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-19T11:45:29.978530Z 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]:33886
2025-11-19T11:45:29.978537Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:29.978540Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:29.978918Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 6 sessionId:  describe result for acl check
2025-11-19T11:45:29.978949Z 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-19T11:45:29.978956Z 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-19T11:45:29.978958Z 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-19T11:45:29.978964Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401297284367701:2516] (SourceId=sid1, PreferedPartition=1) StartKqpSession
2025-11-19T11:45:29.979537Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401297284367701:2516] (SourceId=sid1, PreferedPartition=1) Select from the table
2025-11-19T11:45:29.981662Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401297284367701:2516] (SourceId=sid1, PreferedPartition=1) Update the table
2025-11-19T11:45:29.985061Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401297284367701:2516] (SourceId=sid1, PreferedPartition=1) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:29.985077Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401297284367701:2516] (SourceId=sid1, PreferedPartition=1) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-19T11:45:29.985081Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401297284367701:2516] (SourceId=sid1, PreferedPartition=1) Start idle
2025-11-19T11:45:29.985088Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 6 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-19T11:45:29.985396Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:29.985524Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|aae57181-4b4fd0-b85d3388-67ea1686_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-11-19T11:45:29.985911Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 6 partition: 1 MaxSeqNo: 0 sessionId: sid1|aae57181-4b4fd0-b85d3388-67ea1686_0
Init result: { status: SUCCESS init_response { session_id: "sid1|aae57181-4b4fd0-b85d3388-67ea1686_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:29.986705Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId: sid1|aae57181-4b4fd0-b85d3388-67ea1686_0 grpc read done: success: 0 data: 
2025-11-19T11:45:29.986714Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 6 sessionId: sid1|aae57181-4b4fd0-b85d3388-67ea1686_0 grpc read failed
2025-11-19T11:45:29.986720Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 6 sessionId: sid1|aae57181-4b4fd0-b85d3388-67ea1686_0 grpc closed
2025-11-19T11:45:29.986725Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 6 sessionId: sid1|aae57181-4b4fd0-b85d3388-67ea1686_0 is DEAD
2025-11-19T11:45:29.986996Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:29.987007Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 7
2025-11-19T11:45:29.987033Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:29.987115Z 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-19T11:45:29.987158Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 7 topic: "topic1" message_group_id: "sid1" from ipv6:[::1]:33886
2025-11-19T11:45:29.987167Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:29.987171Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:29.987519Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 7 sessionId:  describe result for acl check
2025-11-19T11:45:29.987551Z 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-19T11:45:29.987553Z 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-19T11:45:29.987554Z 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-19T11:45:29.987559Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401297284367733:2520] (SourceId=sid1, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:29.988099Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401297284367733:2520] (SourceId=sid1, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:29.990107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401297284367733:2520] (SourceId=sid1, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:29.993290Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401297284367733:2520] (SourceId=sid1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:29.993304Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401297284367733:2520] (SourceId=sid1, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2025-11-19T11:45:29.993308Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401297284367733:2520] (SourceId=sid1, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:29.993315Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-19T11:45:29.993575Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:29.993690Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|5dc0359b-e64804b1-743f236d-81e94d57_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-11-19T11:45:29.994036Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: sid1|5dc0359b-e64804b1-743f236d-81e94d57_0
Init result: { status: SUCCESS init_response { session_id: "sid1|5dc0359b-e64804b1-743f236d-81e94d57_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:29.994797Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId: sid1|5dc0359b-e64804b1-743f236d-81e94d57_0 grpc read done: success: 0 data: 
2025-11-19T11:45:29.994806Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 7 sessionId: sid1|5dc0359b-e64804b1-743f236d-81e94d57_0 grpc read failed
2025-11-19T11:45:29.994812Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 7 sessionId: sid1|5dc0359b-e64804b1-743f236d-81e94d57_0 grpc closed
2025-11-19T11:45:29.994817Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 7 sessionId: sid1|5dc0359b-e64804b1-743f236d-81e94d57_0 is DEAD
2025-11-19T11:45:29.994909Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:29.994920Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 8
2025-11-19T11:45:29.995079Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:29.995124Z 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-19T11:45:29.995161Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 8 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:33886
2025-11-19T11:45:29.995170Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:29.995174Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:29.995609Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 8 sessionId:  describe result for acl check
2025-11-19T11:45:29.995651Z 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-19T11:45:29.995658Z 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-19T11:45:29.995660Z 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-19T11:45:29.995674Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401297284367765:2524] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:29.996258Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401297284367765:2524] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:29.998167Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401297284367765:2524] (SourceId=sidx, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:29.998403Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401297284367781:2524] connected; active server actors: 1
2025-11-19T11:45:29.998490Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401297284367765:2524] (SourceId=sidx, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sidx
2025-11-19T11:45:29.998502Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401297284367765:2524] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:29.998603Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401297284367781:2524] disconnected.
2025-11-19T11:45:29.998612Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401297284367781:2524] disconnected; active server actors: 1
2025-11-19T11:45:29.998616Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401297284367781:2524] disconnected no session
2025-11-19T11:45:30.002110Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401297284367765:2524] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.002126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401297284367765:2524] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-19T11:45:30.002130Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401297284367765:2524] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.002140Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 8 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-19T11:45:30.002342Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.002414Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|cd075485-29f7defa-e78b36a5-e0df47ef_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sidx
2025-11-19T11:45:30.002569Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 8 partition: 7 MaxSeqNo: 0 sessionId: sidx|cd075485-29f7defa-e78b36a5-e0df47ef_0
Init result: { status: SUCCESS init_response { session_id: "sidx|cd075485-29f7defa-e78b36a5-e0df47ef_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.003401Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId: sidx|cd075485-29f7defa-e78b36a5-e0df47ef_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.003423Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 8 sessionId: sidx|cd075485-29f7defa-e78b36a5-e0df47ef_0 grpc read failed
2025-11-19T11:45:30.003430Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 8 sessionId: sidx|cd075485-29f7defa-e78b36a5-e0df47ef_0 grpc closed
2025-11-19T11:45:30.003434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 8 sessionId: sidx|cd075485-29f7defa-e78b36a5-e0df47ef_0 is DEAD
2025-11-19T11:45:30.003545Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.003554Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 9
2025-11-19T11:45:30.003704Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.003731Z 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-19T11:45:30.003755Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 9 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:33886
2025-11-19T11:45:30.003760Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.003764Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.004267Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 9 sessionId:  describe result for acl check
2025-11-19T11:45:30.004320Z 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-19T11:45:30.004327Z 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-19T11:45:30.004329Z 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-19T11:45:30.004336Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335098:2528] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.004976Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335098:2528] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.007075Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335098:2528] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.010913Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335098:2528] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.010928Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335098:2528] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=0
2025-11-19T11:45:30.010932Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335098:2528] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.010940Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 9 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-19T11:45:30.011123Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.011165Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|3dee1884-65e78e88-a25f8c29-3189c8af_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sidx
2025-11-19T11:45:30.011343Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 9 partition: 7 MaxSeqNo: 0 sessionId: sidx|3dee1884-65e78e88-a25f8c29-3189c8af_0
Init result: { status: SUCCESS init_response { session_id: "sidx|3dee1884-65e78e88-a25f8c29-3189c8af_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.012124Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId: sidx|3dee1884-65e78e88-a25f8c29-3189c8af_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.012136Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 9 sessionId: sidx|3dee1884-65e78e88-a25f8c29-3189c8af_0 grpc read failed
2025-11-19T11:45:30.012144Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 9 sessionId: sidx|3dee1884-65e78e88-a25f8c29-3189c8af_0 grpc closed
2025-11-19T11:45:30.012149Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 9 sessionId: sidx|3dee1884-65e78e88-a25f8c29-3189c8af_0 is DEAD
2025-11-19T11:45:30.012292Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.012304Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 10
2025-11-19T11:45:30.012423Z 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-19T11:45:30.012424Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.012454Z 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]:33886
2025-11-19T11:45:30.012458Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.012463Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.012873Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 10 sessionId:  describe result for acl check
2025-11-19T11:45:30.012911Z 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-19T11:45:30.012914Z 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-19T11:45:30.012916Z 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-19T11:45:30.012920Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335131:2532] (SourceId=sid1, PreferedPartition=2) StartKqpSession
2025-11-19T11:45:30.013820Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335131:2532] (SourceId=sid1, PreferedPartition=2) Select from the table
2025-11-19T11:45:30.016261Z node 17 :PQ_PARTITION_CHOOSER INFO: partition_chooser_impl__abstract_chooser_actor.h:312: TPartitionChooser [17:7574401301579335131:2532] (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-19T11:45:30.016283Z 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-19T11:45:30.016427Z 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-19T11:45:30.017685Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.017699Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 11
2025-11-19T11:45:30.017821Z 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-19T11:45:30.017852Z 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]:33886
2025-11-19T11:45:30.017863Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=11 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.017867Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.018328Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 11 sessionId:  describe result for acl check
2025-11-19T11:45:30.018371Z 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-19T11:45:30.018378Z 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-19T11:45:30.018380Z 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-19T11:45:30.018385Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335154:2536] (SourceId=sid_rand_0, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.018929Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335154:2536] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.021219Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335154:2536] (SourceId=sid_rand_0, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.021484Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335170:2536] connected; active server actors: 1
2025-11-19T11:45:30.021622Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335154:2536] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_0
2025-11-19T11:45:30.021633Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335154:2536] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.021736Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335170:2536] disconnected.
2025-11-19T11:45:30.021744Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335170:2536] disconnected; active server actors: 1
2025-11-19T11:45:30.021747Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335170:2536] disconnected no session
2025-11-19T11:45:30.025249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335154:2536] (SourceId=sid_rand_0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.025263Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335154:2536] (SourceId=sid_rand_0, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-19T11:45:30.025267Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335154:2536] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.025275Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 11 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-19T11:45:30.025580Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.025694Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_0|dbe8a269-e8e80847-e83a1f5a-f614c3c6_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_0
2025-11-19T11:45:30.026001Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 11 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_0|dbe8a269-e8e80847-e83a1f5a-f614c3c6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_0|dbe8a269-e8e80847-e83a1f5a-f614c3c6_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.026679Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId: sid_rand_0|dbe8a269-e8e80847-e83a1f5a-f614c3c6_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.026688Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 11 sessionId: sid_rand_0|dbe8a269-e8e80847-e83a1f5a-f614c3c6_0 grpc read failed
2025-11-19T11:45:30.026695Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 11 sessionId: sid_rand_0|dbe8a269-e8e80847-e83a1f5a-f614c3c6_0 grpc closed
2025-11-19T11:45:30.026699Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 11 sessionId: sid_rand_0|dbe8a269-e8e80847-e83a1f5a-f614c3c6_0 is DEAD
2025-11-19T11:45:30.026949Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.026960Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 12
2025-11-19T11:45:30.027000Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.027041Z 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-19T11:45:30.027080Z 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]:33886
2025-11-19T11:45:30.027085Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=12 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.027089Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.027484Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 12 sessionId:  describe result for acl check
2025-11-19T11:45:30.027512Z 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-19T11:45:30.027519Z 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-19T11:45:30.027521Z 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-19T11:45:30.027526Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335187:2540] (SourceId=sid_rand_1, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.028080Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335187:2540] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.029635Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335187:2540] (SourceId=sid_rand_1, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.029763Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335203:2540] connected; active server actors: 1
2025-11-19T11:45:30.029988Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335187:2540] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_1
2025-11-19T11:45:30.029999Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335187:2540] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.030088Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335203:2540] disconnected.
2025-11-19T11:45:30.030098Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335203:2540] disconnected; active server actors: 1
2025-11-19T11:45:30.030101Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335203:2540] disconnected no session
2025-11-19T11:45:30.035883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335187:2540] (SourceId=sid_rand_1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.035898Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335187:2540] (SourceId=sid_rand_1, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-19T11:45:30.035902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335187:2540] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.035911Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 12 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-19T11:45:30.036077Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.036134Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_1|56526d3d-95d36fe3-8154c674-5c536d17_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_1
2025-11-19T11:45:30.036277Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 12 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_1|56526d3d-95d36fe3-8154c674-5c536d17_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_1|56526d3d-95d36fe3-8154c674-5c536d17_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.037068Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId: sid_rand_1|56526d3d-95d36fe3-8154c674-5c536d17_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.037079Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 12 sessionId: sid_rand_1|56526d3d-95d36fe3-8154c674-5c536d17_0 grpc read failed
2025-11-19T11:45:30.037087Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 12 sessionId: sid_rand_1|56526d3d-95d36fe3-8154c674-5c536d17_0 grpc closed
2025-11-19T11:45:30.037092Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 12 sessionId: sid_rand_1|56526d3d-95d36fe3-8154c674-5c536d17_0 is DEAD
2025-11-19T11:45:30.037236Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.037249Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 13
2025-11-19T11:45:30.037400Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.037415Z 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-19T11:45:30.037439Z 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]:33886
2025-11-19T11:45:30.037443Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=13 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.037447Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.037835Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 13 sessionId:  describe result for acl check
2025-11-19T11:45:30.037881Z 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-19T11:45:30.037888Z 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-19T11:45:30.037890Z 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-19T11:45:30.037895Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335221:2544] (SourceId=sid_rand_2, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.038467Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335221:2544] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.040873Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335221:2544] (SourceId=sid_rand_2, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.041035Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335237:2544] connected; active server actors: 1
2025-11-19T11:45:30.041176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335221:2544] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_2
2025-11-19T11:45:30.041185Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335221:2544] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.041337Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335237:2544] disconnected.
2025-11-19T11:45:30.041348Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335237:2544] disconnected; active server actors: 1
2025-11-19T11:45:30.041351Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335237:2544] disconnected no session
2025-11-19T11:45:30.044452Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335221:2544] (SourceId=sid_rand_2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.044467Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335221:2544] (SourceId=sid_rand_2, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-19T11:45:30.044471Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335221:2544] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.044479Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 13 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-19T11:45:30.044634Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.044686Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_2|9609fd8b-adde6112-6bf61ebb-88985010_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_2
2025-11-19T11:45:30.044845Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 13 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_2|9609fd8b-adde6112-6bf61ebb-88985010_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_2|9609fd8b-adde6112-6bf61ebb-88985010_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.045679Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId: sid_rand_2|9609fd8b-adde6112-6bf61ebb-88985010_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.045692Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 13 sessionId: sid_rand_2|9609fd8b-adde6112-6bf61ebb-88985010_0 grpc read failed
2025-11-19T11:45:30.045698Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 13 sessionId: sid_rand_2|9609fd8b-adde6112-6bf61ebb-88985010_0 grpc closed
2025-11-19T11:45:30.045717Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 13 sessionId: sid_rand_2|9609fd8b-adde6112-6bf61ebb-88985010_0 is DEAD
2025-11-19T11:45:30.045743Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.045753Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 14
2025-11-19T11:45:30.045834Z 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-19T11:45:30.045863Z 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]:33886
2025-11-19T11:45:30.045868Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=14 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.045872Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.046017Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.046275Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 14 sessionId:  describe result for acl check
2025-11-19T11:45:30.046306Z 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-19T11:45:30.046312Z 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-19T11:45:30.046314Z 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-19T11:45:30.046319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335259:2550] (SourceId=sid_rand_3, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.046917Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335259:2550] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.048788Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335259:2550] (SourceId=sid_rand_3, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.048902Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335275:2550] connected; active server actors: 1
2025-11-19T11:45:30.049012Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335259:2550] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_3
2025-11-19T11:45:30.049036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335259:2550] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.049128Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335275:2550] disconnected.
2025-11-19T11:45:30.049138Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335275:2550] disconnected; active server actors: 1
2025-11-19T11:45:30.049141Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335275:2550] disconnected no session
2025-11-19T11:45:30.052170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335259:2550] (SourceId=sid_rand_3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.052185Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335259:2550] (SourceId=sid_rand_3, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-19T11:45:30.052189Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335259:2550] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.052198Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 14 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-19T11:45:30.052382Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.052433Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_3|2c0b6568-abe8a584-4761c0a7-ab89454b_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_3
2025-11-19T11:45:30.052608Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 14 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_3|2c0b6568-abe8a584-4761c0a7-ab89454b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_3|2c0b6568-abe8a584-4761c0a7-ab89454b_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.053365Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId: sid_rand_3|2c0b6568-abe8a584-4761c0a7-ab89454b_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.053376Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 14 sessionId: sid_rand_3|2c0b6568-abe8a584-4761c0a7-ab89454b_0 grpc read failed
2025-11-19T11:45:30.053383Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 14 sessionId: sid_rand_3|2c0b6568-abe8a584-4761c0a7-ab89454b_0 grpc closed
2025-11-19T11:45:30.053388Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 14 sessionId: sid_rand_3|2c0b6568-abe8a584-4761c0a7-ab89454b_0 is DEAD
2025-11-19T11:45:30.053555Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.053566Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 15
2025-11-19T11:45:30.053680Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.053734Z 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-19T11:45:30.053765Z 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]:33886
2025-11-19T11:45:30.053777Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=15 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.053781Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.054174Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 15 sessionId:  describe result for acl check
2025-11-19T11:45:30.054211Z 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-19T11:45:30.054217Z 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-19T11:45:30.054220Z 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-19T11:45:30.054225Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335293:2554] (SourceId=sid_rand_4, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.054842Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335293:2554] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.057412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335293:2554] (SourceId=sid_rand_4, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.061229Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335312:2554] connected; active server actors: 1
2025-11-19T11:45:30.061341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335293:2554] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_4
2025-11-19T11:45:30.061356Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335293:2554] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.061457Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335312:2554] disconnected.
2025-11-19T11:45:30.061468Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335312:2554] disconnected; active server actors: 1
2025-11-19T11:45:30.061472Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335312:2554] disconnected no session
2025-11-19T11:45:30.066936Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335293:2554] (SourceId=sid_rand_4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.066952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335293:2554] (SourceId=sid_rand_4, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-19T11:45:30.066957Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335293:2554] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.066966Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 15 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-19T11:45:30.067135Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.067184Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_4|6b097b1e-d6748430-15602b93-5dded358_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_4
2025-11-19T11:45:30.067377Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 15 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_4|6b097b1e-d6748430-15602b93-5dded358_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_4|6b097b1e-d6748430-15602b93-5dded358_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.068375Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId: sid_rand_4|6b097b1e-d6748430-15602b93-5dded358_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.068385Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 15 sessionId: sid_rand_4|6b097b1e-d6748430-15602b93-5dded358_0 grpc read failed
2025-11-19T11:45:30.068391Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 15 sessionId: sid_rand_4|6b097b1e-d6748430-15602b93-5dded358_0 grpc closed
2025-11-19T11:45:30.068397Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 15 sessionId: sid_rand_4|6b097b1e-d6748430-15602b93-5dded358_0 is DEAD
2025-11-19T11:45:30.068468Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.068479Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 16
2025-11-19T11:45:30.068577Z 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-19T11:45:30.068625Z 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]:33886
2025-11-19T11:45:30.068635Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=16 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.068639Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.068674Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.069163Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 16 sessionId:  describe result for acl check
2025-11-19T11:45:30.069200Z 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-19T11:45:30.069207Z 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-19T11:45:30.069208Z 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-19T11:45:30.069214Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335331:2558] (SourceId=sid_rand_5, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.069794Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335331:2558] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.072070Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335331:2558] (SourceId=sid_rand_5, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.072224Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335347:2558] connected; active server actors: 1
2025-11-19T11:45:30.072482Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335331:2558] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_5
2025-11-19T11:45:30.072491Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335331:2558] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.072672Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335347:2558] disconnected.
2025-11-19T11:45:30.072682Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335347:2558] disconnected; active server actors: 1
2025-11-19T11:45:30.072685Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335347:2558] disconnected no session
2025-11-19T11:45:30.075788Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335331:2558] (SourceId=sid_rand_5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.075800Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335331:2558] (SourceId=sid_rand_5, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-19T11:45:30.075803Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335331:2558] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.075813Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 16 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-19T11:45:30.075952Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.076003Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_5|aa0ce909-9a3a1a7a-2976efcf-473ec715_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_5
2025-11-19T11:45:30.076125Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 16 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_5|aa0ce909-9a3a1a7a-2976efcf-473ec715_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_5|aa0ce909-9a3a1a7a-2976efcf-473ec715_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.076741Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId: sid_rand_5|aa0ce909-9a3a1a7a-2976efcf-473ec715_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.076747Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 16 sessionId: sid_rand_5|aa0ce909-9a3a1a7a-2976efcf-473ec715_0 grpc read failed
2025-11-19T11:45:30.076752Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 16 sessionId: sid_rand_5|aa0ce909-9a3a1a7a-2976efcf-473ec715_0 grpc closed
2025-11-19T11:45:30.076756Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 16 sessionId: sid_rand_5|aa0ce909-9a3a1a7a-2976efcf-473ec715_0 is DEAD
2025-11-19T11:45:30.076994Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.077115Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.077134Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 17
2025-11-19T11:45:30.077237Z 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-19T11:45:30.077260Z 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]:33886
2025-11-19T11:45:30.077271Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=17 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.077275Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.077674Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 17 sessionId:  describe result for acl check
2025-11-19T11:45:30.077706Z 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-19T11:45:30.077712Z 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-19T11:45:30.077714Z 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-19T11:45:30.077719Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335365:2562] (SourceId=sid_rand_6, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.078281Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335365:2562] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.080170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335365:2562] (SourceId=sid_rand_6, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.080376Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335381:2562] connected; active server actors: 1
2025-11-19T11:45:30.080468Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335365:2562] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_6
2025-11-19T11:45:30.080481Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335365:2562] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.080610Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335381:2562] disconnected.
2025-11-19T11:45:30.080618Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335381:2562] disconnected; active server actors: 1
2025-11-19T11:45:30.080621Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335381:2562] disconnected no session
2025-11-19T11:45:30.083835Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335365:2562] (SourceId=sid_rand_6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.083849Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335365:2562] (SourceId=sid_rand_6, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-19T11:45:30.083852Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335365:2562] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.083860Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 17 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-19T11:45:30.083997Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.084047Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_6|fe21bbf4-c2e53043-4f2fa3d0-339d80a6_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_6
2025-11-19T11:45:30.084188Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 17 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_6|fe21bbf4-c2e53043-4f2fa3d0-339d80a6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_6|fe21bbf4-c2e53043-4f2fa3d0-339d80a6_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.084894Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId: sid_rand_6|fe21bbf4-c2e53043-4f2fa3d0-339d80a6_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.084903Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 17 sessionId: sid_rand_6|fe21bbf4-c2e53043-4f2fa3d0-339d80a6_0 grpc read failed
2025-11-19T11:45:30.085003Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 17 sessionId: sid_rand_6|fe21bbf4-c2e53043-4f2fa3d0-339d80a6_0
2025-11-19T11:45:30.085014Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 17 sessionId: sid_rand_6|fe21bbf4-c2e53043-4f2fa3d0-339d80a6_0 is DEAD
2025-11-19T11:45:30.085087Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.085109Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 18
2025-11-19T11:45:30.085121Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.085195Z 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-19T11:45:30.085227Z 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]:33886
2025-11-19T11:45:30.085239Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=18 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.085243Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.085633Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 18 sessionId:  describe result for acl check
2025-11-19T11:45:30.085677Z 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-19T11:45:30.085683Z 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-19T11:45:30.085685Z 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-19T11:45:30.085690Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335402:2566] (SourceId=sid_rand_7, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.086209Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335402:2566] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.088180Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335402:2566] (SourceId=sid_rand_7, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.088351Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335418:2566] connected; active server actors: 1
2025-11-19T11:45:30.088500Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335402:2566] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_7
2025-11-19T11:45:30.088526Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335402:2566] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.088625Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335418:2566] disconnected.
2025-11-19T11:45:30.088633Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335418:2566] disconnected; active server actors: 1
2025-11-19T11:45:30.088636Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335418:2566] disconnected no session
2025-11-19T11:45:30.092096Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335402:2566] (SourceId=sid_rand_7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.092121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335402:2566] (SourceId=sid_rand_7, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-19T11:45:30.092125Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335402:2566] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.092132Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 18 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-19T11:45:30.092414Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.092503Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_7|4fef1be4-74286f31-c8e5792e-f52c0f86_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_7
2025-11-19T11:45:30.092832Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 18 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_7|4fef1be4-74286f31-c8e5792e-f52c0f86_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_7|4fef1be4-74286f31-c8e5792e-f52c0f86_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.095211Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId: sid_rand_7|4fef1be4-74286f31-c8e5792e-f52c0f86_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.095224Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 18 sessionId: sid_rand_7|4fef1be4-74286f31-c8e5792e-f52c0f86_0 grpc read failed
2025-11-19T11:45:30.095234Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 18 sessionId: sid_rand_7|4fef1be4-74286f31-c8e5792e-f52c0f86_0 grpc closed
2025-11-19T11:45:30.095240Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 18 sessionId: sid_rand_7|4fef1be4-74286f31-c8e5792e-f52c0f86_0 is DEAD
2025-11-19T11:45:30.095305Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.095317Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 19
2025-11-19T11:45:30.095464Z 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-19T11:45:30.095498Z 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]:33886
2025-11-19T11:45:30.095504Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=19 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.095507Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.095568Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.096111Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 19 sessionId:  describe result for acl check
2025-11-19T11:45:30.096146Z 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-19T11:45:30.096152Z 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-19T11:45:30.096155Z 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-19T11:45:30.096160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335435:2570] (SourceId=sid_rand_8, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.096745Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335435:2570] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.099161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335435:2570] (SourceId=sid_rand_8, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.099317Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335451:2570] connected; active server actors: 1
2025-11-19T11:45:30.099427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335435:2570] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_8
2025-11-19T11:45:30.099437Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335435:2570] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.099733Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335451:2570] disconnected.
2025-11-19T11:45:30.099759Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335451:2570] disconnected; active server actors: 1
2025-11-19T11:45:30.099763Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335451:2570] disconnected no session
2025-11-19T11:45:30.102799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335435:2570] (SourceId=sid_rand_8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.102823Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335435:2570] (SourceId=sid_rand_8, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-19T11:45:30.102827Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335435:2570] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.102836Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 19 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-19T11:45:30.103108Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.103216Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_8|fda70da-de841d01-7c0d79d6-24021993_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_8
2025-11-19T11:45:30.103562Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 19 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_8|fda70da-de841d01-7c0d79d6-24021993_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_8|fda70da-de841d01-7c0d79d6-24021993_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.104268Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId: sid_rand_8|fda70da-de841d01-7c0d79d6-24021993_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.104277Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 19 sessionId: sid_rand_8|fda70da-de841d01-7c0d79d6-24021993_0 grpc read failed
2025-11-19T11:45:30.104285Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 19 sessionId: sid_rand_8|fda70da-de841d01-7c0d79d6-24021993_0 grpc closed
2025-11-19T11:45:30.104290Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 19 sessionId: sid_rand_8|fda70da-de841d01-7c0d79d6-24021993_0 is DEAD
2025-11-19T11:45:30.104577Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.104581Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.104585Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 20
2025-11-19T11:45:30.104809Z 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-19T11:45:30.104856Z 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]:33886
2025-11-19T11:45:30.104860Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=20 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.104864Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.105296Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 20 sessionId:  describe result for acl check
2025-11-19T11:45:30.105339Z 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-19T11:45:30.105345Z 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-19T11:45:30.105347Z 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-19T11:45:30.105352Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335468:2574] (SourceId=sid_rand_9, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.105940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335468:2574] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.108118Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335468:2574] (SourceId=sid_rand_9, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.108263Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335484:2574] connected; active server actors: 1
2025-11-19T11:45:30.108361Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335468:2574] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_9
2025-11-19T11:45:30.108371Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335468:2574] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.109008Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335484:2574] disconnected.
2025-11-19T11:45:30.109032Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335484:2574] disconnected; active server actors: 1
2025-11-19T11:45:30.109035Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335484:2574] disconnected no session
2025-11-19T11:45:30.111409Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335468:2574] (SourceId=sid_rand_9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.111423Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335468:2574] (SourceId=sid_rand_9, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-19T11:45:30.111427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335468:2574] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.111434Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 20 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-19T11:45:30.111571Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.111616Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_9|fc24feb1-218fbee5-c4fc780d-9cab6aba_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_9
2025-11-19T11:45:30.111799Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 20 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_9|fc24feb1-218fbee5-c4fc780d-9cab6aba_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_9|fc24feb1-218fbee5-c4fc780d-9cab6aba_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.112472Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId: sid_rand_9|fc24feb1-218fbee5-c4fc780d-9cab6aba_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.112481Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 20 sessionId: sid_rand_9|fc24feb1-218fbee5-c4fc780d-9cab6aba_0 grpc read failed
2025-11-19T11:45:30.112488Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 20 sessionId: sid_rand_9|fc24feb1-218fbee5-c4fc780d-9cab6aba_0 grpc closed
2025-11-19T11:45:30.112492Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 20 sessionId: sid_rand_9|fc24feb1-218fbee5-c4fc780d-9cab6aba_0 is DEAD
2025-11-19T11:45:30.112591Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.112603Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 21
2025-11-19T11:45:30.112771Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.112780Z 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-19T11:45:30.112810Z 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]:33886
2025-11-19T11:45:30.112820Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=21 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.112824Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.113202Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 21 sessionId:  describe result for acl check
2025-11-19T11:45:30.113232Z 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-19T11:45:30.113238Z 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-19T11:45:30.113240Z 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-19T11:45:30.113245Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335502:2578] (SourceId=sid_rand_10, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.113790Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335502:2578] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.115669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335502:2578] (SourceId=sid_rand_10, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.115813Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335518:2578] connected; active server actors: 1
2025-11-19T11:45:30.115952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335502:2578] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_10
2025-11-19T11:45:30.115962Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335502:2578] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.116091Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335518:2578] disconnected.
2025-11-19T11:45:30.116101Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335518:2578] disconnected; active server actors: 1
2025-11-19T11:45:30.116104Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335518:2578] disconnected no session
2025-11-19T11:45:30.119115Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335502:2578] (SourceId=sid_rand_10, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.119128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335502:2578] (SourceId=sid_rand_10, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-19T11:45:30.119132Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335502:2578] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.119140Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 21 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-19T11:45:30.119580Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.119670Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_10|c9676e0a-9b9fd61e-38b2c47b-65aa8342_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_10
2025-11-19T11:45:30.120031Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 21 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_10|c9676e0a-9b9fd61e-38b2c47b-65aa8342_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_10|c9676e0a-9b9fd61e-38b2c47b-65aa8342_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.120738Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId: sid_rand_10|c9676e0a-9b9fd61e-38b2c47b-65aa8342_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.120747Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 21 sessionId: sid_rand_10|c9676e0a-9b9fd61e-38b2c47b-65aa8342_0 grpc read failed
2025-11-19T11:45:30.120754Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 21 sessionId: sid_rand_10|c9676e0a-9b9fd61e-38b2c47b-65aa8342_0 grpc closed
2025-11-19T11:45:30.120759Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 21 sessionId: sid_rand_10|c9676e0a-9b9fd61e-38b2c47b-65aa8342_0 is DEAD
2025-11-19T11:45:30.120979Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.120987Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 22
2025-11-19T11:45:30.121002Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.121152Z 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-19T11:45:30.121179Z 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]:33886
2025-11-19T11:45:30.121189Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=22 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.121193Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.121550Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 22 sessionId:  describe result for acl check
2025-11-19T11:45:30.121583Z 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-19T11:45:30.121591Z 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-19T11:45:30.121592Z 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-19T11:45:30.121597Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335535:2582] (SourceId=sid_rand_11, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.122109Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335535:2582] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.123810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335535:2582] (SourceId=sid_rand_11, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.123931Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335551:2582] connected; active server actors: 1
2025-11-19T11:45:30.124067Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335535:2582] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_11
2025-11-19T11:45:30.124078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335535:2582] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.124219Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335551:2582] disconnected.
2025-11-19T11:45:30.124228Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335551:2582] disconnected; active server actors: 1
2025-11-19T11:45:30.124231Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335551:2582] disconnected no session
2025-11-19T11:45:30.127368Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335535:2582] (SourceId=sid_rand_11, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.127383Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335535:2582] (SourceId=sid_rand_11, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-19T11:45:30.127387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335535:2582] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.127396Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 22 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-19T11:45:30.127546Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.127599Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_11|19dc02ad-6b8989fe-b8f3f2ed-79b13b0b_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_11
2025-11-19T11:45:30.127727Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 22 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_11|19dc02ad-6b8989fe-b8f3f2ed-79b13b0b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_11|19dc02ad-6b8989fe-b8f3f2ed-79b13b0b_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.128412Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId: sid_rand_11|19dc02ad-6b8989fe-b8f3f2ed-79b13b0b_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.128419Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 22 sessionId: sid_rand_11|19dc02ad-6b8989fe-b8f3f2ed-79b13b0b_0 grpc read failed
2025-11-19T11:45:30.128425Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 22 sessionId: sid_rand_11|19dc02ad-6b8989fe-b8f3f2ed-79b13b0b_0 grpc closed
2025-11-19T11:45:30.128430Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 22 sessionId: sid_rand_11|19dc02ad-6b8989fe-b8f3f2ed-79b13b0b_0 is DEAD
2025-11-19T11:45:30.128530Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.128543Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 23
2025-11-19T11:45:30.128679Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.128685Z 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-19T11:45:30.128712Z 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]:33886
2025-11-19T11:45:30.128716Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=23 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.128726Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.129147Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 23 sessionId:  describe result for acl check
2025-11-19T11:45:30.129181Z 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-19T11:45:30.129186Z 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-19T11:45:30.129188Z 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-19T11:45:30.129193Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335569:2586] (SourceId=sid_rand_12, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.129645Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335569:2586] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.131639Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335569:2586] (SourceId=sid_rand_12, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.131779Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335585:2586] connected; active server actors: 1
2025-11-19T11:45:30.131921Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335569:2586] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_12
2025-11-19T11:45:30.131929Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335569:2586] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.132028Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335585:2586] disconnected.
2025-11-19T11:45:30.132038Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335585:2586] disconnected; active server actors: 1
2025-11-19T11:45:30.132041Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335585:2586] disconnected no session
2025-11-19T11:45:30.135029Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335569:2586] (SourceId=sid_rand_12, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.135041Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335569:2586] (SourceId=sid_rand_12, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-19T11:45:30.135044Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335569:2586] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.135051Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 23 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-19T11:45:30.135186Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.135224Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_12|e4c4cb68-b7eef774-1727d86-f88c763f_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_12
2025-11-19T11:45:30.135369Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 23 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_12|e4c4cb68-b7eef774-1727d86-f88c763f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_12|e4c4cb68-b7eef774-1727d86-f88c763f_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.135978Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId: sid_rand_12|e4c4cb68-b7eef774-1727d86-f88c763f_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.135986Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 23 sessionId: sid_rand_12|e4c4cb68-b7eef774-1727d86-f88c763f_0 grpc read failed
2025-11-19T11:45:30.135991Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 23 sessionId: sid_rand_12|e4c4cb68-b7eef774-1727d86-f88c763f_0 grpc closed
2025-11-19T11:45:30.135995Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 23 sessionId: sid_rand_12|e4c4cb68-b7eef774-1727d86-f88c763f_0 is DEAD
2025-11-19T11:45:30.136145Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.136158Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 24
2025-11-19T11:45:30.136209Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.136251Z 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-19T11:45:30.136283Z 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]:33886
2025-11-19T11:45:30.136288Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=24 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.136291Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.136639Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 24 sessionId:  describe result for acl check
2025-11-19T11:45:30.136672Z 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-19T11:45:30.136679Z 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-19T11:45:30.136680Z 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-19T11:45:30.136685Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335603:2590] (SourceId=sid_rand_13, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.137224Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335603:2590] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.139397Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335603:2590] (SourceId=sid_rand_13, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.139513Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335619:2590] connected; active server actors: 1
2025-11-19T11:45:30.139616Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335603:2590] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_13
2025-11-19T11:45:30.139628Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335603:2590] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.139718Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335619:2590] disconnected.
2025-11-19T11:45:30.139728Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335619:2590] disconnected; active server actors: 1
2025-11-19T11:45:30.139734Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335619:2590] disconnected no session
2025-11-19T11:45:30.142762Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335603:2590] (SourceId=sid_rand_13, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.142774Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335603:2590] (SourceId=sid_rand_13, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-19T11:45:30.142778Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335603:2590] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.142786Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 24 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-19T11:45:30.143021Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.143119Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_13|3ccc9ac1-69a983f1-b4725d6e-d581c726_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_13
2025-11-19T11:45:30.143477Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 24 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_13|3ccc9ac1-69a983f1-b4725d6e-d581c726_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_13|3ccc9ac1-69a983f1-b4725d6e-d581c726_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.144160Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId: sid_rand_13|3ccc9ac1-69a983f1-b4725d6e-d581c726_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.144170Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 24 sessionId: sid_rand_13|3ccc9ac1-69a983f1-b4725d6e-d581c726_0 grpc read failed
2025-11-19T11:45:30.144255Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 24 sessionId: sid_rand_13|3ccc9ac1-69a983f1-b4725d6e-d581c726_0
2025-11-19T11:45:30.144265Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 24 sessionId: sid_rand_13|3ccc9ac1-69a983f1-b4725d6e-d581c726_0 is DEAD
2025-11-19T11:45:30.144316Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.144326Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 25
2025-11-19T11:45:30.144376Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.144427Z 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-19T11:45:30.144458Z 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]:33886
2025-11-19T11:45:30.144470Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=25 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.144473Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.144874Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 25 sessionId:  describe result for acl check
2025-11-19T11:45:30.144915Z 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-19T11:45:30.144922Z 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-19T11:45:30.144926Z 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-19T11:45:30.144931Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335636:2594] (SourceId=sid_rand_14, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.145501Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335636:2594] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.147728Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335636:2594] (SourceId=sid_rand_14, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.147859Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335652:2594] connected; active server actors: 1
2025-11-19T11:45:30.148023Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335636:2594] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_14
2025-11-19T11:45:30.148034Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335636:2594] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.148127Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335652:2594] disconnected.
2025-11-19T11:45:30.148142Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335652:2594] disconnected; active server actors: 1
2025-11-19T11:45:30.148145Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335652:2594] disconnected no session
2025-11-19T11:45:30.151564Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335636:2594] (SourceId=sid_rand_14, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.151575Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335636:2594] (SourceId=sid_rand_14, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-19T11:45:30.151578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335636:2594] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.151585Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 25 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-19T11:45:30.151753Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.151827Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_14|cf1a3a16-84178588-bbf6b096-8feac49f_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_14
2025-11-19T11:45:30.152016Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 25 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_14|cf1a3a16-84178588-bbf6b096-8feac49f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_14|cf1a3a16-84178588-bbf6b096-8feac49f_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.152748Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId: sid_rand_14|cf1a3a16-84178588-bbf6b096-8feac49f_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.152757Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 25 sessionId: sid_rand_14|cf1a3a16-84178588-bbf6b096-8feac49f_0 grpc read failed
2025-11-19T11:45:30.152763Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 25 sessionId: sid_rand_14|cf1a3a16-84178588-bbf6b096-8feac49f_0 grpc closed
2025-11-19T11:45:30.152768Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 25 sessionId: sid_rand_14|cf1a3a16-84178588-bbf6b096-8feac49f_0 is DEAD
2025-11-19T11:45:30.152898Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.152909Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 26
2025-11-19T11:45:30.153060Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.153098Z 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-19T11:45:30.153132Z 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]:33886
2025-11-19T11:45:30.153141Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=26 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.153144Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.153598Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 26 sessionId:  describe result for acl check
2025-11-19T11:45:30.153631Z 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-19T11:45:30.153637Z 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-19T11:45:30.153638Z 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-19T11:45:30.153643Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335670:2598] (SourceId=sid_rand_15, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.154265Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335670:2598] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.156434Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335670:2598] (SourceId=sid_rand_15, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.156612Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335686:2598] connected; active server actors: 1
2025-11-19T11:45:30.156891Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335686:2598] disconnected.
2025-11-19T11:45:30.156901Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335686:2598] disconnected; active server actors: 1
2025-11-19T11:45:30.156904Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335686:2598] disconnected no session
2025-11-19T11:45:30.156768Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335670:2598] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_15
2025-11-19T11:45:30.156780Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335670:2598] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.160155Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335670:2598] (SourceId=sid_rand_15, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.160166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335670:2598] (SourceId=sid_rand_15, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-19T11:45:30.160169Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335670:2598] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.160186Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 26 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-19T11:45:30.160328Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.160371Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_15|f4091cc5-308ebfb6-7658c9a5-3d1dc183_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_15
2025-11-19T11:45:30.160530Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 26 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_15|f4091cc5-308ebfb6-7658c9a5-3d1dc183_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_15|f4091cc5-308ebfb6-7658c9a5-3d1dc183_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.161266Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId: sid_rand_15|f4091cc5-308ebfb6-7658c9a5-3d1dc183_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.161278Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 26 sessionId: sid_rand_15|f4091cc5-308ebfb6-7658c9a5-3d1dc183_0 grpc read failed
2025-11-19T11:45:30.161287Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 26 sessionId: sid_rand_15|f4091cc5-308ebfb6-7658c9a5-3d1dc183_0 grpc closed
2025-11-19T11:45:30.161303Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 26 sessionId: sid_rand_15|f4091cc5-308ebfb6-7658c9a5-3d1dc183_0 is DEAD
2025-11-19T11:45:30.161374Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.161386Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 27
2025-11-19T11:45:30.161575Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.161603Z 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-19T11:45:30.161652Z 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]:33886
2025-11-19T11:45:30.161661Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=27 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.161666Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.162088Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 27 sessionId:  describe result for acl check
2025-11-19T11:45:30.162125Z 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-19T11:45:30.162134Z 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-19T11:45:30.162136Z 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-19T11:45:30.162141Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335704:2602] (SourceId=sid_rand_16, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.162751Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335704:2602] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.165171Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335704:2602] (SourceId=sid_rand_16, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.165305Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335720:2602] connected; active server actors: 1
2025-11-19T11:45:30.165428Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335704:2602] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_16
2025-11-19T11:45:30.165441Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335704:2602] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.165526Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335720:2602] disconnected.
2025-11-19T11:45:30.165536Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335720:2602] disconnected; active server actors: 1
2025-11-19T11:45:30.165539Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335720:2602] disconnected no session
2025-11-19T11:45:30.168994Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335704:2602] (SourceId=sid_rand_16, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.169038Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335704:2602] (SourceId=sid_rand_16, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-19T11:45:30.169043Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335704:2602] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.169051Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 27 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-19T11:45:30.169289Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.169372Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_16|8eb42841-420082b3-1b0a53bd-3bc1d36d_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_16
2025-11-19T11:45:30.169701Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 27 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_16|8eb42841-420082b3-1b0a53bd-3bc1d36d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_16|8eb42841-420082b3-1b0a53bd-3bc1d36d_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.170408Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId: sid_rand_16|8eb42841-420082b3-1b0a53bd-3bc1d36d_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.170429Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 27 sessionId: sid_rand_16|8eb42841-420082b3-1b0a53bd-3bc1d36d_0 grpc read failed
2025-11-19T11:45:30.170435Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 27 sessionId: sid_rand_16|8eb42841-420082b3-1b0a53bd-3bc1d36d_0 grpc closed
2025-11-19T11:45:30.170440Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 27 sessionId: sid_rand_16|8eb42841-420082b3-1b0a53bd-3bc1d36d_0 is DEAD
2025-11-19T11:45:30.170557Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.170567Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 28
2025-11-19T11:45:30.170712Z 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-19T11:45:30.170716Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.170737Z 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]:33886
2025-11-19T11:45:30.170747Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=28 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.170750Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.171106Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 28 sessionId:  describe result for acl check
2025-11-19T11:45:30.171141Z 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-19T11:45:30.171143Z 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-19T11:45:30.171145Z 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-19T11:45:30.171149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335737:2606] (SourceId=sid_rand_17, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.171698Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335737:2606] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.173364Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335737:2606] (SourceId=sid_rand_17, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.173481Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335753:2606] connected; active server actors: 1
2025-11-19T11:45:30.173647Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335737:2606] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_17
2025-11-19T11:45:30.173657Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335737:2606] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.173781Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335753:2606] disconnected.
2025-11-19T11:45:30.173789Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335753:2606] disconnected; active server actors: 1
2025-11-19T11:45:30.173792Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335753:2606] disconnected no session
2025-11-19T11:45:30.176305Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335737:2606] (SourceId=sid_rand_17, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.176318Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335737:2606] (SourceId=sid_rand_17, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-19T11:45:30.176322Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335737:2606] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.176330Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 28 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-19T11:45:30.176475Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.176507Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_17|23636c18-5f6b6f30-fa8ecc3c-86cdc0ad_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_17
2025-11-19T11:45:30.176649Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 28 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_17|23636c18-5f6b6f30-fa8ecc3c-86cdc0ad_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_17|23636c18-5f6b6f30-fa8ecc3c-86cdc0ad_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.177252Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId: sid_rand_17|23636c18-5f6b6f30-fa8ecc3c-86cdc0ad_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.177262Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 28 sessionId: sid_rand_17|23636c18-5f6b6f30-fa8ecc3c-86cdc0ad_0 grpc read failed
2025-11-19T11:45:30.177268Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 28 sessionId: sid_rand_17|23636c18-5f6b6f30-fa8ecc3c-86cdc0ad_0 grpc closed
2025-11-19T11:45:30.177272Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 28 sessionId: sid_rand_17|23636c18-5f6b6f30-fa8ecc3c-86cdc0ad_0 is DEAD
2025-11-19T11:45:30.177417Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.177683Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.177696Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 29
2025-11-19T11:45:30.177815Z 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-19T11:45:30.177848Z 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]:33886
2025-11-19T11:45:30.177865Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=29 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.177873Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.178303Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 29 sessionId:  describe result for acl check
2025-11-19T11:45:30.178342Z 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-19T11:45:30.178350Z 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-19T11:45:30.178352Z 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-19T11:45:30.178357Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335771:2610] (SourceId=sid_rand_18, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.178925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335771:2610] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.180619Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335771:2610] (SourceId=sid_rand_18, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.180721Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335791:2610] connected; active server actors: 1
2025-11-19T11:45:30.180816Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335771:2610] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_18
2025-11-19T11:45:30.180827Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335771:2610] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.180913Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335791:2610] disconnected.
2025-11-19T11:45:30.180932Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335791:2610] disconnected; active server actors: 1
2025-11-19T11:45:30.180935Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335791:2610] disconnected no session
2025-11-19T11:45:30.183365Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335771:2610] (SourceId=sid_rand_18, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.183375Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335771:2610] (SourceId=sid_rand_18, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-19T11:45:30.183377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335771:2610] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.183382Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 29 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-19T11:45:30.183612Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.183676Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_18|22b7ccc2-1e212f70-64693f49-e28445f5_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_18
2025-11-19T11:45:30.183955Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 29 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_18|22b7ccc2-1e212f70-64693f49-e28445f5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_18|22b7ccc2-1e212f70-64693f49-e28445f5_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.184503Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId: sid_rand_18|22b7ccc2-1e212f70-64693f49-e28445f5_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.184512Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 29 sessionId: sid_rand_18|22b7ccc2-1e212f70-64693f49-e28445f5_0 grpc read failed
2025-11-19T11:45:30.184516Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 29 sessionId: sid_rand_18|22b7ccc2-1e212f70-64693f49-e28445f5_0 grpc closed
2025-11-19T11:45:30.184520Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 29 sessionId: sid_rand_18|22b7ccc2-1e212f70-64693f49-e28445f5_0 is DEAD
2025-11-19T11:45:30.184659Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.184672Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 30
2025-11-19T11:45:30.184696Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.184794Z 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-19T11:45:30.184833Z 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]:33886
2025-11-19T11:45:30.184838Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=30 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.184845Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.185242Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 30 sessionId:  describe result for acl check
2025-11-19T11:45:30.185277Z 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-19T11:45:30.185283Z 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-19T11:45:30.185285Z 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-19T11:45:30.185289Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335808:2614] (SourceId=sid_rand_19, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.185845Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335808:2614] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.187194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335808:2614] (SourceId=sid_rand_19, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.187307Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335824:2614] connected; active server actors: 1
2025-11-19T11:45:30.187405Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335808:2614] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_19
2025-11-19T11:45:30.187414Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335808:2614] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.187501Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335824:2614] disconnected.
2025-11-19T11:45:30.187522Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335824:2614] disconnected; active server actors: 1
2025-11-19T11:45:30.187524Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335824:2614] disconnected no session
2025-11-19T11:45:30.190133Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335808:2614] (SourceId=sid_rand_19, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.190144Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335808:2614] (SourceId=sid_rand_19, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-19T11:45:30.190156Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335808:2614] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.190163Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 30 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-19T11:45:30.190296Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.190339Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_19|8adf34ed-cba45633-379f43e3-815463d8_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_19
2025-11-19T11:45:30.190487Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 30 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_19|8adf34ed-cba45633-379f43e3-815463d8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_19|8adf34ed-cba45633-379f43e3-815463d8_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.191048Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId: sid_rand_19|8adf34ed-cba45633-379f43e3-815463d8_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.191062Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 30 sessionId: sid_rand_19|8adf34ed-cba45633-379f43e3-815463d8_0 grpc read failed
2025-11-19T11:45:30.191066Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 30 sessionId: sid_rand_19|8adf34ed-cba45633-379f43e3-815463d8_0 grpc closed
2025-11-19T11:45:30.191070Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 30 sessionId: sid_rand_19|8adf34ed-cba45633-379f43e3-815463d8_0 is DEAD
2025-11-19T11:45:30.191205Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.191215Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 31
2025-11-19T11:45:30.191287Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.191318Z 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-19T11:45:30.191344Z 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]:33886
2025-11-19T11:45:30.191349Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=31 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.191357Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.191723Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 31 sessionId:  describe result for acl check
2025-11-19T11:45:30.191764Z 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-19T11:45:30.191766Z 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-19T11:45:30.191768Z 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-19T11:45:30.191773Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335842:2618] (SourceId=sid_rand_20, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.192326Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335842:2618] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.194053Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335842:2618] (SourceId=sid_rand_20, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.194164Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335858:2618] connected; active server actors: 1
2025-11-19T11:45:30.194294Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335842:2618] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_20
2025-11-19T11:45:30.194305Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335842:2618] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.194404Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335858:2618] disconnected.
2025-11-19T11:45:30.194414Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335858:2618] disconnected; active server actors: 1
2025-11-19T11:45:30.194417Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335858:2618] disconnected no session
2025-11-19T11:45:30.197552Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335842:2618] (SourceId=sid_rand_20, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.197566Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335842:2618] (SourceId=sid_rand_20, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-19T11:45:30.197569Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335842:2618] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.197575Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 31 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-19T11:45:30.197716Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.197758Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_20|5a5c3404-9c1436a2-168633bd-323e89b8_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_20
2025-11-19T11:45:30.197927Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 31 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_20|5a5c3404-9c1436a2-168633bd-323e89b8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_20|5a5c3404-9c1436a2-168633bd-323e89b8_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.198565Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId: sid_rand_20|5a5c3404-9c1436a2-168633bd-323e89b8_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.198574Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 31 sessionId: sid_rand_20|5a5c3404-9c1436a2-168633bd-323e89b8_0 grpc read failed
2025-11-19T11:45:30.198858Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 31 sessionId: sid_rand_20|5a5c3404-9c1436a2-168633bd-323e89b8_0
2025-11-19T11:45:30.198870Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 31 sessionId: sid_rand_20|5a5c3404-9c1436a2-168633bd-323e89b8_0 is DEAD
2025-11-19T11:45:30.198901Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.198907Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 32
2025-11-19T11:45:30.198973Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.199005Z 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-19T11:45:30.199033Z 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]:33886
2025-11-19T11:45:30.199041Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=32 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.199053Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.199442Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 32 sessionId:  describe result for acl check
2025-11-19T11:45:30.199485Z 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-19T11:45:30.199487Z 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-19T11:45:30.199489Z 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-19T11:45:30.199493Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335876:2622] (SourceId=sid_rand_21, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.200020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335876:2622] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.201692Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335876:2622] (SourceId=sid_rand_21, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.201797Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335892:2622] connected; active server actors: 1
2025-11-19T11:45:30.201925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335876:2622] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_21
2025-11-19T11:45:30.201933Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335876:2622] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.202012Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335892:2622] disconnected.
2025-11-19T11:45:30.202020Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335892:2622] disconnected; active server actors: 1
2025-11-19T11:45:30.202022Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335892:2622] disconnected no session
2025-11-19T11:45:30.205147Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335876:2622] (SourceId=sid_rand_21, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.205161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335876:2622] (SourceId=sid_rand_21, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-19T11:45:30.205165Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335876:2622] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.205174Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 32 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-19T11:45:30.205308Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.205372Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_21|cc2ad64-379d531b-1e3eb3ad-b34b7089_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_21
2025-11-19T11:45:30.205620Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 32 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_21|cc2ad64-379d531b-1e3eb3ad-b34b7089_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_21|cc2ad64-379d531b-1e3eb3ad-b34b7089_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.206273Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId: sid_rand_21|cc2ad64-379d531b-1e3eb3ad-b34b7089_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.206283Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 32 sessionId: sid_rand_21|cc2ad64-379d531b-1e3eb3ad-b34b7089_0 grpc read failed
2025-11-19T11:45:30.206291Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 32 sessionId: sid_rand_21|cc2ad64-379d531b-1e3eb3ad-b34b7089_0 grpc closed
2025-11-19T11:45:30.206295Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 32 sessionId: sid_rand_21|cc2ad64-379d531b-1e3eb3ad-b34b7089_0 is DEAD
2025-11-19T11:45:30.206470Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.206482Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 33
2025-11-19T11:45:30.206568Z 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-19T11:45:30.206587Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.206605Z 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]:33886
2025-11-19T11:45:30.206615Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=33 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.206618Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.206961Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 33 sessionId:  describe result for acl check
2025-11-19T11:45:30.206990Z 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-19T11:45:30.206992Z 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-19T11:45:30.206994Z 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-19T11:45:30.206998Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335910:2626] (SourceId=sid_rand_22, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.207500Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335910:2626] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.209530Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335910:2626] (SourceId=sid_rand_22, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.209679Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335926:2626] connected; active server actors: 1
2025-11-19T11:45:30.209798Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335910:2626] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_22
2025-11-19T11:45:30.209808Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335910:2626] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.209883Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335926:2626] disconnected.
2025-11-19T11:45:30.209893Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335926:2626] disconnected; active server actors: 1
2025-11-19T11:45:30.209896Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335926:2626] disconnected no session
2025-11-19T11:45:30.212848Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335910:2626] (SourceId=sid_rand_22, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.212862Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335910:2626] (SourceId=sid_rand_22, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-19T11:45:30.212866Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335910:2626] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.212872Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 33 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-19T11:45:30.213004Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.213117Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_22|7d76f946-865c1ec-fbdd07a6-8e11555c_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_22
2025-11-19T11:45:30.213290Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 33 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_22|7d76f946-865c1ec-fbdd07a6-8e11555c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_22|7d76f946-865c1ec-fbdd07a6-8e11555c_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.213937Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId: sid_rand_22|7d76f946-865c1ec-fbdd07a6-8e11555c_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.213947Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 33 sessionId: sid_rand_22|7d76f946-865c1ec-fbdd07a6-8e11555c_0 grpc read failed
2025-11-19T11:45:30.213952Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 33 sessionId: sid_rand_22|7d76f946-865c1ec-fbdd07a6-8e11555c_0 grpc closed
2025-11-19T11:45:30.213957Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 33 sessionId: sid_rand_22|7d76f946-865c1ec-fbdd07a6-8e11555c_0 is DEAD
2025-11-19T11:45:30.214151Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.214178Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.214182Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 34
2025-11-19T11:45:30.214340Z 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-19T11:45:30.214385Z 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]:33886
2025-11-19T11:45:30.214394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=34 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.214399Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.214804Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 34 sessionId:  describe result for acl check
2025-11-19T11:45:30.214837Z 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-19T11:45:30.214839Z 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-19T11:45:30.214840Z 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-19T11:45:30.214844Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335944:2630] (SourceId=sid_rand_23, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.215409Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335944:2630] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.217305Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335944:2630] (SourceId=sid_rand_23, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.217454Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335960:2630] connected; active server actors: 1
2025-11-19T11:45:30.217604Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335944:2630] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_23
2025-11-19T11:45:30.217615Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335944:2630] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.217734Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335960:2630] disconnected.
2025-11-19T11:45:30.217742Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335960:2630] disconnected; active server actors: 1
2025-11-19T11:45:30.217746Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335960:2630] disconnected no session
2025-11-19T11:45:30.220637Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335944:2630] (SourceId=sid_rand_23, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.220652Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335944:2630] (SourceId=sid_rand_23, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-19T11:45:30.220655Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335944:2630] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.220663Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 34 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-19T11:45:30.220797Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.220857Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_23|b1e691e2-f55ceda1-a682314d-8b8020cf_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_23
2025-11-19T11:45:30.221062Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 34 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_23|b1e691e2-f55ceda1-a682314d-8b8020cf_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_23|b1e691e2-f55ceda1-a682314d-8b8020cf_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.221712Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId: sid_rand_23|b1e691e2-f55ceda1-a682314d-8b8020cf_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.221734Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 34 sessionId: sid_rand_23|b1e691e2-f55ceda1-a682314d-8b8020cf_0 grpc read failed
2025-11-19T11:45:30.221741Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 34 sessionId: sid_rand_23|b1e691e2-f55ceda1-a682314d-8b8020cf_0 grpc closed
2025-11-19T11:45:30.221746Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 34 sessionId: sid_rand_23|b1e691e2-f55ceda1-a682314d-8b8020cf_0 is DEAD
2025-11-19T11:45:30.221875Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.221887Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 35
2025-11-19T11:45:30.222060Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.222118Z 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-19T11:45:30.222155Z 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]:33886
2025-11-19T11:45:30.222164Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=35 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.222168Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.222629Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 35 sessionId:  describe result for acl check
2025-11-19T11:45:30.222665Z 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-19T11:45:30.222672Z 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-19T11:45:30.222674Z 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-19T11:45:30.222678Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579335978:2634] (SourceId=sid_rand_24, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.223303Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579335978:2634] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.225626Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579335978:2634] (SourceId=sid_rand_24, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.225766Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335994:2634] connected; active server actors: 1
2025-11-19T11:45:30.225962Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579335978:2634] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_24
2025-11-19T11:45:30.225974Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579335978:2634] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.226089Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335994:2634] disconnected.
2025-11-19T11:45:30.226096Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335994:2634] disconnected; active server actors: 1
2025-11-19T11:45:30.226099Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579335994:2634] disconnected no session
2025-11-19T11:45:30.229366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579335978:2634] (SourceId=sid_rand_24, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.229380Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579335978:2634] (SourceId=sid_rand_24, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-19T11:45:30.229383Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579335978:2634] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.229392Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 35 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-19T11:45:30.229549Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.229607Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_24|78647a43-c9073686-3bc910e6-bb1f4bae_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_24
2025-11-19T11:45:30.229753Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 35 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_24|78647a43-c9073686-3bc910e6-bb1f4bae_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_24|78647a43-c9073686-3bc910e6-bb1f4bae_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.230481Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId: sid_rand_24|78647a43-c9073686-3bc910e6-bb1f4bae_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.230492Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 35 sessionId: sid_rand_24|78647a43-c9073686-3bc910e6-bb1f4bae_0 grpc read failed
2025-11-19T11:45:30.230498Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 35 sessionId: sid_rand_24|78647a43-c9073686-3bc910e6-bb1f4bae_0 grpc closed
2025-11-19T11:45:30.230503Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 35 sessionId: sid_rand_24|78647a43-c9073686-3bc910e6-bb1f4bae_0 is DEAD
2025-11-19T11:45:30.230681Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.230691Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 36
2025-11-19T11:45:30.230811Z 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-19T11:45:30.230810Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.230841Z 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]:33886
2025-11-19T11:45:30.230846Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=36 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.230850Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.231281Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 36 sessionId:  describe result for acl check
2025-11-19T11:45:30.231322Z 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-19T11:45:30.231323Z 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-19T11:45:30.231325Z 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-19T11:45:30.231330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336012:2638] (SourceId=sid_rand_25, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.231899Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336012:2638] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.234305Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336012:2638] (SourceId=sid_rand_25, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.234455Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336028:2638] connected; active server actors: 1
2025-11-19T11:45:30.234578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336012:2638] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_25
2025-11-19T11:45:30.234589Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336012:2638] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.234876Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336028:2638] disconnected.
2025-11-19T11:45:30.234891Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336028:2638] disconnected; active server actors: 1
2025-11-19T11:45:30.234894Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336028:2638] disconnected no session
2025-11-19T11:45:30.239095Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336012:2638] (SourceId=sid_rand_25, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.239109Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336012:2638] (SourceId=sid_rand_25, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-19T11:45:30.239112Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336012:2638] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.239121Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 36 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-19T11:45:30.239395Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.239485Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_25|8e9a6bb-a0fd1be8-ab229f86-353b7c3d_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_25
2025-11-19T11:45:30.239913Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 36 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_25|8e9a6bb-a0fd1be8-ab229f86-353b7c3d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_25|8e9a6bb-a0fd1be8-ab229f86-353b7c3d_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.240574Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId: sid_rand_25|8e9a6bb-a0fd1be8-ab229f86-353b7c3d_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.240582Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 36 sessionId: sid_rand_25|8e9a6bb-a0fd1be8-ab229f86-353b7c3d_0 grpc read failed
2025-11-19T11:45:30.240588Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 36 sessionId: sid_rand_25|8e9a6bb-a0fd1be8-ab229f86-353b7c3d_0 grpc closed
2025-11-19T11:45:30.240593Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 36 sessionId: sid_rand_25|8e9a6bb-a0fd1be8-ab229f86-353b7c3d_0 is DEAD
2025-11-19T11:45:30.240803Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.240815Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 37
2025-11-19T11:45:30.240865Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.240919Z 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-19T11:45:30.240958Z 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]:33886
2025-11-19T11:45:30.240968Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=37 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.240971Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.241399Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 37 sessionId:  describe result for acl check
2025-11-19T11:45:30.241433Z 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-19T11:45:30.241435Z 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-19T11:45:30.241437Z 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-19T11:45:30.241443Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336046:2642] (SourceId=sid_rand_26, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.242063Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336046:2642] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.243883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336046:2642] (SourceId=sid_rand_26, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.244087Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336062:2642] connected; active server actors: 1
2025-11-19T11:45:30.244267Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336046:2642] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_26
2025-11-19T11:45:30.244278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336046:2642] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.244410Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336062:2642] disconnected.
2025-11-19T11:45:30.244420Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336062:2642] disconnected; active server actors: 1
2025-11-19T11:45:30.244423Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336062:2642] disconnected no session
2025-11-19T11:45:30.247159Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336046:2642] (SourceId=sid_rand_26, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.247174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336046:2642] (SourceId=sid_rand_26, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-19T11:45:30.247177Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336046:2642] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.247185Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 37 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-19T11:45:30.247433Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.247532Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_26|709fdaeb-b5c1bce-b81802a2-b84a698e_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_26
2025-11-19T11:45:30.247978Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 37 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_26|709fdaeb-b5c1bce-b81802a2-b84a698e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_26|709fdaeb-b5c1bce-b81802a2-b84a698e_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.248601Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId: sid_rand_26|709fdaeb-b5c1bce-b81802a2-b84a698e_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.248611Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 37 sessionId: sid_rand_26|709fdaeb-b5c1bce-b81802a2-b84a698e_0 grpc read failed
2025-11-19T11:45:30.248616Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 37 sessionId: sid_rand_26|709fdaeb-b5c1bce-b81802a2-b84a698e_0 grpc closed
2025-11-19T11:45:30.248621Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 37 sessionId: sid_rand_26|709fdaeb-b5c1bce-b81802a2-b84a698e_0 is DEAD
2025-11-19T11:45:30.248793Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.248804Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 38
2025-11-19T11:45:30.248867Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.248903Z 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-19T11:45:30.248931Z 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]:33886
2025-11-19T11:45:30.248940Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=38 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.248944Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.249359Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 38 sessionId:  describe result for acl check
2025-11-19T11:45:30.249394Z 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-19T11:45:30.249400Z 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-19T11:45:30.249402Z 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-19T11:45:30.249407Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336079:2646] (SourceId=sid_rand_27, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.249972Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336079:2646] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.252036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336079:2646] (SourceId=sid_rand_27, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.252174Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336095:2646] connected; active server actors: 1
2025-11-19T11:45:30.252264Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336079:2646] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_27
2025-11-19T11:45:30.252273Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336079:2646] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.252356Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336095:2646] disconnected.
2025-11-19T11:45:30.252367Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336095:2646] disconnected; active server actors: 1
2025-11-19T11:45:30.252369Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336095:2646] disconnected no session
Init result: { status: SUCCESS init_response { session_id: "sid_rand_27|fc83b062-f374d1c-81d39520-19f611eb_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.255749Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336079:2646] (SourceId=sid_rand_27, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.255765Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336079:2646] (SourceId=sid_rand_27, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-19T11:45:30.255770Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336079:2646] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.255779Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 38 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-19T11:45:30.255921Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.255968Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_27|fc83b062-f374d1c-81d39520-19f611eb_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_27
2025-11-19T11:45:30.256084Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 38 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_27|fc83b062-f374d1c-81d39520-19f611eb_0
2025-11-19T11:45:30.256755Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId: sid_rand_27|fc83b062-f374d1c-81d39520-19f611eb_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.256766Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 38 sessionId: sid_rand_27|fc83b062-f374d1c-81d39520-19f611eb_0 grpc read failed
2025-11-19T11:45:30.256773Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 38 sessionId: sid_rand_27|fc83b062-f374d1c-81d39520-19f611eb_0 grpc closed
2025-11-19T11:45:30.256778Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 38 sessionId: sid_rand_27|fc83b062-f374d1c-81d39520-19f611eb_0 is DEAD
2025-11-19T11:45:30.256909Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.256918Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 39
2025-11-19T11:45:30.257096Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.257127Z 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-19T11:45:30.257160Z 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]:33886
2025-11-19T11:45:30.257165Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=39 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.257168Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.257555Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 39 sessionId:  describe result for acl check
2025-11-19T11:45:30.257589Z 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-19T11:45:30.257595Z 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-19T11:45:30.257597Z 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-19T11:45:30.257602Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336113:2650] (SourceId=sid_rand_28, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.258160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336113:2650] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.260336Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336113:2650] (SourceId=sid_rand_28, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.260557Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336129:2650] connected; active server actors: 1
2025-11-19T11:45:30.260690Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336113:2650] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_28
2025-11-19T11:45:30.260703Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336113:2650] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.260795Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336129:2650] disconnected.
2025-11-19T11:45:30.260805Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336129:2650] disconnected; active server actors: 1
2025-11-19T11:45:30.260810Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336129:2650] disconnected no session
2025-11-19T11:45:30.264109Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336113:2650] (SourceId=sid_rand_28, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.264123Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336113:2650] (SourceId=sid_rand_28, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-19T11:45:30.264127Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336113:2650] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.264136Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 39 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-19T11:45:30.264290Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.264359Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_28|5f2baa6f-4ecec784-fcb6910f-36ef9bc8_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_28
2025-11-19T11:45:30.264577Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 39 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_28|5f2baa6f-4ecec784-fcb6910f-36ef9bc8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_28|5f2baa6f-4ecec784-fcb6910f-36ef9bc8_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.265385Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId: sid_rand_28|5f2baa6f-4ecec784-fcb6910f-36ef9bc8_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.265394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 39 sessionId: sid_rand_28|5f2baa6f-4ecec784-fcb6910f-36ef9bc8_0 grpc read failed
2025-11-19T11:45:30.265409Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 39 sessionId: sid_rand_28|5f2baa6f-4ecec784-fcb6910f-36ef9bc8_0 grpc closed
2025-11-19T11:45:30.265415Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 39 sessionId: sid_rand_28|5f2baa6f-4ecec784-fcb6910f-36ef9bc8_0 is DEAD
2025-11-19T11:45:30.265624Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.265630Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 40
2025-11-19T11:45:30.265727Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.265739Z 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-19T11:45:30.265766Z 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]:33886
2025-11-19T11:45:30.265771Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=40 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.265775Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.266211Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 40 sessionId:  describe result for acl check
2025-11-19T11:45:30.266268Z 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-19T11:45:30.266270Z 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-19T11:45:30.266272Z 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-19T11:45:30.266277Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336147:2654] (SourceId=sid_rand_29, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.266818Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336147:2654] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.268963Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336147:2654] (SourceId=sid_rand_29, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.269192Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336163:2654] connected; active server actors: 1
2025-11-19T11:45:30.269245Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336147:2654] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_29
2025-11-19T11:45:30.269255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336147:2654] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.269400Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336163:2654] disconnected.
2025-11-19T11:45:30.269409Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336163:2654] disconnected; active server actors: 1
2025-11-19T11:45:30.269411Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336163:2654] disconnected no session
2025-11-19T11:45:30.272418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336147:2654] (SourceId=sid_rand_29, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.272430Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336147:2654] (SourceId=sid_rand_29, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-19T11:45:30.272434Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336147:2654] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.272441Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 40 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-19T11:45:30.272585Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.272635Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_29|2c21c236-315f9a37-67508074-379641bc_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_29
2025-11-19T11:45:30.272785Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 40 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_29|2c21c236-315f9a37-67508074-379641bc_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_29|2c21c236-315f9a37-67508074-379641bc_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.273673Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId: sid_rand_29|2c21c236-315f9a37-67508074-379641bc_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.273685Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 40 sessionId: sid_rand_29|2c21c236-315f9a37-67508074-379641bc_0 grpc read failed
2025-11-19T11:45:30.273691Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 40 sessionId: sid_rand_29|2c21c236-315f9a37-67508074-379641bc_0 grpc closed
2025-11-19T11:45:30.273696Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 40 sessionId: sid_rand_29|2c21c236-315f9a37-67508074-379641bc_0 is DEAD
2025-11-19T11:45:30.273766Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.273777Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 41
2025-11-19T11:45:30.273875Z 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-19T11:45:30.273903Z 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]:33886
2025-11-19T11:45:30.273916Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=41 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.273920Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.273966Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.274357Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 41 sessionId:  describe result for acl check
2025-11-19T11:45:30.274406Z 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-19T11:45:30.274416Z 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-19T11:45:30.274418Z 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-19T11:45:30.274423Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336181:2658] (SourceId=sid_rand_30, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.274992Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336181:2658] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.277438Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336181:2658] (SourceId=sid_rand_30, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.277625Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336197:2658] connected; active server actors: 1
2025-11-19T11:45:30.277718Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336181:2658] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_30
2025-11-19T11:45:30.277731Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336181:2658] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.277829Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336197:2658] disconnected.
2025-11-19T11:45:30.277838Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336197:2658] disconnected; active server actors: 1
2025-11-19T11:45:30.277842Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336197:2658] disconnected no session
2025-11-19T11:45:30.281170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336181:2658] (SourceId=sid_rand_30, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.281185Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336181:2658] (SourceId=sid_rand_30, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-19T11:45:30.281188Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336181:2658] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.281196Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 41 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-19T11:45:30.281342Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
Init result: { 2025-11-19T11:45:30.281368Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_30|1f136996-afd1b887-df6325b3-47bc88e4_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_30
2025-11-19T11:45:30.281501Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 41 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_30|1f136996-afd1b887-df6325b3-47bc88e4_0
status: SUCCESS init_response { session_id: "sid_rand_30|1f136996-afd1b887-df6325b3-47bc88e4_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.282152Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId: sid_rand_30|1f136996-afd1b887-df6325b3-47bc88e4_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.282161Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 41 sessionId: sid_rand_30|1f136996-afd1b887-df6325b3-47bc88e4_0 grpc read failed
2025-11-19T11:45:30.282177Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 41 sessionId: sid_rand_30|1f136996-afd1b887-df6325b3-47bc88e4_0 grpc closed
2025-11-19T11:45:30.282181Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 41 sessionId: sid_rand_30|1f136996-afd1b887-df6325b3-47bc88e4_0 is DEAD
2025-11-19T11:45:30.282347Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.282361Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 42
2025-11-19T11:45:30.282449Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.282460Z 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-19T11:45:30.282484Z 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]:33886
2025-11-19T11:45:30.282490Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=42 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.282499Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.282917Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 42 sessionId:  describe result for acl check
2025-11-19T11:45:30.282953Z 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-19T11:45:30.282960Z 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-19T11:45:30.282963Z 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-19T11:45:30.282968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336215:2662] (SourceId=sid_rand_31, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.283526Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336215:2662] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.286575Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336215:2662] (SourceId=sid_rand_31, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.286759Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336231:2662] connected; active server actors: 1
2025-11-19T11:45:30.286940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336215:2662] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_31
2025-11-19T11:45:30.286951Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336215:2662] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.287047Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336231:2662] disconnected.
2025-11-19T11:45:30.287055Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336231:2662] disconnected; active server actors: 1
2025-11-19T11:45:30.287058Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336231:2662] disconnected no session
2025-11-19T11:45:30.294494Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336215:2662] (SourceId=sid_rand_31, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.294510Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336215:2662] (SourceId=sid_rand_31, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-19T11:45:30.294528Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336215:2662] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.294537Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 42 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-19T11:45:30.294786Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.294847Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_31|bd681da0-b0fa2851-84be2296-884310da_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_31
2025-11-19T11:45:30.295036Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 42 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_31|bd681da0-b0fa2851-84be2296-884310da_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_31|bd681da0-b0fa2851-84be2296-884310da_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.295812Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId: sid_rand_31|bd681da0-b0fa2851-84be2296-884310da_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.295823Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 42 sessionId: sid_rand_31|bd681da0-b0fa2851-84be2296-884310da_0 grpc read failed
2025-11-19T11:45:30.295829Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 42 sessionId: sid_rand_31|bd681da0-b0fa2851-84be2296-884310da_0 grpc closed
2025-11-19T11:45:30.295834Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 42 sessionId: sid_rand_31|bd681da0-b0fa2851-84be2296-884310da_0 is DEAD
2025-11-19T11:45:30.295982Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.295991Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 43
2025-11-19T11:45:30.296140Z 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-19T11:45:30.296151Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.296172Z 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]:33886
2025-11-19T11:45:30.296176Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=43 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.296180Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.296649Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 43 sessionId:  describe result for acl check
2025-11-19T11:45:30.296685Z 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-19T11:45:30.296692Z 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-19T11:45:30.296694Z 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-19T11:45:30.296699Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336249:2666] (SourceId=sid_rand_32, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.297316Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336249:2666] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.299114Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336249:2666] (SourceId=sid_rand_32, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.299254Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336265:2666] connected; active server actors: 1
2025-11-19T11:45:30.299418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336249:2666] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_32
2025-11-19T11:45:30.299428Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336249:2666] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.299528Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336265:2666] disconnected.
2025-11-19T11:45:30.299542Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336265:2666] disconnected; active server actors: 1
2025-11-19T11:45:30.299545Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336265:2666] disconnected no session
2025-11-19T11:45:30.302680Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336249:2666] (SourceId=sid_rand_32, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.302692Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336249:2666] (SourceId=sid_rand_32, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-19T11:45:30.302696Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336249:2666] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.302704Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 43 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-19T11:45:30.302915Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.302978Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_32|bba6a540-fa33968-e328277a-200b298f_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_32
2025-11-19T11:45:30.303168Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 43 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_32|bba6a540-fa33968-e328277a-200b298f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_32|bba6a540-fa33968-e328277a-200b298f_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.303911Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId: sid_rand_32|bba6a540-fa33968-e328277a-200b298f_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.303920Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 43 sessionId: sid_rand_32|bba6a540-fa33968-e328277a-200b298f_0 grpc read failed
2025-11-19T11:45:30.303927Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 43 sessionId: sid_rand_32|bba6a540-fa33968-e328277a-200b298f_0 grpc closed
2025-11-19T11:45:30.303932Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 43 sessionId: sid_rand_32|bba6a540-fa33968-e328277a-200b298f_0 is DEAD
2025-11-19T11:45:30.304121Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.304134Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 44
2025-11-19T11:45:30.304219Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.304252Z 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-19T11:45:30.304281Z 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]:33886
2025-11-19T11:45:30.304292Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=44 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.304296Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.304724Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 44 sessionId:  describe result for acl check
2025-11-19T11:45:30.304760Z 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-19T11:45:30.304767Z 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-19T11:45:30.304770Z 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-19T11:45:30.304775Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336283:2670] (SourceId=sid_rand_33, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.305373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336283:2670] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.307560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336283:2670] (SourceId=sid_rand_33, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.307718Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336302:2670] connected; active server actors: 1
2025-11-19T11:45:30.307900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336283:2670] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_33
2025-11-19T11:45:30.307911Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336283:2670] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.308012Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336302:2670] disconnected.
2025-11-19T11:45:30.308023Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336302:2670] disconnected; active server actors: 1
2025-11-19T11:45:30.308025Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336302:2670] disconnected no session
2025-11-19T11:45:30.311256Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336283:2670] (SourceId=sid_rand_33, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.311270Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336283:2670] (SourceId=sid_rand_33, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-19T11:45:30.311274Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336283:2670] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.311293Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 44 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-19T11:45:30.311540Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.311647Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_33|3a233bc-46298aa8-97e2ba5d-f74a705a_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_33
2025-11-19T11:45:30.312096Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 44 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_33|3a233bc-46298aa8-97e2ba5d-f74a705a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_33|3a233bc-46298aa8-97e2ba5d-f74a705a_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.313040Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId: sid_rand_33|3a233bc-46298aa8-97e2ba5d-f74a705a_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.313050Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 44 sessionId: sid_rand_33|3a233bc-46298aa8-97e2ba5d-f74a705a_0 grpc read failed
2025-11-19T11:45:30.313057Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 44 sessionId: sid_rand_33|3a233bc-46298aa8-97e2ba5d-f74a705a_0 grpc closed
2025-11-19T11:45:30.313063Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 44 sessionId: sid_rand_33|3a233bc-46298aa8-97e2ba5d-f74a705a_0 is DEAD
2025-11-19T11:45:30.313196Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.313208Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 45
2025-11-19T11:45:30.313351Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.313369Z 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-19T11:45:30.313401Z 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]:33886
2025-11-19T11:45:30.313412Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=45 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.313416Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.313887Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 45 sessionId:  describe result for acl check
2025-11-19T11:45:30.313934Z 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-19T11:45:30.313941Z 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-19T11:45:30.313943Z 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-19T11:45:30.313948Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336319:2674] (SourceId=sid_rand_34, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.314579Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336319:2674] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.316667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336319:2674] (SourceId=sid_rand_34, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.316999Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336319:2674] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_34
2025-11-19T11:45:30.317009Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336319:2674] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.316869Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336335:2674] connected; active server actors: 1
2025-11-19T11:45:30.317137Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336335:2674] disconnected.
2025-11-19T11:45:30.317158Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336335:2674] disconnected; active server actors: 1
2025-11-19T11:45:30.317162Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336335:2674] disconnected no session
2025-11-19T11:45:30.320567Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336319:2674] (SourceId=sid_rand_34, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.320582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336319:2674] (SourceId=sid_rand_34, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-19T11:45:30.320588Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336319:2674] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.320596Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 45 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-19T11:45:30.320884Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.321056Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_34|1f81e8ea-ebe5747-7b82165b-b28c6346_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_34
2025-11-19T11:45:30.321395Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 45 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_34|1f81e8ea-ebe5747-7b82165b-b28c6346_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_34|1f81e8ea-ebe5747-7b82165b-b28c6346_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.322169Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId: sid_rand_34|1f81e8ea-ebe5747-7b82165b-b28c6346_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.322180Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 45 sessionId: sid_rand_34|1f81e8ea-ebe5747-7b82165b-b28c6346_0 grpc read failed
2025-11-19T11:45:30.322187Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 45 sessionId: sid_rand_34|1f81e8ea-ebe5747-7b82165b-b28c6346_0 grpc closed
2025-11-19T11:45:30.322194Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 45 sessionId: sid_rand_34|1f81e8ea-ebe5747-7b82165b-b28c6346_0 is DEAD
2025-11-19T11:45:30.322369Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.322381Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 46
2025-11-19T11:45:30.322484Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.322500Z 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-19T11:45:30.322525Z 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]:33886
2025-11-19T11:45:30.322541Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=46 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.322544Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.323002Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 46 sessionId:  describe result for acl check
2025-11-19T11:45:30.323036Z 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-19T11:45:30.323044Z 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-19T11:45:30.323046Z 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-19T11:45:30.323050Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336352:2678] (SourceId=sid_rand_35, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.323631Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336352:2678] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.326112Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336352:2678] (SourceId=sid_rand_35, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.326360Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336368:2678] connected; active server actors: 1
2025-11-19T11:45:30.326566Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336352:2678] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_35
2025-11-19T11:45:30.326586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336352:2678] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.326783Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336368:2678] disconnected.
2025-11-19T11:45:30.326794Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336368:2678] disconnected; active server actors: 1
2025-11-19T11:45:30.326798Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336368:2678] disconnected no session
2025-11-19T11:45:30.330483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336352:2678] (SourceId=sid_rand_35, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.330499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336352:2678] (SourceId=sid_rand_35, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-19T11:45:30.330504Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336352:2678] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.330514Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 46 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-19T11:45:30.330721Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.330776Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_35|b14b2936-190f9c43-adf886ed-411a4471_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_35
2025-11-19T11:45:30.331004Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 46 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_35|b14b2936-190f9c43-adf886ed-411a4471_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_35|b14b2936-190f9c43-adf886ed-411a4471_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.331811Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId: sid_rand_35|b14b2936-190f9c43-adf886ed-411a4471_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.331823Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 46 sessionId: sid_rand_35|b14b2936-190f9c43-adf886ed-411a4471_0 grpc read failed
2025-11-19T11:45:30.331830Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 46 sessionId: sid_rand_35|b14b2936-190f9c43-adf886ed-411a4471_0 grpc closed
2025-11-19T11:45:30.331836Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 46 sessionId: sid_rand_35|b14b2936-190f9c43-adf886ed-411a4471_0 is DEAD
2025-11-19T11:45:30.331996Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.332010Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 47
2025-11-19T11:45:30.332116Z 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-19T11:45:30.332122Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.332156Z 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]:33886
2025-11-19T11:45:30.332161Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=47 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.332165Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.332642Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 47 sessionId:  describe result for acl check
2025-11-19T11:45:30.332678Z 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-19T11:45:30.332686Z 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-19T11:45:30.332688Z 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-19T11:45:30.332695Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336386:2682] (SourceId=sid_rand_36, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.333376Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336386:2682] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.335638Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336386:2682] (SourceId=sid_rand_36, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.335797Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336402:2682] connected; active server actors: 1
2025-11-19T11:45:30.335971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336386:2682] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_36
2025-11-19T11:45:30.335981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336386:2682] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.336163Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336402:2682] disconnected.
2025-11-19T11:45:30.336176Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336402:2682] disconnected; active server actors: 1
2025-11-19T11:45:30.336179Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336402:2682] disconnected no session
2025-11-19T11:45:30.339458Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336386:2682] (SourceId=sid_rand_36, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.339480Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336386:2682] (SourceId=sid_rand_36, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-19T11:45:30.339484Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336386:2682] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.339493Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 47 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-19T11:45:30.339758Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.339900Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_36|957b5712-267afb00-47431364-28f0352a_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_36
2025-11-19T11:45:30.340271Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 47 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_36|957b5712-267afb00-47431364-28f0352a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_36|957b5712-267afb00-47431364-28f0352a_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.341161Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId: sid_rand_36|957b5712-267afb00-47431364-28f0352a_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.341172Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 47 sessionId: sid_rand_36|957b5712-267afb00-47431364-28f0352a_0 grpc read failed
2025-11-19T11:45:30.341178Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 47 sessionId: sid_rand_36|957b5712-267afb00-47431364-28f0352a_0 grpc closed
2025-11-19T11:45:30.341183Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 47 sessionId: sid_rand_36|957b5712-267afb00-47431364-28f0352a_0 is DEAD
2025-11-19T11:45:30.341199Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.341204Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 48
2025-11-19T11:45:30.341290Z 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-19T11:45:30.341314Z 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]:33886
2025-11-19T11:45:30.341319Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=48 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.341323Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.341456Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.341837Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 48 sessionId:  describe result for acl check
2025-11-19T11:45:30.341876Z 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-19T11:45:30.341885Z 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-19T11:45:30.341888Z 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-19T11:45:30.341893Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336419:2686] (SourceId=sid_rand_37, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.342547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336419:2686] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.344803Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336419:2686] (SourceId=sid_rand_37, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.344979Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336435:2686] connected; active server actors: 1
2025-11-19T11:45:30.345185Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336419:2686] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_37
2025-11-19T11:45:30.345196Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336419:2686] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.345313Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336435:2686] disconnected.
2025-11-19T11:45:30.345325Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336435:2686] disconnected; active server actors: 1
2025-11-19T11:45:30.345328Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336435:2686] disconnected no session
2025-11-19T11:45:30.348644Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336419:2686] (SourceId=sid_rand_37, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.348657Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336419:2686] (SourceId=sid_rand_37, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-19T11:45:30.348661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336419:2686] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.348670Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 48 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-19T11:45:30.349002Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.353106Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_37|e8e9d013-b6c777b1-b51b42f6-f3a22c6e_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_37
2025-11-19T11:45:30.353334Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 48 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_37|e8e9d013-b6c777b1-b51b42f6-f3a22c6e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_37|e8e9d013-b6c777b1-b51b42f6-f3a22c6e_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.354089Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId: sid_rand_37|e8e9d013-b6c777b1-b51b42f6-f3a22c6e_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.354116Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 48 sessionId: sid_rand_37|e8e9d013-b6c777b1-b51b42f6-f3a22c6e_0 grpc read failed
2025-11-19T11:45:30.354123Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 48 sessionId: sid_rand_37|e8e9d013-b6c777b1-b51b42f6-f3a22c6e_0 grpc closed
2025-11-19T11:45:30.354128Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 48 sessionId: sid_rand_37|e8e9d013-b6c777b1-b51b42f6-f3a22c6e_0 is DEAD
2025-11-19T11:45:30.354195Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.354205Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 49
2025-11-19T11:45:30.354388Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.354723Z 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-19T11:45:30.354758Z 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]:33886
2025-11-19T11:45:30.354764Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=49 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.354775Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.355254Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 49 sessionId:  describe result for acl check
2025-11-19T11:45:30.355296Z 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-19T11:45:30.355303Z 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-19T11:45:30.355305Z 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-19T11:45:30.355312Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336454:2690] (SourceId=sid_rand_38, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.355904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336454:2690] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.358417Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336454:2690] (SourceId=sid_rand_38, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.358770Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336470:2690] connected; active server actors: 1
2025-11-19T11:45:30.358850Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336454:2690] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_38
2025-11-19T11:45:30.358865Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336454:2690] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.358977Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336470:2690] disconnected.
2025-11-19T11:45:30.358989Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336470:2690] disconnected; active server actors: 1
2025-11-19T11:45:30.358992Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336470:2690] disconnected no session
2025-11-19T11:45:30.362624Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336454:2690] (SourceId=sid_rand_38, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.362637Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336454:2690] (SourceId=sid_rand_38, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-19T11:45:30.362641Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336454:2690] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.362649Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 49 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-19T11:45:30.362798Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.362852Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_38|392c7174-5571f094-6e135888-f90c371d_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_38
2025-11-19T11:45:30.363012Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 49 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_38|392c7174-5571f094-6e135888-f90c371d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_38|392c7174-5571f094-6e135888-f90c371d_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.363691Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId: sid_rand_38|392c7174-5571f094-6e135888-f90c371d_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.363703Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 49 sessionId: sid_rand_38|392c7174-5571f094-6e135888-f90c371d_0 grpc read failed
2025-11-19T11:45:30.363710Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 49 sessionId: sid_rand_38|392c7174-5571f094-6e135888-f90c371d_0 grpc closed
2025-11-19T11:45:30.363714Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 49 sessionId: sid_rand_38|392c7174-5571f094-6e135888-f90c371d_0 is DEAD
2025-11-19T11:45:30.363892Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.363904Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 50
2025-11-19T11:45:30.364001Z 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-19T11:45:30.364015Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.364029Z 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]:33886
2025-11-19T11:45:30.364033Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=50 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.364037Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.364441Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 50 sessionId:  describe result for acl check
2025-11-19T11:45:30.364477Z 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-19T11:45:30.364483Z 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-19T11:45:30.364485Z 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-19T11:45:30.364490Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336488:2694] (SourceId=sid_rand_39, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.365068Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336488:2694] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.367383Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336488:2694] (SourceId=sid_rand_39, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.367531Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336504:2694] connected; active server actors: 1
2025-11-19T11:45:30.367673Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336488:2694] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_39
2025-11-19T11:45:30.367686Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336488:2694] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.367809Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336504:2694] disconnected.
2025-11-19T11:45:30.367821Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336504:2694] disconnected; active server actors: 1
2025-11-19T11:45:30.367824Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336504:2694] disconnected no session
2025-11-19T11:45:30.373924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336488:2694] (SourceId=sid_rand_39, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.373941Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336488:2694] (SourceId=sid_rand_39, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-19T11:45:30.373945Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336488:2694] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.373953Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 50 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-19T11:45:30.374259Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.374391Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_39|d93c7331-d23f67ed-bb7da580-f43ebfa7_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_39
2025-11-19T11:45:30.374793Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 50 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_39|d93c7331-d23f67ed-bb7da580-f43ebfa7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_39|d93c7331-d23f67ed-bb7da580-f43ebfa7_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.375498Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId: sid_rand_39|d93c7331-d23f67ed-bb7da580-f43ebfa7_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.375508Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 50 sessionId: sid_rand_39|d93c7331-d23f67ed-bb7da580-f43ebfa7_0 grpc read failed
2025-11-19T11:45:30.375515Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 50 sessionId: sid_rand_39|d93c7331-d23f67ed-bb7da580-f43ebfa7_0 grpc closed
2025-11-19T11:45:30.375521Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 50 sessionId: sid_rand_39|d93c7331-d23f67ed-bb7da580-f43ebfa7_0 is DEAD
2025-11-19T11:45:30.375663Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.375676Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 51
2025-11-19T11:45:30.375833Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.375936Z 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-19T11:45:30.375979Z 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]:33886
2025-11-19T11:45:30.375988Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=51 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.375992Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.376485Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 51 sessionId:  describe result for acl check
2025-11-19T11:45:30.376527Z 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-19T11:45:30.376535Z 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-19T11:45:30.376537Z 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-19T11:45:30.376542Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336521:2698] (SourceId=sid_rand_40, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.377223Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336521:2698] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.379469Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336521:2698] (SourceId=sid_rand_40, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.379680Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336537:2698] connected; active server actors: 1
2025-11-19T11:45:30.379852Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336521:2698] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_40
2025-11-19T11:45:30.379865Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336521:2698] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.379970Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336537:2698] disconnected.
2025-11-19T11:45:30.379983Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336537:2698] disconnected; active server actors: 1
2025-11-19T11:45:30.379986Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336537:2698] disconnected no session
2025-11-19T11:45:30.383361Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336521:2698] (SourceId=sid_rand_40, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.383373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336521:2698] (SourceId=sid_rand_40, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-19T11:45:30.383376Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336521:2698] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.383384Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 51 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-19T11:45:30.383619Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.383664Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_40|966873ff-9d4c4b94-f02df1cb-daf8e13f_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_40
2025-11-19T11:45:30.383822Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 51 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_40|966873ff-9d4c4b94-f02df1cb-daf8e13f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_40|966873ff-9d4c4b94-f02df1cb-daf8e13f_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.384586Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId: sid_rand_40|966873ff-9d4c4b94-f02df1cb-daf8e13f_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.384600Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 51 sessionId: sid_rand_40|966873ff-9d4c4b94-f02df1cb-daf8e13f_0 grpc read failed
2025-11-19T11:45:30.384606Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 51 sessionId: sid_rand_40|966873ff-9d4c4b94-f02df1cb-daf8e13f_0 grpc closed
2025-11-19T11:45:30.384611Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 51 sessionId: sid_rand_40|966873ff-9d4c4b94-f02df1cb-daf8e13f_0 is DEAD
2025-11-19T11:45:30.384790Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.384801Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 52
2025-11-19T11:45:30.384928Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.384930Z 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-19T11:45:30.384953Z 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]:33886
2025-11-19T11:45:30.384964Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=52 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.384970Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.385410Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 52 sessionId:  describe result for acl check
2025-11-19T11:45:30.385463Z 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-19T11:45:30.385469Z 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-19T11:45:30.385471Z 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-19T11:45:30.385478Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336555:2702] (SourceId=sid_rand_41, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.386036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336555:2702] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.388340Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336555:2702] (SourceId=sid_rand_41, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.388505Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336571:2702] connected; active server actors: 1
2025-11-19T11:45:30.388679Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336555:2702] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_41
2025-11-19T11:45:30.388692Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336555:2702] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.388805Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336571:2702] disconnected.
2025-11-19T11:45:30.388814Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336571:2702] disconnected; active server actors: 1
2025-11-19T11:45:30.388817Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336571:2702] disconnected no session
2025-11-19T11:45:30.392078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336555:2702] (SourceId=sid_rand_41, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.392092Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336555:2702] (SourceId=sid_rand_41, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-19T11:45:30.392097Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336555:2702] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.392103Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 52 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-19T11:45:30.392323Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.392432Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_41|e365b723-ae6d831b-bc837f15-b259d488_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_41
2025-11-19T11:45:30.392773Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 52 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_41|e365b723-ae6d831b-bc837f15-b259d488_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_41|e365b723-ae6d831b-bc837f15-b259d488_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.393474Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId: sid_rand_41|e365b723-ae6d831b-bc837f15-b259d488_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.393482Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 52 sessionId: sid_rand_41|e365b723-ae6d831b-bc837f15-b259d488_0 grpc read failed
2025-11-19T11:45:30.393488Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 52 sessionId: sid_rand_41|e365b723-ae6d831b-bc837f15-b259d488_0 grpc closed
2025-11-19T11:45:30.393492Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 52 sessionId: sid_rand_41|e365b723-ae6d831b-bc837f15-b259d488_0 is DEAD
2025-11-19T11:45:30.393638Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.393650Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 53
2025-11-19T11:45:30.393774Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.393805Z 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-19T11:45:30.393829Z 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]:33886
2025-11-19T11:45:30.393840Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=53 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.393844Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.394292Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 53 sessionId:  describe result for acl check
2025-11-19T11:45:30.394329Z 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-19T11:45:30.394336Z 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-19T11:45:30.394338Z 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-19T11:45:30.394343Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336588:2706] (SourceId=sid_rand_42, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.394967Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336588:2706] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.397234Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336588:2706] (SourceId=sid_rand_42, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.397407Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336604:2706] connected; active server actors: 1
2025-11-19T11:45:30.397555Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336588:2706] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_42
2025-11-19T11:45:30.397567Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336588:2706] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.397663Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336604:2706] disconnected.
2025-11-19T11:45:30.397676Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336604:2706] disconnected; active server actors: 1
2025-11-19T11:45:30.397679Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336604:2706] disconnected no session
2025-11-19T11:45:30.400602Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336588:2706] (SourceId=sid_rand_42, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.400614Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336588:2706] (SourceId=sid_rand_42, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-19T11:45:30.400617Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336588:2706] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.400625Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 53 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-19T11:45:30.400840Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.400953Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_42|cafda620-67113286-b67c03c-3778efd2_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_42
2025-11-19T11:45:30.401312Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 53 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_42|cafda620-67113286-b67c03c-3778efd2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_42|cafda620-67113286-b67c03c-3778efd2_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.401934Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId: sid_rand_42|cafda620-67113286-b67c03c-3778efd2_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.401944Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 53 sessionId: sid_rand_42|cafda620-67113286-b67c03c-3778efd2_0 grpc read failed
2025-11-19T11:45:30.401950Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 53 sessionId: sid_rand_42|cafda620-67113286-b67c03c-3778efd2_0 grpc closed
2025-11-19T11:45:30.401955Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 53 sessionId: sid_rand_42|cafda620-67113286-b67c03c-3778efd2_0 is DEAD
2025-11-19T11:45:30.402117Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.402127Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 54
2025-11-19T11:45:30.402220Z 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-19T11:45:30.402226Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.402261Z 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]:33886
2025-11-19T11:45:30.402266Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=54 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.402269Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.402616Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 54 sessionId:  describe result for acl check
2025-11-19T11:45:30.402655Z 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-19T11:45:30.402657Z 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-19T11:45:30.402659Z 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-19T11:45:30.402664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336621:2710] (SourceId=sid_rand_43, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.403210Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336621:2710] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.404995Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336621:2710] (SourceId=sid_rand_43, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.405130Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336638:2710] connected; active server actors: 1
2025-11-19T11:45:30.405281Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336621:2710] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_43
2025-11-19T11:45:30.405291Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336621:2710] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.405387Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336638:2710] disconnected.
2025-11-19T11:45:30.405398Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336638:2710] disconnected; active server actors: 1
2025-11-19T11:45:30.405403Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336638:2710] disconnected no session
2025-11-19T11:45:30.408354Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336621:2710] (SourceId=sid_rand_43, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.408367Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336621:2710] (SourceId=sid_rand_43, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-19T11:45:30.408371Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336621:2710] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.408379Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 54 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-19T11:45:30.408612Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.408705Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_43|ad5d245-1339639f-cc3322d5-650aedb8_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_43
2025-11-19T11:45:30.409013Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 54 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_43|ad5d245-1339639f-cc3322d5-650aedb8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_43|ad5d245-1339639f-cc3322d5-650aedb8_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.409666Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId: sid_rand_43|ad5d245-1339639f-cc3322d5-650aedb8_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.409675Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 54 sessionId: sid_rand_43|ad5d245-1339639f-cc3322d5-650aedb8_0 grpc read failed
2025-11-19T11:45:30.409681Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 54 sessionId: sid_rand_43|ad5d245-1339639f-cc3322d5-650aedb8_0 grpc closed
2025-11-19T11:45:30.409686Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 54 sessionId: sid_rand_43|ad5d245-1339639f-cc3322d5-650aedb8_0 is DEAD
2025-11-19T11:45:30.409872Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.409901Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.409905Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 55
2025-11-19T11:45:30.410037Z 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-19T11:45:30.410083Z 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]:33886
2025-11-19T11:45:30.410092Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=55 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.410097Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.410493Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 55 sessionId:  describe result for acl check
2025-11-19T11:45:30.410534Z 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-19T11:45:30.410540Z 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-19T11:45:30.410542Z 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-19T11:45:30.410547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336655:2714] (SourceId=sid_rand_44, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.411167Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336655:2714] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.413245Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336655:2714] (SourceId=sid_rand_44, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.413365Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336671:2714] connected; active server actors: 1
2025-11-19T11:45:30.413500Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336655:2714] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_44
2025-11-19T11:45:30.413512Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336655:2714] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.413592Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336671:2714] disconnected.
2025-11-19T11:45:30.413603Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336671:2714] disconnected; active server actors: 1
2025-11-19T11:45:30.413607Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336671:2714] disconnected no session
2025-11-19T11:45:30.416572Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336655:2714] (SourceId=sid_rand_44, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.416586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336655:2714] (SourceId=sid_rand_44, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-19T11:45:30.416589Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336655:2714] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.416596Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 55 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-19T11:45:30.416708Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.416764Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_44|66dab1af-64f4eea6-c7392bfc-d8b73f8a_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_44
2025-11-19T11:45:30.416902Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 55 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_44|66dab1af-64f4eea6-c7392bfc-d8b73f8a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_44|66dab1af-64f4eea6-c7392bfc-d8b73f8a_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.417646Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId: sid_rand_44|66dab1af-64f4eea6-c7392bfc-d8b73f8a_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.417660Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 55 sessionId: sid_rand_44|66dab1af-64f4eea6-c7392bfc-d8b73f8a_0 grpc read failed
2025-11-19T11:45:30.417666Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 55 sessionId: sid_rand_44|66dab1af-64f4eea6-c7392bfc-d8b73f8a_0 grpc closed
2025-11-19T11:45:30.417670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 55 sessionId: sid_rand_44|66dab1af-64f4eea6-c7392bfc-d8b73f8a_0 is DEAD
2025-11-19T11:45:30.417818Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.417830Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 56
2025-11-19T11:45:30.417914Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.417946Z 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-19T11:45:30.417971Z 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]:33886
2025-11-19T11:45:30.417982Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=56 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.417986Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.418412Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 56 sessionId:  describe result for acl check
2025-11-19T11:45:30.418446Z 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-19T11:45:30.418453Z 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-19T11:45:30.418455Z 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-19T11:45:30.418461Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336689:2718] (SourceId=sid_rand_45, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.419004Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336689:2718] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.421142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336689:2718] (SourceId=sid_rand_45, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.421284Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336705:2718] connected; active server actors: 1
2025-11-19T11:45:30.421394Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336689:2718] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_45
2025-11-19T11:45:30.421403Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336689:2718] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.421477Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336705:2718] disconnected.
2025-11-19T11:45:30.421486Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336705:2718] disconnected; active server actors: 1
2025-11-19T11:45:30.421489Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336705:2718] disconnected no session
2025-11-19T11:45:30.424407Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336689:2718] (SourceId=sid_rand_45, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.424420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336689:2718] (SourceId=sid_rand_45, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-19T11:45:30.424424Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336689:2718] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.424431Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 56 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-19T11:45:30.424675Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.424789Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_45|bd1191fe-b0525fe5-ded93dd3-f6f890ec_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_45
2025-11-19T11:45:30.425150Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 56 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_45|bd1191fe-b0525fe5-ded93dd3-f6f890ec_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_45|bd1191fe-b0525fe5-ded93dd3-f6f890ec_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.425805Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId: sid_rand_45|bd1191fe-b0525fe5-ded93dd3-f6f890ec_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.425832Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 56 sessionId: sid_rand_45|bd1191fe-b0525fe5-ded93dd3-f6f890ec_0 grpc read failed
2025-11-19T11:45:30.425849Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 56 sessionId: sid_rand_45|bd1191fe-b0525fe5-ded93dd3-f6f890ec_0
2025-11-19T11:45:30.425855Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 56 sessionId: sid_rand_45|bd1191fe-b0525fe5-ded93dd3-f6f890ec_0 is DEAD
2025-11-19T11:45:30.425941Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.425970Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.425980Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 57
2025-11-19T11:45:30.426115Z 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-19T11:45:30.426148Z 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]:33886
2025-11-19T11:45:30.426157Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=57 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.426165Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.426583Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 57 sessionId:  describe result for acl check
2025-11-19T11:45:30.426621Z 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-19T11:45:30.426628Z 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-19T11:45:30.426630Z 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-19T11:45:30.426636Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336722:2722] (SourceId=sid_rand_46, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.427228Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336722:2722] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.429273Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336722:2722] (SourceId=sid_rand_46, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.429478Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336738:2722] connected; active server actors: 1
2025-11-19T11:45:30.429713Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336722:2722] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_46
2025-11-19T11:45:30.429732Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336722:2722] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.429875Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336738:2722] disconnected.
2025-11-19T11:45:30.429885Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336738:2722] disconnected; active server actors: 1
2025-11-19T11:45:30.429888Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336738:2722] disconnected no session
2025-11-19T11:45:30.433110Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336722:2722] (SourceId=sid_rand_46, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.433124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336722:2722] (SourceId=sid_rand_46, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-19T11:45:30.433129Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336722:2722] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.433137Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 57 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-19T11:45:30.433282Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.433349Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_46|ccc9cff8-e073a0fc-f4c2a3da-4eb4410c_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_46
2025-11-19T11:45:30.433481Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 57 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_46|ccc9cff8-e073a0fc-f4c2a3da-4eb4410c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_46|ccc9cff8-e073a0fc-f4c2a3da-4eb4410c_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.434227Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId: sid_rand_46|ccc9cff8-e073a0fc-f4c2a3da-4eb4410c_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.434239Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 57 sessionId: sid_rand_46|ccc9cff8-e073a0fc-f4c2a3da-4eb4410c_0 grpc read failed
2025-11-19T11:45:30.434256Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 57 sessionId: sid_rand_46|ccc9cff8-e073a0fc-f4c2a3da-4eb4410c_0 grpc closed
2025-11-19T11:45:30.434261Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 57 sessionId: sid_rand_46|ccc9cff8-e073a0fc-f4c2a3da-4eb4410c_0 is DEAD
2025-11-19T11:45:30.434346Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.434359Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 58
2025-11-19T11:45:30.434514Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.434551Z 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-19T11:45:30.434582Z 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]:33886
2025-11-19T11:45:30.434591Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=58 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.434595Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.435072Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 58 sessionId:  describe result for acl check
2025-11-19T11:45:30.435113Z 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-19T11:45:30.435120Z 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-19T11:45:30.435122Z 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-19T11:45:30.435127Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336756:2726] (SourceId=sid_rand_47, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.435697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336756:2726] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.438010Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336756:2726] (SourceId=sid_rand_47, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.438179Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336775:2726] connected; active server actors: 1
2025-11-19T11:45:30.438261Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336756:2726] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_47
2025-11-19T11:45:30.438283Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336756:2726] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.438367Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336775:2726] disconnected.
2025-11-19T11:45:30.438387Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336775:2726] disconnected; active server actors: 1
2025-11-19T11:45:30.438390Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336775:2726] disconnected no session
2025-11-19T11:45:30.441176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336756:2726] (SourceId=sid_rand_47, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.441197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336756:2726] (SourceId=sid_rand_47, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-19T11:45:30.441201Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336756:2726] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.441207Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 58 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-19T11:45:30.441330Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.441379Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_47|7a3f08ee-524c7ba5-c68802b1-538942d5_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_47
2025-11-19T11:45:30.441572Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 58 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_47|7a3f08ee-524c7ba5-c68802b1-538942d5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_47|7a3f08ee-524c7ba5-c68802b1-538942d5_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.442215Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId: sid_rand_47|7a3f08ee-524c7ba5-c68802b1-538942d5_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.442226Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 58 sessionId: sid_rand_47|7a3f08ee-524c7ba5-c68802b1-538942d5_0 grpc read failed
2025-11-19T11:45:30.442231Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 58 sessionId: sid_rand_47|7a3f08ee-524c7ba5-c68802b1-538942d5_0 grpc closed
2025-11-19T11:45:30.442237Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 58 sessionId: sid_rand_47|7a3f08ee-524c7ba5-c68802b1-538942d5_0 is DEAD
2025-11-19T11:45:30.442395Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.442406Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 59
2025-11-19T11:45:30.442494Z 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-19T11:45:30.442513Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.442541Z 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]:33886
2025-11-19T11:45:30.442550Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=59 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.442554Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.442955Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 59 sessionId:  describe result for acl check
2025-11-19T11:45:30.443001Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-19T11:45:30.443007Z 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-19T11:45:30.443009Z 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-19T11:45:30.443014Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336793:2730] (SourceId=sid_rand_48, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.443563Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336793:2730] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.445640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336793:2730] (SourceId=sid_rand_48, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.445793Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336809:2730] connected; active server actors: 1
2025-11-19T11:45:30.445918Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336793:2730] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_48
2025-11-19T11:45:30.445930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336793:2730] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.446020Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336809:2730] disconnected.
2025-11-19T11:45:30.446032Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336809:2730] disconnected; active server actors: 1
2025-11-19T11:45:30.446035Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336809:2730] disconnected no session
2025-11-19T11:45:30.448893Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336793:2730] (SourceId=sid_rand_48, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.448905Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336793:2730] (SourceId=sid_rand_48, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-19T11:45:30.448909Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336793:2730] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.448916Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 59 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-19T11:45:30.449171Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.449265Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_48|7c07ff2c-3f0603af-dc932476-3949f708_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_48
2025-11-19T11:45:30.449561Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 59 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_48|7c07ff2c-3f0603af-dc932476-3949f708_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_48|7c07ff2c-3f0603af-dc932476-3949f708_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.450368Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId: sid_rand_48|7c07ff2c-3f0603af-dc932476-3949f708_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.450387Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 59 sessionId: sid_rand_48|7c07ff2c-3f0603af-dc932476-3949f708_0 grpc read failed
2025-11-19T11:45:30.450393Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 59 sessionId: sid_rand_48|7c07ff2c-3f0603af-dc932476-3949f708_0 grpc closed
2025-11-19T11:45:30.450398Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 59 sessionId: sid_rand_48|7c07ff2c-3f0603af-dc932476-3949f708_0 is DEAD
2025-11-19T11:45:30.450459Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.450471Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 60
2025-11-19T11:45:30.450544Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.450584Z 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-19T11:45:30.450614Z 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]:33886
2025-11-19T11:45:30.450619Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=60 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.450622Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.451061Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 60 sessionId:  describe result for acl check
2025-11-19T11:45:30.451099Z 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-19T11:45:30.451106Z 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-19T11:45:30.451108Z 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-19T11:45:30.451113Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336826:2734] (SourceId=sid_rand_49, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.451637Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336826:2734] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.453797Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336826:2734] (SourceId=sid_rand_49, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.453950Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336842:2734] connected; active server actors: 1
2025-11-19T11:45:30.454061Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336826:2734] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_49
2025-11-19T11:45:30.454071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336826:2734] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.454160Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336842:2734] disconnected.
2025-11-19T11:45:30.454172Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336842:2734] disconnected; active server actors: 1
2025-11-19T11:45:30.454175Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336842:2734] disconnected no session
2025-11-19T11:45:30.457081Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336826:2734] (SourceId=sid_rand_49, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.457094Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336826:2734] (SourceId=sid_rand_49, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-19T11:45:30.457099Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336826:2734] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.457107Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 60 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-19T11:45:30.457245Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.457294Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_49|a613e8b7-53d36ac2-cccd2c5f-6035cbf8_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_49
2025-11-19T11:45:30.457424Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 60 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_49|a613e8b7-53d36ac2-cccd2c5f-6035cbf8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_49|a613e8b7-53d36ac2-cccd2c5f-6035cbf8_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.458064Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId: sid_rand_49|a613e8b7-53d36ac2-cccd2c5f-6035cbf8_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.458075Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 60 sessionId: sid_rand_49|a613e8b7-53d36ac2-cccd2c5f-6035cbf8_0 grpc read failed
2025-11-19T11:45:30.458082Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 60 sessionId: sid_rand_49|a613e8b7-53d36ac2-cccd2c5f-6035cbf8_0 grpc closed
2025-11-19T11:45:30.458087Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 60 sessionId: sid_rand_49|a613e8b7-53d36ac2-cccd2c5f-6035cbf8_0 is DEAD
2025-11-19T11:45:30.458199Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.458211Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 61
2025-11-19T11:45:30.458330Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.458355Z 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-19T11:45:30.458382Z 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]:33886
2025-11-19T11:45:30.458391Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=61 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.458394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.458742Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 61 sessionId:  describe result for acl check
2025-11-19T11:45:30.458775Z 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-19T11:45:30.458777Z 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-19T11:45:30.458780Z 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-19T11:45:30.458784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336860:2738] (SourceId=sid_rand_50, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.459277Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336860:2738] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.461484Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336860:2738] (SourceId=sid_rand_50, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.461626Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336876:2738] connected; active server actors: 1
2025-11-19T11:45:30.461789Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336860:2738] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_50
2025-11-19T11:45:30.461801Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336860:2738] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.461931Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336876:2738] disconnected.
2025-11-19T11:45:30.461943Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336876:2738] disconnected; active server actors: 1
2025-11-19T11:45:30.461946Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336876:2738] disconnected no session
2025-11-19T11:45:30.464868Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336860:2738] (SourceId=sid_rand_50, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.464880Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336860:2738] (SourceId=sid_rand_50, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-19T11:45:30.464884Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336860:2738] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.464893Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 61 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-19T11:45:30.465201Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.465317Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_50|eda30f83-89f6f5df-77cf78db-3f3dd7a7_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_50
2025-11-19T11:45:30.465680Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 61 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_50|eda30f83-89f6f5df-77cf78db-3f3dd7a7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_50|eda30f83-89f6f5df-77cf78db-3f3dd7a7_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.466299Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId: sid_rand_50|eda30f83-89f6f5df-77cf78db-3f3dd7a7_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.466316Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 61 sessionId: sid_rand_50|eda30f83-89f6f5df-77cf78db-3f3dd7a7_0 grpc read failed
2025-11-19T11:45:30.466357Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 61 sessionId: sid_rand_50|eda30f83-89f6f5df-77cf78db-3f3dd7a7_0
2025-11-19T11:45:30.466367Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 61 sessionId: sid_rand_50|eda30f83-89f6f5df-77cf78db-3f3dd7a7_0 is DEAD
2025-11-19T11:45:30.466431Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.466445Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 62
2025-11-19T11:45:30.466482Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.466538Z 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-19T11:45:30.466568Z 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]:33886
2025-11-19T11:45:30.466578Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=62 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.466582Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.466958Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 62 sessionId:  describe result for acl check
2025-11-19T11:45:30.466996Z 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-19T11:45:30.467003Z 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-19T11:45:30.467005Z 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-19T11:45:30.467010Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336893:2742] (SourceId=sid_rand_51, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.467502Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336893:2742] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.469602Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336893:2742] (SourceId=sid_rand_51, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.469767Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336909:2742] connected; active server actors: 1
2025-11-19T11:45:30.469903Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336893:2742] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_51
2025-11-19T11:45:30.469915Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336893:2742] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.470022Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336909:2742] disconnected.
2025-11-19T11:45:30.470033Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336909:2742] disconnected; active server actors: 1
2025-11-19T11:45:30.470036Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336909:2742] disconnected no session
2025-11-19T11:45:30.472873Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336893:2742] (SourceId=sid_rand_51, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.472886Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336893:2742] (SourceId=sid_rand_51, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-19T11:45:30.472891Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336893:2742] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.472898Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 62 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-19T11:45:30.473043Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.473075Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_51|a4c4e746-89a9581d-cfb98fdd-7196fa43_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_51
2025-11-19T11:45:30.473228Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 62 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_51|a4c4e746-89a9581d-cfb98fdd-7196fa43_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_51|a4c4e746-89a9581d-cfb98fdd-7196fa43_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.473916Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId: sid_rand_51|a4c4e746-89a9581d-cfb98fdd-7196fa43_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.473925Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 62 sessionId: sid_rand_51|a4c4e746-89a9581d-cfb98fdd-7196fa43_0 grpc read failed
2025-11-19T11:45:30.473932Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 62 sessionId: sid_rand_51|a4c4e746-89a9581d-cfb98fdd-7196fa43_0 grpc closed
2025-11-19T11:45:30.473936Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 62 sessionId: sid_rand_51|a4c4e746-89a9581d-cfb98fdd-7196fa43_0 is DEAD
2025-11-19T11:45:30.474027Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.474039Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 63
2025-11-19T11:45:30.474183Z 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-19T11:45:30.474184Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.474229Z 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]:33886
2025-11-19T11:45:30.474234Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=63 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.474237Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.474657Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 63 sessionId:  describe result for acl check
2025-11-19T11:45:30.474686Z 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-19T11:45:30.474693Z 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-19T11:45:30.474695Z 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-19T11:45:30.474700Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336927:2746] (SourceId=sid_rand_52, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.475249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336927:2746] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.477283Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336927:2746] (SourceId=sid_rand_52, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.477412Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336945:2746] connected; active server actors: 1
2025-11-19T11:45:30.477549Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336927:2746] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_52
2025-11-19T11:45:30.477562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336927:2746] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.477695Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336945:2746] disconnected.
2025-11-19T11:45:30.477708Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336945:2746] disconnected; active server actors: 1
2025-11-19T11:45:30.477712Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336945:2746] disconnected no session
2025-11-19T11:45:30.480572Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336927:2746] (SourceId=sid_rand_52, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.480586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336927:2746] (SourceId=sid_rand_52, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-19T11:45:30.480589Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336927:2746] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.480597Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 63 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-19T11:45:30.480728Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.480785Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_52|55bc0cbf-64ccbbd1-b59a0b0a-89eefeec_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_52
2025-11-19T11:45:30.480933Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 63 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_52|55bc0cbf-64ccbbd1-b59a0b0a-89eefeec_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_52|55bc0cbf-64ccbbd1-b59a0b0a-89eefeec_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.481585Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId: sid_rand_52|55bc0cbf-64ccbbd1-b59a0b0a-89eefeec_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.481593Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 63 sessionId: sid_rand_52|55bc0cbf-64ccbbd1-b59a0b0a-89eefeec_0 grpc read failed
2025-11-19T11:45:30.481599Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 63 sessionId: sid_rand_52|55bc0cbf-64ccbbd1-b59a0b0a-89eefeec_0 grpc closed
2025-11-19T11:45:30.481604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 63 sessionId: sid_rand_52|55bc0cbf-64ccbbd1-b59a0b0a-89eefeec_0 is DEAD
2025-11-19T11:45:30.481725Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.481736Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 64
2025-11-19T11:45:30.481865Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.481877Z 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-19T11:45:30.481898Z 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]:33886
2025-11-19T11:45:30.481901Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=64 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.481904Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.482292Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 64 sessionId:  describe result for acl check
2025-11-19T11:45:30.482325Z 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-19T11:45:30.482332Z 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-19T11:45:30.482334Z 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-19T11:45:30.482339Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336963:2751] (SourceId=sid_rand_53, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.482928Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336963:2751] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.484973Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336963:2751] (SourceId=sid_rand_53, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.485110Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336979:2751] connected; active server actors: 1
2025-11-19T11:45:30.485222Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336963:2751] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_53
2025-11-19T11:45:30.485232Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336963:2751] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.485317Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336979:2751] disconnected.
2025-11-19T11:45:30.485326Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336979:2751] disconnected; active server actors: 1
2025-11-19T11:45:30.485329Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579336979:2751] disconnected no session
2025-11-19T11:45:30.488210Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336963:2751] (SourceId=sid_rand_53, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.488220Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336963:2751] (SourceId=sid_rand_53, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-19T11:45:30.488224Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336963:2751] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.488231Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 64 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-19T11:45:30.488373Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.488422Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_53|50dbfd28-37e6e388-5290721c-d8d9f451_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_53
2025-11-19T11:45:30.488576Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 64 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_53|50dbfd28-37e6e388-5290721c-d8d9f451_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_53|50dbfd28-37e6e388-5290721c-d8d9f451_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.489212Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId: sid_rand_53|50dbfd28-37e6e388-5290721c-d8d9f451_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.489222Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 64 sessionId: sid_rand_53|50dbfd28-37e6e388-5290721c-d8d9f451_0 grpc read failed
2025-11-19T11:45:30.489238Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 64 sessionId: sid_rand_53|50dbfd28-37e6e388-5290721c-d8d9f451_0 grpc closed
2025-11-19T11:45:30.489243Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 64 sessionId: sid_rand_53|50dbfd28-37e6e388-5290721c-d8d9f451_0 is DEAD
2025-11-19T11:45:30.489404Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.489429Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 65
2025-11-19T11:45:30.489523Z 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-19T11:45:30.489538Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.489551Z 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]:33886
2025-11-19T11:45:30.489567Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=65 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.489570Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.489977Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 65 sessionId:  describe result for acl check
2025-11-19T11:45:30.490007Z 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-19T11:45:30.490009Z 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-19T11:45:30.490011Z 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-19T11:45:30.490015Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579336997:2755] (SourceId=sid_rand_54, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.490586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579336997:2755] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.492620Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579336997:2755] (SourceId=sid_rand_54, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.492795Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337013:2755] connected; active server actors: 1
2025-11-19T11:45:30.492984Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579336997:2755] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_54
2025-11-19T11:45:30.492995Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579336997:2755] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.493105Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337013:2755] disconnected.
2025-11-19T11:45:30.493118Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337013:2755] disconnected; active server actors: 1
2025-11-19T11:45:30.493121Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337013:2755] disconnected no session
2025-11-19T11:45:30.495920Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579336997:2755] (SourceId=sid_rand_54, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.495933Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579336997:2755] (SourceId=sid_rand_54, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-19T11:45:30.495936Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579336997:2755] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.495944Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 65 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-19T11:45:30.496099Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.496151Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_54|a9fce43a-c62aced7-fa24a284-2b4e87b0_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_54
2025-11-19T11:45:30.496316Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 65 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_54|a9fce43a-c62aced7-fa24a284-2b4e87b0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_54|a9fce43a-c62aced7-fa24a284-2b4e87b0_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.497004Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId: sid_rand_54|a9fce43a-c62aced7-fa24a284-2b4e87b0_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.497013Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 65 sessionId: sid_rand_54|a9fce43a-c62aced7-fa24a284-2b4e87b0_0 grpc read failed
2025-11-19T11:45:30.497032Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 65 sessionId: sid_rand_54|a9fce43a-c62aced7-fa24a284-2b4e87b0_0 grpc closed
2025-11-19T11:45:30.497036Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 65 sessionId: sid_rand_54|a9fce43a-c62aced7-fa24a284-2b4e87b0_0 is DEAD
2025-11-19T11:45:30.497239Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.497299Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.497310Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 66
2025-11-19T11:45:30.497431Z 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-19T11:45:30.497461Z 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]:33886
2025-11-19T11:45:30.497471Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=66 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.497474Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.497853Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 66 sessionId:  describe result for acl check
2025-11-19T11:45:30.497888Z 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-19T11:45:30.497890Z 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-19T11:45:30.497892Z 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-19T11:45:30.497896Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337031:2759] (SourceId=sid_rand_55, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.498451Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337031:2759] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.500293Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337031:2759] (SourceId=sid_rand_55, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.500427Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337047:2759] connected; active server actors: 1
2025-11-19T11:45:30.500610Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337031:2759] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_55
2025-11-19T11:45:30.500623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337031:2759] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.500738Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337047:2759] disconnected.
2025-11-19T11:45:30.500761Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337047:2759] disconnected; active server actors: 1
2025-11-19T11:45:30.500764Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337047:2759] disconnected no session
2025-11-19T11:45:30.503644Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337031:2759] (SourceId=sid_rand_55, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.503657Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337031:2759] (SourceId=sid_rand_55, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-19T11:45:30.503679Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337031:2759] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.503687Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 66 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-19T11:45:30.503835Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.503885Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_55|98089b63-7a99704a-ebfd93af-4d829f5d_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_55
2025-11-19T11:45:30.504067Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 66 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_55|98089b63-7a99704a-ebfd93af-4d829f5d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_55|98089b63-7a99704a-ebfd93af-4d829f5d_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.504705Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId: sid_rand_55|98089b63-7a99704a-ebfd93af-4d829f5d_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.504716Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 66 sessionId: sid_rand_55|98089b63-7a99704a-ebfd93af-4d829f5d_0 grpc read failed
2025-11-19T11:45:30.504723Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 66 sessionId: sid_rand_55|98089b63-7a99704a-ebfd93af-4d829f5d_0 grpc closed
2025-11-19T11:45:30.504728Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 66 sessionId: sid_rand_55|98089b63-7a99704a-ebfd93af-4d829f5d_0 is DEAD
2025-11-19T11:45:30.504860Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.504871Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 67
2025-11-19T11:45:30.505000Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.505034Z 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-19T11:45:30.505069Z 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]:33886
2025-11-19T11:45:30.505079Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=67 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.505083Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.505462Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 67 sessionId:  describe result for acl check
2025-11-19T11:45:30.505495Z 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-19T11:45:30.505502Z 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-19T11:45:30.505504Z 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-19T11:45:30.505510Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337065:2763] (SourceId=sid_rand_56, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.506063Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337065:2763] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.508326Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337065:2763] (SourceId=sid_rand_56, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.508481Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337081:2763] connected; active server actors: 1
2025-11-19T11:45:30.508700Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337065:2763] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_56
2025-11-19T11:45:30.508710Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337065:2763] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.508839Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337081:2763] disconnected.
2025-11-19T11:45:30.508849Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337081:2763] disconnected; active server actors: 1
2025-11-19T11:45:30.508852Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337081:2763] disconnected no session
2025-11-19T11:45:30.511373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337065:2763] (SourceId=sid_rand_56, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.511387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337065:2763] (SourceId=sid_rand_56, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-19T11:45:30.511391Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337065:2763] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.511399Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 67 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-19T11:45:30.511554Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.511597Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_56|3870a7ea-80aafe7b-7b5b6a13-7ba37d9c_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_56
2025-11-19T11:45:30.511759Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 67 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_56|3870a7ea-80aafe7b-7b5b6a13-7ba37d9c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_56|3870a7ea-80aafe7b-7b5b6a13-7ba37d9c_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.512397Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId: sid_rand_56|3870a7ea-80aafe7b-7b5b6a13-7ba37d9c_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.512407Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 67 sessionId: sid_rand_56|3870a7ea-80aafe7b-7b5b6a13-7ba37d9c_0 grpc read failed
2025-11-19T11:45:30.512413Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 67 sessionId: sid_rand_56|3870a7ea-80aafe7b-7b5b6a13-7ba37d9c_0 grpc closed
2025-11-19T11:45:30.512418Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 67 sessionId: sid_rand_56|3870a7ea-80aafe7b-7b5b6a13-7ba37d9c_0 is DEAD
2025-11-19T11:45:30.512629Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.512651Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.512657Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 68
2025-11-19T11:45:30.512802Z 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-19T11:45:30.512833Z 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]:33886
2025-11-19T11:45:30.512838Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=68 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.512845Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.513337Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 68 sessionId:  describe result for acl check
2025-11-19T11:45:30.513384Z 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-19T11:45:30.513386Z 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-19T11:45:30.513388Z 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-19T11:45:30.513393Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337099:2767] (SourceId=sid_rand_57, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.513955Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337099:2767] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.515810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337099:2767] (SourceId=sid_rand_57, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.516174Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337116:2767] connected; active server actors: 1
2025-11-19T11:45:30.516249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337099:2767] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_57
2025-11-19T11:45:30.516276Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337099:2767] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.516388Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337116:2767] disconnected.
2025-11-19T11:45:30.516398Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337116:2767] disconnected; active server actors: 1
2025-11-19T11:45:30.516412Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337116:2767] disconnected no session
2025-11-19T11:45:30.519605Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337099:2767] (SourceId=sid_rand_57, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.519621Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337099:2767] (SourceId=sid_rand_57, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-19T11:45:30.519625Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337099:2767] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.519634Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 68 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-19T11:45:30.519780Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.519834Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_57|9c7d6be3-213aea87-2fa62de6-af938d1e_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_57
2025-11-19T11:45:30.520001Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 68 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_57|9c7d6be3-213aea87-2fa62de6-af938d1e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_57|9c7d6be3-213aea87-2fa62de6-af938d1e_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.520916Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId: sid_rand_57|9c7d6be3-213aea87-2fa62de6-af938d1e_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.520923Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 68 sessionId: sid_rand_57|9c7d6be3-213aea87-2fa62de6-af938d1e_0 grpc read failed
2025-11-19T11:45:30.520929Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 68 sessionId: sid_rand_57|9c7d6be3-213aea87-2fa62de6-af938d1e_0 grpc closed
2025-11-19T11:45:30.520933Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 68 sessionId: sid_rand_57|9c7d6be3-213aea87-2fa62de6-af938d1e_0 is DEAD
2025-11-19T11:45:30.521010Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.521033Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 69
2025-11-19T11:45:30.521184Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.521230Z 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-19T11:45:30.521269Z 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]:33886
2025-11-19T11:45:30.521280Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=69 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.521284Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.521713Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 69 sessionId:  describe result for acl check
2025-11-19T11:45:30.521744Z 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-19T11:45:30.521750Z 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-19T11:45:30.521752Z 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-19T11:45:30.521767Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337134:2771] (SourceId=sid_rand_58, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.522342Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337134:2771] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.524632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337134:2771] (SourceId=sid_rand_58, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.524769Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337150:2771] connected; active server actors: 1
2025-11-19T11:45:30.524886Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337134:2771] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_58
2025-11-19T11:45:30.524896Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337134:2771] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.524977Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337150:2771] disconnected.
2025-11-19T11:45:30.524987Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337150:2771] disconnected; active server actors: 1
2025-11-19T11:45:30.524990Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337150:2771] disconnected no session
2025-11-19T11:45:30.528416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337134:2771] (SourceId=sid_rand_58, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.528434Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337134:2771] (SourceId=sid_rand_58, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-19T11:45:30.528438Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337134:2771] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.528447Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 69 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-19T11:45:30.528659Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.528707Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_58|6e853318-297cfbb5-e92395ad-2bd8c066_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_58
2025-11-19T11:45:30.528888Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 69 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_58|6e853318-297cfbb5-e92395ad-2bd8c066_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_58|6e853318-297cfbb5-e92395ad-2bd8c066_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.529622Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId: sid_rand_58|6e853318-297cfbb5-e92395ad-2bd8c066_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.529631Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 69 sessionId: sid_rand_58|6e853318-297cfbb5-e92395ad-2bd8c066_0 grpc read failed
2025-11-19T11:45:30.529638Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 69 sessionId: sid_rand_58|6e853318-297cfbb5-e92395ad-2bd8c066_0 grpc closed
2025-11-19T11:45:30.529655Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 69 sessionId: sid_rand_58|6e853318-297cfbb5-e92395ad-2bd8c066_0 is DEAD
2025-11-19T11:45:30.529742Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.529751Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 70
2025-11-19T11:45:30.529891Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.529915Z 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-19T11:45:30.529950Z 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]:33886
2025-11-19T11:45:30.529962Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=70 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.529967Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.530422Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 70 sessionId:  describe result for acl check
2025-11-19T11:45:30.530465Z 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-19T11:45:30.530475Z 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-19T11:45:30.530480Z 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-19T11:45:30.530485Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337168:2775] (SourceId=sid_rand_59, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.531098Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337168:2775] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.533439Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337168:2775] (SourceId=sid_rand_59, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.533657Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337184:2775] connected; active server actors: 1
2025-11-19T11:45:30.533866Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337168:2775] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_59
2025-11-19T11:45:30.533878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337168:2775] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.533991Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337184:2775] disconnected.
2025-11-19T11:45:30.534005Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337184:2775] disconnected; active server actors: 1
2025-11-19T11:45:30.534008Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337184:2775] disconnected no session
2025-11-19T11:45:30.537543Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337168:2775] (SourceId=sid_rand_59, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.537556Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337168:2775] (SourceId=sid_rand_59, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-19T11:45:30.537561Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337168:2775] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.537569Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 70 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-19T11:45:30.537710Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.537763Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_59|2aad5b1a-8f651929-32ac52d8-fd6dd6e5_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_59
2025-11-19T11:45:30.537902Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 70 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_59|2aad5b1a-8f651929-32ac52d8-fd6dd6e5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_59|2aad5b1a-8f651929-32ac52d8-fd6dd6e5_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.538720Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId: sid_rand_59|2aad5b1a-8f651929-32ac52d8-fd6dd6e5_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.538728Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 70 sessionId: sid_rand_59|2aad5b1a-8f651929-32ac52d8-fd6dd6e5_0 grpc read failed
2025-11-19T11:45:30.538735Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 70 sessionId: sid_rand_59|2aad5b1a-8f651929-32ac52d8-fd6dd6e5_0 grpc closed
2025-11-19T11:45:30.538742Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 70 sessionId: sid_rand_59|2aad5b1a-8f651929-32ac52d8-fd6dd6e5_0 is DEAD
2025-11-19T11:45:30.538808Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.538817Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 71
2025-11-19T11:45:30.538930Z 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-19T11:45:30.538958Z 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]:33886
2025-11-19T11:45:30.538967Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=71 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.538971Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.539079Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.539361Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 71 sessionId:  describe result for acl check
2025-11-19T11:45:30.539392Z 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-19T11:45:30.539394Z 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-19T11:45:30.539396Z 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-19T11:45:30.539400Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337202:2779] (SourceId=sid_rand_60, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.539919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337202:2779] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.542224Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337202:2779] (SourceId=sid_rand_60, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.542628Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337218:2779] connected; active server actors: 1
2025-11-19T11:45:30.542806Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337202:2779] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_60
2025-11-19T11:45:30.542818Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337202:2779] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.542974Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337218:2779] disconnected.
2025-11-19T11:45:30.542985Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337218:2779] disconnected; active server actors: 1
2025-11-19T11:45:30.542988Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337218:2779] disconnected no session
2025-11-19T11:45:30.546491Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337202:2779] (SourceId=sid_rand_60, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.546507Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337202:2779] (SourceId=sid_rand_60, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-19T11:45:30.546511Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337202:2779] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.546522Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 71 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-19T11:45:30.546720Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.546768Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_60|185ce153-9d70f5b1-31030186-d7f01546_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_60
2025-11-19T11:45:30.546930Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 71 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_60|185ce153-9d70f5b1-31030186-d7f01546_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_60|185ce153-9d70f5b1-31030186-d7f01546_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.547722Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId: sid_rand_60|185ce153-9d70f5b1-31030186-d7f01546_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.547746Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 71 sessionId: sid_rand_60|185ce153-9d70f5b1-31030186-d7f01546_0 grpc read failed
2025-11-19T11:45:30.547753Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 71 sessionId: sid_rand_60|185ce153-9d70f5b1-31030186-d7f01546_0 grpc closed
2025-11-19T11:45:30.547758Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 71 sessionId: sid_rand_60|185ce153-9d70f5b1-31030186-d7f01546_0 is DEAD
2025-11-19T11:45:30.547860Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.547873Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 72
2025-11-19T11:45:30.547998Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.548008Z 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-19T11:45:30.548035Z 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]:33886
2025-11-19T11:45:30.548040Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=72 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.548044Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.548487Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 72 sessionId:  describe result for acl check
2025-11-19T11:45:30.548520Z 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-19T11:45:30.548522Z 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-19T11:45:30.548524Z 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-19T11:45:30.548530Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337236:2783] (SourceId=sid_rand_61, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.549170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337236:2783] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.551369Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337236:2783] (SourceId=sid_rand_61, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.551500Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337252:2783] connected; active server actors: 1
2025-11-19T11:45:30.551638Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337236:2783] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_61
2025-11-19T11:45:30.551651Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337236:2783] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.551739Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337252:2783] disconnected.
2025-11-19T11:45:30.551747Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337252:2783] disconnected; active server actors: 1
2025-11-19T11:45:30.551749Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337252:2783] disconnected no session
2025-11-19T11:45:30.555081Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337236:2783] (SourceId=sid_rand_61, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.555095Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337236:2783] (SourceId=sid_rand_61, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-19T11:45:30.555099Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337236:2783] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.555108Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 72 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-19T11:45:30.555264Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.555316Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_61|eae1b29c-f2aa9130-2853e6bf-4060793f_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_61
2025-11-19T11:45:30.555522Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 72 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_61|eae1b29c-f2aa9130-2853e6bf-4060793f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_61|eae1b29c-f2aa9130-2853e6bf-4060793f_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.556271Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId: sid_rand_61|eae1b29c-f2aa9130-2853e6bf-4060793f_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.556279Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 72 sessionId: sid_rand_61|eae1b29c-f2aa9130-2853e6bf-4060793f_0 grpc read failed
2025-11-19T11:45:30.556286Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 72 sessionId: sid_rand_61|eae1b29c-f2aa9130-2853e6bf-4060793f_0 grpc closed
2025-11-19T11:45:30.556291Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 72 sessionId: sid_rand_61|eae1b29c-f2aa9130-2853e6bf-4060793f_0 is DEAD
2025-11-19T11:45:30.556451Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.556463Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 73
2025-11-19T11:45:30.556597Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.556644Z 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-19T11:45:30.556675Z 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]:33886
2025-11-19T11:45:30.556679Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=73 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.556682Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.557158Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 73 sessionId:  describe result for acl check
2025-11-19T11:45:30.557211Z 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-19T11:45:30.557213Z 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-19T11:45:30.557215Z 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-19T11:45:30.557221Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337270:2787] (SourceId=sid_rand_62, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.557875Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337270:2787] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.560696Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337270:2787] (SourceId=sid_rand_62, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.560852Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337286:2787] connected; active server actors: 1
2025-11-19T11:45:30.561079Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337270:2787] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_62
2025-11-19T11:45:30.561092Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337270:2787] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.561233Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337286:2787] disconnected.
2025-11-19T11:45:30.561245Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337286:2787] disconnected; active server actors: 1
2025-11-19T11:45:30.561248Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337286:2787] disconnected no session
2025-11-19T11:45:30.564101Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337270:2787] (SourceId=sid_rand_62, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.564115Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337270:2787] (SourceId=sid_rand_62, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-19T11:45:30.564118Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337270:2787] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.564127Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 73 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-19T11:45:30.564257Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.564311Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_62|77c1ccf7-9cb4d83b-9d20bd9f-42e435bd_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_62
2025-11-19T11:45:30.564540Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 73 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_62|77c1ccf7-9cb4d83b-9d20bd9f-42e435bd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_62|77c1ccf7-9cb4d83b-9d20bd9f-42e435bd_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.565254Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId: sid_rand_62|77c1ccf7-9cb4d83b-9d20bd9f-42e435bd_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.565263Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 73 sessionId: sid_rand_62|77c1ccf7-9cb4d83b-9d20bd9f-42e435bd_0 grpc read failed
2025-11-19T11:45:30.565268Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 73 sessionId: sid_rand_62|77c1ccf7-9cb4d83b-9d20bd9f-42e435bd_0 grpc closed
2025-11-19T11:45:30.565275Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 73 sessionId: sid_rand_62|77c1ccf7-9cb4d83b-9d20bd9f-42e435bd_0 is DEAD
2025-11-19T11:45:30.565447Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.565459Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 74
2025-11-19T11:45:30.565538Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.565607Z 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-19T11:45:30.565637Z 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]:33886
2025-11-19T11:45:30.565646Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=74 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.565650Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.566075Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 74 sessionId:  describe result for acl check
2025-11-19T11:45:30.566116Z 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-19T11:45:30.566118Z 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-19T11:45:30.566120Z 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-19T11:45:30.566125Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337304:2791] (SourceId=sid_rand_63, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.566713Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337304:2791] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.568638Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337304:2791] (SourceId=sid_rand_63, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.568761Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337323:2791] connected; active server actors: 1
2025-11-19T11:45:30.568892Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337304:2791] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_63
2025-11-19T11:45:30.568902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337304:2791] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.569014Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337323:2791] disconnected.
2025-11-19T11:45:30.569046Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337323:2791] disconnected; active server actors: 1
2025-11-19T11:45:30.569050Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337323:2791] disconnected no session
2025-11-19T11:45:30.571592Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337304:2791] (SourceId=sid_rand_63, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.571604Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337304:2791] (SourceId=sid_rand_63, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-19T11:45:30.571609Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337304:2791] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.571617Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 74 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-19T11:45:30.571849Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.571961Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_63|bc2dd51c-bfb2face-7321c9a-3eb6a2a2_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_63
2025-11-19T11:45:30.572332Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 74 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_63|bc2dd51c-bfb2face-7321c9a-3eb6a2a2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_63|bc2dd51c-bfb2face-7321c9a-3eb6a2a2_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.572951Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId: sid_rand_63|bc2dd51c-bfb2face-7321c9a-3eb6a2a2_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.572969Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 74 sessionId: sid_rand_63|bc2dd51c-bfb2face-7321c9a-3eb6a2a2_0 grpc read failed
2025-11-19T11:45:30.572975Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 74 sessionId: sid_rand_63|bc2dd51c-bfb2face-7321c9a-3eb6a2a2_0 grpc closed
2025-11-19T11:45:30.572980Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 74 sessionId: sid_rand_63|bc2dd51c-bfb2face-7321c9a-3eb6a2a2_0 is DEAD
2025-11-19T11:45:30.573150Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.573161Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 75
2025-11-19T11:45:30.573311Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.573325Z 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-19T11:45:30.573350Z 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]:33886
2025-11-19T11:45:30.573361Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=75 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.573364Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.573806Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 75 sessionId:  describe result for acl check
2025-11-19T11:45:30.573842Z 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-19T11:45:30.573848Z 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-19T11:45:30.573851Z 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-19T11:45:30.573856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337341:2795] (SourceId=sid_rand_64, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.574499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337341:2795] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.576701Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337341:2795] (SourceId=sid_rand_64, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.576838Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337357:2795] connected; active server actors: 1
2025-11-19T11:45:30.576953Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337341:2795] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_64
2025-11-19T11:45:30.576963Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337341:2795] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.577483Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337357:2795] disconnected.
2025-11-19T11:45:30.577496Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337357:2795] disconnected; active server actors: 1
2025-11-19T11:45:30.577498Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337357:2795] disconnected no session
2025-11-19T11:45:30.580649Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337341:2795] (SourceId=sid_rand_64, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.580662Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337341:2795] (SourceId=sid_rand_64, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-19T11:45:30.580669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337341:2795] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.580678Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 75 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-19T11:45:30.580942Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.581057Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_64|fd47c8ca-17a79a68-466d22ae-9fd27984_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_64
2025-11-19T11:45:30.581387Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 75 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_64|fd47c8ca-17a79a68-466d22ae-9fd27984_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_64|fd47c8ca-17a79a68-466d22ae-9fd27984_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.582290Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId: sid_rand_64|fd47c8ca-17a79a68-466d22ae-9fd27984_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.582300Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 75 sessionId: sid_rand_64|fd47c8ca-17a79a68-466d22ae-9fd27984_0 grpc read failed
2025-11-19T11:45:30.582308Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 75 sessionId: sid_rand_64|fd47c8ca-17a79a68-466d22ae-9fd27984_0 grpc closed
2025-11-19T11:45:30.582314Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 75 sessionId: sid_rand_64|fd47c8ca-17a79a68-466d22ae-9fd27984_0 is DEAD
2025-11-19T11:45:30.582397Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.582408Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 76
2025-11-19T11:45:30.582552Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.582593Z 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-19T11:45:30.582624Z 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]:33886
2025-11-19T11:45:30.582632Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=76 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.582636Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.583064Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 76 sessionId:  describe result for acl check
2025-11-19T11:45:30.583096Z 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-19T11:45:30.583103Z 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-19T11:45:30.583104Z 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-19T11:45:30.583109Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337374:2799] (SourceId=sid_rand_65, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.583672Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337374:2799] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.585930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337374:2799] (SourceId=sid_rand_65, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.586077Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337390:2799] connected; active server actors: 1
2025-11-19T11:45:30.586217Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337374:2799] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_65
2025-11-19T11:45:30.586227Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337374:2799] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.586360Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337390:2799] disconnected.
2025-11-19T11:45:30.586370Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337390:2799] disconnected; active server actors: 1
2025-11-19T11:45:30.586372Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337390:2799] disconnected no session
2025-11-19T11:45:30.589870Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337374:2799] (SourceId=sid_rand_65, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.589885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337374:2799] (SourceId=sid_rand_65, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-19T11:45:30.589889Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337374:2799] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.589899Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 76 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-19T11:45:30.590047Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.590101Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_65|3f7f51f7-4c1330cb-fa4028a0-11d6d0b9_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_65
2025-11-19T11:45:30.590278Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 76 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_65|3f7f51f7-4c1330cb-fa4028a0-11d6d0b9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_65|3f7f51f7-4c1330cb-fa4028a0-11d6d0b9_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.590983Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId: sid_rand_65|3f7f51f7-4c1330cb-fa4028a0-11d6d0b9_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.590992Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 76 sessionId: sid_rand_65|3f7f51f7-4c1330cb-fa4028a0-11d6d0b9_0 grpc read failed
2025-11-19T11:45:30.590998Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 76 sessionId: sid_rand_65|3f7f51f7-4c1330cb-fa4028a0-11d6d0b9_0 grpc closed
2025-11-19T11:45:30.591004Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 76 sessionId: sid_rand_65|3f7f51f7-4c1330cb-fa4028a0-11d6d0b9_0 is DEAD
2025-11-19T11:45:30.591166Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.591179Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 77
2025-11-19T11:45:30.591256Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.591282Z 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-19T11:45:30.591314Z 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]:33886
2025-11-19T11:45:30.591338Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=77 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.591347Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.591759Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 77 sessionId:  describe result for acl check
2025-11-19T11:45:30.591795Z 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-19T11:45:30.591802Z 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-19T11:45:30.591805Z 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-19T11:45:30.591810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337408:2803] (SourceId=sid_rand_66, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.592374Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337408:2803] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.594583Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337408:2803] (SourceId=sid_rand_66, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.594714Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337424:2803] connected; active server actors: 1
2025-11-19T11:45:30.594815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337408:2803] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_66
2025-11-19T11:45:30.594826Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337408:2803] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.594915Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337424:2803] disconnected.
2025-11-19T11:45:30.594923Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337424:2803] disconnected; active server actors: 1
2025-11-19T11:45:30.594925Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337424:2803] disconnected no session
2025-11-19T11:45:30.597880Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337408:2803] (SourceId=sid_rand_66, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.597890Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337408:2803] (SourceId=sid_rand_66, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-19T11:45:30.597893Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337408:2803] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.597899Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 77 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-19T11:45:30.598139Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.598216Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_66|5a0df2f7-a0a1707d-722a4c7a-9ea5fe28_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_66
2025-11-19T11:45:30.598531Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 77 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_66|5a0df2f7-a0a1707d-722a4c7a-9ea5fe28_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_66|5a0df2f7-a0a1707d-722a4c7a-9ea5fe28_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.599145Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId: sid_rand_66|5a0df2f7-a0a1707d-722a4c7a-9ea5fe28_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.599154Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 77 sessionId: sid_rand_66|5a0df2f7-a0a1707d-722a4c7a-9ea5fe28_0 grpc read failed
2025-11-19T11:45:30.599160Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 77 sessionId: sid_rand_66|5a0df2f7-a0a1707d-722a4c7a-9ea5fe28_0 grpc closed
2025-11-19T11:45:30.599164Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 77 sessionId: sid_rand_66|5a0df2f7-a0a1707d-722a4c7a-9ea5fe28_0 is DEAD
2025-11-19T11:45:30.599300Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.599311Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 78
2025-11-19T11:45:30.599438Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.599453Z 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-19T11:45:30.599481Z 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]:33886
2025-11-19T11:45:30.599491Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=78 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.599495Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.599924Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 78 sessionId:  describe result for acl check
2025-11-19T11:45:30.599968Z 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-19T11:45:30.599974Z 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-19T11:45:30.599976Z 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-19T11:45:30.599982Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337441:2807] (SourceId=sid_rand_67, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.600550Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337441:2807] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.602833Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337441:2807] (SourceId=sid_rand_67, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.603024Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337457:2807] connected; active server actors: 1
2025-11-19T11:45:30.603096Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337441:2807] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_67
2025-11-19T11:45:30.603111Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337441:2807] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.603191Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337457:2807] disconnected.
2025-11-19T11:45:30.603198Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337457:2807] disconnected; active server actors: 1
2025-11-19T11:45:30.603201Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337457:2807] disconnected no session
2025-11-19T11:45:30.606249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337441:2807] (SourceId=sid_rand_67, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.606267Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337441:2807] (SourceId=sid_rand_67, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-19T11:45:30.606271Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337441:2807] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.606279Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 78 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-19T11:45:30.606442Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.606502Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_67|7ad13bae-ddefe187-46a5b0f3-3a9a2f0a_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_67
2025-11-19T11:45:30.606690Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 78 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_67|7ad13bae-ddefe187-46a5b0f3-3a9a2f0a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_67|7ad13bae-ddefe187-46a5b0f3-3a9a2f0a_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.607476Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId: sid_rand_67|7ad13bae-ddefe187-46a5b0f3-3a9a2f0a_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.607488Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 78 sessionId: sid_rand_67|7ad13bae-ddefe187-46a5b0f3-3a9a2f0a_0 grpc read failed
2025-11-19T11:45:30.607496Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 78 sessionId: sid_rand_67|7ad13bae-ddefe187-46a5b0f3-3a9a2f0a_0 grpc closed
2025-11-19T11:45:30.607501Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 78 sessionId: sid_rand_67|7ad13bae-ddefe187-46a5b0f3-3a9a2f0a_0 is DEAD
2025-11-19T11:45:30.607681Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.607692Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 79
2025-11-19T11:45:30.607801Z 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-19T11:45:30.607802Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.607849Z 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]:33886
2025-11-19T11:45:30.607859Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=79 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.607864Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.608306Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 79 sessionId:  describe result for acl check
2025-11-19T11:45:30.608345Z 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-19T11:45:30.608347Z 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-19T11:45:30.608350Z 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-19T11:45:30.608355Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337475:2811] (SourceId=sid_rand_68, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.608972Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337475:2811] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.611045Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337475:2811] (SourceId=sid_rand_68, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.611169Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337491:2811] connected; active server actors: 1
2025-11-19T11:45:30.611269Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337475:2811] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_68
2025-11-19T11:45:30.611278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337475:2811] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.611371Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337491:2811] disconnected.
2025-11-19T11:45:30.611380Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337491:2811] disconnected; active server actors: 1
2025-11-19T11:45:30.611382Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337491:2811] disconnected no session
2025-11-19T11:45:30.614249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337475:2811] (SourceId=sid_rand_68, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.614263Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337475:2811] (SourceId=sid_rand_68, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-19T11:45:30.614266Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337475:2811] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.614274Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 79 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-19T11:45:30.614411Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.614462Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_68|abe6b786-f1836fd-63a8014f-b62b5b6a_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_68
2025-11-19T11:45:30.614608Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 79 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_68|abe6b786-f1836fd-63a8014f-b62b5b6a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_68|abe6b786-f1836fd-63a8014f-b62b5b6a_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.615240Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId: sid_rand_68|abe6b786-f1836fd-63a8014f-b62b5b6a_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.615247Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 79 sessionId: sid_rand_68|abe6b786-f1836fd-63a8014f-b62b5b6a_0 grpc read failed
2025-11-19T11:45:30.615253Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 79 sessionId: sid_rand_68|abe6b786-f1836fd-63a8014f-b62b5b6a_0 grpc closed
2025-11-19T11:45:30.615258Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 79 sessionId: sid_rand_68|abe6b786-f1836fd-63a8014f-b62b5b6a_0 is DEAD
2025-11-19T11:45:30.615394Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.615405Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 80
2025-11-19T11:45:30.615517Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.615546Z 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-19T11:45:30.615586Z 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]:33886
2025-11-19T11:45:30.615596Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=80 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.615600Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.616012Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 80 sessionId:  describe result for acl check
2025-11-19T11:45:30.616055Z 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-19T11:45:30.616061Z 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-19T11:45:30.616063Z 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-19T11:45:30.616068Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337509:2815] (SourceId=sid_rand_69, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.616568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337509:2815] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.618381Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337509:2815] (SourceId=sid_rand_69, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.618493Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337525:2815] connected; active server actors: 1
2025-11-19T11:45:30.618606Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337509:2815] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_69
2025-11-19T11:45:30.618616Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337509:2815] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.618741Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337525:2815] disconnected.
2025-11-19T11:45:30.618752Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337525:2815] disconnected; active server actors: 1
2025-11-19T11:45:30.618771Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337525:2815] disconnected no session
2025-11-19T11:45:30.622033Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337509:2815] (SourceId=sid_rand_69, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.622049Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337509:2815] (SourceId=sid_rand_69, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-19T11:45:30.622053Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337509:2815] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.622072Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 80 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-19T11:45:30.622332Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.622450Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_69|f07f4488-aad49e7e-3434eee3-b8182039_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_69
2025-11-19T11:45:30.622766Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 80 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_69|f07f4488-aad49e7e-3434eee3-b8182039_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_69|f07f4488-aad49e7e-3434eee3-b8182039_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.623468Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId: sid_rand_69|f07f4488-aad49e7e-3434eee3-b8182039_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.623475Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 80 sessionId: sid_rand_69|f07f4488-aad49e7e-3434eee3-b8182039_0 grpc read failed
2025-11-19T11:45:30.623480Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 80 sessionId: sid_rand_69|f07f4488-aad49e7e-3434eee3-b8182039_0 grpc closed
2025-11-19T11:45:30.623484Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 80 sessionId: sid_rand_69|f07f4488-aad49e7e-3434eee3-b8182039_0 is DEAD
2025-11-19T11:45:30.623618Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.623645Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 81
2025-11-19T11:45:30.623705Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.623747Z 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-19T11:45:30.623782Z 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]:33886
2025-11-19T11:45:30.623792Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=81 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.623796Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.624199Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 81 sessionId:  describe result for acl check
2025-11-19T11:45:30.624230Z 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-19T11:45:30.624236Z 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-19T11:45:30.624238Z 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-19T11:45:30.624244Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337542:2819] (SourceId=sid_rand_70, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.624784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337542:2819] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.626755Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337542:2819] (SourceId=sid_rand_70, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.626874Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337558:2819] connected; active server actors: 1
2025-11-19T11:45:30.626974Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337542:2819] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_70
2025-11-19T11:45:30.626983Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337542:2819] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.627060Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337558:2819] disconnected.
2025-11-19T11:45:30.627068Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337558:2819] disconnected; active server actors: 1
2025-11-19T11:45:30.627073Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337558:2819] disconnected no session
2025-11-19T11:45:30.630170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337542:2819] (SourceId=sid_rand_70, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.630204Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337542:2819] (SourceId=sid_rand_70, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-19T11:45:30.630208Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337542:2819] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.630213Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 81 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-19T11:45:30.630359Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-19T11:45:30.630412Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_70|5d457f8b-8070197a-b92116ca-d8886d2b_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_70
2025-11-19T11:45:30.630569Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 81 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_70|5d457f8b-8070197a-b92116ca-d8886d2b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_70|5d457f8b-8070197a-b92116ca-d8886d2b_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.631224Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId: sid_rand_70|5d457f8b-8070197a-b92116ca-d8886d2b_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.631233Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 81 sessionId: sid_rand_70|5d457f8b-8070197a-b92116ca-d8886d2b_0 grpc read failed
2025-11-19T11:45:30.631239Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 81 sessionId: sid_rand_70|5d457f8b-8070197a-b92116ca-d8886d2b_0 grpc closed
2025-11-19T11:45:30.631244Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 81 sessionId: sid_rand_70|5d457f8b-8070197a-b92116ca-d8886d2b_0 is DEAD
2025-11-19T11:45:30.631375Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.631386Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 82
2025-11-19T11:45:30.631501Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.631532Z 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-19T11:45:30.631564Z 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]:33886
2025-11-19T11:45:30.631574Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=82 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.631577Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.632023Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 82 sessionId:  describe result for acl check
2025-11-19T11:45:30.632054Z 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-19T11:45:30.632056Z 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-19T11:45:30.632058Z 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-19T11:45:30.632063Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337576:2823] (SourceId=sid_rand_71, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.632614Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337576:2823] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.634520Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337576:2823] (SourceId=sid_rand_71, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.634668Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337592:2823] connected; active server actors: 1
2025-11-19T11:45:30.634756Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337576:2823] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_71
2025-11-19T11:45:30.634767Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337576:2823] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.634887Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337592:2823] disconnected.
2025-11-19T11:45:30.634899Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337592:2823] disconnected; active server actors: 1
2025-11-19T11:45:30.634902Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337592:2823] disconnected no session
2025-11-19T11:45:30.637862Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337576:2823] (SourceId=sid_rand_71, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.637877Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337576:2823] (SourceId=sid_rand_71, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-19T11:45:30.637883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337576:2823] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.637890Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 82 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-19T11:45:30.638171Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.638301Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_71|21f54dbc-281a82fa-19bffa59-fec70c4_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_71
2025-11-19T11:45:30.638662Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 82 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_71|21f54dbc-281a82fa-19bffa59-fec70c4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_71|21f54dbc-281a82fa-19bffa59-fec70c4_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.639317Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId: sid_rand_71|21f54dbc-281a82fa-19bffa59-fec70c4_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.639335Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 82 sessionId: sid_rand_71|21f54dbc-281a82fa-19bffa59-fec70c4_0 grpc read failed
2025-11-19T11:45:30.639341Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 82 sessionId: sid_rand_71|21f54dbc-281a82fa-19bffa59-fec70c4_0 grpc closed
2025-11-19T11:45:30.639346Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 82 sessionId: sid_rand_71|21f54dbc-281a82fa-19bffa59-fec70c4_0 is DEAD
2025-11-19T11:45:30.639473Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.639486Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 83
2025-11-19T11:45:30.639599Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.639649Z 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-19T11:45:30.639697Z 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]:33886
2025-11-19T11:45:30.639707Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=83 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.639711Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.640115Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 83 sessionId:  describe result for acl check
2025-11-19T11:45:30.640148Z 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-19T11:45:30.640150Z 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-19T11:45:30.640152Z 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-19T11:45:30.640157Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337609:2827] (SourceId=sid_rand_72, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.640769Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337609:2827] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.642701Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337609:2827] (SourceId=sid_rand_72, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.642865Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337625:2827] connected; active server actors: 1
2025-11-19T11:45:30.643006Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337609:2827] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_72
2025-11-19T11:45:30.643017Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337609:2827] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.643139Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337625:2827] disconnected.
2025-11-19T11:45:30.643151Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337625:2827] disconnected; active server actors: 1
2025-11-19T11:45:30.643155Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337625:2827] disconnected no session
2025-11-19T11:45:30.646002Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337609:2827] (SourceId=sid_rand_72, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.646013Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337609:2827] (SourceId=sid_rand_72, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-19T11:45:30.646017Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337609:2827] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.646025Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 83 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-19T11:45:30.646158Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-19T11:45:30.646207Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_72|f8e7948f-10dc64be-e3dd4cd5-aff28967_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_72
2025-11-19T11:45:30.646399Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 83 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_72|f8e7948f-10dc64be-e3dd4cd5-aff28967_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_72|f8e7948f-10dc64be-e3dd4cd5-aff28967_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.647059Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId: sid_rand_72|f8e7948f-10dc64be-e3dd4cd5-aff28967_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.647069Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 83 sessionId: sid_rand_72|f8e7948f-10dc64be-e3dd4cd5-aff28967_0 grpc read failed
2025-11-19T11:45:30.647075Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 83 sessionId: sid_rand_72|f8e7948f-10dc64be-e3dd4cd5-aff28967_0 grpc closed
2025-11-19T11:45:30.647079Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 83 sessionId: sid_rand_72|f8e7948f-10dc64be-e3dd4cd5-aff28967_0 is DEAD
2025-11-19T11:45:30.647214Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.647229Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 84
2025-11-19T11:45:30.647375Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.647387Z 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-19T11:45:30.647424Z 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]:33886
2025-11-19T11:45:30.647433Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=84 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.647436Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.647819Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 84 sessionId:  describe result for acl check
2025-11-19T11:45:30.647851Z 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-19T11:45:30.647857Z 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-19T11:45:30.647860Z 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-19T11:45:30.647864Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337643:2831] (SourceId=sid_rand_73, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.648386Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337643:2831] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.650428Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337643:2831] (SourceId=sid_rand_73, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.650556Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337659:2831] connected; active server actors: 1
2025-11-19T11:45:30.650649Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337643:2831] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_73
2025-11-19T11:45:30.650659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337643:2831] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.650731Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337659:2831] disconnected.
2025-11-19T11:45:30.650752Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337659:2831] disconnected; active server actors: 1
2025-11-19T11:45:30.650755Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337659:2831] disconnected no session
2025-11-19T11:45:30.653661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337643:2831] (SourceId=sid_rand_73, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.653676Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337643:2831] (SourceId=sid_rand_73, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-19T11:45:30.653679Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337643:2831] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.653686Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 84 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-19T11:45:30.653922Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.654020Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_73|78cc6ff4-1c120bfb-57eefe6f-a5e6c12e_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_73
2025-11-19T11:45:30.654388Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 84 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_73|78cc6ff4-1c120bfb-57eefe6f-a5e6c12e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_73|78cc6ff4-1c120bfb-57eefe6f-a5e6c12e_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-19T11:45:30.655062Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId: sid_rand_73|78cc6ff4-1c120bfb-57eefe6f-a5e6c12e_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.655079Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 84 sessionId: sid_rand_73|78cc6ff4-1c120bfb-57eefe6f-a5e6c12e_0 grpc read failed
2025-11-19T11:45:30.655085Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 84 sessionId: sid_rand_73|78cc6ff4-1c120bfb-57eefe6f-a5e6c12e_0 grpc closed
2025-11-19T11:45:30.655090Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 84 sessionId: sid_rand_73|78cc6ff4-1c120bfb-57eefe6f-a5e6c12e_0 is DEAD
2025-11-19T11:45:30.655289Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-19T11:45:30.655300Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 85
2025-11-19T11:45:30.655324Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-19T11:45:30.655386Z 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-19T11:45:30.655416Z 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]:33886
2025-11-19T11:45:30.655422Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=85 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33886 proto=v1  topic=topic1 durationSec=0
2025-11-19T11:45:30.655426Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-19T11:45:30.655807Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 85 sessionId:  describe result for acl check
2025-11-19T11:45:30.655849Z 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-19T11:45:30.655856Z 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-19T11:45:30.655858Z 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-19T11:45:30.655862Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7574401301579337676:2835] (SourceId=sid_rand_74, PreferedPartition=(NULL)) StartKqpSession
2025-11-19T11:45:30.656350Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7574401301579337676:2835] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Select from the table
2025-11-19T11:45:30.658030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7574401301579337676:2835] (SourceId=sid_rand_74, PreferedPartition=(NULL)) RequestPQRB
2025-11-19T11:45:30.658205Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337692:2835] connected; active server actors: 1
2025-11-19T11:45:30.658438Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7574401301579337676:2835] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_74
2025-11-19T11:45:30.658450Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7574401301579337676:2835] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Update the table
2025-11-19T11:45:30.658631Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337692:2835] disconnected.
2025-11-19T11:45:30.658656Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337692:2835] disconnected; active server actors: 1
2025-11-19T11:45:30.658658Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7574401301579337692:2835] disconnected no session
2025-11-19T11:45:30.661369Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7574401301579337676:2835] (SourceId=sid_rand_74, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-19T11:45:30.661381Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7574401301579337676:2835] (SourceId=sid_rand_74, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-19T11:45:30.661385Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7574401301579337676:2835] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Start idle
2025-11-19T11:45:30.661392Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 85 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-19T11:45:30.661700Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-19T11:45:30.661820Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_74|a4e06001-60db027d-ec9800f9-8044a348_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_74
2025-11-19T11:45:30.662132Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 85 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_74|a4e06001-60db027d-ec9800f9-8044a348_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_74|a4e06001-60db027d-ec9800f9-8044a348_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
Round robin check: 0:6
Round robin check: 1:6
Round robin check: 2:5
Round robin check: 3:5
Round robin check: 4:5
Round robin check: 5:4
Round robin check: 6:4
Round robin check: 7:4
Round robin check: 8:5
Round robin check: 9:5
Round robin check: 10:5
Round robin check: 11:5
Round robin check: 12:5
Round robin check: 13:5
Round robin check: 14:6
2025-11-19T11:45:30.662720Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId: sid_rand_74|a4e06001-60db027d-ec9800f9-8044a348_0 grpc read done: success: 0 data: 
2025-11-19T11:45:30.662729Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 85 sessionId: sid_rand_74|a4e06001-60db027d-ec9800f9-8044a348_0 grpc read failed
2025-11-19T11:45:30.662735Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 85 sessionId: sid_rand_74|a4e06001-60db027d-ec9800f9-8044a348_0 grpc closed
2025-11-19T11:45:30.662739Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 85 sessionId: sid_rand_74|a4e06001-60db027d-ec9800f9-8044a348_0 is DEAD
2025-11-19T11:45:30.663033Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
