2025-12-07T20:09:36.479347Z node 17 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[17:7581210740516494419:2157];send_to=[0:7307199536658146131:7762515];
2025-12-07T20:09:36.479370Z 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-12-07T20:09:36.480676Z node 18 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[18:7581210742170358334:2152];send_to=[0:7307199536658146131:7762515];
2025-12-07T20:09:36.480698Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2025-12-07T20:09:36.480929Z node 17 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-12-07T20:09:36.481001Z 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
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/8xn2/002971/r3tmp/tmpr42t2D/pdisk_1.dat
2025-12-07T20:09:36.482825Z node 18 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-12-07T20:09:36.482927Z 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-12-07T20:09:36.497556Z node 17 :IMPORT WARN: schemeshard_import.cpp:423: Table profiles were not loaded
2025-12-07T20:09:36.501881Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-12-07T20:09:36.501906Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-12-07T20:09:36.502717Z node 17 :HIVE WARN: hive_impl.cpp:811: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 18 Cookie 18
2025-12-07T20:09:36.502877Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 14063, node 17
2025-12-07T20:09:36.509227Z 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/8xn2/002971/r3tmp/yandexNSFdWJ.tmp
2025-12-07T20:09:36.509236Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/8xn2/002971/r3tmp/yandexNSFdWJ.tmp
2025-12-07T20:09:36.509290Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/8xn2/002971/r3tmp/yandexNSFdWJ.tmp
2025-12-07T20:09:36.509322Z node 17 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-12-07T20:09:36.511972Z INFO: TTestServer started on Port 1355 GrpcPort 14063
TClient is connected to server localhost:1355
PQClient connected to localhost:14063
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-12-07T20:09:36.580943Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-12-07T20:09:36.580980Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-12-07T20:09:36.582729Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-12-07T20:09:36.582911Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976720657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
waiting...
waiting...
2025-12-07T20:09:36.594746Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720659:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
waiting...
waiting...
waiting...
2025-12-07T20:09:36.643097Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2025-12-07T20:09:36.715512Z 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-12-07T20:09:36.809913Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7581210740516495446: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-12-07T20:09:36.809931Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7581210740516495437: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-12-07T20:09:36.809950Z 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-12-07T20:09:36.810024Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7581210740516495453:2335], 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-12-07T20:09:36.810039Z 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-12-07T20:09:36.810657Z 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-12-07T20:09:36.810846Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7581210740516495483:2337], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-07T20:09:36.810859Z 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-12-07T20:09:36.810887Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7581210740516495487:2338], 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-12-07T20:09:36.810897Z 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-12-07T20:09:36.814542Z node 17 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [17:7581210740516495452:2334], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976720662 completed, doublechecking }
2025-12-07T20:09:36.815703Z 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-12-07T20:09:36.829013Z 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-12-07T20:09:36.838306Z node 18 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:625: Compilation failed, self: [18:7581210742170358645:2305], status: SCHEME_ERROR, issues: <main>: Error: Type annotation, code: 1030
    <main>:5:17: Error: At function: KiReadTable!
        <main>:5:17: Error: Cannot find table 'db.[/Root/PQ/Config/V2/Versions]' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions., code: 2003
2025-12-07T20:09:36.838402Z node 18 :KQP_SESSION WARN: kqp_session_actor.cpp:2544: SessionId: ydb://session/3?node_id=18&id=YzJiZGVmMzUtZWMwNmJmMzAtZWZhNDAwY2MtODRjNjAwZDk=, ActorId: [18:7581210742170358606:2299], ActorState: ExecuteState, TraceId: 01kbx6y6t1egv697a5awdzt74k, ReplyQueryCompileError, status: SCHEME_ERROR, issues: { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 5 column: 17 } message: "At function: KiReadTable!" end_position { row: 5 column: 17 } severity: 1 issues { position { row: 5 column: 17 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Versions]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 5 column: 17 } issue_code: 2003 severity: 1 } } }, remove tx with tx_id: 
2025-12-07T20:09:36.838499Z node 18 :PERSQUEUE_CLUSTER_TRACKER ERROR: cluster_tracker.cpp:167: failed to list clusters: { Response { QueryIssues { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 5 column: 17 } message: "At function: KiReadTable!" end_position { row: 5 column: 17 } severity: 1 issues { position { row: 5 column: 17 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Versions]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 5 column: 17 } issue_code: 2003 severity: 1 } } } TxMeta { } } YdbStatus: SCHEME_ERROR ConsumedRu: 1 }
2025-12-07T20:09:36.845354Z 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)
=== Init DC: UPSERT INTO `/Root/PQ/Config/V2/Cluster` (name, balancer, local, enabled, weight) VALUES ("dc1", "localhost", true, true, 1000), ("dc2", "dc2.logbroker.yandex.net", false, true, 1000);
=== CheckClustersList. Subcribe to ClusterTracker from [17:7581210740516495904:3053] 
2025-12-07T20:09:36.883978Z node 17 :TX_PROXY ERROR: schemereq.cpp:593: Actor# [17:7581210740516495905:3054] txid# 281474976720667, issues: { message: "Check failed: path: \'/Root/.metadata/workload_manager/pools/default\', error: path exist, request accepts it (id: [OwnerId: 72057594046644480, LocalPathId: 9], type: EPathTypeResourcePool, state: EPathStateNoChanges), source_location: ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:92" severity: 1 }
2025-12-07T20:09:37.480906Z node 17 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-12-07T20:09:37.482431Z node 18 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-12-07T20:09:41.479642Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[17:7581210740516494419:2157];send_to=[0:7307199536658146131:7762515];
2025-12-07T20:09:41.479685Z 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-12-07T20:09:41.481182Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[18:7581210742170358334:2152];send_to=[0:7307199536658146131:7762515];
2025-12-07T20:09:41.481224Z 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:14063
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-07T20:09:42.108615Z 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:14063
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-12-07T20:09:42.115793Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][] pipe [17:7581210766286300025:3246] connected; active server actors: 1
2025-12-07T20:09:42.116086Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1520: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [3, 0, 1, 6, 8, 9, 2, 5, 7, 4]
2025-12-07T20:09:42.116234Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:942: [72075186224037894][rt3.dc1--topic1] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037894
2025-12-07T20:09:42.116559Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-07T20:09:42.116573Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037892] doesn't have tx writes info
2025-12-07T20:09:42.116551Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-07T20:09:42.116574Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037893] doesn't have tx writes info
2025-12-07T20:09:42.116708Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:404: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037893, NodeId 18, Generation 1
2025-12-07T20:09:42.116723Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:404: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037892, NodeId 17, Generation 1
2025-12-07T20:09:42.116897Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:140: [72075186224037894][rt3.dc1--topic1] BALANCER INIT DONE for rt3.dc1--topic1: (0, 72075186224037892) (1, 72075186224037892) (2, 72075186224037893) (3, 72075186224037892) (4, 72075186224037893) (5, 72075186224037893) (6, 72075186224037892) (7, 72075186224037893) (8, 72075186224037892) (9, 72075186224037893) 
2025-12-07T20:09:42.119987Z node 17 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037892][Partition][3][StateInit] bootstrapping 3 [17:7581210766286300127:2437]
2025-12-07T20:09:42.120120Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037893][Partition][9][StateInit] bootstrapping 9 [18:7581210767940162838:2384]
2025-12-07T20:09:42.120611Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][3][StateInit] init complete for topic 'rt3.dc1--topic1' partition 3 generation 1 [17:7581210766286300127:2437]
2025-12-07T20:09:42.120788Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][9][StateInit] init complete for topic 'rt3.dc1--topic1' partition 9 generation 1 [18:7581210767940162838:2384]
2025-12-07T20:09:42.120906Z node 17 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [17:7581210766286300128:2437]
2025-12-07T20:09:42.121192Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037893][Partition][2][StateInit] bootstrapping 2 [18:7581210767940162839:2384]
2025-12-07T20:09:42.121333Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][0][StateInit] init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [17:7581210766286300128:2437]
2025-12-07T20:09:42.121590Z node 17 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037892][Partition][1][StateInit] bootstrapping 1 [17:7581210766286300129:2437]
2025-12-07T20:09:42.121772Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][2][StateInit] init complete for topic 'rt3.dc1--topic1' partition 2 generation 1 [18:7581210767940162839:2384]
2025-12-07T20:09:42.121949Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][1][StateInit] init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [17:7581210766286300129:2437]
2025-12-07T20:09:42.122096Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037893][Partition][5][StateInit] bootstrapping 5 [18:7581210767940162840:2384]
2025-12-07T20:09:42.122196Z node 17 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037892][Partition][6][StateInit] bootstrapping 6 [17:7581210766286300130:2437]
2025-12-07T20:09:42.122627Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][5][StateInit] init complete for topic 'rt3.dc1--topic1' partition 5 generation 1 [18:7581210767940162840:2384]
2025-12-07T20:09:42.122666Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][6][StateInit] init complete for topic 'rt3.dc1--topic1' partition 6 generation 1 [17:7581210766286300130:2437]
2025-12-07T20:09:42.122951Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037893][Partition][7][StateInit] bootstrapping 7 [18:7581210767940162841:2384]
2025-12-07T20:09:42.123019Z node 17 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037892][Partition][8][StateInit] bootstrapping 8 [17:7581210766286300131:2437]
2025-12-07T20:09:42.123455Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][8][StateInit] init complete for topic 'rt3.dc1--topic1' partition 8 generation 1 [17:7581210766286300131:2437]
2025-12-07T20:09:42.123482Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][7][StateInit] init complete for topic 'rt3.dc1--topic1' partition 7 generation 1 [18:7581210767940162841:2384]
2025-12-07T20:09:42.123787Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037893][Partition][4][StateInit] bootstrapping 4 [18:7581210767940162842:2384]
2025-12-07T20:09:42.124311Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][4][StateInit] init complete for topic 'rt3.dc1--topic1' partition 4 generation 1 [18:7581210767940162842:2384]
2025-12-07T20:09:42.125796Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-07T20:09:42.126733Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] 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: 1765138182164
    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: 1765138182164
    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:14063
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-07T20:09:42.134579Z 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-12-07T20:09:42.135951Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.135963Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-12-07T20:09:42.136087Z 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-12-07T20:09:42.136124Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:55198
2025-12-07T20:09:42.136134Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.136138Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.136499Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-12-07T20:09:42.136538Z 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-12-07T20:09:42.136545Z 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-12-07T20:09:42.136548Z 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-12-07T20:09:42.136554Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286300232:2450] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.137123Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286300232:2450] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.156023Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286300232:2450] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.156103Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300264:2450] connected; active server actors: 1
2025-12-07T20:09:42.156125Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286300232:2450] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=12345678
2025-12-07T20:09:42.156134Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286300232:2450] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.156192Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300264:2450] disconnected.
2025-12-07T20:09:42.156198Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300264:2450] disconnected; active server actors: 1
2025-12-07T20:09:42.156200Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300264:2450] disconnected no session
2025-12-07T20:09:42.169851Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286300232:2450] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.169868Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286300232:2450] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-07T20:09:42.169872Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286300232:2450] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.169880Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-07T20:09:42.170007Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:42.170063Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 12345678|d8513a7c-9ba100c5-a2aa40f7-f139bec8_0 generated for partition 1 topic 'rt3.dc1--topic1' owner 12345678
2025-12-07T20:09:42.170201Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 1 MaxSeqNo: 0 sessionId: 12345678|d8513a7c-9ba100c5-a2aa40f7-f139bec8_0
2025-12-07T20:09:42.170679Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: 12345678|d8513a7c-9ba100c5-a2aa40f7-f139bec8_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.170687Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: 12345678|d8513a7c-9ba100c5-a2aa40f7-f139bec8_0 grpc read failed
2025-12-07T20:09:42.170770Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 1 sessionId: 12345678|d8513a7c-9ba100c5-a2aa40f7-f139bec8_0
2025-12-07T20:09:42.170780Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: 12345678|d8513a7c-9ba100c5-a2aa40f7-f139bec8_0 is DEAD
Finish: 0 
2025-12-07T20:09:42.170888Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.171111Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.171122Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-12-07T20:09:42.171313Z 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-12-07T20:09:42.171340Z 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]:55198
2025-12-07T20:09:42.171348Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.171351Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.171683Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-12-07T20:09:42.171709Z 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-12-07T20:09:42.171714Z 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-12-07T20:09:42.171715Z 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-12-07T20:09:42.171719Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286300291:2460] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.172179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286300291:2460] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.174056Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286300291:2460] (SourceId=source, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.174118Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300307:2460] connected; active server actors: 1
2025-12-07T20:09:42.174136Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286300291:2460] (SourceId=source, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=source
2025-12-07T20:09:42.174144Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286300291:2460] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.174181Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300307:2460] disconnected.
2025-12-07T20:09:42.174187Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300307:2460] disconnected; active server actors: 1
2025-12-07T20:09:42.174189Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300307:2460] disconnected no session
2025-12-07T20:09:42.176871Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286300291:2460] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.176883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286300291:2460] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-07T20:09:42.176886Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286300291:2460] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.176892Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-07T20:09:42.177157Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:42.177243Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|49ac9420-a4f7a479-a61d27d8-1b1b42c6_0 generated for partition 2 topic 'rt3.dc1--topic1' owner source
2025-12-07T20:09:42.177581Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 2 MaxSeqNo: 0 sessionId: source|49ac9420-a4f7a479-a61d27d8-1b1b42c6_0
request: { write_request { sequence_numbers: 2 created_at_ms: 1765138182177 sent_at_ms: 1765138182177 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-12-07T20:09:42.178178Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|49ac9420-a4f7a479-a61d27d8-1b1b42c6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-07T20:09:42.178255Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-07T20:09:42.178434Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-07T20:09:42.179787Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 3 created_at_ms: 1765138182179 sent_at_ms: 1765138182179 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-12-07T20:09:42.180186Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|49ac9420-a4f7a479-a61d27d8-1b1b42c6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-07T20:09:42.180234Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-07T20:09:42.180411Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-07T20:09:42.181405Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 4 created_at_ms: 1765138182181 sent_at_ms: 1765138182181 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-12-07T20:09:42.181710Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|49ac9420-a4f7a479-a61d27d8-1b1b42c6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-07T20:09:42.181752Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-07T20:09:42.181899Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-07T20:09:42.182720Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 5 created_at_ms: 1765138182182 sent_at_ms: 1765138182182 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-12-07T20:09:42.182990Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|49ac9420-a4f7a479-a61d27d8-1b1b42c6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-07T20:09:42.183038Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-07T20:09:42.183211Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-07T20:09:42.184124Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-07T20:09:42.184367Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|49ac9420-a4f7a479-a61d27d8-1b1b42c6_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.184372Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: source|49ac9420-a4f7a479-a61d27d8-1b1b42c6_0 grpc read failed
2025-12-07T20:09:42.184428Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 2 sessionId: source|49ac9420-a4f7a479-a61d27d8-1b1b42c6_0
2025-12-07T20:09:42.184436Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: source|49ac9420-a4f7a479-a61d27d8-1b1b42c6_0 is DEAD
1 0 
CallPersQueueGRPC request to localhost:14063
2025-12-07T20:09:42.184548Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-07T20:09:42.185367Z 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:14063
MetaRequest {
  CmdChangeTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 15
  }
}
2025-12-07T20:09:42.186427Z 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-12-07T20:09:42.190212Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1520: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [11, 13, 14, 12, 10]
2025-12-07T20:09:42.191849Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-07T20:09:42.191875Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037895] doesn't have tx writes info
2025-12-07T20:09:42.195592Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037895][Partition][11][StateInit] bootstrapping 11 [18:7581210767940162942:2386]
2025-12-07T20:09:42.196071Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-07T20:09:42.196176Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-07T20:09:42.196241Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][11][StateInit] init complete for topic 'rt3.dc1--topic1' partition 11 generation 1 [18:7581210767940162942:2386]
2025-12-07T20:09:42.196684Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037895][Partition][13][StateInit] bootstrapping 13 [18:7581210767940162943:2386]
2025-12-07T20:09:42.197216Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][13][StateInit] init complete for topic 'rt3.dc1--topic1' partition 13 generation 1 [18:7581210767940162943:2386]
2025-12-07T20:09:42.197639Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037895][Partition][14][StateInit] bootstrapping 14 [18:7581210767940162944:2386]
2025-12-07T20:09:42.198151Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][14][StateInit] init complete for topic 'rt3.dc1--topic1' partition 14 generation 1 [18:7581210767940162944:2386]
2025-12-07T20:09:42.198567Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037895][Partition][12][StateInit] bootstrapping 12 [18:7581210767940162950:2386]
2025-12-07T20:09:42.199083Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][12][StateInit] init complete for topic 'rt3.dc1--topic1' partition 12 generation 1 [18:7581210767940162950:2386]
2025-12-07T20:09:42.199462Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037895][Partition][10][StateInit] bootstrapping 10 [18:7581210767940162958:2386]
2025-12-07T20:09:42.199960Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][10][StateInit] init complete for topic 'rt3.dc1--topic1' partition 10 generation 1 [18:7581210767940162958:2386]
CallPersQueueGRPC request to localhost:14063
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-07T20:09:42.202646Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 1
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 1
Alter1 got 1
2025-12-07T20:09:42.203302Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
CallPersQueueGRPC request to localhost:14063
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-07T20:09:42.704230Z 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: 1765138182164
    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: 1765138182164
    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-12-07T20:09:42.705954Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.705964Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-12-07T20:09:42.706093Z 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-12-07T20:09:42.706129Z 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]:55198
2025-12-07T20:09:42.706135Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.706139Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.706518Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-12-07T20:09:42.706553Z 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-12-07T20:09:42.706560Z 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-12-07T20:09:42.706563Z 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-12-07T20:09:42.706570Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286300514:2479] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.707031Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286300514:2479] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.708654Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286300514:2479] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.711175Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286300514:2479] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.711186Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286300514:2479] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=0
2025-12-07T20:09:42.711189Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286300514:2479] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.711195Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-07T20:09:42.711493Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:42.711601Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|bcd96ba6-9aac9edc-fec4e1cf-95406ea7_0 generated for partition 2 topic 'rt3.dc1--topic1' owner source
2025-12-07T20:09:42.711901Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 2 MaxSeqNo: 5 sessionId: source|bcd96ba6-9aac9edc-fec4e1cf-95406ea7_0
request: { write_request { sequence_numbers: 6 created_at_ms: 1765138182712 sent_at_ms: 1765138182712 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-12-07T20:09:42.712282Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|bcd96ba6-9aac9edc-fec4e1cf-95406ea7_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-07T20:09:42.712350Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-07T20:09:42.712540Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-07T20:09:42.713778Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 7 created_at_ms: 1765138182714 sent_at_ms: 1765138182714 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-12-07T20:09:42.714156Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|bcd96ba6-9aac9edc-fec4e1cf-95406ea7_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-07T20:09:42.714212Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-07T20:09:42.714416Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-07T20:09:42.715329Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 8 created_at_ms: 1765138182715 sent_at_ms: 1765138182715 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-12-07T20:09:42.715573Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|bcd96ba6-9aac9edc-fec4e1cf-95406ea7_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-07T20:09:42.715616Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-07T20:09:42.715770Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-07T20:09:42.716826Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 9 created_at_ms: 1765138182716 sent_at_ms: 1765138182716 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-12-07T20:09:42.717137Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|bcd96ba6-9aac9edc-fec4e1cf-95406ea7_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-07T20:09:42.717213Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-07T20:09:42.717420Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-07T20:09:42.718575Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-07T20:09:42.718803Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|bcd96ba6-9aac9edc-fec4e1cf-95406ea7_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.718810Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: source|bcd96ba6-9aac9edc-fec4e1cf-95406ea7_0 grpc read failed
2025-12-07T20:09:42.718870Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 3 sessionId: source|bcd96ba6-9aac9edc-fec4e1cf-95406ea7_0
2025-12-07T20:09:42.718878Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: source|bcd96ba6-9aac9edc-fec4e1cf-95406ea7_0 is DEAD
1 0 
2025-12-07T20:09:42.718953Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.719196Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.719202Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 4
2025-12-07T20:09:42.719310Z 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-12-07T20:09:42.719334Z 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]:55198
2025-12-07T20:09:42.719341Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.719344Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.719737Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 4 sessionId:  describe result for acl check
2025-12-07T20:09:42.719761Z 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-12-07T20:09:42.719763Z 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-12-07T20:09:42.719764Z 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-12-07T20:09:42.719768Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286300555:2483] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.720288Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286300555:2483] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.721879Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286300555:2483] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.723982Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286300555:2483] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.723993Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286300555:2483] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=0
2025-12-07T20:09:42.723995Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286300555:2483] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.724001Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 4 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-07T20:09:42.724262Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:42.724358Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|73f6a888-7dfb5760-56e9b841-ef12a2a_0 generated for partition 2 topic 'rt3.dc1--topic1' owner source
2025-12-07T20:09:42.724589Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 4 partition: 2 MaxSeqNo: 9 sessionId: source|73f6a888-7dfb5760-56e9b841-ef12a2a_0
request: { write_request { sequence_numbers: 10 sequence_numbers: 11 sequence_numbers: 12 sequence_numbers: 13 sequence_numbers: 14 created_at_ms: 1765138182724 created_at_ms: 1765138182724 created_at_ms: 1765138182724 created_at_ms: 1765138182724 created_at_ms: 1765138182724 sent_at_ms: 1765138182724 sent_at_ms: 1765138182724 sent_at_ms: 1765138182724 sent_at_ms: 1765138182724 sent_at_ms: 1765138182724 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-12-07T20:09:42.725018Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|73f6a888-7dfb5760-56e9b841-ef12a2a_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-07T20:09:42.725081Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-07T20:09:42.725262Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-07T20:09:42.726529Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) 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: 1765138182726 created_at_ms: 1765138182726 created_at_ms: 1765138182726 created_at_ms: 1765138182726 created_at_ms: 1765138182726 sent_at_ms: 1765138182726 sent_at_ms: 1765138182726 sent_at_ms: 1765138182726 sent_at_ms: 1765138182726 sent_at_ms: 1765138182726 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-12-07T20:09:42.726853Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|73f6a888-7dfb5760-56e9b841-ef12a2a_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-07T20:09:42.726905Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-07T20:09:42.727119Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-07T20:09:42.728094Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) 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: 1765138182728 created_at_ms: 1765138182728 created_at_ms: 1765138182728 created_at_ms: 1765138182728 created_at_ms: 1765138182728 sent_at_ms: 1765138182728 sent_at_ms: 1765138182728 sent_at_ms: 1765138182728 sent_at_ms: 1765138182728 sent_at_ms: 1765138182728 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-12-07T20:09:42.728408Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|73f6a888-7dfb5760-56e9b841-ef12a2a_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-07T20:09:42.728458Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-07T20:09:42.728647Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-07T20:09:42.729655Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) 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: 1765138182729 created_at_ms: 1765138182729 created_at_ms: 1765138182729 created_at_ms: 1765138182729 created_at_ms: 1765138182729 sent_at_ms: 1765138182729 sent_at_ms: 1765138182729 sent_at_ms: 1765138182729 sent_at_ms: 1765138182729 sent_at_ms: 1765138182729 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-12-07T20:09:42.729992Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|73f6a888-7dfb5760-56e9b841-ef12a2a_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-07T20:09:42.730093Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-07T20:09:42.730275Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-07T20:09:42.731130Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-07T20:09:42.731388Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|73f6a888-7dfb5760-56e9b841-ef12a2a_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.731393Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 4 sessionId: source|73f6a888-7dfb5760-56e9b841-ef12a2a_0 grpc read failed
2025-12-07T20:09:42.731453Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 4 sessionId: source|73f6a888-7dfb5760-56e9b841-ef12a2a_0
2025-12-07T20:09:42.731461Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 4 sessionId: source|73f6a888-7dfb5760-56e9b841-ef12a2a_0 is DEAD
1 0 
2025-12-07T20:09:42.731551Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.731772Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.731779Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 5
2025-12-07T20:09:42.731862Z 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-12-07T20:09:42.731884Z 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]:55198
2025-12-07T20:09:42.731891Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic2 durationSec=0
2025-12-07T20:09:42.731894Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.732170Z 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-12-07T20:09:42.732258Z 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-12-07T20:09:42.732606Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.732632Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 6
2025-12-07T20:09:42.732715Z 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-12-07T20:09:42.732738Z 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]:55198
2025-12-07T20:09:42.732742Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.732744Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.733026Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 6 sessionId:  describe result for acl check
2025-12-07T20:09:42.733052Z 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-12-07T20:09:42.733058Z 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-12-07T20:09:42.733059Z 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-12-07T20:09:42.733064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286300602:2490] (SourceId=sid1, PreferedPartition=1) StartKqpSession
2025-12-07T20:09:42.733535Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286300602:2490] (SourceId=sid1, PreferedPartition=1) Select from the table
2025-12-07T20:09:42.735106Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286300602:2490] (SourceId=sid1, PreferedPartition=1) Update the table
2025-12-07T20:09:42.737152Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286300602:2490] (SourceId=sid1, PreferedPartition=1) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.737162Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286300602:2490] (SourceId=sid1, PreferedPartition=1) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-07T20:09:42.737164Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286300602:2490] (SourceId=sid1, PreferedPartition=1) Start idle
2025-12-07T20:09:42.737169Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 6 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-07T20:09:42.737277Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:42.737304Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|3a33dada-f38e59ec-a9a27b05-1482c626_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-12-07T20:09:42.737388Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 6 partition: 1 MaxSeqNo: 0 sessionId: sid1|3a33dada-f38e59ec-a9a27b05-1482c626_0
Init result: { status: SUCCESS init_response { session_id: "sid1|3a33dada-f38e59ec-a9a27b05-1482c626_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.737834Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId: sid1|3a33dada-f38e59ec-a9a27b05-1482c626_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.737842Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 6 sessionId: sid1|3a33dada-f38e59ec-a9a27b05-1482c626_0 grpc read failed
2025-12-07T20:09:42.737846Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 6 sessionId: sid1|3a33dada-f38e59ec-a9a27b05-1482c626_0 grpc closed
2025-12-07T20:09:42.737849Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 6 sessionId: sid1|3a33dada-f38e59ec-a9a27b05-1482c626_0 is DEAD
2025-12-07T20:09:42.737938Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.737944Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 7
2025-12-07T20:09:42.738036Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.738051Z 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-12-07T20:09:42.738065Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 7 topic: "topic1" message_group_id: "sid1" from ipv6:[::1]:55198
2025-12-07T20:09:42.738070Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.738072Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.738306Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 7 sessionId:  describe result for acl check
2025-12-07T20:09:42.738326Z 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-12-07T20:09:42.738327Z 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-12-07T20:09:42.738329Z 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-12-07T20:09:42.738331Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286300637:2494] (SourceId=sid1, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.738680Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286300637:2494] (SourceId=sid1, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.739958Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286300637:2494] (SourceId=sid1, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.742280Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286300637:2494] (SourceId=sid1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.742293Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286300637:2494] (SourceId=sid1, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2025-12-07T20:09:42.742296Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286300637:2494] (SourceId=sid1, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.742303Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-07T20:09:42.742420Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:42.742434Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|2d91f66e-c63dc060-3b8c81b5-f290e465_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-12-07T20:09:42.742538Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: sid1|2d91f66e-c63dc060-3b8c81b5-f290e465_0
Init result: { status: SUCCESS init_response { session_id: "sid1|2d91f66e-c63dc060-3b8c81b5-f290e465_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.743004Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId: sid1|2d91f66e-c63dc060-3b8c81b5-f290e465_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.743010Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 7 sessionId: sid1|2d91f66e-c63dc060-3b8c81b5-f290e465_0 grpc read failed
2025-12-07T20:09:42.743014Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 7 sessionId: sid1|2d91f66e-c63dc060-3b8c81b5-f290e465_0 grpc closed
2025-12-07T20:09:42.743018Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 7 sessionId: sid1|2d91f66e-c63dc060-3b8c81b5-f290e465_0 is DEAD
2025-12-07T20:09:42.743140Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.743148Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 8
2025-12-07T20:09:42.743186Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.743224Z 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-12-07T20:09:42.743249Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 8 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:55198
2025-12-07T20:09:42.743255Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.743258Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.743565Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 8 sessionId:  describe result for acl check
2025-12-07T20:09:42.743586Z 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-12-07T20:09:42.743590Z 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-12-07T20:09:42.743592Z 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-12-07T20:09:42.743594Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286300672:2498] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.743927Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286300672:2498] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.744910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286300672:2498] (SourceId=sidx, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.744966Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300688:2498] connected; active server actors: 1
2025-12-07T20:09:42.744981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286300672:2498] (SourceId=sidx, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sidx
2025-12-07T20:09:42.744985Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286300672:2498] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.745024Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300688:2498] disconnected.
2025-12-07T20:09:42.745031Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300688:2498] disconnected; active server actors: 1
2025-12-07T20:09:42.745035Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300688:2498] disconnected no session
2025-12-07T20:09:42.746947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286300672:2498] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.746957Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286300672:2498] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-07T20:09:42.746959Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286300672:2498] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.746964Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 8 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-07T20:09:42.747051Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:42.747082Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|c399febf-5f7b1cc0-dcf6e6e5-d57cb855_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sidx
2025-12-07T20:09:42.747183Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 8 partition: 3 MaxSeqNo: 0 sessionId: sidx|c399febf-5f7b1cc0-dcf6e6e5-d57cb855_0
Init result: { status: SUCCESS init_response { session_id: "sidx|c399febf-5f7b1cc0-dcf6e6e5-d57cb855_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.747654Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId: sidx|c399febf-5f7b1cc0-dcf6e6e5-d57cb855_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.747662Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 8 sessionId: sidx|c399febf-5f7b1cc0-dcf6e6e5-d57cb855_0 grpc read failed
2025-12-07T20:09:42.747666Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 8 sessionId: sidx|c399febf-5f7b1cc0-dcf6e6e5-d57cb855_0 grpc closed
2025-12-07T20:09:42.747670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 8 sessionId: sidx|c399febf-5f7b1cc0-dcf6e6e5-d57cb855_0 is DEAD
2025-12-07T20:09:42.747762Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.747768Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 9
2025-12-07T20:09:42.747830Z 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-12-07T20:09:42.747840Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.747847Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 9 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:55198
2025-12-07T20:09:42.747850Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.747852Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.748072Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 9 sessionId:  describe result for acl check
2025-12-07T20:09:42.748094Z 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-12-07T20:09:42.748095Z 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-12-07T20:09:42.748096Z 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-12-07T20:09:42.748098Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286300709:2502] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.748425Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286300709:2502] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.749603Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286300709:2502] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.751542Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286300709:2502] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.751551Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286300709:2502] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=0
2025-12-07T20:09:42.751554Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286300709:2502] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.751559Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 9 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-07T20:09:42.751645Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:42.751667Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|450ceddf-9987b886-e59a1631-de337d79_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sidx
2025-12-07T20:09:42.751777Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 9 partition: 3 MaxSeqNo: 0 sessionId: sidx|450ceddf-9987b886-e59a1631-de337d79_0
Init result: { status: SUCCESS init_response { session_id: "sidx|450ceddf-9987b886-e59a1631-de337d79_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.752342Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId: sidx|450ceddf-9987b886-e59a1631-de337d79_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.752348Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 9 sessionId: sidx|450ceddf-9987b886-e59a1631-de337d79_0 grpc read failed
2025-12-07T20:09:42.752351Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 9 sessionId: sidx|450ceddf-9987b886-e59a1631-de337d79_0 grpc closed
2025-12-07T20:09:42.752354Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 9 sessionId: sidx|450ceddf-9987b886-e59a1631-de337d79_0 is DEAD
2025-12-07T20:09:42.752476Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.752483Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 10
2025-12-07T20:09:42.752496Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.752572Z 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-12-07T20:09:42.752594Z 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]:55198
2025-12-07T20:09:42.752599Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.752601Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.752883Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 10 sessionId:  describe result for acl check
2025-12-07T20:09:42.752906Z 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-12-07T20:09:42.752912Z 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-12-07T20:09:42.752913Z 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-12-07T20:09:42.752915Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286300744:2506] (SourceId=sid1, PreferedPartition=2) StartKqpSession
2025-12-07T20:09:42.753258Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286300744:2506] (SourceId=sid1, PreferedPartition=2) Select from the table
2025-12-07T20:09:42.754222Z node 17 :PQ_PARTITION_CHOOSER INFO: partition_chooser_impl__abstract_chooser_actor.h:312: TPartitionChooser [17:7581210766286300744:2506] (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-12-07T20:09:42.754237Z 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-12-07T20:09:42.754325Z 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-12-07T20:09:42.754677Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.754683Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 11
2025-12-07T20:09:42.754760Z 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-12-07T20:09:42.754779Z 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]:55198
2025-12-07T20:09:42.754784Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=11 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.754785Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.755012Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 11 sessionId:  describe result for acl check
2025-12-07T20:09:42.755031Z 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-12-07T20:09:42.755036Z 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-12-07T20:09:42.755037Z 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-12-07T20:09:42.755039Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286300766:2510] (SourceId=sid_rand_0, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.755339Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286300766:2510] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.756912Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286300766:2510] (SourceId=sid_rand_0, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.756975Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300782:2510] connected; active server actors: 1
2025-12-07T20:09:42.756994Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286300766:2510] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_0
2025-12-07T20:09:42.757000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286300766:2510] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.757042Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300782:2510] disconnected.
2025-12-07T20:09:42.757049Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300782:2510] disconnected; active server actors: 1
2025-12-07T20:09:42.757051Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300782:2510] disconnected no session
2025-12-07T20:09:42.759405Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286300766:2510] (SourceId=sid_rand_0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.759415Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286300766:2510] (SourceId=sid_rand_0, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-07T20:09:42.759417Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286300766:2510] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.759422Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 11 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-07T20:09:42.759654Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:42.759736Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_0|29c79ac7-6ad7af5-c4e7ccbe-14962d1c_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_0
2025-12-07T20:09:42.759971Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 11 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_0|29c79ac7-6ad7af5-c4e7ccbe-14962d1c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_0|29c79ac7-6ad7af5-c4e7ccbe-14962d1c_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.760589Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId: sid_rand_0|29c79ac7-6ad7af5-c4e7ccbe-14962d1c_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.760595Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 11 sessionId: sid_rand_0|29c79ac7-6ad7af5-c4e7ccbe-14962d1c_0 grpc read failed
2025-12-07T20:09:42.760599Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 11 sessionId: sid_rand_0|29c79ac7-6ad7af5-c4e7ccbe-14962d1c_0 grpc closed
2025-12-07T20:09:42.760603Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 11 sessionId: sid_rand_0|29c79ac7-6ad7af5-c4e7ccbe-14962d1c_0 is DEAD
2025-12-07T20:09:42.760659Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.760668Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 12
2025-12-07T20:09:42.760797Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.760835Z 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-12-07T20:09:42.760873Z 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]:55198
2025-12-07T20:09:42.760879Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=12 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.760881Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.761191Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 12 sessionId:  describe result for acl check
2025-12-07T20:09:42.761214Z 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-12-07T20:09:42.761219Z 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-12-07T20:09:42.761220Z 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-12-07T20:09:42.761224Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286300802:2514] (SourceId=sid_rand_1, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.761652Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286300802:2514] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.763150Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286300802:2514] (SourceId=sid_rand_1, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.763219Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300818:2514] connected; active server actors: 1
2025-12-07T20:09:42.763235Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286300802:2514] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_1
2025-12-07T20:09:42.763238Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286300802:2514] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.763270Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300818:2514] disconnected.
2025-12-07T20:09:42.763276Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300818:2514] disconnected; active server actors: 1
2025-12-07T20:09:42.763279Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300818:2514] disconnected no session
2025-12-07T20:09:42.765467Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286300802:2514] (SourceId=sid_rand_1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.765476Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286300802:2514] (SourceId=sid_rand_1, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-07T20:09:42.765478Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286300802:2514] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.765484Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 12 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-07T20:09:42.765697Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:42.765784Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_1|6d05126-465964bc-a02c8b3e-283bf4ce_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_1
2025-12-07T20:09:42.766033Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 12 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_1|6d05126-465964bc-a02c8b3e-283bf4ce_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_1|6d05126-465964bc-a02c8b3e-283bf4ce_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.766545Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId: sid_rand_1|6d05126-465964bc-a02c8b3e-283bf4ce_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.766552Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 12 sessionId: sid_rand_1|6d05126-465964bc-a02c8b3e-283bf4ce_0 grpc read failed
2025-12-07T20:09:42.766556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 12 sessionId: sid_rand_1|6d05126-465964bc-a02c8b3e-283bf4ce_0 grpc closed
2025-12-07T20:09:42.766559Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 12 sessionId: sid_rand_1|6d05126-465964bc-a02c8b3e-283bf4ce_0 is DEAD
2025-12-07T20:09:42.766661Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.766669Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 13
2025-12-07T20:09:42.766731Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.766766Z 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-12-07T20:09:42.766795Z 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]:55198
2025-12-07T20:09:42.766801Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=13 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.766804Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.767061Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 13 sessionId:  describe result for acl check
2025-12-07T20:09:42.767080Z 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-12-07T20:09:42.767085Z 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-12-07T20:09:42.767086Z 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-12-07T20:09:42.767089Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286300838:2518] (SourceId=sid_rand_2, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.767489Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286300838:2518] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.768628Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286300838:2518] (SourceId=sid_rand_2, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.768681Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300854:2518] connected; active server actors: 1
2025-12-07T20:09:42.768694Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286300838:2518] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_2
2025-12-07T20:09:42.768696Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286300838:2518] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.768724Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300854:2518] disconnected.
2025-12-07T20:09:42.768730Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300854:2518] disconnected; active server actors: 1
2025-12-07T20:09:42.768732Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300854:2518] disconnected no session
2025-12-07T20:09:42.771176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286300838:2518] (SourceId=sid_rand_2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.771185Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286300838:2518] (SourceId=sid_rand_2, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-07T20:09:42.771187Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286300838:2518] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.771193Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 13 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-07T20:09:42.771300Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:42.771330Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_2|c343512f-7cc30622-cbe90f12-94271d4e_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_2
2025-12-07T20:09:42.771460Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 13 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_2|c343512f-7cc30622-cbe90f12-94271d4e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_2|c343512f-7cc30622-cbe90f12-94271d4e_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.771906Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId: sid_rand_2|c343512f-7cc30622-cbe90f12-94271d4e_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.771912Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 13 sessionId: sid_rand_2|c343512f-7cc30622-cbe90f12-94271d4e_0 grpc read failed
2025-12-07T20:09:42.771916Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 13 sessionId: sid_rand_2|c343512f-7cc30622-cbe90f12-94271d4e_0 grpc closed
2025-12-07T20:09:42.771919Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 13 sessionId: sid_rand_2|c343512f-7cc30622-cbe90f12-94271d4e_0 is DEAD
2025-12-07T20:09:42.772081Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.772089Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 14
2025-12-07T20:09:42.772110Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.772176Z 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-12-07T20:09:42.772197Z 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]:55198
2025-12-07T20:09:42.772203Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=14 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.772205Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.772524Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 14 sessionId:  describe result for acl check
2025-12-07T20:09:42.772548Z 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-12-07T20:09:42.772553Z 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-12-07T20:09:42.772555Z 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-12-07T20:09:42.772558Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286300875:2522] (SourceId=sid_rand_3, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.772962Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286300875:2522] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.774343Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286300875:2522] (SourceId=sid_rand_3, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.774397Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300891:2522] connected; active server actors: 1
2025-12-07T20:09:42.774411Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286300875:2522] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_3
2025-12-07T20:09:42.774414Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286300875:2522] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.774450Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300891:2522] disconnected.
2025-12-07T20:09:42.774456Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300891:2522] disconnected; active server actors: 1
2025-12-07T20:09:42.774457Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300891:2522] disconnected no session
2025-12-07T20:09:42.776859Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286300875:2522] (SourceId=sid_rand_3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.776872Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286300875:2522] (SourceId=sid_rand_3, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-07T20:09:42.776875Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286300875:2522] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.776881Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 14 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-07T20:09:42.777122Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:42.777203Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_3|aeed1d4a-8d5f0326-689a0b52-92a8ecd3_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_3
2025-12-07T20:09:42.777425Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 14 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_3|aeed1d4a-8d5f0326-689a0b52-92a8ecd3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_3|aeed1d4a-8d5f0326-689a0b52-92a8ecd3_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.777982Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId: sid_rand_3|aeed1d4a-8d5f0326-689a0b52-92a8ecd3_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.777989Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 14 sessionId: sid_rand_3|aeed1d4a-8d5f0326-689a0b52-92a8ecd3_0 grpc read failed
2025-12-07T20:09:42.777995Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 14 sessionId: sid_rand_3|aeed1d4a-8d5f0326-689a0b52-92a8ecd3_0 grpc closed
2025-12-07T20:09:42.777998Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 14 sessionId: sid_rand_3|aeed1d4a-8d5f0326-689a0b52-92a8ecd3_0 is DEAD
2025-12-07T20:09:42.778079Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.778089Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 15
2025-12-07T20:09:42.778198Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.778236Z 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-12-07T20:09:42.778265Z 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]:55198
2025-12-07T20:09:42.778273Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=15 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.778276Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.778578Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 15 sessionId:  describe result for acl check
2025-12-07T20:09:42.778601Z 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-12-07T20:09:42.778606Z 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-12-07T20:09:42.778608Z 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-12-07T20:09:42.778611Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286300911:2526] (SourceId=sid_rand_4, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.778947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286300911:2526] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.780418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286300911:2526] (SourceId=sid_rand_4, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.780486Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300927:2526] connected; active server actors: 1
2025-12-07T20:09:42.780500Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286300911:2526] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_4
2025-12-07T20:09:42.780505Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286300911:2526] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.780543Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300927:2526] disconnected.
2025-12-07T20:09:42.780549Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300927:2526] disconnected; active server actors: 1
2025-12-07T20:09:42.780551Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300927:2526] disconnected no session
2025-12-07T20:09:42.783120Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286300911:2526] (SourceId=sid_rand_4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.783151Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286300911:2526] (SourceId=sid_rand_4, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-07T20:09:42.783154Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286300911:2526] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.783161Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 15 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-07T20:09:42.783305Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:42.783363Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_4|c950c067-4303818e-777b3637-e4d4600f_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_4
2025-12-07T20:09:42.783490Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 15 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_4|c950c067-4303818e-777b3637-e4d4600f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_4|c950c067-4303818e-777b3637-e4d4600f_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.784141Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId: sid_rand_4|c950c067-4303818e-777b3637-e4d4600f_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.784151Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 15 sessionId: sid_rand_4|c950c067-4303818e-777b3637-e4d4600f_0 grpc read failed
2025-12-07T20:09:42.784156Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 15 sessionId: sid_rand_4|c950c067-4303818e-777b3637-e4d4600f_0 grpc closed
2025-12-07T20:09:42.784160Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 15 sessionId: sid_rand_4|c950c067-4303818e-777b3637-e4d4600f_0 is DEAD
2025-12-07T20:09:42.784284Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.784297Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 16
2025-12-07T20:09:42.784433Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.784466Z 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-12-07T20:09:42.784490Z 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]:55198
2025-12-07T20:09:42.784500Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=16 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.784503Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.784883Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 16 sessionId:  describe result for acl check
2025-12-07T20:09:42.784919Z 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-12-07T20:09:42.784925Z 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-12-07T20:09:42.784928Z 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-12-07T20:09:42.784933Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286300948:2530] (SourceId=sid_rand_5, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.785509Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286300948:2530] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.787454Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286300948:2530] (SourceId=sid_rand_5, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.787533Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300964:2530] connected; active server actors: 1
2025-12-07T20:09:42.787558Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286300948:2530] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_5
2025-12-07T20:09:42.787583Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286300948:2530] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.787674Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300964:2530] disconnected.
2025-12-07T20:09:42.787682Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300964:2530] disconnected; active server actors: 1
2025-12-07T20:09:42.787684Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286300964:2530] disconnected no session
2025-12-07T20:09:42.790300Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286300948:2530] (SourceId=sid_rand_5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.790312Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286300948:2530] (SourceId=sid_rand_5, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-07T20:09:42.790316Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286300948:2530] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.790323Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 16 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-07T20:09:42.790573Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:42.790658Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_5|f75ad310-c815fc09-bdb4a94b-9765ca2f_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_5
2025-12-07T20:09:42.790943Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 16 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_5|f75ad310-c815fc09-bdb4a94b-9765ca2f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_5|f75ad310-c815fc09-bdb4a94b-9765ca2f_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.791552Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId: sid_rand_5|f75ad310-c815fc09-bdb4a94b-9765ca2f_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.791564Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 16 sessionId: sid_rand_5|f75ad310-c815fc09-bdb4a94b-9765ca2f_0 grpc read failed
2025-12-07T20:09:42.791571Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 16 sessionId: sid_rand_5|f75ad310-c815fc09-bdb4a94b-9765ca2f_0 grpc closed
2025-12-07T20:09:42.791577Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 16 sessionId: sid_rand_5|f75ad310-c815fc09-bdb4a94b-9765ca2f_0 is DEAD
2025-12-07T20:09:42.791703Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.791715Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 17
2025-12-07T20:09:42.791848Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.791890Z 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-12-07T20:09:42.791922Z 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]:55198
2025-12-07T20:09:42.791931Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=17 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.791935Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.792317Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 17 sessionId:  describe result for acl check
2025-12-07T20:09:42.792349Z 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-12-07T20:09:42.792356Z 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-12-07T20:09:42.792360Z 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-12-07T20:09:42.792364Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286300984:2534] (SourceId=sid_rand_6, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.792912Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286300984:2534] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.794628Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286300984:2534] (SourceId=sid_rand_6, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.794710Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301000:2534] connected; active server actors: 1
2025-12-07T20:09:42.794729Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286300984:2534] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_6
2025-12-07T20:09:42.794733Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286300984:2534] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.794783Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301000:2534] disconnected.
2025-12-07T20:09:42.794792Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301000:2534] disconnected; active server actors: 1
2025-12-07T20:09:42.794794Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301000:2534] disconnected no session
2025-12-07T20:09:42.797329Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286300984:2534] (SourceId=sid_rand_6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.797341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286300984:2534] (SourceId=sid_rand_6, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-07T20:09:42.797345Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286300984:2534] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.797352Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 17 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-07T20:09:42.797637Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:42.797733Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_6|d26692ee-6305475f-c4caab69-676aeaf_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_6
2025-12-07T20:09:42.798045Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 17 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_6|d26692ee-6305475f-c4caab69-676aeaf_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_6|d26692ee-6305475f-c4caab69-676aeaf_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.798702Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId: sid_rand_6|d26692ee-6305475f-c4caab69-676aeaf_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.798713Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 17 sessionId: sid_rand_6|d26692ee-6305475f-c4caab69-676aeaf_0 grpc read failed
2025-12-07T20:09:42.798720Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 17 sessionId: sid_rand_6|d26692ee-6305475f-c4caab69-676aeaf_0 grpc closed
2025-12-07T20:09:42.798724Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 17 sessionId: sid_rand_6|d26692ee-6305475f-c4caab69-676aeaf_0 is DEAD
2025-12-07T20:09:42.798791Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.798804Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 18
2025-12-07T20:09:42.798943Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.798989Z 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-12-07T20:09:42.799021Z 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]:55198
2025-12-07T20:09:42.799031Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=18 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.799035Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.799388Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 18 sessionId:  describe result for acl check
2025-12-07T20:09:42.799422Z 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-12-07T20:09:42.799424Z 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-12-07T20:09:42.799426Z 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-12-07T20:09:42.799431Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301021:2538] (SourceId=sid_rand_7, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.799939Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301021:2538] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.801496Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301021:2538] (SourceId=sid_rand_7, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.801601Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301037:2538] connected; active server actors: 1
2025-12-07T20:09:42.801636Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301021:2538] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_7
2025-12-07T20:09:42.801642Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301021:2538] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.801698Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301037:2538] disconnected.
2025-12-07T20:09:42.801704Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301037:2538] disconnected; active server actors: 1
2025-12-07T20:09:42.801706Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301037:2538] disconnected no session
2025-12-07T20:09:42.804148Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301021:2538] (SourceId=sid_rand_7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.804160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301021:2538] (SourceId=sid_rand_7, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-07T20:09:42.804164Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301021:2538] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.804171Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 18 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-07T20:09:42.804430Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:42.804531Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_7|1bad1638-6f51a7ff-d7853a8f-46b28dc7_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_7
2025-12-07T20:09:42.804820Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 18 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_7|1bad1638-6f51a7ff-d7853a8f-46b28dc7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_7|1bad1638-6f51a7ff-d7853a8f-46b28dc7_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.805407Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId: sid_rand_7|1bad1638-6f51a7ff-d7853a8f-46b28dc7_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.805415Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 18 sessionId: sid_rand_7|1bad1638-6f51a7ff-d7853a8f-46b28dc7_0 grpc read failed
2025-12-07T20:09:42.805420Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 18 sessionId: sid_rand_7|1bad1638-6f51a7ff-d7853a8f-46b28dc7_0 grpc closed
2025-12-07T20:09:42.805424Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 18 sessionId: sid_rand_7|1bad1638-6f51a7ff-d7853a8f-46b28dc7_0 is DEAD
2025-12-07T20:09:42.805602Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.805615Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 19
2025-12-07T20:09:42.805736Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.805742Z 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-12-07T20:09:42.805765Z 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]:55198
2025-12-07T20:09:42.805775Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=19 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.805779Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.806130Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 19 sessionId:  describe result for acl check
2025-12-07T20:09:42.806163Z 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-12-07T20:09:42.806169Z 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-12-07T20:09:42.806171Z 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-12-07T20:09:42.806176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301057:2542] (SourceId=sid_rand_8, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.806709Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301057:2542] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.808374Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301057:2542] (SourceId=sid_rand_8, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.808443Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301073:2542] connected; active server actors: 1
2025-12-07T20:09:42.808460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301057:2542] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_8
2025-12-07T20:09:42.808470Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301057:2542] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.808515Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301073:2542] disconnected.
2025-12-07T20:09:42.808526Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301073:2542] disconnected; active server actors: 1
2025-12-07T20:09:42.808529Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301073:2542] disconnected no session
2025-12-07T20:09:42.811219Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301057:2542] (SourceId=sid_rand_8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.811228Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301057:2542] (SourceId=sid_rand_8, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-07T20:09:42.811231Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301057:2542] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.811237Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 19 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-07T20:09:42.811532Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:42.811620Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_8|6c7bd1b4-8528e190-e7a420e6-9622a80d_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_8
2025-12-07T20:09:42.811947Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 19 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_8|6c7bd1b4-8528e190-e7a420e6-9622a80d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_8|6c7bd1b4-8528e190-e7a420e6-9622a80d_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.812649Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId: sid_rand_8|6c7bd1b4-8528e190-e7a420e6-9622a80d_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.812658Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 19 sessionId: sid_rand_8|6c7bd1b4-8528e190-e7a420e6-9622a80d_0 grpc read failed
2025-12-07T20:09:42.812663Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 19 sessionId: sid_rand_8|6c7bd1b4-8528e190-e7a420e6-9622a80d_0 grpc closed
2025-12-07T20:09:42.812667Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 19 sessionId: sid_rand_8|6c7bd1b4-8528e190-e7a420e6-9622a80d_0 is DEAD
2025-12-07T20:09:42.812809Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.812821Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 20
2025-12-07T20:09:42.812905Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.812933Z 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-12-07T20:09:42.812955Z 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]:55198
2025-12-07T20:09:42.812966Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=20 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.812970Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.813327Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 20 sessionId:  describe result for acl check
2025-12-07T20:09:42.813360Z 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-12-07T20:09:42.813362Z 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-12-07T20:09:42.813365Z 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-12-07T20:09:42.813369Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301095:2547] (SourceId=sid_rand_9, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.813931Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301095:2547] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.815396Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301095:2547] (SourceId=sid_rand_9, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.815467Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301111:2547] connected; active server actors: 1
2025-12-07T20:09:42.815481Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301095:2547] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_9
2025-12-07T20:09:42.815485Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301095:2547] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.815520Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301111:2547] disconnected.
2025-12-07T20:09:42.815527Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301111:2547] disconnected; active server actors: 1
2025-12-07T20:09:42.815530Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301111:2547] disconnected no session
2025-12-07T20:09:42.817953Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301095:2547] (SourceId=sid_rand_9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.817962Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301095:2547] (SourceId=sid_rand_9, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-07T20:09:42.817965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301095:2547] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.817972Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 20 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-07T20:09:42.818200Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:42.818293Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_9|3cbe7086-bfa768c1-c8b7f041-fab483b8_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_9
2025-12-07T20:09:42.818703Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 20 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_9|3cbe7086-bfa768c1-c8b7f041-fab483b8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_9|3cbe7086-bfa768c1-c8b7f041-fab483b8_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.819424Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId: sid_rand_9|3cbe7086-bfa768c1-c8b7f041-fab483b8_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.819432Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 20 sessionId: sid_rand_9|3cbe7086-bfa768c1-c8b7f041-fab483b8_0 grpc read failed
2025-12-07T20:09:42.819437Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 20 sessionId: sid_rand_9|3cbe7086-bfa768c1-c8b7f041-fab483b8_0 grpc closed
2025-12-07T20:09:42.819442Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 20 sessionId: sid_rand_9|3cbe7086-bfa768c1-c8b7f041-fab483b8_0 is DEAD
2025-12-07T20:09:42.819548Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.819560Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 21
2025-12-07T20:09:42.819666Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.819701Z 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-12-07T20:09:42.819734Z 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]:55198
2025-12-07T20:09:42.819744Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=21 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.819748Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.820105Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 21 sessionId:  describe result for acl check
2025-12-07T20:09:42.820146Z 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-12-07T20:09:42.820152Z 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-12-07T20:09:42.820154Z 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-12-07T20:09:42.820160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301131:2551] (SourceId=sid_rand_10, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.820756Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301131:2551] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.823078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301131:2551] (SourceId=sid_rand_10, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.823143Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301147:2551] connected; active server actors: 1
2025-12-07T20:09:42.823164Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301131:2551] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_10
2025-12-07T20:09:42.823170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301131:2551] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.823224Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301147:2551] disconnected.
2025-12-07T20:09:42.823233Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301147:2551] disconnected; active server actors: 1
2025-12-07T20:09:42.823236Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301147:2551] disconnected no session
2025-12-07T20:09:42.826161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301131:2551] (SourceId=sid_rand_10, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.826174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301131:2551] (SourceId=sid_rand_10, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-07T20:09:42.826178Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301131:2551] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.826186Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 21 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-07T20:09:42.826428Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:42.826545Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_10|125ef78c-b4523536-3bf69484-dccf63dc_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_10
2025-12-07T20:09:42.826815Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 21 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_10|125ef78c-b4523536-3bf69484-dccf63dc_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_10|125ef78c-b4523536-3bf69484-dccf63dc_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.827410Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId: sid_rand_10|125ef78c-b4523536-3bf69484-dccf63dc_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.827415Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 21 sessionId: sid_rand_10|125ef78c-b4523536-3bf69484-dccf63dc_0 grpc read failed
2025-12-07T20:09:42.827419Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 21 sessionId: sid_rand_10|125ef78c-b4523536-3bf69484-dccf63dc_0 grpc closed
2025-12-07T20:09:42.827423Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 21 sessionId: sid_rand_10|125ef78c-b4523536-3bf69484-dccf63dc_0 is DEAD
2025-12-07T20:09:42.827617Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.827631Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 22
2025-12-07T20:09:42.827632Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.827740Z 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-12-07T20:09:42.827767Z 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]:55198
2025-12-07T20:09:42.827773Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=22 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.827775Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.828167Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 22 sessionId:  describe result for acl check
2025-12-07T20:09:42.828213Z 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-12-07T20:09:42.828221Z 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-12-07T20:09:42.828223Z 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-12-07T20:09:42.828228Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301168:2555] (SourceId=sid_rand_11, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.828785Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301168:2555] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.830347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301168:2555] (SourceId=sid_rand_11, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.830421Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301187:2555] connected; active server actors: 1
2025-12-07T20:09:42.830438Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301168:2555] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_11
2025-12-07T20:09:42.830443Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301168:2555] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.830489Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301187:2555] disconnected.
2025-12-07T20:09:42.830498Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301187:2555] disconnected; active server actors: 1
2025-12-07T20:09:42.830501Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301187:2555] disconnected no session
2025-12-07T20:09:42.832538Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301168:2555] (SourceId=sid_rand_11, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.832550Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301168:2555] (SourceId=sid_rand_11, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-07T20:09:42.832553Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301168:2555] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.832559Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 22 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-07T20:09:42.832667Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:42.832708Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_11|191c4f85-217e80cc-521d3ac6-9123e70f_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_11
2025-12-07T20:09:42.832845Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 22 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_11|191c4f85-217e80cc-521d3ac6-9123e70f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_11|191c4f85-217e80cc-521d3ac6-9123e70f_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.833501Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId: sid_rand_11|191c4f85-217e80cc-521d3ac6-9123e70f_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.833509Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 22 sessionId: sid_rand_11|191c4f85-217e80cc-521d3ac6-9123e70f_0 grpc read failed
2025-12-07T20:09:42.833514Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 22 sessionId: sid_rand_11|191c4f85-217e80cc-521d3ac6-9123e70f_0 grpc closed
2025-12-07T20:09:42.833518Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 22 sessionId: sid_rand_11|191c4f85-217e80cc-521d3ac6-9123e70f_0 is DEAD
2025-12-07T20:09:42.833649Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.833660Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 23
2025-12-07T20:09:42.833739Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.833766Z 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-12-07T20:09:42.833795Z 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]:55198
2025-12-07T20:09:42.833803Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=23 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.833806Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.834087Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 23 sessionId:  describe result for acl check
2025-12-07T20:09:42.834113Z 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-12-07T20:09:42.834120Z 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-12-07T20:09:42.834122Z 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-12-07T20:09:42.834126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301208:2559] (SourceId=sid_rand_12, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.834549Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301208:2559] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.835885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301208:2559] (SourceId=sid_rand_12, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.835959Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301224:2559] connected; active server actors: 1
2025-12-07T20:09:42.835974Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301208:2559] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_12
2025-12-07T20:09:42.835983Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301208:2559] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.836028Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301224:2559] disconnected.
2025-12-07T20:09:42.836036Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301224:2559] disconnected; active server actors: 1
2025-12-07T20:09:42.836039Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301224:2559] disconnected no session
2025-12-07T20:09:42.838304Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301208:2559] (SourceId=sid_rand_12, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.838317Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301208:2559] (SourceId=sid_rand_12, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-07T20:09:42.838321Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301208:2559] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.838328Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 23 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-07T20:09:42.838633Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:42.838817Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_12|9109f6ed-e565cfb7-468d9234-887819e1_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_12
2025-12-07T20:09:42.839185Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 23 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_12|9109f6ed-e565cfb7-468d9234-887819e1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_12|9109f6ed-e565cfb7-468d9234-887819e1_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.839858Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId: sid_rand_12|9109f6ed-e565cfb7-468d9234-887819e1_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.839869Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 23 sessionId: sid_rand_12|9109f6ed-e565cfb7-468d9234-887819e1_0 grpc read failed
2025-12-07T20:09:42.839875Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 23 sessionId: sid_rand_12|9109f6ed-e565cfb7-468d9234-887819e1_0 grpc closed
2025-12-07T20:09:42.839879Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 23 sessionId: sid_rand_12|9109f6ed-e565cfb7-468d9234-887819e1_0 is DEAD
2025-12-07T20:09:42.839987Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.839999Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 24
2025-12-07T20:09:42.840148Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.840154Z 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-12-07T20:09:42.840178Z 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]:55198
2025-12-07T20:09:42.840189Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=24 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.840192Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.840577Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 24 sessionId:  describe result for acl check
2025-12-07T20:09:42.840609Z 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-12-07T20:09:42.840616Z 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-12-07T20:09:42.840618Z 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-12-07T20:09:42.840623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301244:2563] (SourceId=sid_rand_13, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.841383Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301244:2563] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.843260Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301244:2563] (SourceId=sid_rand_13, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.843334Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301260:2563] connected; active server actors: 1
2025-12-07T20:09:42.843357Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301244:2563] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_13
2025-12-07T20:09:42.843367Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301244:2563] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.843433Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301260:2563] disconnected.
2025-12-07T20:09:42.843442Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301260:2563] disconnected; active server actors: 1
2025-12-07T20:09:42.843445Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301260:2563] disconnected no session
2025-12-07T20:09:42.846107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301244:2563] (SourceId=sid_rand_13, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.846121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301244:2563] (SourceId=sid_rand_13, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-07T20:09:42.846126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301244:2563] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.846133Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 24 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-07T20:09:42.846262Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:42.846309Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_13|ddd104f3-f6ca9c30-3cc06b29-e20ef830_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_13
2025-12-07T20:09:42.846470Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 24 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_13|ddd104f3-f6ca9c30-3cc06b29-e20ef830_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_13|ddd104f3-f6ca9c30-3cc06b29-e20ef830_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.847106Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId: sid_rand_13|ddd104f3-f6ca9c30-3cc06b29-e20ef830_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.847112Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 24 sessionId: sid_rand_13|ddd104f3-f6ca9c30-3cc06b29-e20ef830_0 grpc read failed
2025-12-07T20:09:42.847116Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 24 sessionId: sid_rand_13|ddd104f3-f6ca9c30-3cc06b29-e20ef830_0 grpc closed
2025-12-07T20:09:42.847119Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 24 sessionId: sid_rand_13|ddd104f3-f6ca9c30-3cc06b29-e20ef830_0 is DEAD
2025-12-07T20:09:42.847262Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.847273Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 25
2025-12-07T20:09:42.847327Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.847364Z 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-12-07T20:09:42.847389Z 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]:55198
2025-12-07T20:09:42.847396Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=25 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.847398Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.847683Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 25 sessionId:  describe result for acl check
2025-12-07T20:09:42.847703Z 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-12-07T20:09:42.847705Z 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-12-07T20:09:42.847706Z 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-12-07T20:09:42.847709Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301281:2567] (SourceId=sid_rand_14, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.848100Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301281:2567] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.849555Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301281:2567] (SourceId=sid_rand_14, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.849617Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301297:2567] connected; active server actors: 1
2025-12-07T20:09:42.849650Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301281:2567] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_14
2025-12-07T20:09:42.849656Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301281:2567] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.849689Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301297:2567] disconnected.
2025-12-07T20:09:42.849695Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301297:2567] disconnected; active server actors: 1
2025-12-07T20:09:42.849697Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301297:2567] disconnected no session
2025-12-07T20:09:42.852059Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301281:2567] (SourceId=sid_rand_14, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.852068Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301281:2567] (SourceId=sid_rand_14, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-07T20:09:42.852071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301281:2567] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.852076Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 25 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-07T20:09:42.852332Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:42.852464Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_14|dd1023aa-c8d3992a-c5030d44-3c9c7d35_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_14
2025-12-07T20:09:42.852799Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 25 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_14|dd1023aa-c8d3992a-c5030d44-3c9c7d35_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_14|dd1023aa-c8d3992a-c5030d44-3c9c7d35_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.853359Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId: sid_rand_14|dd1023aa-c8d3992a-c5030d44-3c9c7d35_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.853366Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 25 sessionId: sid_rand_14|dd1023aa-c8d3992a-c5030d44-3c9c7d35_0 grpc read failed
2025-12-07T20:09:42.853371Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 25 sessionId: sid_rand_14|dd1023aa-c8d3992a-c5030d44-3c9c7d35_0 grpc closed
2025-12-07T20:09:42.853375Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 25 sessionId: sid_rand_14|dd1023aa-c8d3992a-c5030d44-3c9c7d35_0 is DEAD
2025-12-07T20:09:42.853451Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.853459Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 26
2025-12-07T20:09:42.853590Z 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-12-07T20:09:42.853592Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.853611Z 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]:55198
2025-12-07T20:09:42.853614Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=26 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.853631Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.853897Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 26 sessionId:  describe result for acl check
2025-12-07T20:09:42.853919Z 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-12-07T20:09:42.853921Z 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-12-07T20:09:42.853922Z 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-12-07T20:09:42.853925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301317:2571] (SourceId=sid_rand_15, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.854336Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301317:2571] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.855681Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301317:2571] (SourceId=sid_rand_15, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.855751Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301333:2571] connected; active server actors: 1
2025-12-07T20:09:42.855765Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301317:2571] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_15
2025-12-07T20:09:42.855768Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301317:2571] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.855800Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301333:2571] disconnected.
2025-12-07T20:09:42.855806Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301333:2571] disconnected; active server actors: 1
2025-12-07T20:09:42.855808Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301333:2571] disconnected no session
2025-12-07T20:09:42.858173Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301317:2571] (SourceId=sid_rand_15, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.858181Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301317:2571] (SourceId=sid_rand_15, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-07T20:09:42.858183Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301317:2571] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.858189Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 26 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-07T20:09:42.858409Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:42.858515Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_15|47804373-b6e2b8f6-9e133e88-68ed5d4e_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_15
2025-12-07T20:09:42.858807Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 26 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_15|47804373-b6e2b8f6-9e133e88-68ed5d4e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_15|47804373-b6e2b8f6-9e133e88-68ed5d4e_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.859355Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId: sid_rand_15|47804373-b6e2b8f6-9e133e88-68ed5d4e_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.859362Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 26 sessionId: sid_rand_15|47804373-b6e2b8f6-9e133e88-68ed5d4e_0 grpc read failed
2025-12-07T20:09:42.859366Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 26 sessionId: sid_rand_15|47804373-b6e2b8f6-9e133e88-68ed5d4e_0 grpc closed
2025-12-07T20:09:42.859370Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 26 sessionId: sid_rand_15|47804373-b6e2b8f6-9e133e88-68ed5d4e_0 is DEAD
2025-12-07T20:09:42.859478Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.859489Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 27
2025-12-07T20:09:42.859549Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.859577Z 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-12-07T20:09:42.859596Z 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]:55198
2025-12-07T20:09:42.859605Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=27 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.859610Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.859950Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 27 sessionId:  describe result for acl check
2025-12-07T20:09:42.859982Z 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-12-07T20:09:42.859984Z 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-12-07T20:09:42.859986Z 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-12-07T20:09:42.859991Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301353:2575] (SourceId=sid_rand_16, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.860452Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301353:2575] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.861892Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301353:2575] (SourceId=sid_rand_16, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.861968Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301369:2575] connected; active server actors: 1
2025-12-07T20:09:42.861984Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301353:2575] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_16
2025-12-07T20:09:42.861987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301353:2575] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.862018Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301369:2575] disconnected.
2025-12-07T20:09:42.862020Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301369:2575] disconnected; active server actors: 1
2025-12-07T20:09:42.862022Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301369:2575] disconnected no session
2025-12-07T20:09:42.864326Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301353:2575] (SourceId=sid_rand_16, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.864337Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301353:2575] (SourceId=sid_rand_16, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-07T20:09:42.864340Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301353:2575] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.864347Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 27 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-07T20:09:42.864566Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:42.864646Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_16|d56f79ce-e347276b-e0964c36-1e3ecd3d_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_16
2025-12-07T20:09:42.864903Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 27 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_16|d56f79ce-e347276b-e0964c36-1e3ecd3d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_16|d56f79ce-e347276b-e0964c36-1e3ecd3d_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.865416Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId: sid_rand_16|d56f79ce-e347276b-e0964c36-1e3ecd3d_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.865426Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 27 sessionId: sid_rand_16|d56f79ce-e347276b-e0964c36-1e3ecd3d_0 grpc read failed
2025-12-07T20:09:42.865431Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 27 sessionId: sid_rand_16|d56f79ce-e347276b-e0964c36-1e3ecd3d_0 grpc closed
2025-12-07T20:09:42.865435Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 27 sessionId: sid_rand_16|d56f79ce-e347276b-e0964c36-1e3ecd3d_0 is DEAD
2025-12-07T20:09:42.865602Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.865609Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 28
2025-12-07T20:09:42.865656Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.865701Z 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-12-07T20:09:42.865726Z 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]:55198
2025-12-07T20:09:42.865733Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=28 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.865737Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.866012Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 28 sessionId:  describe result for acl check
2025-12-07T20:09:42.866033Z 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-12-07T20:09:42.866038Z 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-12-07T20:09:42.866039Z 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-12-07T20:09:42.866042Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301389:2579] (SourceId=sid_rand_17, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.866417Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301389:2579] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.867858Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301389:2579] (SourceId=sid_rand_17, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.867947Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301405:2579] connected; active server actors: 1
2025-12-07T20:09:42.867961Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301389:2579] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_17
2025-12-07T20:09:42.867964Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301389:2579] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.867993Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301405:2579] disconnected.
2025-12-07T20:09:42.867999Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301405:2579] disconnected; active server actors: 1
2025-12-07T20:09:42.868001Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301405:2579] disconnected no session
2025-12-07T20:09:42.870371Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301389:2579] (SourceId=sid_rand_17, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.870381Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301389:2579] (SourceId=sid_rand_17, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-07T20:09:42.870383Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301389:2579] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.870387Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 28 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-07T20:09:42.870604Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:42.870665Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_17|1dc17bf2-f46b3a4c-6fbc9d7a-69490dd5_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_17
2025-12-07T20:09:42.870885Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 28 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_17|1dc17bf2-f46b3a4c-6fbc9d7a-69490dd5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_17|1dc17bf2-f46b3a4c-6fbc9d7a-69490dd5_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.871433Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId: sid_rand_17|1dc17bf2-f46b3a4c-6fbc9d7a-69490dd5_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.871442Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 28 sessionId: sid_rand_17|1dc17bf2-f46b3a4c-6fbc9d7a-69490dd5_0 grpc read failed
2025-12-07T20:09:42.871446Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 28 sessionId: sid_rand_17|1dc17bf2-f46b3a4c-6fbc9d7a-69490dd5_0 grpc closed
2025-12-07T20:09:42.871449Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 28 sessionId: sid_rand_17|1dc17bf2-f46b3a4c-6fbc9d7a-69490dd5_0 is DEAD
2025-12-07T20:09:42.871521Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.871530Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 29
2025-12-07T20:09:42.871647Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.871659Z 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-12-07T20:09:42.871675Z 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]:55198
2025-12-07T20:09:42.871682Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=29 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.871684Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.871929Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 29 sessionId:  describe result for acl check
2025-12-07T20:09:42.871950Z 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-12-07T20:09:42.871954Z 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-12-07T20:09:42.871956Z 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-12-07T20:09:42.871959Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301425:2583] (SourceId=sid_rand_18, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.872332Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301425:2583] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.873601Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301425:2583] (SourceId=sid_rand_18, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.873680Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301441:2583] connected; active server actors: 1
2025-12-07T20:09:42.873698Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301425:2583] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_18
2025-12-07T20:09:42.873700Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301425:2583] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.873731Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301441:2583] disconnected.
2025-12-07T20:09:42.873737Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301441:2583] disconnected; active server actors: 1
2025-12-07T20:09:42.873739Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301441:2583] disconnected no session
2025-12-07T20:09:42.876011Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301425:2583] (SourceId=sid_rand_18, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.876024Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301425:2583] (SourceId=sid_rand_18, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-07T20:09:42.876026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301425:2583] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.876031Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 29 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-07T20:09:42.876196Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:42.876259Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_18|3f976d10-67877b61-47cc6c8f-74508953_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_18
2025-12-07T20:09:42.876459Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 29 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_18|3f976d10-67877b61-47cc6c8f-74508953_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_18|3f976d10-67877b61-47cc6c8f-74508953_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.876876Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId: sid_rand_18|3f976d10-67877b61-47cc6c8f-74508953_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.876883Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 29 sessionId: sid_rand_18|3f976d10-67877b61-47cc6c8f-74508953_0 grpc read failed
2025-12-07T20:09:42.876886Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 29 sessionId: sid_rand_18|3f976d10-67877b61-47cc6c8f-74508953_0 grpc closed
2025-12-07T20:09:42.876889Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 29 sessionId: sid_rand_18|3f976d10-67877b61-47cc6c8f-74508953_0 is DEAD
2025-12-07T20:09:42.877023Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.877031Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 30
2025-12-07T20:09:42.877046Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.877102Z 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-12-07T20:09:42.877125Z 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]:55198
2025-12-07T20:09:42.877128Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=30 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.877131Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.877364Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 30 sessionId:  describe result for acl check
2025-12-07T20:09:42.877386Z 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-12-07T20:09:42.877390Z 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-12-07T20:09:42.877392Z 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-12-07T20:09:42.877394Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301461:2587] (SourceId=sid_rand_19, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.877756Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301461:2587] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.879243Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301461:2587] (SourceId=sid_rand_19, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.879284Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301477:2587] connected; active server actors: 1
2025-12-07T20:09:42.879299Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301461:2587] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_19
2025-12-07T20:09:42.879311Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301461:2587] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.879366Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301477:2587] disconnected.
2025-12-07T20:09:42.879374Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301477:2587] disconnected; active server actors: 1
2025-12-07T20:09:42.879377Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301477:2587] disconnected no session
2025-12-07T20:09:42.881887Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301461:2587] (SourceId=sid_rand_19, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.881899Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301461:2587] (SourceId=sid_rand_19, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-07T20:09:42.881903Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301461:2587] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.881910Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 30 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-07T20:09:42.882166Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:42.882243Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_19|fd65e8f5-61f4d9a5-ccff18a3-4f813fcb_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_19
2025-12-07T20:09:42.882525Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 30 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_19|fd65e8f5-61f4d9a5-ccff18a3-4f813fcb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_19|fd65e8f5-61f4d9a5-ccff18a3-4f813fcb_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.883174Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId: sid_rand_19|fd65e8f5-61f4d9a5-ccff18a3-4f813fcb_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.883183Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 30 sessionId: sid_rand_19|fd65e8f5-61f4d9a5-ccff18a3-4f813fcb_0 grpc read failed
2025-12-07T20:09:42.883188Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 30 sessionId: sid_rand_19|fd65e8f5-61f4d9a5-ccff18a3-4f813fcb_0 grpc closed
2025-12-07T20:09:42.883192Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 30 sessionId: sid_rand_19|fd65e8f5-61f4d9a5-ccff18a3-4f813fcb_0 is DEAD
2025-12-07T20:09:42.883284Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.883292Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 31
2025-12-07T20:09:42.883415Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.883451Z 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-12-07T20:09:42.883480Z 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]:55198
2025-12-07T20:09:42.883489Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=31 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.883493Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.883862Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 31 sessionId:  describe result for acl check
2025-12-07T20:09:42.883890Z 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-12-07T20:09:42.883896Z 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-12-07T20:09:42.883898Z 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-12-07T20:09:42.883903Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301497:2591] (SourceId=sid_rand_20, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.884306Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301497:2591] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.885930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301497:2591] (SourceId=sid_rand_20, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.886003Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301513:2591] connected; active server actors: 1
2025-12-07T20:09:42.886018Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301497:2591] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_20
2025-12-07T20:09:42.886026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301497:2591] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.886068Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301513:2591] disconnected.
2025-12-07T20:09:42.886076Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301513:2591] disconnected; active server actors: 1
2025-12-07T20:09:42.886079Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301513:2591] disconnected no session
2025-12-07T20:09:42.888527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301497:2591] (SourceId=sid_rand_20, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.888537Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301497:2591] (SourceId=sid_rand_20, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-07T20:09:42.888540Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301497:2591] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.888545Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 31 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-07T20:09:42.888653Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:42.888679Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_20|9b95700d-789781d2-cc41a8a3-aa92341f_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_20
2025-12-07T20:09:42.888791Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 31 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_20|9b95700d-789781d2-cc41a8a3-aa92341f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_20|9b95700d-789781d2-cc41a8a3-aa92341f_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.889285Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId: sid_rand_20|9b95700d-789781d2-cc41a8a3-aa92341f_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.889290Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 31 sessionId: sid_rand_20|9b95700d-789781d2-cc41a8a3-aa92341f_0 grpc read failed
2025-12-07T20:09:42.889294Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 31 sessionId: sid_rand_20|9b95700d-789781d2-cc41a8a3-aa92341f_0 grpc closed
2025-12-07T20:09:42.889297Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 31 sessionId: sid_rand_20|9b95700d-789781d2-cc41a8a3-aa92341f_0 is DEAD
2025-12-07T20:09:42.889392Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.889399Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 32
2025-12-07T20:09:42.889474Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.889477Z 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-12-07T20:09:42.889493Z 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]:55198
2025-12-07T20:09:42.889499Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=32 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.889502Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.889841Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 32 sessionId:  describe result for acl check
2025-12-07T20:09:42.889870Z 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-12-07T20:09:42.889876Z 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-12-07T20:09:42.889878Z 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-12-07T20:09:42.889880Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301534:2595] (SourceId=sid_rand_21, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.890330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301534:2595] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.891473Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301534:2595] (SourceId=sid_rand_21, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.891535Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301550:2595] connected; active server actors: 1
2025-12-07T20:09:42.891549Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301534:2595] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_21
2025-12-07T20:09:42.891553Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301534:2595] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.891592Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301550:2595] disconnected.
2025-12-07T20:09:42.891597Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301550:2595] disconnected; active server actors: 1
2025-12-07T20:09:42.891599Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301550:2595] disconnected no session
2025-12-07T20:09:42.893999Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301534:2595] (SourceId=sid_rand_21, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.894008Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301534:2595] (SourceId=sid_rand_21, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-07T20:09:42.894010Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301534:2595] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.894016Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 32 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-07T20:09:42.894122Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:42.894159Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_21|b7135a8d-67aa21ec-4c69ea57-99966440_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_21
2025-12-07T20:09:42.894286Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 32 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_21|b7135a8d-67aa21ec-4c69ea57-99966440_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_21|b7135a8d-67aa21ec-4c69ea57-99966440_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.894839Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId: sid_rand_21|b7135a8d-67aa21ec-4c69ea57-99966440_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.894851Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 32 sessionId: sid_rand_21|b7135a8d-67aa21ec-4c69ea57-99966440_0 grpc read failed
2025-12-07T20:09:42.894857Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 32 sessionId: sid_rand_21|b7135a8d-67aa21ec-4c69ea57-99966440_0 grpc closed
2025-12-07T20:09:42.894861Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 32 sessionId: sid_rand_21|b7135a8d-67aa21ec-4c69ea57-99966440_0 is DEAD
2025-12-07T20:09:42.894941Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.894947Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 33
2025-12-07T20:09:42.895090Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.895119Z 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-12-07T20:09:42.895144Z 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]:55198
2025-12-07T20:09:42.895153Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=33 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.895156Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.895592Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 33 sessionId:  describe result for acl check
2025-12-07T20:09:42.895623Z 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-12-07T20:09:42.895629Z 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-12-07T20:09:42.895631Z 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-12-07T20:09:42.895635Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301571:2599] (SourceId=sid_rand_22, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.896140Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301571:2599] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.897894Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301571:2599] (SourceId=sid_rand_22, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.897961Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301587:2599] connected; active server actors: 1
2025-12-07T20:09:42.897980Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301571:2599] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_22
2025-12-07T20:09:42.897987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301571:2599] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.898033Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301587:2599] disconnected.
2025-12-07T20:09:42.898039Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301587:2599] disconnected; active server actors: 1
2025-12-07T20:09:42.898042Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301587:2599] disconnected no session
2025-12-07T20:09:42.900694Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301571:2599] (SourceId=sid_rand_22, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.900703Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301571:2599] (SourceId=sid_rand_22, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-07T20:09:42.900705Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301571:2599] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.900710Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 33 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-07T20:09:42.900950Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:42.901018Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_22|8f113f06-ee1493ca-9690762e-27d4dceb_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_22
2025-12-07T20:09:42.901305Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 33 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_22|8f113f06-ee1493ca-9690762e-27d4dceb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_22|8f113f06-ee1493ca-9690762e-27d4dceb_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.902002Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId: sid_rand_22|8f113f06-ee1493ca-9690762e-27d4dceb_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.902012Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 33 sessionId: sid_rand_22|8f113f06-ee1493ca-9690762e-27d4dceb_0 grpc read failed
2025-12-07T20:09:42.902017Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 33 sessionId: sid_rand_22|8f113f06-ee1493ca-9690762e-27d4dceb_0 grpc closed
2025-12-07T20:09:42.902021Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 33 sessionId: sid_rand_22|8f113f06-ee1493ca-9690762e-27d4dceb_0 is DEAD
2025-12-07T20:09:42.902049Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.902058Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 34
2025-12-07T20:09:42.902143Z 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-12-07T20:09:42.902170Z 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]:55198
2025-12-07T20:09:42.902178Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=34 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.902181Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.902255Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.902600Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 34 sessionId:  describe result for acl check
2025-12-07T20:09:42.902628Z 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-12-07T20:09:42.902634Z 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-12-07T20:09:42.902637Z 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-12-07T20:09:42.902641Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301607:2603] (SourceId=sid_rand_23, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.903199Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301607:2603] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.904455Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301607:2603] (SourceId=sid_rand_23, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.904515Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301623:2603] connected; active server actors: 1
2025-12-07T20:09:42.904533Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301607:2603] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_23
2025-12-07T20:09:42.904538Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301607:2603] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.904579Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301623:2603] disconnected.
2025-12-07T20:09:42.904585Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301623:2603] disconnected; active server actors: 1
2025-12-07T20:09:42.904587Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301623:2603] disconnected no session
2025-12-07T20:09:42.906873Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301607:2603] (SourceId=sid_rand_23, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.906883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301607:2603] (SourceId=sid_rand_23, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-07T20:09:42.906885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301607:2603] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.906890Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 34 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-07T20:09:42.906995Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:42.907037Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_23|6416d458-be28e346-6f0c82d-6108e71e_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_23
2025-12-07T20:09:42.907168Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 34 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_23|6416d458-be28e346-6f0c82d-6108e71e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_23|6416d458-be28e346-6f0c82d-6108e71e_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.907760Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId: sid_rand_23|6416d458-be28e346-6f0c82d-6108e71e_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.907770Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 34 sessionId: sid_rand_23|6416d458-be28e346-6f0c82d-6108e71e_0 grpc read failed
2025-12-07T20:09:42.907777Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 34 sessionId: sid_rand_23|6416d458-be28e346-6f0c82d-6108e71e_0 grpc closed
2025-12-07T20:09:42.907781Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 34 sessionId: sid_rand_23|6416d458-be28e346-6f0c82d-6108e71e_0 is DEAD
2025-12-07T20:09:42.907849Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.907857Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 35
2025-12-07T20:09:42.907912Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.907988Z 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-12-07T20:09:42.908019Z 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]:55198
2025-12-07T20:09:42.908028Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=35 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.908031Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.908481Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 35 sessionId:  describe result for acl check
2025-12-07T20:09:42.908505Z 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-12-07T20:09:42.908511Z 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-12-07T20:09:42.908512Z 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-12-07T20:09:42.908515Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301644:2607] (SourceId=sid_rand_24, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.908965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301644:2607] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.910752Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301644:2607] (SourceId=sid_rand_24, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.910810Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301660:2607] connected; active server actors: 1
2025-12-07T20:09:42.910832Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301644:2607] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_24
2025-12-07T20:09:42.910841Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301644:2607] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.910922Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301660:2607] disconnected.
2025-12-07T20:09:42.910932Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301660:2607] disconnected; active server actors: 1
2025-12-07T20:09:42.910934Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301660:2607] disconnected no session
2025-12-07T20:09:42.913644Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301644:2607] (SourceId=sid_rand_24, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.913654Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301644:2607] (SourceId=sid_rand_24, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-07T20:09:42.913658Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301644:2607] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.913664Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 35 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-07T20:09:42.913956Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:42.914028Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_24|49af7a95-9db4f3ca-caf0c5ea-3153a87f_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_24
2025-12-07T20:09:42.914316Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 35 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_24|49af7a95-9db4f3ca-caf0c5ea-3153a87f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_24|49af7a95-9db4f3ca-caf0c5ea-3153a87f_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.914952Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId: sid_rand_24|49af7a95-9db4f3ca-caf0c5ea-3153a87f_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.914962Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 35 sessionId: sid_rand_24|49af7a95-9db4f3ca-caf0c5ea-3153a87f_0 grpc read failed
2025-12-07T20:09:42.914968Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 35 sessionId: sid_rand_24|49af7a95-9db4f3ca-caf0c5ea-3153a87f_0 grpc closed
2025-12-07T20:09:42.914973Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 35 sessionId: sid_rand_24|49af7a95-9db4f3ca-caf0c5ea-3153a87f_0 is DEAD
2025-12-07T20:09:42.915043Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.915053Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 36
2025-12-07T20:09:42.915210Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.915216Z 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-12-07T20:09:42.915239Z 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]:55198
2025-12-07T20:09:42.915244Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=36 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.915247Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.915561Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 36 sessionId:  describe result for acl check
2025-12-07T20:09:42.915587Z 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-12-07T20:09:42.915588Z 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-12-07T20:09:42.915589Z 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-12-07T20:09:42.915592Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301680:2611] (SourceId=sid_rand_25, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.915981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301680:2611] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.917186Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301680:2611] (SourceId=sid_rand_25, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.917255Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301696:2611] connected; active server actors: 1
2025-12-07T20:09:42.917274Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301680:2611] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_25
2025-12-07T20:09:42.917282Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301680:2611] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.917332Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301696:2611] disconnected.
2025-12-07T20:09:42.917341Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301696:2611] disconnected; active server actors: 1
2025-12-07T20:09:42.917344Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301696:2611] disconnected no session
2025-12-07T20:09:42.919791Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301680:2611] (SourceId=sid_rand_25, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.919803Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301680:2611] (SourceId=sid_rand_25, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-07T20:09:42.919806Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301680:2611] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.919814Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 36 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-07T20:09:42.920097Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:42.920173Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_25|3e953ac4-8ca6cd99-b3e68014-91d88385_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_25
2025-12-07T20:09:42.920484Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 36 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_25|3e953ac4-8ca6cd99-b3e68014-91d88385_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_25|3e953ac4-8ca6cd99-b3e68014-91d88385_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.921035Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId: sid_rand_25|3e953ac4-8ca6cd99-b3e68014-91d88385_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.921045Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 36 sessionId: sid_rand_25|3e953ac4-8ca6cd99-b3e68014-91d88385_0 grpc read failed
2025-12-07T20:09:42.921051Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 36 sessionId: sid_rand_25|3e953ac4-8ca6cd99-b3e68014-91d88385_0 grpc closed
2025-12-07T20:09:42.921056Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 36 sessionId: sid_rand_25|3e953ac4-8ca6cd99-b3e68014-91d88385_0 is DEAD
2025-12-07T20:09:42.921193Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.921200Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 37
2025-12-07T20:09:42.921324Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.921353Z 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-12-07T20:09:42.921378Z 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]:55198
2025-12-07T20:09:42.921392Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=37 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.921395Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.921742Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 37 sessionId:  describe result for acl check
2025-12-07T20:09:42.921769Z 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-12-07T20:09:42.921776Z 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-12-07T20:09:42.921778Z 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-12-07T20:09:42.921782Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301716:2615] (SourceId=sid_rand_26, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.922299Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301716:2615] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.924078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301716:2615] (SourceId=sid_rand_26, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.924144Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301732:2615] connected; active server actors: 1
2025-12-07T20:09:42.924165Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301716:2615] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_26
2025-12-07T20:09:42.924169Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301716:2615] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.924217Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301732:2615] disconnected.
2025-12-07T20:09:42.924225Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301732:2615] disconnected; active server actors: 1
2025-12-07T20:09:42.924228Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301732:2615] disconnected no session
2025-12-07T20:09:42.926868Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301716:2615] (SourceId=sid_rand_26, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.926881Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301716:2615] (SourceId=sid_rand_26, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-07T20:09:42.926885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301716:2615] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.926894Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 37 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-07T20:09:42.927036Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:42.927070Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_26|81191e45-b7e1e029-9cf41b01-7a87a698_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_26
2025-12-07T20:09:42.927201Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 37 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_26|81191e45-b7e1e029-9cf41b01-7a87a698_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_26|81191e45-b7e1e029-9cf41b01-7a87a698_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.927909Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId: sid_rand_26|81191e45-b7e1e029-9cf41b01-7a87a698_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.927918Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 37 sessionId: sid_rand_26|81191e45-b7e1e029-9cf41b01-7a87a698_0 grpc read failed
2025-12-07T20:09:42.927924Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 37 sessionId: sid_rand_26|81191e45-b7e1e029-9cf41b01-7a87a698_0 grpc closed
2025-12-07T20:09:42.927928Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 37 sessionId: sid_rand_26|81191e45-b7e1e029-9cf41b01-7a87a698_0 is DEAD
2025-12-07T20:09:42.927990Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.928001Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 38
2025-12-07T20:09:42.928142Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.928151Z 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-12-07T20:09:42.928176Z 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]:55198
2025-12-07T20:09:42.928186Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=38 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.928194Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.928575Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 38 sessionId:  describe result for acl check
2025-12-07T20:09:42.928619Z 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-12-07T20:09:42.928625Z 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-12-07T20:09:42.928627Z 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-12-07T20:09:42.928632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301753:2619] (SourceId=sid_rand_27, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.929174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301753:2619] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.930861Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301753:2619] (SourceId=sid_rand_27, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.930936Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301769:2619] connected; active server actors: 1
2025-12-07T20:09:42.930956Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301753:2619] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_27
2025-12-07T20:09:42.930965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301753:2619] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.931011Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301769:2619] disconnected.
2025-12-07T20:09:42.931019Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301769:2619] disconnected; active server actors: 1
2025-12-07T20:09:42.931022Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301769:2619] disconnected no session
2025-12-07T20:09:42.933567Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301753:2619] (SourceId=sid_rand_27, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.933580Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301753:2619] (SourceId=sid_rand_27, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-07T20:09:42.933584Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301753:2619] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.933592Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 38 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-07T20:09:42.933739Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:42.933789Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_27|99d6a167-66b13ee2-7f58b0d4-f6ad3748_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_27
2025-12-07T20:09:42.933941Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 38 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_27|99d6a167-66b13ee2-7f58b0d4-f6ad3748_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_27|99d6a167-66b13ee2-7f58b0d4-f6ad3748_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.934610Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId: sid_rand_27|99d6a167-66b13ee2-7f58b0d4-f6ad3748_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.934622Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 38 sessionId: sid_rand_27|99d6a167-66b13ee2-7f58b0d4-f6ad3748_0 grpc read failed
2025-12-07T20:09:42.934629Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 38 sessionId: sid_rand_27|99d6a167-66b13ee2-7f58b0d4-f6ad3748_0 grpc closed
2025-12-07T20:09:42.934633Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 38 sessionId: sid_rand_27|99d6a167-66b13ee2-7f58b0d4-f6ad3748_0 is DEAD
2025-12-07T20:09:42.934701Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.934710Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 39
2025-12-07T20:09:42.934776Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.934794Z 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-12-07T20:09:42.934822Z 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]:55198
2025-12-07T20:09:42.934831Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=39 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.934839Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.935241Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 39 sessionId:  describe result for acl check
2025-12-07T20:09:42.935274Z 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-12-07T20:09:42.935280Z 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-12-07T20:09:42.935282Z 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-12-07T20:09:42.935287Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301790:2623] (SourceId=sid_rand_28, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.935816Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301790:2623] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.937379Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301790:2623] (SourceId=sid_rand_28, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.937449Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301806:2623] connected; active server actors: 1
2025-12-07T20:09:42.937469Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301790:2623] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_28
2025-12-07T20:09:42.937478Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301790:2623] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.937523Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301806:2623] disconnected.
2025-12-07T20:09:42.937531Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301806:2623] disconnected; active server actors: 1
2025-12-07T20:09:42.937534Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301806:2623] disconnected no session
2025-12-07T20:09:42.940341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301790:2623] (SourceId=sid_rand_28, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.940354Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301790:2623] (SourceId=sid_rand_28, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-07T20:09:42.940357Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301790:2623] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.940365Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 39 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-07T20:09:42.940612Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:42.940721Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_28|c24869d1-d7b82954-a2dd099f-724a9027_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_28
2025-12-07T20:09:42.941108Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 39 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_28|c24869d1-d7b82954-a2dd099f-724a9027_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_28|c24869d1-d7b82954-a2dd099f-724a9027_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.941752Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId: sid_rand_28|c24869d1-d7b82954-a2dd099f-724a9027_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.941762Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 39 sessionId: sid_rand_28|c24869d1-d7b82954-a2dd099f-724a9027_0 grpc read failed
2025-12-07T20:09:42.941768Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 39 sessionId: sid_rand_28|c24869d1-d7b82954-a2dd099f-724a9027_0 grpc closed
2025-12-07T20:09:42.941773Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 39 sessionId: sid_rand_28|c24869d1-d7b82954-a2dd099f-724a9027_0 is DEAD
2025-12-07T20:09:42.941875Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.941886Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 40
2025-12-07T20:09:42.942039Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.942057Z 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-12-07T20:09:42.942083Z 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]:55198
2025-12-07T20:09:42.942093Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=40 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.942096Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.942482Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 40 sessionId:  describe result for acl check
2025-12-07T20:09:42.942512Z 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-12-07T20:09:42.942519Z 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-12-07T20:09:42.942522Z 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-12-07T20:09:42.942527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301826:2627] (SourceId=sid_rand_29, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.943039Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301826:2627] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.944545Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301826:2627] (SourceId=sid_rand_29, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.944624Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301842:2627] connected; active server actors: 1
2025-12-07T20:09:42.944642Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301826:2627] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_29
2025-12-07T20:09:42.944650Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301826:2627] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.944696Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301842:2627] disconnected.
2025-12-07T20:09:42.944704Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301842:2627] disconnected; active server actors: 1
2025-12-07T20:09:42.944707Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301842:2627] disconnected no session
2025-12-07T20:09:42.947412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301826:2627] (SourceId=sid_rand_29, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.947427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301826:2627] (SourceId=sid_rand_29, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-07T20:09:42.947431Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301826:2627] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.947438Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 40 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-07T20:09:42.947543Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:42.947585Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_29|c3d4c02e-7700841-6d5f40b1-785bb79_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_29
2025-12-07T20:09:42.947739Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 40 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_29|c3d4c02e-7700841-6d5f40b1-785bb79_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_29|c3d4c02e-7700841-6d5f40b1-785bb79_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.948288Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId: sid_rand_29|c3d4c02e-7700841-6d5f40b1-785bb79_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.948298Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 40 sessionId: sid_rand_29|c3d4c02e-7700841-6d5f40b1-785bb79_0 grpc read failed
2025-12-07T20:09:42.948303Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 40 sessionId: sid_rand_29|c3d4c02e-7700841-6d5f40b1-785bb79_0 grpc closed
2025-12-07T20:09:42.948308Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 40 sessionId: sid_rand_29|c3d4c02e-7700841-6d5f40b1-785bb79_0 is DEAD
2025-12-07T20:09:42.948399Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.948408Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 41
2025-12-07T20:09:42.948566Z 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-12-07T20:09:42.948594Z 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]:55198
2025-12-07T20:09:42.948603Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=41 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.948606Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.948825Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.948951Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 41 sessionId:  describe result for acl check
2025-12-07T20:09:42.948976Z 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-12-07T20:09:42.948982Z 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-12-07T20:09:42.948984Z 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-12-07T20:09:42.948988Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301863:2631] (SourceId=sid_rand_30, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.949443Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301863:2631] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.951091Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301863:2631] (SourceId=sid_rand_30, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.951163Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301879:2631] connected; active server actors: 1
2025-12-07T20:09:42.951178Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301863:2631] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_30
2025-12-07T20:09:42.951183Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301863:2631] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.951225Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301879:2631] disconnected.
2025-12-07T20:09:42.951234Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301879:2631] disconnected; active server actors: 1
2025-12-07T20:09:42.951237Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301879:2631] disconnected no session
2025-12-07T20:09:42.953308Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301863:2631] (SourceId=sid_rand_30, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.953320Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301863:2631] (SourceId=sid_rand_30, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-07T20:09:42.953323Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301863:2631] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.953330Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 41 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-07T20:09:42.953600Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:42.953728Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_30|a670bad9-5ddfa253-77e30c48-436f0f86_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_30
2025-12-07T20:09:42.954015Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 41 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_30|a670bad9-5ddfa253-77e30c48-436f0f86_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_30|a670bad9-5ddfa253-77e30c48-436f0f86_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.954588Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId: sid_rand_30|a670bad9-5ddfa253-77e30c48-436f0f86_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.954595Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 41 sessionId: sid_rand_30|a670bad9-5ddfa253-77e30c48-436f0f86_0 grpc read failed
2025-12-07T20:09:42.954600Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 41 sessionId: sid_rand_30|a670bad9-5ddfa253-77e30c48-436f0f86_0 grpc closed
2025-12-07T20:09:42.954604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 41 sessionId: sid_rand_30|a670bad9-5ddfa253-77e30c48-436f0f86_0 is DEAD
2025-12-07T20:09:42.954727Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.954740Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 42
2025-12-07T20:09:42.954839Z 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-12-07T20:09:42.954845Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.954866Z 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]:55198
2025-12-07T20:09:42.954875Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=42 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.954879Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.955214Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 42 sessionId:  describe result for acl check
2025-12-07T20:09:42.955241Z 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-12-07T20:09:42.955248Z 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-12-07T20:09:42.955249Z 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-12-07T20:09:42.955255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301899:2635] (SourceId=sid_rand_31, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.955751Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301899:2635] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.957378Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301899:2635] (SourceId=sid_rand_31, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.957452Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301918:2635] connected; active server actors: 1
2025-12-07T20:09:42.957471Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301899:2635] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_31
2025-12-07T20:09:42.957476Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301899:2635] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.957522Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301918:2635] disconnected.
2025-12-07T20:09:42.957531Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301918:2635] disconnected; active server actors: 1
2025-12-07T20:09:42.957533Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301918:2635] disconnected no session
2025-12-07T20:09:42.960061Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301899:2635] (SourceId=sid_rand_31, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.960073Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301899:2635] (SourceId=sid_rand_31, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-07T20:09:42.960077Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301899:2635] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.960084Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 42 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-07T20:09:42.960356Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:42.960468Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_31|c3f3d58e-797effef-100fcda9-5452e5ba_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_31
2025-12-07T20:09:42.960799Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 42 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_31|c3f3d58e-797effef-100fcda9-5452e5ba_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_31|c3f3d58e-797effef-100fcda9-5452e5ba_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.961341Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId: sid_rand_31|c3f3d58e-797effef-100fcda9-5452e5ba_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.961355Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 42 sessionId: sid_rand_31|c3f3d58e-797effef-100fcda9-5452e5ba_0 grpc read failed
2025-12-07T20:09:42.961361Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 42 sessionId: sid_rand_31|c3f3d58e-797effef-100fcda9-5452e5ba_0 grpc closed
2025-12-07T20:09:42.961367Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 42 sessionId: sid_rand_31|c3f3d58e-797effef-100fcda9-5452e5ba_0 is DEAD
2025-12-07T20:09:42.961425Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.961436Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 43
2025-12-07T20:09:42.961521Z 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-12-07T20:09:42.961556Z 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]:55198
2025-12-07T20:09:42.961564Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=43 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.961568Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.961660Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.961921Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 43 sessionId:  describe result for acl check
2025-12-07T20:09:42.961961Z 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-12-07T20:09:42.961968Z 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-12-07T20:09:42.961970Z 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-12-07T20:09:42.961974Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301938:2639] (SourceId=sid_rand_32, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.962519Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301938:2639] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.963975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301938:2639] (SourceId=sid_rand_32, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.964036Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301955:2639] connected; active server actors: 1
2025-12-07T20:09:42.964055Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301938:2639] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_32
2025-12-07T20:09:42.964059Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301938:2639] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.964099Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301955:2639] disconnected.
2025-12-07T20:09:42.964107Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301955:2639] disconnected; active server actors: 1
2025-12-07T20:09:42.964110Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301955:2639] disconnected no session
2025-12-07T20:09:42.966877Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301938:2639] (SourceId=sid_rand_32, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.966891Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301938:2639] (SourceId=sid_rand_32, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-07T20:09:42.966894Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301938:2639] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.966906Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 43 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-07T20:09:42.967027Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:42.967066Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_32|d114fbe8-66e525b2-ed997178-5b3c686d_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_32
2025-12-07T20:09:42.967209Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 43 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_32|d114fbe8-66e525b2-ed997178-5b3c686d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_32|d114fbe8-66e525b2-ed997178-5b3c686d_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.967791Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId: sid_rand_32|d114fbe8-66e525b2-ed997178-5b3c686d_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.967801Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 43 sessionId: sid_rand_32|d114fbe8-66e525b2-ed997178-5b3c686d_0 grpc read failed
2025-12-07T20:09:42.967807Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 43 sessionId: sid_rand_32|d114fbe8-66e525b2-ed997178-5b3c686d_0 grpc closed
2025-12-07T20:09:42.967813Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 43 sessionId: sid_rand_32|d114fbe8-66e525b2-ed997178-5b3c686d_0 is DEAD
2025-12-07T20:09:42.967904Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.967913Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 44
2025-12-07T20:09:42.968046Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.968060Z 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-12-07T20:09:42.968086Z 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]:55198
2025-12-07T20:09:42.968094Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=44 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.968098Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.968426Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 44 sessionId:  describe result for acl check
2025-12-07T20:09:42.968454Z 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-12-07T20:09:42.968461Z 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-12-07T20:09:42.968463Z 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-12-07T20:09:42.968468Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286301976:2643] (SourceId=sid_rand_33, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.968924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286301976:2643] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.970721Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286301976:2643] (SourceId=sid_rand_33, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.970807Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301992:2643] connected; active server actors: 1
2025-12-07T20:09:42.970831Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286301976:2643] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_33
2025-12-07T20:09:42.970835Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286301976:2643] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.970881Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301992:2643] disconnected.
2025-12-07T20:09:42.970889Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301992:2643] disconnected; active server actors: 1
2025-12-07T20:09:42.970891Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286301992:2643] disconnected no session
2025-12-07T20:09:42.973458Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286301976:2643] (SourceId=sid_rand_33, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.973469Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286301976:2643] (SourceId=sid_rand_33, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-07T20:09:42.973473Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286301976:2643] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.973480Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 44 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-07T20:09:42.973779Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:42.973898Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_33|5b49da65-2904ac3d-c71eeadd-7103ad83_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_33
2025-12-07T20:09:42.974274Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 44 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_33|5b49da65-2904ac3d-c71eeadd-7103ad83_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_33|5b49da65-2904ac3d-c71eeadd-7103ad83_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.974881Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId: sid_rand_33|5b49da65-2904ac3d-c71eeadd-7103ad83_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.974891Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 44 sessionId: sid_rand_33|5b49da65-2904ac3d-c71eeadd-7103ad83_0 grpc read failed
2025-12-07T20:09:42.974896Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 44 sessionId: sid_rand_33|5b49da65-2904ac3d-c71eeadd-7103ad83_0 grpc closed
2025-12-07T20:09:42.974901Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 44 sessionId: sid_rand_33|5b49da65-2904ac3d-c71eeadd-7103ad83_0 is DEAD
2025-12-07T20:09:42.975002Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.975014Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 45
2025-12-07T20:09:42.975165Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.975203Z 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-12-07T20:09:42.975235Z 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]:55198
2025-12-07T20:09:42.975244Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=45 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.975247Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.975619Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 45 sessionId:  describe result for acl check
2025-12-07T20:09:42.975649Z 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-12-07T20:09:42.975655Z 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-12-07T20:09:42.975657Z 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-12-07T20:09:42.975661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286302012:2647] (SourceId=sid_rand_34, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.976168Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286302012:2647] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.977805Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286302012:2647] (SourceId=sid_rand_34, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.977892Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286302028:2647] connected; active server actors: 1
2025-12-07T20:09:42.977911Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286302012:2647] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_34
2025-12-07T20:09:42.977919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286302012:2647] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.977967Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286302028:2647] disconnected.
2025-12-07T20:09:42.977974Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286302028:2647] disconnected; active server actors: 1
2025-12-07T20:09:42.977977Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286302028:2647] disconnected no session
2025-12-07T20:09:42.980784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286302012:2647] (SourceId=sid_rand_34, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.980801Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286302012:2647] (SourceId=sid_rand_34, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-07T20:09:42.980810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286302012:2647] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.980822Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 45 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-07T20:09:42.980982Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:42.981005Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_34|52c5b6c3-88c2f230-7e56e60e-2879c04c_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_34
2025-12-07T20:09:42.981177Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 45 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_34|52c5b6c3-88c2f230-7e56e60e-2879c04c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_34|52c5b6c3-88c2f230-7e56e60e-2879c04c_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.981866Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId: sid_rand_34|52c5b6c3-88c2f230-7e56e60e-2879c04c_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.981877Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 45 sessionId: sid_rand_34|52c5b6c3-88c2f230-7e56e60e-2879c04c_0 grpc read failed
2025-12-07T20:09:42.981883Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 45 sessionId: sid_rand_34|52c5b6c3-88c2f230-7e56e60e-2879c04c_0 grpc closed
2025-12-07T20:09:42.981888Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 45 sessionId: sid_rand_34|52c5b6c3-88c2f230-7e56e60e-2879c04c_0 is DEAD
2025-12-07T20:09:42.981988Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.982009Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 46
2025-12-07T20:09:42.982173Z 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-12-07T20:09:42.982175Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.982200Z 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]:55198
2025-12-07T20:09:42.982203Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=46 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.982206Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.982610Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 46 sessionId:  describe result for acl check
2025-12-07T20:09:42.982643Z 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-12-07T20:09:42.982650Z 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-12-07T20:09:42.982651Z 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-12-07T20:09:42.982655Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286302049:2651] (SourceId=sid_rand_35, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.983147Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286302049:2651] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.985037Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286302049:2651] (SourceId=sid_rand_35, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.985123Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286302065:2651] connected; active server actors: 1
2025-12-07T20:09:42.985149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286302049:2651] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_35
2025-12-07T20:09:42.985154Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286302049:2651] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.985220Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286302065:2651] disconnected.
2025-12-07T20:09:42.985232Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286302065:2651] disconnected; active server actors: 1
2025-12-07T20:09:42.985235Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286302065:2651] disconnected no session
2025-12-07T20:09:42.987859Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286302049:2651] (SourceId=sid_rand_35, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.987874Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286302049:2651] (SourceId=sid_rand_35, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-07T20:09:42.987876Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286302049:2651] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.987883Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 46 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-07T20:09:42.988179Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:42.988296Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_35|460b5798-414aa31-6e6e87d1-72c4b2e4_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_35
2025-12-07T20:09:42.988626Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 46 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_35|460b5798-414aa31-6e6e87d1-72c4b2e4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_35|460b5798-414aa31-6e6e87d1-72c4b2e4_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.989261Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId: sid_rand_35|460b5798-414aa31-6e6e87d1-72c4b2e4_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.989269Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 46 sessionId: sid_rand_35|460b5798-414aa31-6e6e87d1-72c4b2e4_0 grpc read failed
2025-12-07T20:09:42.989273Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 46 sessionId: sid_rand_35|460b5798-414aa31-6e6e87d1-72c4b2e4_0 grpc closed
2025-12-07T20:09:42.989277Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 46 sessionId: sid_rand_35|460b5798-414aa31-6e6e87d1-72c4b2e4_0 is DEAD
2025-12-07T20:09:42.989390Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.989399Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 47
2025-12-07T20:09:42.989474Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.989527Z 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-12-07T20:09:42.989568Z 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]:55198
2025-12-07T20:09:42.989571Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=47 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.989574Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.989946Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 47 sessionId:  describe result for acl check
2025-12-07T20:09:42.989976Z 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-12-07T20:09:42.989983Z 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-12-07T20:09:42.989986Z 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-12-07T20:09:42.989990Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286302085:2655] (SourceId=sid_rand_36, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.990479Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286302085:2655] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.991919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286302085:2655] (SourceId=sid_rand_36, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.991974Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286302102:2655] connected; active server actors: 1
2025-12-07T20:09:42.991992Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286302085:2655] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_36
2025-12-07T20:09:42.991996Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286302085:2655] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.992046Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286302102:2655] disconnected.
2025-12-07T20:09:42.992053Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286302102:2655] disconnected; active server actors: 1
2025-12-07T20:09:42.992055Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286302102:2655] disconnected no session
2025-12-07T20:09:42.994322Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286302085:2655] (SourceId=sid_rand_36, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:42.994336Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286302085:2655] (SourceId=sid_rand_36, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-07T20:09:42.994340Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286302085:2655] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:42.994346Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 47 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-07T20:09:42.994614Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:42.994689Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_36|84ceb3b8-512a3554-1469fb47-f6efc333_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_36
2025-12-07T20:09:42.994954Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 47 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_36|84ceb3b8-512a3554-1469fb47-f6efc333_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_36|84ceb3b8-512a3554-1469fb47-f6efc333_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:42.995569Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId: sid_rand_36|84ceb3b8-512a3554-1469fb47-f6efc333_0 grpc read done: success: 0 data: 
2025-12-07T20:09:42.995579Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 47 sessionId: sid_rand_36|84ceb3b8-512a3554-1469fb47-f6efc333_0 grpc read failed
2025-12-07T20:09:42.995583Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 47 sessionId: sid_rand_36|84ceb3b8-512a3554-1469fb47-f6efc333_0 grpc closed
2025-12-07T20:09:42.995587Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 47 sessionId: sid_rand_36|84ceb3b8-512a3554-1469fb47-f6efc333_0 is DEAD
2025-12-07T20:09:42.995696Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:42.995707Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 48
2025-12-07T20:09:42.995783Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:42.995820Z 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-12-07T20:09:42.995846Z 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]:55198
2025-12-07T20:09:42.995852Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=48 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:42.995855Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:42.996211Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 48 sessionId:  describe result for acl check
2025-12-07T20:09:42.996244Z 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-12-07T20:09:42.996250Z 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-12-07T20:09:42.996252Z 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-12-07T20:09:42.996255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210766286302122:2659] (SourceId=sid_rand_37, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:42.996686Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210766286302122:2659] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:42.998166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210766286302122:2659] (SourceId=sid_rand_37, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:42.998236Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286302138:2659] connected; active server actors: 1
2025-12-07T20:09:42.998253Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210766286302122:2659] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_37
2025-12-07T20:09:42.998264Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210766286302122:2659] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:42.998320Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286302138:2659] disconnected.
2025-12-07T20:09:42.998331Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286302138:2659] disconnected; active server actors: 1
2025-12-07T20:09:42.998334Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210766286302138:2659] disconnected no session
2025-12-07T20:09:43.000562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210766286302122:2659] (SourceId=sid_rand_37, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.000576Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210766286302122:2659] (SourceId=sid_rand_37, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-07T20:09:43.000578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210766286302122:2659] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.000584Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 48 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-07T20:09:43.000806Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:43.000876Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_37|d2d0133c-a099d4f7-a201646e-c19649f6_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_37
2025-12-07T20:09:43.001122Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 48 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_37|d2d0133c-a099d4f7-a201646e-c19649f6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_37|d2d0133c-a099d4f7-a201646e-c19649f6_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.001666Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId: sid_rand_37|d2d0133c-a099d4f7-a201646e-c19649f6_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.001672Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 48 sessionId: sid_rand_37|d2d0133c-a099d4f7-a201646e-c19649f6_0 grpc read failed
2025-12-07T20:09:43.001676Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 48 sessionId: sid_rand_37|d2d0133c-a099d4f7-a201646e-c19649f6_0 grpc closed
2025-12-07T20:09:43.001680Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 48 sessionId: sid_rand_37|d2d0133c-a099d4f7-a201646e-c19649f6_0 is DEAD
2025-12-07T20:09:43.001832Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.001841Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 49
2025-12-07T20:09:43.001871Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.001996Z 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-12-07T20:09:43.002029Z 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]:55198
2025-12-07T20:09:43.002037Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=49 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.002041Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.002451Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 49 sessionId:  describe result for acl check
2025-12-07T20:09:43.002487Z 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-12-07T20:09:43.002494Z 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-12-07T20:09:43.002498Z 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-12-07T20:09:43.002501Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581269454:2663] (SourceId=sid_rand_38, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.002997Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581269454:2663] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.004481Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581269454:2663] (SourceId=sid_rand_38, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.004555Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269470:2663] connected; active server actors: 1
2025-12-07T20:09:43.004576Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581269454:2663] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_38
2025-12-07T20:09:43.004586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581269454:2663] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.004646Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269470:2663] disconnected.
2025-12-07T20:09:43.004653Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269470:2663] disconnected; active server actors: 1
2025-12-07T20:09:43.004654Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269470:2663] disconnected no session
2025-12-07T20:09:43.007287Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581269454:2663] (SourceId=sid_rand_38, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.007303Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581269454:2663] (SourceId=sid_rand_38, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-07T20:09:43.007306Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581269454:2663] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.007313Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 49 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-07T20:09:43.007581Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:43.007655Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_38|419b3c71-7374095-4d0c721e-319afb44_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_38
2025-12-07T20:09:43.007894Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 49 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_38|419b3c71-7374095-4d0c721e-319afb44_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_38|419b3c71-7374095-4d0c721e-319afb44_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.008450Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId: sid_rand_38|419b3c71-7374095-4d0c721e-319afb44_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.008456Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 49 sessionId: sid_rand_38|419b3c71-7374095-4d0c721e-319afb44_0 grpc read failed
2025-12-07T20:09:43.008459Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 49 sessionId: sid_rand_38|419b3c71-7374095-4d0c721e-319afb44_0 grpc closed
2025-12-07T20:09:43.008463Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 49 sessionId: sid_rand_38|419b3c71-7374095-4d0c721e-319afb44_0 is DEAD
2025-12-07T20:09:43.008570Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.008581Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 50
2025-12-07T20:09:43.008643Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.008687Z 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-12-07T20:09:43.008713Z 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]:55198
2025-12-07T20:09:43.008719Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=50 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.008721Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.009058Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 50 sessionId:  describe result for acl check
2025-12-07T20:09:43.009090Z 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-12-07T20:09:43.009098Z 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-12-07T20:09:43.009101Z 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-12-07T20:09:43.009105Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581269490:2667] (SourceId=sid_rand_39, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.009505Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581269490:2667] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.010877Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581269490:2667] (SourceId=sid_rand_39, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.010958Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269506:2667] connected; active server actors: 1
2025-12-07T20:09:43.010973Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581269490:2667] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_39
2025-12-07T20:09:43.010977Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581269490:2667] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.011023Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269506:2667] disconnected.
2025-12-07T20:09:43.011029Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269506:2667] disconnected; active server actors: 1
2025-12-07T20:09:43.011031Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269506:2667] disconnected no session
2025-12-07T20:09:43.013340Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581269490:2667] (SourceId=sid_rand_39, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.013352Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581269490:2667] (SourceId=sid_rand_39, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-07T20:09:43.013354Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581269490:2667] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.013359Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 50 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-07T20:09:43.013652Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:43.013725Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_39|e0d30950-c7e2ef97-3a90ca83-823929ce_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_39
2025-12-07T20:09:43.014019Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 50 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_39|e0d30950-c7e2ef97-3a90ca83-823929ce_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_39|e0d30950-c7e2ef97-3a90ca83-823929ce_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.014581Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId: sid_rand_39|e0d30950-c7e2ef97-3a90ca83-823929ce_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.014589Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 50 sessionId: sid_rand_39|e0d30950-c7e2ef97-3a90ca83-823929ce_0 grpc read failed
2025-12-07T20:09:43.014593Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 50 sessionId: sid_rand_39|e0d30950-c7e2ef97-3a90ca83-823929ce_0 grpc closed
2025-12-07T20:09:43.014597Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 50 sessionId: sid_rand_39|e0d30950-c7e2ef97-3a90ca83-823929ce_0 is DEAD
2025-12-07T20:09:43.014727Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.014736Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 51
2025-12-07T20:09:43.014803Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.014854Z 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-12-07T20:09:43.014879Z 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]:55198
2025-12-07T20:09:43.014886Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=51 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.014888Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.015220Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 51 sessionId:  describe result for acl check
2025-12-07T20:09:43.015249Z 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-12-07T20:09:43.015257Z 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-12-07T20:09:43.015259Z 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-12-07T20:09:43.015261Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581269526:2671] (SourceId=sid_rand_40, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.015704Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581269526:2671] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.017205Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581269526:2671] (SourceId=sid_rand_40, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.017290Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269542:2671] connected; active server actors: 1
2025-12-07T20:09:43.017311Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581269526:2671] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_40
2025-12-07T20:09:43.017322Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581269526:2671] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.017368Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269542:2671] disconnected.
2025-12-07T20:09:43.017377Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269542:2671] disconnected; active server actors: 1
2025-12-07T20:09:43.017379Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269542:2671] disconnected no session
2025-12-07T20:09:43.019923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581269526:2671] (SourceId=sid_rand_40, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.019935Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581269526:2671] (SourceId=sid_rand_40, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-07T20:09:43.019938Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581269526:2671] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.019944Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 51 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-07T20:09:43.020205Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:43.020308Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_40|a362c0f0-1a2c9368-128cae61-23e7d194_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_40
2025-12-07T20:09:43.020642Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 51 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_40|a362c0f0-1a2c9368-128cae61-23e7d194_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_40|a362c0f0-1a2c9368-128cae61-23e7d194_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.021336Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId: sid_rand_40|a362c0f0-1a2c9368-128cae61-23e7d194_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.021347Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 51 sessionId: sid_rand_40|a362c0f0-1a2c9368-128cae61-23e7d194_0 grpc read failed
2025-12-07T20:09:43.021353Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 51 sessionId: sid_rand_40|a362c0f0-1a2c9368-128cae61-23e7d194_0 grpc closed
2025-12-07T20:09:43.021358Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 51 sessionId: sid_rand_40|a362c0f0-1a2c9368-128cae61-23e7d194_0 is DEAD
2025-12-07T20:09:43.021470Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.021480Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 52
2025-12-07T20:09:43.021659Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.021683Z 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-12-07T20:09:43.021708Z 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]:55198
2025-12-07T20:09:43.021716Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=52 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.021719Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.022104Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 52 sessionId:  describe result for acl check
2025-12-07T20:09:43.022138Z 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-12-07T20:09:43.022146Z 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-12-07T20:09:43.022148Z 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-12-07T20:09:43.022153Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581269562:2675] (SourceId=sid_rand_41, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.022685Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581269562:2675] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.024505Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581269562:2675] (SourceId=sid_rand_41, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.024576Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269578:2675] connected; active server actors: 1
2025-12-07T20:09:43.024601Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581269562:2675] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_41
2025-12-07T20:09:43.024612Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581269562:2675] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.024660Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269578:2675] disconnected.
2025-12-07T20:09:43.024671Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269578:2675] disconnected; active server actors: 1
2025-12-07T20:09:43.024674Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269578:2675] disconnected no session
2025-12-07T20:09:43.027238Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581269562:2675] (SourceId=sid_rand_41, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.027250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581269562:2675] (SourceId=sid_rand_41, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-07T20:09:43.027266Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581269562:2675] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.027273Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 52 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-07T20:09:43.027395Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:43.027432Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_41|a4bf8288-4741b82c-b502fb09-32c33c60_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_41
2025-12-07T20:09:43.027548Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 52 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_41|a4bf8288-4741b82c-b502fb09-32c33c60_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_41|a4bf8288-4741b82c-b502fb09-32c33c60_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.028298Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId: sid_rand_41|a4bf8288-4741b82c-b502fb09-32c33c60_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.028310Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 52 sessionId: sid_rand_41|a4bf8288-4741b82c-b502fb09-32c33c60_0 grpc read failed
2025-12-07T20:09:43.028316Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 52 sessionId: sid_rand_41|a4bf8288-4741b82c-b502fb09-32c33c60_0 grpc closed
2025-12-07T20:09:43.028321Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 52 sessionId: sid_rand_41|a4bf8288-4741b82c-b502fb09-32c33c60_0 is DEAD
2025-12-07T20:09:43.028441Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.028452Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 53
2025-12-07T20:09:43.028579Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.028603Z 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-12-07T20:09:43.028632Z 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]:55198
2025-12-07T20:09:43.028641Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=53 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.028644Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.029138Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 53 sessionId:  describe result for acl check
2025-12-07T20:09:43.029166Z 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-12-07T20:09:43.029169Z 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-12-07T20:09:43.029171Z 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-12-07T20:09:43.029175Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581269599:2679] (SourceId=sid_rand_42, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.029681Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581269599:2679] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.031518Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581269599:2679] (SourceId=sid_rand_42, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.031594Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269615:2679] connected; active server actors: 1
2025-12-07T20:09:43.031609Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581269599:2679] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_42
2025-12-07T20:09:43.031614Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581269599:2679] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.031652Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269615:2679] disconnected.
2025-12-07T20:09:43.031660Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269615:2679] disconnected; active server actors: 1
2025-12-07T20:09:43.031663Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269615:2679] disconnected no session
2025-12-07T20:09:43.033903Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581269599:2679] (SourceId=sid_rand_42, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.033915Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581269599:2679] (SourceId=sid_rand_42, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-07T20:09:43.033919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581269599:2679] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.033928Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 53 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-07T20:09:43.034163Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:43.034258Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_42|4ce4107a-176576af-c2efa7e0-47fabee6_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_42
2025-12-07T20:09:43.034487Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 53 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_42|4ce4107a-176576af-c2efa7e0-47fabee6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_42|4ce4107a-176576af-c2efa7e0-47fabee6_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.035085Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId: sid_rand_42|4ce4107a-176576af-c2efa7e0-47fabee6_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.035093Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 53 sessionId: sid_rand_42|4ce4107a-176576af-c2efa7e0-47fabee6_0 grpc read failed
2025-12-07T20:09:43.035097Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 53 sessionId: sid_rand_42|4ce4107a-176576af-c2efa7e0-47fabee6_0 grpc closed
2025-12-07T20:09:43.035101Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 53 sessionId: sid_rand_42|4ce4107a-176576af-c2efa7e0-47fabee6_0 is DEAD
2025-12-07T20:09:43.035282Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.035292Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 54
2025-12-07T20:09:43.035324Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.035370Z 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-12-07T20:09:43.035395Z 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]:55198
2025-12-07T20:09:43.035404Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=54 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.035407Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.035769Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 54 sessionId:  describe result for acl check
2025-12-07T20:09:43.035793Z 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-12-07T20:09:43.035797Z 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-12-07T20:09:43.035799Z 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-12-07T20:09:43.035802Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581269635:2683] (SourceId=sid_rand_43, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.036240Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581269635:2683] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.037699Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581269635:2683] (SourceId=sid_rand_43, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.037765Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269651:2683] connected; active server actors: 1
2025-12-07T20:09:43.037782Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581269635:2683] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_43
2025-12-07T20:09:43.037787Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581269635:2683] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.037839Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269651:2683] disconnected.
2025-12-07T20:09:43.037848Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269651:2683] disconnected; active server actors: 1
2025-12-07T20:09:43.037851Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269651:2683] disconnected no session
2025-12-07T20:09:43.040081Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581269635:2683] (SourceId=sid_rand_43, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.040093Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581269635:2683] (SourceId=sid_rand_43, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-07T20:09:43.040099Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581269635:2683] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.040107Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 54 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-07T20:09:43.040235Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:43.040263Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_43|4886b61-8a55f881-10847fe0-e12d96a2_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_43
2025-12-07T20:09:43.040392Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 54 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_43|4886b61-8a55f881-10847fe0-e12d96a2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_43|4886b61-8a55f881-10847fe0-e12d96a2_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.041024Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId: sid_rand_43|4886b61-8a55f881-10847fe0-e12d96a2_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.041033Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 54 sessionId: sid_rand_43|4886b61-8a55f881-10847fe0-e12d96a2_0 grpc read failed
2025-12-07T20:09:43.041038Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 54 sessionId: sid_rand_43|4886b61-8a55f881-10847fe0-e12d96a2_0 grpc closed
2025-12-07T20:09:43.041043Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 54 sessionId: sid_rand_43|4886b61-8a55f881-10847fe0-e12d96a2_0 is DEAD
2025-12-07T20:09:43.041170Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.041181Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 55
2025-12-07T20:09:43.041319Z 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-12-07T20:09:43.041351Z 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]:55198
2025-12-07T20:09:43.041360Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=55 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.041363Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.041757Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 55 sessionId:  describe result for acl check
2025-12-07T20:09:43.041799Z 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-12-07T20:09:43.041805Z 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-12-07T20:09:43.041807Z 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-12-07T20:09:43.041811Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581269672:2687] (SourceId=sid_rand_44, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.041866Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.042337Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581269672:2687] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.043840Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581269672:2687] (SourceId=sid_rand_44, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.043885Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269688:2687] connected; active server actors: 1
2025-12-07T20:09:43.043903Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581269672:2687] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_44
2025-12-07T20:09:43.043917Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581269672:2687] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.043965Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269688:2687] disconnected.
2025-12-07T20:09:43.043973Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269688:2687] disconnected; active server actors: 1
2025-12-07T20:09:43.043976Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269688:2687] disconnected no session
2025-12-07T20:09:43.046720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581269672:2687] (SourceId=sid_rand_44, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.046732Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581269672:2687] (SourceId=sid_rand_44, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-07T20:09:43.046735Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581269672:2687] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.046746Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 55 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-07T20:09:43.046862Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:43.046908Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_44|e551322f-a020a563-a299a6b0-f4b9d56d_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_44
2025-12-07T20:09:43.047031Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 55 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_44|e551322f-a020a563-a299a6b0-f4b9d56d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_44|e551322f-a020a563-a299a6b0-f4b9d56d_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.047604Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId: sid_rand_44|e551322f-a020a563-a299a6b0-f4b9d56d_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.047614Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 55 sessionId: sid_rand_44|e551322f-a020a563-a299a6b0-f4b9d56d_0 grpc read failed
2025-12-07T20:09:43.047619Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 55 sessionId: sid_rand_44|e551322f-a020a563-a299a6b0-f4b9d56d_0 grpc closed
2025-12-07T20:09:43.047623Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 55 sessionId: sid_rand_44|e551322f-a020a563-a299a6b0-f4b9d56d_0 is DEAD
2025-12-07T20:09:43.047738Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.047748Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 56
2025-12-07T20:09:43.047873Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.047890Z 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-12-07T20:09:43.047918Z 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]:55198
2025-12-07T20:09:43.047929Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=56 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.047932Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.048280Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 56 sessionId:  describe result for acl check
2025-12-07T20:09:43.048312Z 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-12-07T20:09:43.048318Z 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-12-07T20:09:43.048320Z 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-12-07T20:09:43.048325Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581269709:2691] (SourceId=sid_rand_45, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.048751Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581269709:2691] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.050444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581269709:2691] (SourceId=sid_rand_45, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.050509Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269725:2691] connected; active server actors: 1
2025-12-07T20:09:43.050524Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581269709:2691] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_45
2025-12-07T20:09:43.050528Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581269709:2691] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.050560Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269725:2691] disconnected.
2025-12-07T20:09:43.050566Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269725:2691] disconnected; active server actors: 1
2025-12-07T20:09:43.050569Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269725:2691] disconnected no session
2025-12-07T20:09:43.053399Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581269709:2691] (SourceId=sid_rand_45, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.053410Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581269709:2691] (SourceId=sid_rand_45, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-07T20:09:43.053416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581269709:2691] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.053425Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 56 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-07T20:09:43.053699Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:43.053790Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_45|180b3515-2f5b1832-a2ac6735-97795bbd_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_45
2025-12-07T20:09:43.054041Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 56 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_45|180b3515-2f5b1832-a2ac6735-97795bbd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_45|180b3515-2f5b1832-a2ac6735-97795bbd_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.054623Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId: sid_rand_45|180b3515-2f5b1832-a2ac6735-97795bbd_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.054631Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 56 sessionId: sid_rand_45|180b3515-2f5b1832-a2ac6735-97795bbd_0 grpc read failed
2025-12-07T20:09:43.054636Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 56 sessionId: sid_rand_45|180b3515-2f5b1832-a2ac6735-97795bbd_0 grpc closed
2025-12-07T20:09:43.054640Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 56 sessionId: sid_rand_45|180b3515-2f5b1832-a2ac6735-97795bbd_0 is DEAD
2025-12-07T20:09:43.054753Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.054762Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 57
2025-12-07T20:09:43.054821Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.054888Z 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-12-07T20:09:43.054911Z 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]:55198
2025-12-07T20:09:43.054920Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=57 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.054922Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.055212Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 57 sessionId:  describe result for acl check
2025-12-07T20:09:43.055234Z 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-12-07T20:09:43.055235Z 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-12-07T20:09:43.055237Z 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-12-07T20:09:43.055240Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581269745:2695] (SourceId=sid_rand_46, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.055633Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581269745:2695] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.057153Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581269745:2695] (SourceId=sid_rand_46, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.057216Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269761:2695] connected; active server actors: 1
2025-12-07T20:09:43.057231Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581269745:2695] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_46
2025-12-07T20:09:43.057235Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581269745:2695] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.057273Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269761:2695] disconnected.
2025-12-07T20:09:43.057281Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269761:2695] disconnected; active server actors: 1
2025-12-07T20:09:43.057286Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269761:2695] disconnected no session
2025-12-07T20:09:43.060078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581269745:2695] (SourceId=sid_rand_46, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.060093Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581269745:2695] (SourceId=sid_rand_46, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-07T20:09:43.060096Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581269745:2695] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.060103Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 57 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-07T20:09:43.060255Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:43.060284Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_46|43b3e908-8978bcb-d93e8d68-fd696533_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_46
2025-12-07T20:09:43.060403Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 57 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_46|43b3e908-8978bcb-d93e8d68-fd696533_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_46|43b3e908-8978bcb-d93e8d68-fd696533_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.061098Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId: sid_rand_46|43b3e908-8978bcb-d93e8d68-fd696533_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.061108Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 57 sessionId: sid_rand_46|43b3e908-8978bcb-d93e8d68-fd696533_0 grpc read failed
2025-12-07T20:09:43.061115Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 57 sessionId: sid_rand_46|43b3e908-8978bcb-d93e8d68-fd696533_0 grpc closed
2025-12-07T20:09:43.061120Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 57 sessionId: sid_rand_46|43b3e908-8978bcb-d93e8d68-fd696533_0 is DEAD
2025-12-07T20:09:43.061319Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.061332Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 58
2025-12-07T20:09:43.061412Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.061427Z 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-12-07T20:09:43.061453Z 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]:55198
2025-12-07T20:09:43.061463Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=58 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.061466Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.061887Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 58 sessionId:  describe result for acl check
2025-12-07T20:09:43.061919Z 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-12-07T20:09:43.061921Z 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-12-07T20:09:43.061923Z 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-12-07T20:09:43.061927Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581269782:2699] (SourceId=sid_rand_47, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.062486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581269782:2699] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.064547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581269782:2699] (SourceId=sid_rand_47, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.064618Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269798:2699] connected; active server actors: 1
2025-12-07T20:09:43.064640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581269782:2699] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_47
2025-12-07T20:09:43.064645Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581269782:2699] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.064697Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269798:2699] disconnected.
2025-12-07T20:09:43.064704Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269798:2699] disconnected; active server actors: 1
2025-12-07T20:09:43.064707Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269798:2699] disconnected no session
2025-12-07T20:09:43.067865Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581269782:2699] (SourceId=sid_rand_47, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.067879Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581269782:2699] (SourceId=sid_rand_47, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-07T20:09:43.067883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581269782:2699] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.067892Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 58 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-07T20:09:43.068232Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:43.068330Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_47|c75025c9-68a337db-4af84bfc-2ca24aee_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_47
2025-12-07T20:09:43.068722Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 58 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_47|c75025c9-68a337db-4af84bfc-2ca24aee_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_47|c75025c9-68a337db-4af84bfc-2ca24aee_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.069456Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId: sid_rand_47|c75025c9-68a337db-4af84bfc-2ca24aee_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.069467Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 58 sessionId: sid_rand_47|c75025c9-68a337db-4af84bfc-2ca24aee_0 grpc read failed
2025-12-07T20:09:43.069474Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 58 sessionId: sid_rand_47|c75025c9-68a337db-4af84bfc-2ca24aee_0 grpc closed
2025-12-07T20:09:43.069479Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 58 sessionId: sid_rand_47|c75025c9-68a337db-4af84bfc-2ca24aee_0 is DEAD
2025-12-07T20:09:43.069664Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.069675Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 59
2025-12-07T20:09:43.069763Z 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-12-07T20:09:43.069792Z 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]:55198
2025-12-07T20:09:43.069793Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.069798Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=59 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.069801Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.070186Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 59 sessionId:  describe result for acl check
2025-12-07T20:09:43.070225Z 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-12-07T20:09:43.070228Z 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-12-07T20:09:43.070229Z 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-12-07T20:09:43.070234Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581269818:2703] (SourceId=sid_rand_48, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.070797Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581269818:2703] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.073163Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581269818:2703] (SourceId=sid_rand_48, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.073233Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269834:2703] connected; active server actors: 1
2025-12-07T20:09:43.073252Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581269818:2703] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_48
2025-12-07T20:09:43.073257Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581269818:2703] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.073312Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269834:2703] disconnected.
2025-12-07T20:09:43.073319Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269834:2703] disconnected; active server actors: 1
2025-12-07T20:09:43.073322Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269834:2703] disconnected no session
2025-12-07T20:09:43.076089Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581269818:2703] (SourceId=sid_rand_48, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.076102Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581269818:2703] (SourceId=sid_rand_48, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-07T20:09:43.076106Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581269818:2703] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.076115Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 59 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-07T20:09:43.076380Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:43.076489Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_48|e884b0a3-5c2ec2e6-5355f8b-3078ad8d_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_48
2025-12-07T20:09:43.076838Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 59 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_48|e884b0a3-5c2ec2e6-5355f8b-3078ad8d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_48|e884b0a3-5c2ec2e6-5355f8b-3078ad8d_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.077606Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId: sid_rand_48|e884b0a3-5c2ec2e6-5355f8b-3078ad8d_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.077639Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 59 sessionId: sid_rand_48|e884b0a3-5c2ec2e6-5355f8b-3078ad8d_0 grpc read failed
2025-12-07T20:09:43.077645Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 59 sessionId: sid_rand_48|e884b0a3-5c2ec2e6-5355f8b-3078ad8d_0 grpc closed
2025-12-07T20:09:43.077650Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 59 sessionId: sid_rand_48|e884b0a3-5c2ec2e6-5355f8b-3078ad8d_0 is DEAD
2025-12-07T20:09:43.077743Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.077755Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 60
2025-12-07T20:09:43.077889Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.077924Z 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-12-07T20:09:43.077957Z 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]:55198
2025-12-07T20:09:43.077967Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=60 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.077970Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.078346Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 60 sessionId:  describe result for acl check
2025-12-07T20:09:43.078376Z 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-12-07T20:09:43.078382Z 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-12-07T20:09:43.078384Z 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-12-07T20:09:43.078389Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581269854:2707] (SourceId=sid_rand_49, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.078821Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581269854:2707] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.080142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581269854:2707] (SourceId=sid_rand_49, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.080232Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269870:2707] connected; active server actors: 1
2025-12-07T20:09:43.080249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581269854:2707] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_49
2025-12-07T20:09:43.080253Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581269854:2707] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.080293Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269870:2707] disconnected.
2025-12-07T20:09:43.080302Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269870:2707] disconnected; active server actors: 1
2025-12-07T20:09:43.080305Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269870:2707] disconnected no session
2025-12-07T20:09:43.082931Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581269854:2707] (SourceId=sid_rand_49, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.082944Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581269854:2707] (SourceId=sid_rand_49, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-07T20:09:43.082950Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581269854:2707] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.082957Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 60 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-07T20:09:43.083099Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:43.083146Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_49|6e44fd95-14ce8814-76cefc2-4b87406_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_49
2025-12-07T20:09:43.083278Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 60 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_49|6e44fd95-14ce8814-76cefc2-4b87406_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_49|6e44fd95-14ce8814-76cefc2-4b87406_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.083874Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId: sid_rand_49|6e44fd95-14ce8814-76cefc2-4b87406_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.083888Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 60 sessionId: sid_rand_49|6e44fd95-14ce8814-76cefc2-4b87406_0 grpc read failed
2025-12-07T20:09:43.083894Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 60 sessionId: sid_rand_49|6e44fd95-14ce8814-76cefc2-4b87406_0 grpc closed
2025-12-07T20:09:43.083898Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 60 sessionId: sid_rand_49|6e44fd95-14ce8814-76cefc2-4b87406_0 is DEAD
2025-12-07T20:09:43.084043Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.084052Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 61
2025-12-07T20:09:43.084170Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.084173Z 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-12-07T20:09:43.084202Z 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]:55198
2025-12-07T20:09:43.084212Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=61 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.084216Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.084568Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 61 sessionId:  describe result for acl check
2025-12-07T20:09:43.084604Z 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-12-07T20:09:43.084612Z 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-12-07T20:09:43.084614Z 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-12-07T20:09:43.084619Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581269894:2711] (SourceId=sid_rand_50, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.085144Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581269894:2711] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.086900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581269894:2711] (SourceId=sid_rand_50, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.086981Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269910:2711] connected; active server actors: 1
2025-12-07T20:09:43.087000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581269894:2711] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_50
2025-12-07T20:09:43.087009Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581269894:2711] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.087057Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269910:2711] disconnected.
2025-12-07T20:09:43.087065Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269910:2711] disconnected; active server actors: 1
2025-12-07T20:09:43.087068Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269910:2711] disconnected no session
2025-12-07T20:09:43.089797Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581269894:2711] (SourceId=sid_rand_50, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.089810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581269894:2711] (SourceId=sid_rand_50, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-07T20:09:43.089815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581269894:2711] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.089823Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 61 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-07T20:09:43.090119Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:43.090227Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_50|eb7d1d25-66554a09-fe2f57e2-60817c01_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_50
2025-12-07T20:09:43.090576Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 61 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_50|eb7d1d25-66554a09-fe2f57e2-60817c01_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_50|eb7d1d25-66554a09-fe2f57e2-60817c01_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.091275Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId: sid_rand_50|eb7d1d25-66554a09-fe2f57e2-60817c01_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.091285Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 61 sessionId: sid_rand_50|eb7d1d25-66554a09-fe2f57e2-60817c01_0 grpc read failed
2025-12-07T20:09:43.091291Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 61 sessionId: sid_rand_50|eb7d1d25-66554a09-fe2f57e2-60817c01_0 grpc closed
2025-12-07T20:09:43.091295Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 61 sessionId: sid_rand_50|eb7d1d25-66554a09-fe2f57e2-60817c01_0 is DEAD
2025-12-07T20:09:43.091358Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.091381Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 62
2025-12-07T20:09:43.091466Z 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-12-07T20:09:43.091497Z 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]:55198
2025-12-07T20:09:43.091507Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=62 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.091510Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.091562Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.091892Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 62 sessionId:  describe result for acl check
2025-12-07T20:09:43.091930Z 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-12-07T20:09:43.091937Z 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-12-07T20:09:43.091939Z 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-12-07T20:09:43.091953Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581269930:2715] (SourceId=sid_rand_51, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.092539Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581269930:2715] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.094053Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581269930:2715] (SourceId=sid_rand_51, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.094124Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269946:2715] connected; active server actors: 1
2025-12-07T20:09:43.094148Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581269930:2715] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_51
2025-12-07T20:09:43.094157Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581269930:2715] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.094204Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269946:2715] disconnected.
2025-12-07T20:09:43.094212Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269946:2715] disconnected; active server actors: 1
2025-12-07T20:09:43.094214Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269946:2715] disconnected no session
2025-12-07T20:09:43.096830Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581269930:2715] (SourceId=sid_rand_51, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.096843Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581269930:2715] (SourceId=sid_rand_51, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-07T20:09:43.096847Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581269930:2715] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.096853Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 62 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-07T20:09:43.096968Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:43.097015Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_51|520b9029-c4f50a06-19f98e5d-fb149f28_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_51
2025-12-07T20:09:43.097164Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 62 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_51|520b9029-c4f50a06-19f98e5d-fb149f28_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_51|520b9029-c4f50a06-19f98e5d-fb149f28_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.097766Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId: sid_rand_51|520b9029-c4f50a06-19f98e5d-fb149f28_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.097774Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 62 sessionId: sid_rand_51|520b9029-c4f50a06-19f98e5d-fb149f28_0 grpc read failed
2025-12-07T20:09:43.097779Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 62 sessionId: sid_rand_51|520b9029-c4f50a06-19f98e5d-fb149f28_0 grpc closed
2025-12-07T20:09:43.097783Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 62 sessionId: sid_rand_51|520b9029-c4f50a06-19f98e5d-fb149f28_0 is DEAD
2025-12-07T20:09:43.097990Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.098009Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.098026Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 63
2025-12-07T20:09:43.098142Z 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-12-07T20:09:43.098167Z 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]:55198
2025-12-07T20:09:43.098171Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=63 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.098174Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.098475Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 63 sessionId:  describe result for acl check
2025-12-07T20:09:43.098497Z 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-12-07T20:09:43.098498Z 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-12-07T20:09:43.098499Z 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-12-07T20:09:43.098503Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581269967:2719] (SourceId=sid_rand_52, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.098915Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581269967:2719] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.100625Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581269967:2719] (SourceId=sid_rand_52, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.100696Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269983:2719] connected; active server actors: 1
2025-12-07T20:09:43.100712Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581269967:2719] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_52
2025-12-07T20:09:43.100716Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581269967:2719] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.100765Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269983:2719] disconnected.
2025-12-07T20:09:43.100773Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269983:2719] disconnected; active server actors: 1
2025-12-07T20:09:43.100776Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581269983:2719] disconnected no session
2025-12-07T20:09:43.103084Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581269967:2719] (SourceId=sid_rand_52, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.103096Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581269967:2719] (SourceId=sid_rand_52, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-07T20:09:43.103099Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581269967:2719] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.103107Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 63 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-07T20:09:43.103369Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:43.103452Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_52|3f3ffffe-457bc568-4f057b5d-4a820318_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_52
2025-12-07T20:09:43.103806Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 63 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_52|3f3ffffe-457bc568-4f057b5d-4a820318_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_52|3f3ffffe-457bc568-4f057b5d-4a820318_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.104540Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId: sid_rand_52|3f3ffffe-457bc568-4f057b5d-4a820318_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.104549Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 63 sessionId: sid_rand_52|3f3ffffe-457bc568-4f057b5d-4a820318_0 grpc read failed
2025-12-07T20:09:43.104555Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 63 sessionId: sid_rand_52|3f3ffffe-457bc568-4f057b5d-4a820318_0 grpc closed
2025-12-07T20:09:43.104559Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 63 sessionId: sid_rand_52|3f3ffffe-457bc568-4f057b5d-4a820318_0 is DEAD
2025-12-07T20:09:43.104677Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.104689Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 64
2025-12-07T20:09:43.104828Z 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-12-07T20:09:43.104834Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.104852Z 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]:55198
2025-12-07T20:09:43.104855Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=64 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.104858Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.105163Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 64 sessionId:  describe result for acl check
2025-12-07T20:09:43.105189Z 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-12-07T20:09:43.105190Z 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-12-07T20:09:43.105192Z 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-12-07T20:09:43.105195Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270003:2723] (SourceId=sid_rand_53, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.105667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270003:2723] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.107174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270003:2723] (SourceId=sid_rand_53, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.107265Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270023:2723] connected; active server actors: 1
2025-12-07T20:09:43.107276Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270003:2723] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_53
2025-12-07T20:09:43.107280Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270003:2723] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.107325Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270023:2723] disconnected.
2025-12-07T20:09:43.107332Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270023:2723] disconnected; active server actors: 1
2025-12-07T20:09:43.107335Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270023:2723] disconnected no session
2025-12-07T20:09:43.109674Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270003:2723] (SourceId=sid_rand_53, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.109685Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270003:2723] (SourceId=sid_rand_53, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-07T20:09:43.109687Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270003:2723] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.109694Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 64 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-07T20:09:43.110060Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:43.110150Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_53|cd99344d-97c901f6-4a88f27a-68cf400b_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_53
2025-12-07T20:09:43.110387Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 64 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_53|cd99344d-97c901f6-4a88f27a-68cf400b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_53|cd99344d-97c901f6-4a88f27a-68cf400b_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.111064Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId: sid_rand_53|cd99344d-97c901f6-4a88f27a-68cf400b_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.111072Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 64 sessionId: sid_rand_53|cd99344d-97c901f6-4a88f27a-68cf400b_0 grpc read failed
2025-12-07T20:09:43.111077Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 64 sessionId: sid_rand_53|cd99344d-97c901f6-4a88f27a-68cf400b_0 grpc closed
2025-12-07T20:09:43.111080Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 64 sessionId: sid_rand_53|cd99344d-97c901f6-4a88f27a-68cf400b_0 is DEAD
2025-12-07T20:09:43.111305Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.111343Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.111349Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 65
2025-12-07T20:09:43.111422Z 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-12-07T20:09:43.111442Z 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]:55198
2025-12-07T20:09:43.111446Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=65 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.111448Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.111684Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 65 sessionId:  describe result for acl check
2025-12-07T20:09:43.111705Z 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-12-07T20:09:43.111706Z 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-12-07T20:09:43.111708Z 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-12-07T20:09:43.111711Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270052:2733] (SourceId=sid_rand_54, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.112063Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270052:2733] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.112984Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270052:2733] (SourceId=sid_rand_54, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.113050Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270068:2733] connected; active server actors: 1
2025-12-07T20:09:43.113081Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270052:2733] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_54
2025-12-07T20:09:43.113087Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270052:2733] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.113127Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270068:2733] disconnected.
2025-12-07T20:09:43.113132Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270068:2733] disconnected; active server actors: 1
2025-12-07T20:09:43.113134Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270068:2733] disconnected no session
2025-12-07T20:09:43.115362Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270052:2733] (SourceId=sid_rand_54, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.115371Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270052:2733] (SourceId=sid_rand_54, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-07T20:09:43.115373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270052:2733] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.115380Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 65 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-07T20:09:43.115732Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:43.115842Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_54|46b754f8-4e6a9a74-857884e5-bbcb5f99_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_54
2025-12-07T20:09:43.116129Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 65 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_54|46b754f8-4e6a9a74-857884e5-bbcb5f99_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_54|46b754f8-4e6a9a74-857884e5-bbcb5f99_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.116752Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId: sid_rand_54|46b754f8-4e6a9a74-857884e5-bbcb5f99_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.116762Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 65 sessionId: sid_rand_54|46b754f8-4e6a9a74-857884e5-bbcb5f99_0 grpc read failed
2025-12-07T20:09:43.116767Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 65 sessionId: sid_rand_54|46b754f8-4e6a9a74-857884e5-bbcb5f99_0 grpc closed
2025-12-07T20:09:43.116771Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 65 sessionId: sid_rand_54|46b754f8-4e6a9a74-857884e5-bbcb5f99_0 is DEAD
2025-12-07T20:09:43.116963Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.117011Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.117017Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 66
2025-12-07T20:09:43.117120Z 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-12-07T20:09:43.117147Z 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]:55198
2025-12-07T20:09:43.117156Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=66 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.117158Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.117496Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 66 sessionId:  describe result for acl check
2025-12-07T20:09:43.117518Z 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-12-07T20:09:43.117519Z 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-12-07T20:09:43.117520Z 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-12-07T20:09:43.117523Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270088:2737] (SourceId=sid_rand_55, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.117931Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270088:2737] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.119099Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270088:2737] (SourceId=sid_rand_55, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.119187Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270104:2737] connected; active server actors: 1
2025-12-07T20:09:43.119200Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270088:2737] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_55
2025-12-07T20:09:43.119203Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270088:2737] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.119234Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270104:2737] disconnected.
2025-12-07T20:09:43.119240Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270104:2737] disconnected; active server actors: 1
2025-12-07T20:09:43.119242Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270104:2737] disconnected no session
2025-12-07T20:09:43.121424Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270088:2737] (SourceId=sid_rand_55, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.121436Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270088:2737] (SourceId=sid_rand_55, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-07T20:09:43.121438Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270088:2737] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.121444Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 66 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-07T20:09:43.121982Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:43.122091Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_55|4b45e010-bcc65470-2dab7c7d-d3abb65f_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_55
2025-12-07T20:09:43.122359Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 66 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_55|4b45e010-bcc65470-2dab7c7d-d3abb65f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_55|4b45e010-bcc65470-2dab7c7d-d3abb65f_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.123017Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId: sid_rand_55|4b45e010-bcc65470-2dab7c7d-d3abb65f_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.123024Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 66 sessionId: sid_rand_55|4b45e010-bcc65470-2dab7c7d-d3abb65f_0 grpc read failed
2025-12-07T20:09:43.123028Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 66 sessionId: sid_rand_55|4b45e010-bcc65470-2dab7c7d-d3abb65f_0 grpc closed
2025-12-07T20:09:43.123032Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 66 sessionId: sid_rand_55|4b45e010-bcc65470-2dab7c7d-d3abb65f_0 is DEAD
2025-12-07T20:09:43.123265Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.123304Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.123310Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 67
2025-12-07T20:09:43.123393Z 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-12-07T20:09:43.123412Z 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]:55198
2025-12-07T20:09:43.123416Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=67 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.123419Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.123659Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 67 sessionId:  describe result for acl check
2025-12-07T20:09:43.123682Z 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-12-07T20:09:43.123684Z 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-12-07T20:09:43.123685Z 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-12-07T20:09:43.123688Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270124:2741] (SourceId=sid_rand_56, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.124044Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270124:2741] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.125426Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270124:2741] (SourceId=sid_rand_56, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.125519Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270140:2741] connected; active server actors: 1
2025-12-07T20:09:43.125530Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270124:2741] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_56
2025-12-07T20:09:43.125545Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270124:2741] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.125587Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270140:2741] disconnected.
2025-12-07T20:09:43.125592Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270140:2741] disconnected; active server actors: 1
2025-12-07T20:09:43.125594Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270140:2741] disconnected no session
2025-12-07T20:09:43.128064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270124:2741] (SourceId=sid_rand_56, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.128073Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270124:2741] (SourceId=sid_rand_56, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-07T20:09:43.128076Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270124:2741] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.128082Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 67 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-07T20:09:43.128346Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:43.128427Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_56|97bf45a6-fbc05538-664ba01a-859274c9_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_56
2025-12-07T20:09:43.128622Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 67 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_56|97bf45a6-fbc05538-664ba01a-859274c9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_56|97bf45a6-fbc05538-664ba01a-859274c9_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.129234Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId: sid_rand_56|97bf45a6-fbc05538-664ba01a-859274c9_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.129240Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 67 sessionId: sid_rand_56|97bf45a6-fbc05538-664ba01a-859274c9_0 grpc read failed
2025-12-07T20:09:43.129243Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 67 sessionId: sid_rand_56|97bf45a6-fbc05538-664ba01a-859274c9_0 grpc closed
2025-12-07T20:09:43.129246Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 67 sessionId: sid_rand_56|97bf45a6-fbc05538-664ba01a-859274c9_0 is DEAD
2025-12-07T20:09:43.129458Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.129495Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.129501Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 68
2025-12-07T20:09:43.129593Z 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-12-07T20:09:43.129637Z 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]:55198
2025-12-07T20:09:43.129643Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=68 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.129645Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.129898Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 68 sessionId:  describe result for acl check
2025-12-07T20:09:43.129919Z 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-12-07T20:09:43.129920Z 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-12-07T20:09:43.129921Z 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-12-07T20:09:43.129924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270160:2745] (SourceId=sid_rand_57, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.130303Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270160:2745] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.131527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270160:2745] (SourceId=sid_rand_57, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.131621Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270177:2745] connected; active server actors: 1
2025-12-07T20:09:43.131631Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270160:2745] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_57
2025-12-07T20:09:43.131633Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270160:2745] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.131687Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270177:2745] disconnected.
2025-12-07T20:09:43.131692Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270177:2745] disconnected; active server actors: 1
2025-12-07T20:09:43.131694Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270177:2745] disconnected no session
2025-12-07T20:09:43.134174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270160:2745] (SourceId=sid_rand_57, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.134184Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270160:2745] (SourceId=sid_rand_57, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-07T20:09:43.134187Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270160:2745] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.134192Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 68 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-07T20:09:43.134413Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:43.134447Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_57|6bd959bd-2b144f23-8061db1c-9824d7d6_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_57
2025-12-07T20:09:43.134531Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 68 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_57|6bd959bd-2b144f23-8061db1c-9824d7d6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_57|6bd959bd-2b144f23-8061db1c-9824d7d6_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.135173Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId: sid_rand_57|6bd959bd-2b144f23-8061db1c-9824d7d6_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.135182Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 68 sessionId: sid_rand_57|6bd959bd-2b144f23-8061db1c-9824d7d6_0 grpc read failed
2025-12-07T20:09:43.135187Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 68 sessionId: sid_rand_57|6bd959bd-2b144f23-8061db1c-9824d7d6_0 grpc closed
2025-12-07T20:09:43.135191Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 68 sessionId: sid_rand_57|6bd959bd-2b144f23-8061db1c-9824d7d6_0 is DEAD
2025-12-07T20:09:43.135437Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.135503Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.135512Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 69
2025-12-07T20:09:43.135593Z 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-12-07T20:09:43.135615Z 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]:55198
2025-12-07T20:09:43.135622Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=69 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.135624Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.135906Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 69 sessionId:  describe result for acl check
2025-12-07T20:09:43.135934Z 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-12-07T20:09:43.135936Z 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-12-07T20:09:43.135938Z 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-12-07T20:09:43.135943Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270198:2749] (SourceId=sid_rand_58, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.136327Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270198:2749] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.137868Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270198:2749] (SourceId=sid_rand_58, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.137961Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270214:2749] connected; active server actors: 1
2025-12-07T20:09:43.137974Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270198:2749] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_58
2025-12-07T20:09:43.137978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270198:2749] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.138028Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270214:2749] disconnected.
2025-12-07T20:09:43.138033Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270214:2749] disconnected; active server actors: 1
2025-12-07T20:09:43.138036Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270214:2749] disconnected no session
2025-12-07T20:09:43.140231Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270198:2749] (SourceId=sid_rand_58, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.140240Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270198:2749] (SourceId=sid_rand_58, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-07T20:09:43.140245Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270198:2749] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.140251Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 69 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-07T20:09:43.140496Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:43.140590Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_58|1d5c852e-b6a76cee-c7f0f7c6-c657c3d_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_58
2025-12-07T20:09:43.140864Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 69 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_58|1d5c852e-b6a76cee-c7f0f7c6-c657c3d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_58|1d5c852e-b6a76cee-c7f0f7c6-c657c3d_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.141465Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId: sid_rand_58|1d5c852e-b6a76cee-c7f0f7c6-c657c3d_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.141473Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 69 sessionId: sid_rand_58|1d5c852e-b6a76cee-c7f0f7c6-c657c3d_0 grpc read failed
2025-12-07T20:09:43.141479Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 69 sessionId: sid_rand_58|1d5c852e-b6a76cee-c7f0f7c6-c657c3d_0 grpc closed
2025-12-07T20:09:43.141483Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 69 sessionId: sid_rand_58|1d5c852e-b6a76cee-c7f0f7c6-c657c3d_0 is DEAD
2025-12-07T20:09:43.141732Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.141777Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.141784Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 70
2025-12-07T20:09:43.141873Z 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-12-07T20:09:43.141894Z 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]:55198
2025-12-07T20:09:43.141902Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=70 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.141904Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.142165Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 70 sessionId:  describe result for acl check
2025-12-07T20:09:43.142187Z 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-12-07T20:09:43.142188Z 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-12-07T20:09:43.142189Z 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-12-07T20:09:43.142192Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270234:2753] (SourceId=sid_rand_59, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.142565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270234:2753] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.143902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270234:2753] (SourceId=sid_rand_59, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.144016Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270250:2753] connected; active server actors: 1
2025-12-07T20:09:43.144027Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270234:2753] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_59
2025-12-07T20:09:43.144030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270234:2753] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.144068Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270250:2753] disconnected.
2025-12-07T20:09:43.144074Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270250:2753] disconnected; active server actors: 1
2025-12-07T20:09:43.144076Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270250:2753] disconnected no session
2025-12-07T20:09:43.146417Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270234:2753] (SourceId=sid_rand_59, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.146426Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270234:2753] (SourceId=sid_rand_59, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-07T20:09:43.146429Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270234:2753] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.146435Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 70 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-07T20:09:43.146665Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:43.146704Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_59|b38685be-ecbd56e7-6dfbff24-405e7448_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_59
2025-12-07T20:09:43.146784Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 70 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_59|b38685be-ecbd56e7-6dfbff24-405e7448_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_59|b38685be-ecbd56e7-6dfbff24-405e7448_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.147347Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId: sid_rand_59|b38685be-ecbd56e7-6dfbff24-405e7448_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.147360Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 70 sessionId: sid_rand_59|b38685be-ecbd56e7-6dfbff24-405e7448_0 grpc read failed
2025-12-07T20:09:43.147366Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 70 sessionId: sid_rand_59|b38685be-ecbd56e7-6dfbff24-405e7448_0 grpc closed
2025-12-07T20:09:43.147370Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 70 sessionId: sid_rand_59|b38685be-ecbd56e7-6dfbff24-405e7448_0 is DEAD
2025-12-07T20:09:43.147576Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.147627Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.147633Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 71
2025-12-07T20:09:43.147701Z 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-12-07T20:09:43.147721Z 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]:55198
2025-12-07T20:09:43.147724Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=71 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.147726Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.147971Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 71 sessionId:  describe result for acl check
2025-12-07T20:09:43.147991Z 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-12-07T20:09:43.147992Z 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-12-07T20:09:43.147993Z 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-12-07T20:09:43.147996Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270271:2757] (SourceId=sid_rand_60, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.148358Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270271:2757] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.149453Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270271:2757] (SourceId=sid_rand_60, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.149556Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270287:2757] connected; active server actors: 1
2025-12-07T20:09:43.149567Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270271:2757] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_60
2025-12-07T20:09:43.149570Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270271:2757] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.149608Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270287:2757] disconnected.
2025-12-07T20:09:43.149612Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270287:2757] disconnected; active server actors: 1
2025-12-07T20:09:43.149613Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270287:2757] disconnected no session
2025-12-07T20:09:43.151913Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270271:2757] (SourceId=sid_rand_60, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.151922Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270271:2757] (SourceId=sid_rand_60, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-07T20:09:43.151924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270271:2757] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.151929Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 71 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-07T20:09:43.152239Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:43.152329Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_60|78b7e954-6914a329-6d4f32f8-cbdbecf0_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_60
2025-12-07T20:09:43.152564Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 71 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_60|78b7e954-6914a329-6d4f32f8-cbdbecf0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_60|78b7e954-6914a329-6d4f32f8-cbdbecf0_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.153115Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId: sid_rand_60|78b7e954-6914a329-6d4f32f8-cbdbecf0_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.153122Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 71 sessionId: sid_rand_60|78b7e954-6914a329-6d4f32f8-cbdbecf0_0 grpc read failed
2025-12-07T20:09:43.153126Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 71 sessionId: sid_rand_60|78b7e954-6914a329-6d4f32f8-cbdbecf0_0 grpc closed
2025-12-07T20:09:43.153129Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 71 sessionId: sid_rand_60|78b7e954-6914a329-6d4f32f8-cbdbecf0_0 is DEAD
2025-12-07T20:09:43.153327Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.153376Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.153383Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 72
2025-12-07T20:09:43.153457Z 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-12-07T20:09:43.153477Z 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]:55198
2025-12-07T20:09:43.153483Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=72 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.153485Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.154034Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 72 sessionId:  describe result for acl check
2025-12-07T20:09:43.154057Z 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-12-07T20:09:43.154058Z 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-12-07T20:09:43.154059Z 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-12-07T20:09:43.154062Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270315:2762] (SourceId=sid_rand_61, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.154521Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270315:2762] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.155527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270315:2762] (SourceId=sid_rand_61, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.155574Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270332:2762] connected; active server actors: 1
2025-12-07T20:09:43.155596Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270315:2762] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_61
2025-12-07T20:09:43.155602Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270315:2762] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.155649Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270332:2762] disconnected.
2025-12-07T20:09:43.155657Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270332:2762] disconnected; active server actors: 1
2025-12-07T20:09:43.155659Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270332:2762] disconnected no session
2025-12-07T20:09:43.158127Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270315:2762] (SourceId=sid_rand_61, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.158138Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270315:2762] (SourceId=sid_rand_61, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-07T20:09:43.158140Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270315:2762] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.158146Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 72 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-07T20:09:43.158359Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:43.158437Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_61|19c6db31-2257d27e-4c1f2eb7-2b6be045_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_61
2025-12-07T20:09:43.158705Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 72 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_61|19c6db31-2257d27e-4c1f2eb7-2b6be045_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_61|19c6db31-2257d27e-4c1f2eb7-2b6be045_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.159263Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId: sid_rand_61|19c6db31-2257d27e-4c1f2eb7-2b6be045_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.159272Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 72 sessionId: sid_rand_61|19c6db31-2257d27e-4c1f2eb7-2b6be045_0 grpc read failed
2025-12-07T20:09:43.159277Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 72 sessionId: sid_rand_61|19c6db31-2257d27e-4c1f2eb7-2b6be045_0 grpc closed
2025-12-07T20:09:43.159281Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 72 sessionId: sid_rand_61|19c6db31-2257d27e-4c1f2eb7-2b6be045_0 is DEAD
2025-12-07T20:09:43.159347Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.159358Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 73
2025-12-07T20:09:43.159501Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.159528Z 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-12-07T20:09:43.159558Z 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]:55198
2025-12-07T20:09:43.159567Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=73 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.159570Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.159924Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 73 sessionId:  describe result for acl check
2025-12-07T20:09:43.159966Z 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-12-07T20:09:43.159971Z 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-12-07T20:09:43.159972Z 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-12-07T20:09:43.159976Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270353:2766] (SourceId=sid_rand_62, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.160407Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270353:2766] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.162241Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270353:2766] (SourceId=sid_rand_62, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.162308Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270369:2766] connected; active server actors: 1
2025-12-07T20:09:43.162324Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270353:2766] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_62
2025-12-07T20:09:43.162327Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270353:2766] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.162362Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270369:2766] disconnected.
2025-12-07T20:09:43.162368Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270369:2766] disconnected; active server actors: 1
2025-12-07T20:09:43.162370Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270369:2766] disconnected no session
2025-12-07T20:09:43.165014Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270353:2766] (SourceId=sid_rand_62, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.165023Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270353:2766] (SourceId=sid_rand_62, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-07T20:09:43.165026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270353:2766] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.165037Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 73 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-07T20:09:43.165159Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:43.165199Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_62|b2480414-292fb879-78d557c9-9ea32791_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_62
2025-12-07T20:09:43.165338Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 73 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_62|b2480414-292fb879-78d557c9-9ea32791_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_62|b2480414-292fb879-78d557c9-9ea32791_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.165992Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId: sid_rand_62|b2480414-292fb879-78d557c9-9ea32791_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.166001Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 73 sessionId: sid_rand_62|b2480414-292fb879-78d557c9-9ea32791_0 grpc read failed
2025-12-07T20:09:43.166008Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 73 sessionId: sid_rand_62|b2480414-292fb879-78d557c9-9ea32791_0 grpc closed
2025-12-07T20:09:43.166012Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 73 sessionId: sid_rand_62|b2480414-292fb879-78d557c9-9ea32791_0 is DEAD
2025-12-07T20:09:43.166125Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.166133Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 74
2025-12-07T20:09:43.166273Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.166282Z 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-12-07T20:09:43.166301Z 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]:55198
2025-12-07T20:09:43.166304Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=74 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.166307Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.166661Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 74 sessionId:  describe result for acl check
2025-12-07T20:09:43.166690Z 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-12-07T20:09:43.166692Z 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-12-07T20:09:43.166693Z 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-12-07T20:09:43.166697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270390:2770] (SourceId=sid_rand_63, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.167238Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270390:2770] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.168598Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270390:2770] (SourceId=sid_rand_63, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.168667Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270406:2770] connected; active server actors: 1
2025-12-07T20:09:43.168685Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270390:2770] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_63
2025-12-07T20:09:43.168690Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270390:2770] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.168736Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270406:2770] disconnected.
2025-12-07T20:09:43.168745Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270406:2770] disconnected; active server actors: 1
2025-12-07T20:09:43.168747Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270406:2770] disconnected no session
2025-12-07T20:09:43.171215Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270390:2770] (SourceId=sid_rand_63, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.171229Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270390:2770] (SourceId=sid_rand_63, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-07T20:09:43.171232Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270390:2770] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.171241Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 74 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-07T20:09:43.171484Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:43.171572Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_63|3cf4ea92-d6eda31a-37b272b-2a9ad8a6_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_63
2025-12-07T20:09:43.171881Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 74 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_63|3cf4ea92-d6eda31a-37b272b-2a9ad8a6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_63|3cf4ea92-d6eda31a-37b272b-2a9ad8a6_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.172523Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId: sid_rand_63|3cf4ea92-d6eda31a-37b272b-2a9ad8a6_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.172530Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 74 sessionId: sid_rand_63|3cf4ea92-d6eda31a-37b272b-2a9ad8a6_0 grpc read failed
2025-12-07T20:09:43.172536Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 74 sessionId: sid_rand_63|3cf4ea92-d6eda31a-37b272b-2a9ad8a6_0 grpc closed
2025-12-07T20:09:43.172541Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 74 sessionId: sid_rand_63|3cf4ea92-d6eda31a-37b272b-2a9ad8a6_0 is DEAD
2025-12-07T20:09:43.172636Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.172647Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 75
2025-12-07T20:09:43.172788Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.172808Z 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-12-07T20:09:43.172838Z 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]:55198
2025-12-07T20:09:43.172845Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=75 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.172847Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.173237Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 75 sessionId:  describe result for acl check
2025-12-07T20:09:43.173268Z 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-12-07T20:09:43.173270Z 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-12-07T20:09:43.173272Z 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-12-07T20:09:43.173276Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270426:2774] (SourceId=sid_rand_64, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.173857Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270426:2774] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.175498Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270426:2774] (SourceId=sid_rand_64, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.175568Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270442:2774] connected; active server actors: 1
2025-12-07T20:09:43.175590Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270426:2774] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_64
2025-12-07T20:09:43.175594Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270426:2774] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.175650Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270442:2774] disconnected.
2025-12-07T20:09:43.175658Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270442:2774] disconnected; active server actors: 1
2025-12-07T20:09:43.175661Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270442:2774] disconnected no session
2025-12-07T20:09:43.178430Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270426:2774] (SourceId=sid_rand_64, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.178444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270426:2774] (SourceId=sid_rand_64, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-07T20:09:43.178448Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270426:2774] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.178457Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 75 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-07T20:09:43.178592Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:43.178623Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_64|9280419c-6e81b458-e11466cd-4b37f998_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_64
2025-12-07T20:09:43.178757Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 75 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_64|9280419c-6e81b458-e11466cd-4b37f998_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_64|9280419c-6e81b458-e11466cd-4b37f998_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.179410Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId: sid_rand_64|9280419c-6e81b458-e11466cd-4b37f998_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.179420Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 75 sessionId: sid_rand_64|9280419c-6e81b458-e11466cd-4b37f998_0 grpc read failed
2025-12-07T20:09:43.179426Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 75 sessionId: sid_rand_64|9280419c-6e81b458-e11466cd-4b37f998_0 grpc closed
2025-12-07T20:09:43.179431Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 75 sessionId: sid_rand_64|9280419c-6e81b458-e11466cd-4b37f998_0 is DEAD
2025-12-07T20:09:43.179506Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.179514Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 76
2025-12-07T20:09:43.179650Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.179683Z 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-12-07T20:09:43.179700Z 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]:55198
2025-12-07T20:09:43.179703Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=76 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.179705Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.180002Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 76 sessionId:  describe result for acl check
2025-12-07T20:09:43.180027Z 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-12-07T20:09:43.180028Z 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-12-07T20:09:43.180030Z 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-12-07T20:09:43.180033Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270463:2778] (SourceId=sid_rand_65, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.180467Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270463:2778] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.181959Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270463:2778] (SourceId=sid_rand_65, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.182029Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270479:2778] connected; active server actors: 1
2025-12-07T20:09:43.182051Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270463:2778] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_65
2025-12-07T20:09:43.182056Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270463:2778] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.182099Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270479:2778] disconnected.
2025-12-07T20:09:43.182108Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270479:2778] disconnected; active server actors: 1
2025-12-07T20:09:43.182111Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270479:2778] disconnected no session
2025-12-07T20:09:43.185051Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270463:2778] (SourceId=sid_rand_65, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.185064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270463:2778] (SourceId=sid_rand_65, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-07T20:09:43.185067Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270463:2778] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.185075Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 76 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-07T20:09:43.185320Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:43.185412Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_65|cd844aff-1f971763-c7851761-15dff740_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_65
2025-12-07T20:09:43.185730Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 76 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_65|cd844aff-1f971763-c7851761-15dff740_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_65|cd844aff-1f971763-c7851761-15dff740_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.186298Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId: sid_rand_65|cd844aff-1f971763-c7851761-15dff740_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.186305Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 76 sessionId: sid_rand_65|cd844aff-1f971763-c7851761-15dff740_0 grpc read failed
2025-12-07T20:09:43.186310Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 76 sessionId: sid_rand_65|cd844aff-1f971763-c7851761-15dff740_0 grpc closed
2025-12-07T20:09:43.186315Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 76 sessionId: sid_rand_65|cd844aff-1f971763-c7851761-15dff740_0 is DEAD
2025-12-07T20:09:43.186367Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.186376Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 77
2025-12-07T20:09:43.186453Z 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-12-07T20:09:43.186475Z 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]:55198
2025-12-07T20:09:43.186481Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=77 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.186483Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.186541Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.186840Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 77 sessionId:  describe result for acl check
2025-12-07T20:09:43.186869Z 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-12-07T20:09:43.186875Z 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-12-07T20:09:43.186878Z 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-12-07T20:09:43.186882Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270499:2782] (SourceId=sid_rand_66, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.187446Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270499:2782] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.189289Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270499:2782] (SourceId=sid_rand_66, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.189359Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270515:2782] connected; active server actors: 1
2025-12-07T20:09:43.189379Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270499:2782] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_66
2025-12-07T20:09:43.189383Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270499:2782] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.189430Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270515:2782] disconnected.
2025-12-07T20:09:43.189438Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270515:2782] disconnected; active server actors: 1
2025-12-07T20:09:43.189441Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270515:2782] disconnected no session
2025-12-07T20:09:43.192245Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270499:2782] (SourceId=sid_rand_66, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.192259Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270499:2782] (SourceId=sid_rand_66, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-07T20:09:43.192262Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270499:2782] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.192270Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 77 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-07T20:09:43.192509Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:43.192589Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_66|5fb5e34d-698ad8a3-5f1bc322-5d9adac6_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_66
2025-12-07T20:09:43.192833Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 77 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_66|5fb5e34d-698ad8a3-5f1bc322-5d9adac6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_66|5fb5e34d-698ad8a3-5f1bc322-5d9adac6_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.193417Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId: sid_rand_66|5fb5e34d-698ad8a3-5f1bc322-5d9adac6_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.193424Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 77 sessionId: sid_rand_66|5fb5e34d-698ad8a3-5f1bc322-5d9adac6_0 grpc read failed
2025-12-07T20:09:43.193430Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 77 sessionId: sid_rand_66|5fb5e34d-698ad8a3-5f1bc322-5d9adac6_0 grpc closed
2025-12-07T20:09:43.193434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 77 sessionId: sid_rand_66|5fb5e34d-698ad8a3-5f1bc322-5d9adac6_0 is DEAD
2025-12-07T20:09:43.193663Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.193709Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.193717Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 78
2025-12-07T20:09:43.193821Z 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-12-07T20:09:43.193852Z 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]:55198
2025-12-07T20:09:43.193860Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=78 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.193864Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.194202Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 78 sessionId:  describe result for acl check
2025-12-07T20:09:43.194230Z 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-12-07T20:09:43.194235Z 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-12-07T20:09:43.194236Z 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-12-07T20:09:43.194240Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270535:2786] (SourceId=sid_rand_67, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.194632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270535:2786] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.196393Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270535:2786] (SourceId=sid_rand_67, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.196453Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270551:2786] connected; active server actors: 1
2025-12-07T20:09:43.196471Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270535:2786] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_67
2025-12-07T20:09:43.196479Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270535:2786] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.196516Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270551:2786] disconnected.
2025-12-07T20:09:43.196523Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270551:2786] disconnected; active server actors: 1
2025-12-07T20:09:43.196526Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270551:2786] disconnected no session
2025-12-07T20:09:43.199355Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270535:2786] (SourceId=sid_rand_67, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.199369Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270535:2786] (SourceId=sid_rand_67, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-07T20:09:43.199373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270535:2786] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.199381Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 78 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-07T20:09:43.199626Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:43.199705Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_67|84bcf4f1-8c587a7d-f7da5b0d-6bb24a10_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_67
2025-12-07T20:09:43.199957Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 78 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_67|84bcf4f1-8c587a7d-f7da5b0d-6bb24a10_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_67|84bcf4f1-8c587a7d-f7da5b0d-6bb24a10_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.200544Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId: sid_rand_67|84bcf4f1-8c587a7d-f7da5b0d-6bb24a10_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.200555Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 78 sessionId: sid_rand_67|84bcf4f1-8c587a7d-f7da5b0d-6bb24a10_0 grpc read failed
2025-12-07T20:09:43.200562Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 78 sessionId: sid_rand_67|84bcf4f1-8c587a7d-f7da5b0d-6bb24a10_0 grpc closed
2025-12-07T20:09:43.200566Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 78 sessionId: sid_rand_67|84bcf4f1-8c587a7d-f7da5b0d-6bb24a10_0 is DEAD
2025-12-07T20:09:43.200611Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.200622Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 79
2025-12-07T20:09:43.200695Z 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-12-07T20:09:43.200717Z 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]:55198
2025-12-07T20:09:43.200724Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=79 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.200726Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.200816Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.201054Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 79 sessionId:  describe result for acl check
2025-12-07T20:09:43.201076Z 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-12-07T20:09:43.201077Z 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-12-07T20:09:43.201079Z 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-12-07T20:09:43.201082Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270571:2790] (SourceId=sid_rand_68, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.201460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270571:2790] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.203003Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270571:2790] (SourceId=sid_rand_68, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.203069Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270587:2790] connected; active server actors: 1
2025-12-07T20:09:43.203085Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270571:2790] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_68
2025-12-07T20:09:43.203089Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270571:2790] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.203119Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270587:2790] disconnected.
2025-12-07T20:09:43.203125Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270587:2790] disconnected; active server actors: 1
2025-12-07T20:09:43.203128Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270587:2790] disconnected no session
2025-12-07T20:09:43.206045Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270571:2790] (SourceId=sid_rand_68, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.206058Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270571:2790] (SourceId=sid_rand_68, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-07T20:09:43.206061Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270571:2790] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.206068Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 79 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-07T20:09:43.206315Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:43.206410Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_68|7f6e2bc7-8a65cade-9b8818e2-66e8cb2f_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_68
2025-12-07T20:09:43.206679Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 79 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_68|7f6e2bc7-8a65cade-9b8818e2-66e8cb2f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_68|7f6e2bc7-8a65cade-9b8818e2-66e8cb2f_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.207218Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId: sid_rand_68|7f6e2bc7-8a65cade-9b8818e2-66e8cb2f_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.207228Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 79 sessionId: sid_rand_68|7f6e2bc7-8a65cade-9b8818e2-66e8cb2f_0 grpc read failed
2025-12-07T20:09:43.207234Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 79 sessionId: sid_rand_68|7f6e2bc7-8a65cade-9b8818e2-66e8cb2f_0 grpc closed
2025-12-07T20:09:43.207238Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 79 sessionId: sid_rand_68|7f6e2bc7-8a65cade-9b8818e2-66e8cb2f_0 is DEAD
2025-12-07T20:09:43.207393Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.207401Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 80
2025-12-07T20:09:43.207440Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.207546Z 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-12-07T20:09:43.207580Z 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]:55198
2025-12-07T20:09:43.207584Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=80 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.207591Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.207994Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 80 sessionId:  describe result for acl check
2025-12-07T20:09:43.208022Z 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-12-07T20:09:43.208024Z 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-12-07T20:09:43.208025Z 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-12-07T20:09:43.208028Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270610:2794] (SourceId=sid_rand_69, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.208470Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270610:2794] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.210150Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270610:2794] (SourceId=sid_rand_69, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.210211Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270626:2794] connected; active server actors: 1
2025-12-07T20:09:43.210233Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270610:2794] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_69
2025-12-07T20:09:43.210242Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270610:2794] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.210287Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270626:2794] disconnected.
2025-12-07T20:09:43.210295Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270626:2794] disconnected; active server actors: 1
2025-12-07T20:09:43.210298Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270626:2794] disconnected no session
2025-12-07T20:09:43.212477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270610:2794] (SourceId=sid_rand_69, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.212489Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270610:2794] (SourceId=sid_rand_69, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-07T20:09:43.212492Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270610:2794] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.212499Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 80 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-07T20:09:43.212715Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:43.212778Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_69|98981481-87e564b5-eaeb4050-3ee0a1ec_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_69
2025-12-07T20:09:43.213010Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 80 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_69|98981481-87e564b5-eaeb4050-3ee0a1ec_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_69|98981481-87e564b5-eaeb4050-3ee0a1ec_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.213547Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId: sid_rand_69|98981481-87e564b5-eaeb4050-3ee0a1ec_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.213556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 80 sessionId: sid_rand_69|98981481-87e564b5-eaeb4050-3ee0a1ec_0 grpc read failed
2025-12-07T20:09:43.213562Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 80 sessionId: sid_rand_69|98981481-87e564b5-eaeb4050-3ee0a1ec_0 grpc closed
2025-12-07T20:09:43.213566Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 80 sessionId: sid_rand_69|98981481-87e564b5-eaeb4050-3ee0a1ec_0 is DEAD
2025-12-07T20:09:43.213665Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.213673Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 81
2025-12-07T20:09:43.213781Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.213810Z 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-12-07T20:09:43.213831Z 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]:55198
2025-12-07T20:09:43.213837Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=81 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.213840Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.214163Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 81 sessionId:  describe result for acl check
2025-12-07T20:09:43.214189Z 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-12-07T20:09:43.214190Z 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-12-07T20:09:43.214191Z 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-12-07T20:09:43.214194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270646:2798] (SourceId=sid_rand_70, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.214566Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270646:2798] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.216205Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270646:2798] (SourceId=sid_rand_70, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.216262Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270662:2798] connected; active server actors: 1
2025-12-07T20:09:43.216285Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270646:2798] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_70
2025-12-07T20:09:43.216290Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270646:2798] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.216332Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270662:2798] disconnected.
2025-12-07T20:09:43.216340Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270662:2798] disconnected; active server actors: 1
2025-12-07T20:09:43.216343Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270662:2798] disconnected no session
2025-12-07T20:09:43.218664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270646:2798] (SourceId=sid_rand_70, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.218676Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270646:2798] (SourceId=sid_rand_70, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-07T20:09:43.218680Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270646:2798] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.218686Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 81 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-07T20:09:43.218912Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-07T20:09:43.219048Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_70|b415c416-e935394a-52a72b9a-fea2dfac_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_70
2025-12-07T20:09:43.219323Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 81 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_70|b415c416-e935394a-52a72b9a-fea2dfac_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_70|b415c416-e935394a-52a72b9a-fea2dfac_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.219759Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId: sid_rand_70|b415c416-e935394a-52a72b9a-fea2dfac_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.219768Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 81 sessionId: sid_rand_70|b415c416-e935394a-52a72b9a-fea2dfac_0 grpc read failed
2025-12-07T20:09:43.219773Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 81 sessionId: sid_rand_70|b415c416-e935394a-52a72b9a-fea2dfac_0 grpc closed
2025-12-07T20:09:43.219777Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 81 sessionId: sid_rand_70|b415c416-e935394a-52a72b9a-fea2dfac_0 is DEAD
2025-12-07T20:09:43.219814Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.219822Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 82
2025-12-07T20:09:43.219892Z 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-12-07T20:09:43.219911Z 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]:55198
2025-12-07T20:09:43.219916Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=82 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.219919Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.220015Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.220182Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 82 sessionId:  describe result for acl check
2025-12-07T20:09:43.220201Z 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-12-07T20:09:43.220206Z 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-12-07T20:09:43.220207Z 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-12-07T20:09:43.220210Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270682:2802] (SourceId=sid_rand_71, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.220544Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270682:2802] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.221819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270682:2802] (SourceId=sid_rand_71, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.221896Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270698:2802] connected; active server actors: 1
2025-12-07T20:09:43.221918Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270682:2802] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_71
2025-12-07T20:09:43.221921Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270682:2802] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.221951Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270698:2802] disconnected.
2025-12-07T20:09:43.221959Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270698:2802] disconnected; active server actors: 1
2025-12-07T20:09:43.221961Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270698:2802] disconnected no session
2025-12-07T20:09:43.224331Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270682:2802] (SourceId=sid_rand_71, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.224343Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270682:2802] (SourceId=sid_rand_71, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-07T20:09:43.224347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270682:2802] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.224353Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 82 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-07T20:09:43.224463Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:43.224492Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_71|29562cb6-af899133-96660081-528a7782_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_71
2025-12-07T20:09:43.224587Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 82 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_71|29562cb6-af899133-96660081-528a7782_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_71|29562cb6-af899133-96660081-528a7782_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.225113Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId: sid_rand_71|29562cb6-af899133-96660081-528a7782_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.225122Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 82 sessionId: sid_rand_71|29562cb6-af899133-96660081-528a7782_0 grpc read failed
2025-12-07T20:09:43.225127Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 82 sessionId: sid_rand_71|29562cb6-af899133-96660081-528a7782_0 grpc closed
2025-12-07T20:09:43.225131Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 82 sessionId: sid_rand_71|29562cb6-af899133-96660081-528a7782_0 is DEAD
2025-12-07T20:09:43.225200Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.225207Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 83
2025-12-07T20:09:43.225333Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.225365Z 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-12-07T20:09:43.225379Z 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]:55198
2025-12-07T20:09:43.225386Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=83 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.225389Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.225702Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 83 sessionId:  describe result for acl check
2025-12-07T20:09:43.225724Z 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-12-07T20:09:43.225726Z 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-12-07T20:09:43.225727Z 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-12-07T20:09:43.225729Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270719:2806] (SourceId=sid_rand_72, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.226025Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270719:2806] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.227382Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270719:2806] (SourceId=sid_rand_72, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.227439Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270735:2806] connected; active server actors: 1
2025-12-07T20:09:43.227459Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270719:2806] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_72
2025-12-07T20:09:43.227463Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270719:2806] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.227503Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270735:2806] disconnected.
2025-12-07T20:09:43.227509Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270735:2806] disconnected; active server actors: 1
2025-12-07T20:09:43.227512Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270735:2806] disconnected no session
2025-12-07T20:09:43.229923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270719:2806] (SourceId=sid_rand_72, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.229931Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270719:2806] (SourceId=sid_rand_72, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-07T20:09:43.229946Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270719:2806] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.229951Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 83 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-07T20:09:43.230225Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:43.230332Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_72|aaf16a4b-3ef560e-8994c8f4-683fb454_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_72
2025-12-07T20:09:43.230617Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 83 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_72|aaf16a4b-3ef560e-8994c8f4-683fb454_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_72|aaf16a4b-3ef560e-8994c8f4-683fb454_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.231127Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId: sid_rand_72|aaf16a4b-3ef560e-8994c8f4-683fb454_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.231136Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 83 sessionId: sid_rand_72|aaf16a4b-3ef560e-8994c8f4-683fb454_0 grpc read failed
2025-12-07T20:09:43.231141Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 83 sessionId: sid_rand_72|aaf16a4b-3ef560e-8994c8f4-683fb454_0 grpc closed
2025-12-07T20:09:43.231145Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 83 sessionId: sid_rand_72|aaf16a4b-3ef560e-8994c8f4-683fb454_0 is DEAD
2025-12-07T20:09:43.231213Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.231224Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 84
2025-12-07T20:09:43.231351Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.231361Z 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-12-07T20:09:43.231384Z 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]:55198
2025-12-07T20:09:43.231392Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=84 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.231394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.231750Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 84 sessionId:  describe result for acl check
2025-12-07T20:09:43.231771Z 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-12-07T20:09:43.231772Z 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-12-07T20:09:43.231774Z 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-12-07T20:09:43.231776Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270755:2810] (SourceId=sid_rand_73, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.232147Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270755:2810] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.233706Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270755:2810] (SourceId=sid_rand_73, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.233766Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270771:2810] connected; active server actors: 1
2025-12-07T20:09:43.233785Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270755:2810] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_73
2025-12-07T20:09:43.233791Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270755:2810] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.233948Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270771:2810] disconnected.
2025-12-07T20:09:43.233959Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270771:2810] disconnected; active server actors: 1
2025-12-07T20:09:43.233961Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270771:2810] disconnected no session
2025-12-07T20:09:43.236569Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270755:2810] (SourceId=sid_rand_73, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.236580Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270755:2810] (SourceId=sid_rand_73, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-07T20:09:43.236584Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270755:2810] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.236591Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 84 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-07T20:09:43.236832Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-07T20:09:43.236950Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_73|361fac94-2117b2b4-c589a875-bdcde308_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_73
2025-12-07T20:09:43.237250Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 84 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_73|361fac94-2117b2b4-c589a875-bdcde308_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_73|361fac94-2117b2b4-c589a875-bdcde308_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-07T20:09:43.237894Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId: sid_rand_73|361fac94-2117b2b4-c589a875-bdcde308_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.237906Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 84 sessionId: sid_rand_73|361fac94-2117b2b4-c589a875-bdcde308_0 grpc read failed
2025-12-07T20:09:43.237913Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 84 sessionId: sid_rand_73|361fac94-2117b2b4-c589a875-bdcde308_0 grpc closed
2025-12-07T20:09:43.237918Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 84 sessionId: sid_rand_73|361fac94-2117b2b4-c589a875-bdcde308_0 is DEAD
2025-12-07T20:09:43.237963Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-07T20:09:43.237971Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 85
2025-12-07T20:09:43.238036Z 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-12-07T20:09:43.238056Z 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]:55198
2025-12-07T20:09:43.238060Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=85 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:55198 proto=v1  topic=topic1 durationSec=0
2025-12-07T20:09:43.238063Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-07T20:09:43.238188Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-07T20:09:43.238423Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 85 sessionId:  describe result for acl check
2025-12-07T20:09:43.238456Z 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-12-07T20:09:43.238457Z 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-12-07T20:09:43.238459Z 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-12-07T20:09:43.238462Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7581210770581270791:2814] (SourceId=sid_rand_74, PreferedPartition=(NULL)) StartKqpSession
2025-12-07T20:09:43.238946Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7581210770581270791:2814] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Select from the table
2025-12-07T20:09:43.240432Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7581210770581270791:2814] (SourceId=sid_rand_74, PreferedPartition=(NULL)) RequestPQRB
2025-12-07T20:09:43.240500Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270807:2814] connected; active server actors: 1
2025-12-07T20:09:43.240523Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7581210770581270791:2814] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_74
2025-12-07T20:09:43.240527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7581210770581270791:2814] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Update the table
2025-12-07T20:09:43.240573Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270807:2814] disconnected.
2025-12-07T20:09:43.240581Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270807:2814] disconnected; active server actors: 1
2025-12-07T20:09:43.240584Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7581210770581270807:2814] disconnected no session
2025-12-07T20:09:43.243248Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7581210770581270791:2814] (SourceId=sid_rand_74, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-07T20:09:43.243258Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7581210770581270791:2814] (SourceId=sid_rand_74, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-07T20:09:43.243261Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7581210770581270791:2814] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Start idle
2025-12-07T20:09:43.243266Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 85 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-07T20:09:43.243377Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-07T20:09:43.243417Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_74|7b20e5f2-d51ce246-1a5ed0ac-a8440e2e_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_74
2025-12-07T20:09:43.243564Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 85 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_74|7b20e5f2-d51ce246-1a5ed0ac-a8440e2e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_74|7b20e5f2-d51ce246-1a5ed0ac-a8440e2e_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
Round robin check: 0:5
Round robin check: 1:4
Round robin check: 2:4
Round robin check: 3:4
Round robin check: 4:6
Round robin check: 5:6
Round robin check: 6:6
Round robin check: 7:5
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:5
2025-12-07T20:09:43.244163Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId: sid_rand_74|7b20e5f2-d51ce246-1a5ed0ac-a8440e2e_0 grpc read done: success: 0 data: 
2025-12-07T20:09:43.244174Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 85 sessionId: sid_rand_74|7b20e5f2-d51ce246-1a5ed0ac-a8440e2e_0 grpc read failed
2025-12-07T20:09:43.244181Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 85 sessionId: sid_rand_74|7b20e5f2-d51ce246-1a5ed0ac-a8440e2e_0 grpc closed
2025-12-07T20:09:43.244186Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 85 sessionId: sid_rand_74|7b20e5f2-d51ce246-1a5ed0ac-a8440e2e_0 is DEAD
2025-12-07T20:09:43.244471Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
