2025-12-05T14:06:12.395393Z node 17 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[17:7580374922450398879:2079];send_to=[0:7307199536658146131:7762515];
2025-12-05T14:06:12.395459Z 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-05T14:06:12.604907Z node 17 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/kvke/0019f1/r3tmp/tmpfUkLsA/pdisk_1.dat
2025-12-05T14:06:12.632576Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-12-05T14:06:12.673996Z node 18 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-12-05T14:06:12.702212Z 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-05T14:06:12.702363Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=incorrect path status: LookupError;
2025-12-05T14:06:12.848008Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-12-05T14:06:12.878040Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-12-05T14:06:12.878171Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-12-05T14:06:12.881821Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-12-05T14:06:12.881930Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-12-05T14:06:12.887802Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-12-05T14:06:12.891177Z node 17 :HIVE WARN: hive_impl.cpp:811: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 18 Cookie 18
2025-12-05T14:06:12.893431Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-12-05T14:06:12.907456Z 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
TServer::EnableGrpc on GrpcPort 8378, node 17
2025-12-05T14:06:13.064545Z 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-05T14:06:13.101279Z 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/kvke/0019f1/r3tmp/yandexyaqoZF.tmp
2025-12-05T14:06:13.101309Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/kvke/0019f1/r3tmp/yandexyaqoZF.tmp
2025-12-05T14:06:13.101478Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/kvke/0019f1/r3tmp/yandexyaqoZF.tmp
2025-12-05T14:06:13.101611Z node 17 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-12-05T14:06:13.191661Z INFO: TTestServer started on Port 15701 GrpcPort 8378
2025-12-05T14:06:13.497443Z 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-05T14:06:13.612078Z node 18 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
TClient is connected to server localhost:15701
PQClient connected to localhost:8378
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-05T14:06:13.878366Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976710657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
waiting...
waiting...
2025-12-05T14:06:13.942477Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710659:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
waiting...
waiting...
waiting...
2025-12-05T14:06:17.404263Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[17:7580374922450398879:2079];send_to=[0:7307199536658146131:7762515];
2025-12-05T14:06:17.404365Z 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-05T14:06:19.134360Z node 17 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:565: Compilation failed, self: [17:7580374952515171046:2326], status: SCHEME_ERROR, issues: <main>: Error: Type annotation, code: 1030
    <main>:3:16: Error: At function: KiReadTable!
        <main>:3:16: Error: Cannot find table 'db.[/Root/PQ/Config/V2/Cluster]' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions., code: 2003
2025-12-05T14:06:19.138218Z node 17 :KQP_SESSION WARN: kqp_session_actor.cpp:2417: SessionId: ydb://session/3?node_id=17&id=OGNjOGFiZTgtNDM5YmFjMi03ODQyYTIwLTg3OTU4Y2Ux, ActorId: [17:7580374952515171043:2324], ActorState: ExecuteState, TraceId: 01kbqdbhwz00repw28v0f87z8s, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-12-05T14:06:19.138724Z node 17 :PERSQUEUE_CLUSTER_TRACKER ERROR: cluster_tracker.cpp:167: failed to list clusters: { Response { QueryIssues { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 3 column: 16 } message: "At function: KiReadTable!" end_position { row: 3 column: 16 } severity: 1 issues { position { row: 3 column: 16 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Cluster]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 3 column: 16 } issue_code: 2003 severity: 1 } } } TxMeta { } } YdbStatus: SCHEME_ERROR ConsumedRu: 1 }
2025-12-05T14:06:19.180644Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710662:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
2025-12-05T14:06:19.203080Z node 18 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:565: Compilation failed, self: [18:7580374952165248481:2299], status: SCHEME_ERROR, issues: <main>: Error: Type annotation, code: 1030
    <main>:3:16: Error: At function: KiReadTable!
        <main>:3:16: Error: Cannot find table 'db.[/Root/PQ/Config/V2/Cluster]' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions., code: 2003
2025-12-05T14:06:19.212237Z node 18 :KQP_SESSION WARN: kqp_session_actor.cpp:2417: SessionId: ydb://session/3?node_id=18&id=ODU4Zjc4MjEtMzczY2ViNC0zNGFlMjZmOC01MjQyYjY3ZA==, ActorId: [18:7580374952165248479:2298], ActorState: ExecuteState, TraceId: 01kbqdbhyt2bes54hpj2epdg5x, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-12-05T14:06:19.212724Z node 18 :PERSQUEUE_CLUSTER_TRACKER ERROR: cluster_tracker.cpp:167: failed to list clusters: { Response { QueryIssues { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 3 column: 16 } message: "At function: KiReadTable!" end_position { row: 3 column: 16 } severity: 1 issues { position { row: 3 column: 16 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Cluster]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 3 column: 16 } issue_code: 2003 severity: 1 } } } TxMeta { } } YdbStatus: SCHEME_ERROR ConsumedRu: 1 }
2025-12-05T14:06:19.319657Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710663:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
2025-12-05T14:06:19.571915Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710664:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
=== Init DC: UPSERT INTO `/Root/PQ/Config/V2/Cluster` (name, balancer, local, enabled, weight) VALUES ("dc1", "localhost", true, true, 1000), ("dc2", "dc2.logbroker.yandex.net", false, true, 1000);
2025-12-05T14:06:20.118682Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976710665. Ctx: { TraceId: 01kbqdbjk6eb6b2ajb9gwd92w7, Database: , SessionId: ydb://session/3?node_id=17&id=ZTVlMjU2ODYtYjU1ZDU3NjUtZWI5YjUzNDYtN2I0ZDU3ZTA=, PoolId: , DatabaseId: /Root}. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [17:7580374956810138796:3048] 
=== CheckClustersList. Ok
PQ Client: create topic: rt3.dc1--topic1 with 10 partitions
CallPersQueueGRPC request to localhost:8378
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
CallPersQueueGRPC response:
Status: 128
ErrorReason: "the following topics are not created: rt3.dc1--topic1, Marker# PQ95"
ErrorCode: UNKNOWN_TOPIC
2025-12-05T14:06:25.902257Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1531: proxy answer <none>
CallPersQueueGRPC request to localhost:8378
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: 281474976710676
  SchemeShardTabletId: 72057594046644480
  PathId: 9
}
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-05T14:06:25.985028Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T14:06:25.985098Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037893] doesn't have tx writes info
2025-12-05T14:06:25.989909Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][] pipe [17:7580374978284975734:3303] connected; active server actors: 1
2025-12-05T14:06:25.991807Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1517: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [3, 0, 1, 6, 8, 9, 2, 5, 7, 4]
2025-12-05T14:06:25.993345Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:969: [72075186224037894][rt3.dc1--topic1] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037894
2025-12-05T14:06:26.000095Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T14:06:26.000152Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037892] doesn't have tx writes info
2025-12-05T14:06:26.001467Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:402: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037892, NodeId 18, Generation 1
2025-12-05T14:06:26.005098Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:138: [72075186224037894][rt3.dc1--topic1] BALANCER INIT DONE for rt3.dc1--topic1: (0, 72075186224037892) (1, 72075186224037892) (2, 72075186224037893) (3, 72075186224037892) (4, 72075186224037893) (5, 72075186224037893) (6, 72075186224037892) (7, 72075186224037893) (8, 72075186224037892) (9, 72075186224037893) 
2025-12-05T14:06:26.005194Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:402: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037893, NodeId 17, Generation 1
2025-12-05T14:06:26.043715Z node 17 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037893][Partition][9][StateInit] bootstrapping 9 [17:7580374982579943122:2442]
2025-12-05T14:06:26.048612Z node 17 :PERSQUEUE INFO: partition.cpp:692: [72075186224037893][Partition][9][StateInit] init complete for topic 'rt3.dc1--topic1' partition 9 generation 1 [17:7580374982579943122:2442]
2025-12-05T14:06:26.051285Z node 17 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037893][Partition][2][StateInit] bootstrapping 2 [17:7580374982579943123:2442]
2025-12-05T14:06:26.054598Z node 17 :PERSQUEUE INFO: partition.cpp:692: [72075186224037893][Partition][2][StateInit] init complete for topic 'rt3.dc1--topic1' partition 2 generation 1 [17:7580374982579943123:2442]
2025-12-05T14:06:26.057242Z node 17 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037893][Partition][5][StateInit] bootstrapping 5 [17:7580374982579943125:2442]
2025-12-05T14:06:26.057185Z node 18 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037892][Partition][3][StateInit] bootstrapping 3 [18:7580374982230019931:2368]
2025-12-05T14:06:26.062516Z node 18 :PERSQUEUE INFO: partition.cpp:692: [72075186224037892][Partition][3][StateInit] init complete for topic 'rt3.dc1--topic1' partition 3 generation 1 [18:7580374982230019931:2368]
2025-12-05T14:06:26.060840Z node 17 :PERSQUEUE INFO: partition.cpp:692: [72075186224037893][Partition][5][StateInit] init complete for topic 'rt3.dc1--topic1' partition 5 generation 1 [17:7580374982579943125:2442]
2025-12-05T14:06:26.063144Z node 17 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037893][Partition][7][StateInit] bootstrapping 7 [17:7580374982579943126:2442]
2025-12-05T14:06:26.065376Z node 18 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [18:7580374982230019932:2368]
2025-12-05T14:06:26.066147Z node 17 :PERSQUEUE INFO: partition.cpp:692: [72075186224037893][Partition][7][StateInit] init complete for topic 'rt3.dc1--topic1' partition 7 generation 1 [17:7580374982579943126:2442]
2025-12-05T14:06:26.068280Z node 17 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037893][Partition][4][StateInit] bootstrapping 4 [17:7580374982579943127:2442]
2025-12-05T14:06:26.068851Z node 18 :PERSQUEUE INFO: partition.cpp:692: [72075186224037892][Partition][0][StateInit] init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [18:7580374982230019932:2368]
2025-12-05T14:06:26.071521Z node 18 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037892][Partition][1][StateInit] bootstrapping 1 [18:7580374982230019933:2368]
2025-12-05T14:06:26.074690Z node 18 :PERSQUEUE INFO: partition.cpp:692: [72075186224037892][Partition][1][StateInit] init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [18:7580374982230019933:2368]
2025-12-05T14:06:26.076890Z node 17 :PERSQUEUE INFO: partition.cpp:692: [72075186224037893][Partition][4][StateInit] init complete for topic 'rt3.dc1--topic1' partition 4 generation 1 [17:7580374982579943127:2442]
2025-12-05T14:06:26.077610Z node 18 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037892][Partition][6][StateInit] bootstrapping 6 [18:7580374982230019934:2368]
2025-12-05T14:06:26.080957Z node 18 :PERSQUEUE INFO: partition.cpp:692: [72075186224037892][Partition][6][StateInit] init complete for topic 'rt3.dc1--topic1' partition 6 generation 1 [18:7580374982230019934:2368]
2025-12-05T14:06:26.083337Z node 18 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037892][Partition][8][StateInit] bootstrapping 8 [18:7580374982230019935:2368]
2025-12-05T14:06:26.086894Z node 18 :PERSQUEUE INFO: partition.cpp:692: [72075186224037892][Partition][8][StateInit] init complete for topic 'rt3.dc1--topic1' partition 8 generation 1 [18:7580374982230019935:2368]
2025-12-05T14:06:26.106616Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T14:06:26.123292Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T14:06:26.216835Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976710677. Ctx: { TraceId: 01kbqdbrnz507ge0hp94q73v08, Database: , SessionId: ydb://session/3?node_id=17&id=YTdjM2I2NTAtM2QzODNkZjctZTYwMGIyMjgtYTYxZWFhNjY=, PoolId: , DatabaseId: /Root}. Database not set, use /Root
===Query complete
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976710676
    CreateStep: 1764943586070
    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: 9
    TotalGroupCount: 10
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976710676
    CreateStep: 1764943586070
    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: 9
    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: 8
    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:8378
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-05T14:06:26.289376Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1531: 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:8378
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 1
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 1
2025-12-05T14:06:26.798160Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1531: proxy answer <none>
2025-12-05T14:06:26.812793Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:26.812827Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-12-05T14:06:26.814986Z 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-05T14:06:26.815163Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:56664
2025-12-05T14:06:26.815186Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:26.815197Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:26.817474Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-12-05T14:06:26.817666Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:26.817680Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:26.817693Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:26.817717Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374982579943311:2467] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:26.822230Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374982579943311:2467] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:27.097389Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374982579943311:2467] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:27.104431Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374986874910659:2467] connected; active server actors: 1
2025-12-05T14:06:27.107582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374982579943311:2467] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=12345678
2025-12-05T14:06:27.107633Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374982579943311:2467] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:27.113657Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374986874910659:2467] disconnected; active server actors: 1
2025-12-05T14:06:27.113714Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374986874910659:2467] disconnected no session
2025-12-05T14:06:27.388706Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374982579943311:2467] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:27.388756Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374982579943311:2467] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-05T14:06:27.388783Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374982579943311:2467] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:27.388826Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-05T14:06:27.392239Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:27.392566Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 12345678|4e39cca4-e562659-6d83cdc7-60f6e95e_0 generated for partition 6 topic 'rt3.dc1--topic1' owner 12345678
2025-12-05T14:06:27.393943Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 6 MaxSeqNo: 0 sessionId: 12345678|4e39cca4-e562659-6d83cdc7-60f6e95e_0
2025-12-05T14:06:27.400656Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: 12345678|4e39cca4-e562659-6d83cdc7-60f6e95e_0 grpc read done: success: 0 data: 
2025-12-05T14:06:27.400688Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: 12345678|4e39cca4-e562659-6d83cdc7-60f6e95e_0 grpc read failed
2025-12-05T14:06:27.400867Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 1 sessionId: 12345678|4e39cca4-e562659-6d83cdc7-60f6e95e_0
2025-12-05T14:06:27.400891Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: 12345678|4e39cca4-e562659-6d83cdc7-60f6e95e_0 is DEAD
2025-12-05T14:06:27.401264Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
Finish: 0 
2025-12-05T14:06:27.405526Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:27.405564Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-12-05T14:06:27.408886Z 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-05T14:06:27.409162Z 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]:56664
2025-12-05T14:06:27.409195Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:27.409209Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:27.411081Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-12-05T14:06:27.411249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:27.411263Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:27.411279Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:27.411304Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374986874910680:2481] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:27.419902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374986874910680:2481] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:27.432949Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374986874910680:2481] (SourceId=source, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:27.436841Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374986874910712:2481] connected; active server actors: 1
2025-12-05T14:06:27.437084Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374986874910680:2481] (SourceId=source, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=source
2025-12-05T14:06:27.437124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374986874910680:2481] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:27.439771Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374986874910712:2481] disconnected; active server actors: 1
2025-12-05T14:06:27.439849Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374986874910712:2481] disconnected no session
2025-12-05T14:06:27.453438Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374986874910680:2481] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:27.453492Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374986874910680:2481] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-05T14:06:27.453515Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374986874910680:2481] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:27.453560Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-05T14:06:27.455162Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:27.455341Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|90f5d400-f0551e56-fcfb732b-325814d1_0 generated for partition 7 topic 'rt3.dc1--topic1' owner source
2025-12-05T14:06:27.455969Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 7 MaxSeqNo: 0 sessionId: source|90f5d400-f0551e56-fcfb732b-325814d1_0
request: { write_request { sequence_numbers: 2 created_at_ms: 1764943587458 sent_at_ms: 1764943587458 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-05T14:06:27.460875Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|90f5d400-f0551e56-fcfb732b-325814d1_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T14:06:27.461231Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T14:06:27.461630Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T14:06:27.534611Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 3 created_at_ms: 1764943587540 sent_at_ms: 1764943587540 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-05T14:06:27.544663Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|90f5d400-f0551e56-fcfb732b-325814d1_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T14:06:27.545063Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T14:06:27.545524Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T14:06:27.551566Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 4 created_at_ms: 1764943587552 sent_at_ms: 1764943587552 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-05T14:06:27.553352Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|90f5d400-f0551e56-fcfb732b-325814d1_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T14:06:27.553609Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T14:06:27.554095Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T14:06:27.562473Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 5 created_at_ms: 1764943587568 sent_at_ms: 1764943587568 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-05T14:06:27.569231Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|90f5d400-f0551e56-fcfb732b-325814d1_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T14:06:27.569589Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T14:06:27.570091Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T14:06:27.695045Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
1 0 
CallPersQueueGRPC request to localhost:8378
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-05T14:06:27.696920Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|90f5d400-f0551e56-fcfb732b-325814d1_0 grpc read done: success: 0 data: 
2025-12-05T14:06:27.696974Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: source|90f5d400-f0551e56-fcfb732b-325814d1_0 grpc read failed
2025-12-05T14:06:27.697161Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 2 sessionId: source|90f5d400-f0551e56-fcfb732b-325814d1_0
2025-12-05T14:06:27.697187Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: source|90f5d400-f0551e56-fcfb732b-325814d1_0 is DEAD
2025-12-05T14:06:27.697595Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
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:8378
MetaRequest {
  CmdChangeTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 15
  }
}
2025-12-05T14:06:27.701923Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1531: proxy answer <none>
2025-12-05T14:06:27.707783Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterPersQueueGroup, opId: 281474976710687:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_pq.cpp:313)
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976710687
  SchemeShardTabletId: 72057594046644480
}
ErrorCode: OK
Alter got 1
2025-12-05T14:06:27.761621Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1517: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [11, 13, 14, 12, 10]
2025-12-05T14:06:27.769568Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T14:06:27.769626Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037895] doesn't have tx writes info
2025-12-05T14:06:27.798946Z node 17 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037895][Partition][11][StateInit] bootstrapping 11 [17:7580374986874910905:2495]
2025-12-05T14:06:27.802096Z node 17 :PERSQUEUE INFO: partition.cpp:692: [72075186224037895][Partition][11][StateInit] init complete for topic 'rt3.dc1--topic1' partition 11 generation 1 [17:7580374986874910905:2495]
2025-12-05T14:06:27.804490Z node 17 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037895][Partition][13][StateInit] bootstrapping 13 [17:7580374986874910906:2495]
2025-12-05T14:06:27.807378Z node 17 :PERSQUEUE INFO: partition.cpp:692: [72075186224037895][Partition][13][StateInit] init complete for topic 'rt3.dc1--topic1' partition 13 generation 1 [17:7580374986874910906:2495]
2025-12-05T14:06:27.809785Z node 17 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037895][Partition][14][StateInit] bootstrapping 14 [17:7580374986874910908:2495]
2025-12-05T14:06:27.812796Z node 17 :PERSQUEUE INFO: partition.cpp:692: [72075186224037895][Partition][14][StateInit] init complete for topic 'rt3.dc1--topic1' partition 14 generation 1 [17:7580374986874910908:2495]
2025-12-05T14:06:27.813113Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard_impl.cpp:7718: Cannot get console configs
2025-12-05T14:06:27.813129Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-12-05T14:06:27.815013Z node 17 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037895][Partition][12][StateInit] bootstrapping 12 [17:7580374986874910911:2495]
2025-12-05T14:06:27.825346Z node 17 :PERSQUEUE INFO: partition.cpp:692: [72075186224037895][Partition][12][StateInit] init complete for topic 'rt3.dc1--topic1' partition 12 generation 1 [17:7580374986874910911:2495]
2025-12-05T14:06:27.827622Z node 17 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037895][Partition][10][StateInit] bootstrapping 10 [17:7580374986874910914:2495]
2025-12-05T14:06:27.831332Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T14:06:27.834592Z node 17 :PERSQUEUE INFO: partition.cpp:692: [72075186224037895][Partition][10][StateInit] init complete for topic 'rt3.dc1--topic1' partition 10 generation 1 [17:7580374986874910914:2495]
2025-12-05T14:06:27.845780Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T14:06:27.886993Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T14:06:27.927180Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976710688. Ctx: { TraceId: 01kbqdbtdy58w1gs39zjzf78wm, Database: , SessionId: ydb://session/3?node_id=17&id=YTA3YjBmYjktMWZmYTNjYWItZmRmMjEzMjktMTNjZjNmYzc=, PoolId: , DatabaseId: /Root}. Database not set, use /Root
CallPersQueueGRPC request to localhost:8378
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-05T14:06:27.956946Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1531: 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
CallPersQueueGRPC request to localhost:8378
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-05T14:06:28.462258Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1531: 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
CallPersQueueGRPC request to localhost:8378
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-05T14:06:28.969966Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1531: 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: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976710676
    CreateStep: 1764943586070
    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: 9
    TotalGroupCount: 15
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976710676
    CreateStep: 1764943586070
    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: 9
    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: 8
    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-05T14:06:28.982194Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:28.982224Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-12-05T14:06:28.982732Z 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-05T14:06:28.982923Z 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]:56664
2025-12-05T14:06:28.982944Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:28.982955Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:28.985029Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-12-05T14:06:28.985183Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:28.985198Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:28.985211Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:28.985236Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374991169878471:2525] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:28.988735Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374991169878471:2525] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:29.003687Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374991169878471:2525] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:29.016020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374991169878471:2525] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:29.016067Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374991169878471:2525] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=0
2025-12-05T14:06:29.016090Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374991169878471:2525] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:29.016128Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-05T14:06:29.018315Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:29.018514Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|350edbad-76474f6a-ddf64f9c-bb379fdd_0 generated for partition 7 topic 'rt3.dc1--topic1' owner source
2025-12-05T14:06:29.019094Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 7 MaxSeqNo: 5 sessionId: source|350edbad-76474f6a-ddf64f9c-bb379fdd_0
request: { write_request { sequence_numbers: 6 created_at_ms: 1764943589019 sent_at_ms: 1764943589019 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-05T14:06:29.020732Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|350edbad-76474f6a-ddf64f9c-bb379fdd_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T14:06:29.021058Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T14:06:29.021569Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T14:06:29.027479Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 7 created_at_ms: 1764943589028 sent_at_ms: 1764943589028 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-05T14:06:29.030158Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|350edbad-76474f6a-ddf64f9c-bb379fdd_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T14:06:29.030465Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T14:06:29.030939Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T14:06:29.073245Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 8 created_at_ms: 1764943589076 sent_at_ms: 1764943589076 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-05T14:06:29.077489Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|350edbad-76474f6a-ddf64f9c-bb379fdd_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T14:06:29.077760Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T14:06:29.078198Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T14:06:29.084880Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 9 created_at_ms: 1764943589085 sent_at_ms: 1764943589085 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-05T14:06:29.086423Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|350edbad-76474f6a-ddf64f9c-bb379fdd_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T14:06:29.086665Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T14:06:29.087103Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T14:06:29.094854Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
1 0 
2025-12-05T14:06:29.095842Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|350edbad-76474f6a-ddf64f9c-bb379fdd_0 grpc read done: success: 0 data: 
2025-12-05T14:06:29.095869Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: source|350edbad-76474f6a-ddf64f9c-bb379fdd_0 grpc read failed
2025-12-05T14:06:29.096005Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 3 sessionId: source|350edbad-76474f6a-ddf64f9c-bb379fdd_0
2025-12-05T14:06:29.096027Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: source|350edbad-76474f6a-ddf64f9c-bb379fdd_0 is DEAD
2025-12-05T14:06:29.096383Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:29.098029Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:29.098051Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 4
2025-12-05T14:06:29.098502Z 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-05T14:06:29.098674Z 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]:56664
2025-12-05T14:06:29.098696Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:29.098706Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:29.100561Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 4 sessionId:  describe result for acl check
2025-12-05T14:06:29.100719Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:29.100729Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:29.100742Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:29.100765Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374995464845815:2529] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:29.104897Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374995464845815:2529] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:29.115017Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374995464845815:2529] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:29.129263Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374995464845815:2529] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:29.129310Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374995464845815:2529] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=0
2025-12-05T14:06:29.129334Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374995464845815:2529] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:29.129374Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 4 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-05T14:06:29.131563Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:29.131820Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|970b6696-2e07cbfd-1b4d553f-a2e2f63b_0 generated for partition 7 topic 'rt3.dc1--topic1' owner source
2025-12-05T14:06:29.132345Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 4 partition: 7 MaxSeqNo: 9 sessionId: source|970b6696-2e07cbfd-1b4d553f-a2e2f63b_0
request: { write_request { sequence_numbers: 10 sequence_numbers: 11 sequence_numbers: 12 sequence_numbers: 13 sequence_numbers: 14 created_at_ms: 1764943589133 created_at_ms: 1764943589133 created_at_ms: 1764943589133 created_at_ms: 1764943589133 created_at_ms: 1764943589133 sent_at_ms: 1764943589133 sent_at_ms: 1764943589133 sent_at_ms: 1764943589133 sent_at_ms: 1764943589133 sent_at_ms: 1764943589133 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-05T14:06:29.134026Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|970b6696-2e07cbfd-1b4d553f-a2e2f63b_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T14:06:29.134378Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T14:06:29.134825Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T14:06:29.237904Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 15 sequence_numbers: 16 sequence_numbers: 17 sequence_numbers: 18 sequence_numbers: 19 created_at_ms: 1764943589238 created_at_ms: 1764943589238 created_at_ms: 1764943589238 created_at_ms: 1764943589238 created_at_ms: 1764943589238 sent_at_ms: 1764943589238 sent_at_ms: 1764943589238 sent_at_ms: 1764943589238 sent_at_ms: 1764943589238 sent_at_ms: 1764943589238 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-05T14:06:29.240108Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|970b6696-2e07cbfd-1b4d553f-a2e2f63b_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T14:06:29.240603Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T14:06:29.241114Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T14:06:29.250220Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 20 sequence_numbers: 21 sequence_numbers: 22 sequence_numbers: 23 sequence_numbers: 24 created_at_ms: 1764943589251 created_at_ms: 1764943589251 created_at_ms: 1764943589251 created_at_ms: 1764943589251 created_at_ms: 1764943589251 sent_at_ms: 1764943589251 sent_at_ms: 1764943589251 sent_at_ms: 1764943589251 sent_at_ms: 1764943589251 sent_at_ms: 1764943589251 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-05T14:06:29.252095Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|970b6696-2e07cbfd-1b4d553f-a2e2f63b_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T14:06:29.252481Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T14:06:29.253369Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T14:06:29.262422Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 25 sequence_numbers: 26 sequence_numbers: 27 sequence_numbers: 28 sequence_numbers: 29 created_at_ms: 1764943589263 created_at_ms: 1764943589263 created_at_ms: 1764943589263 created_at_ms: 1764943589263 created_at_ms: 1764943589263 sent_at_ms: 1764943589263 sent_at_ms: 1764943589263 sent_at_ms: 1764943589263 sent_at_ms: 1764943589263 sent_at_ms: 1764943589263 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-05T14:06:29.264052Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|970b6696-2e07cbfd-1b4d553f-a2e2f63b_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T14:06:29.264449Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T14:06:29.266729Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T14:06:29.414562Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T14:06:29.416104Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|970b6696-2e07cbfd-1b4d553f-a2e2f63b_0 grpc read done: success: 0 data: 
2025-12-05T14:06:29.416131Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 4 sessionId: source|970b6696-2e07cbfd-1b4d553f-a2e2f63b_0 grpc read failed
2025-12-05T14:06:29.416321Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 4 sessionId: source|970b6696-2e07cbfd-1b4d553f-a2e2f63b_0
2025-12-05T14:06:29.416344Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 4 sessionId: source|970b6696-2e07cbfd-1b4d553f-a2e2f63b_0 is DEAD
2025-12-05T14:06:29.416785Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
1 0 
2025-12-05T14:06:29.418347Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:29.418373Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 5
2025-12-05T14:06:29.418965Z 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-05T14:06:29.419191Z 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]:56664
2025-12-05T14:06:29.419220Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic2 durationSec=0
2025-12-05T14:06:29.419231Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:29.421472Z 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-05T14:06:29.421852Z 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-05T14:06:29.424943Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:29.424973Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 6
2025-12-05T14:06:29.425889Z 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-05T14:06:29.426077Z 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]:56664
2025-12-05T14:06:29.426101Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:29.426113Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:29.428277Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 6 sessionId:  describe result for acl check
2025-12-05T14:06:29.428467Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:29.428482Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:29.428499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:29.428525Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374995464845898:2542] (SourceId=sid1, PreferedPartition=1) StartKqpSession
2025-12-05T14:06:29.433122Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374995464845898:2542] (SourceId=sid1, PreferedPartition=1) Select from the table
2025-12-05T14:06:29.447250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374995464845898:2542] (SourceId=sid1, PreferedPartition=1) Update the table
2025-12-05T14:06:29.467011Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374995464845898:2542] (SourceId=sid1, PreferedPartition=1) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:29.467077Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374995464845898:2542] (SourceId=sid1, PreferedPartition=1) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T14:06:29.467100Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374995464845898:2542] (SourceId=sid1, PreferedPartition=1) Start idle
2025-12-05T14:06:29.467145Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 6 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T14:06:29.476773Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:29.477349Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|f61dd73b-363e528b-bf87a77c-a6b1bc8a_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-12-05T14:06:29.484588Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 6 partition: 1 MaxSeqNo: 0 sessionId: sid1|f61dd73b-363e528b-bf87a77c-a6b1bc8a_0
Init result: { status: SUCCESS init_response { session_id: "sid1|f61dd73b-363e528b-bf87a77c-a6b1bc8a_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:29.489651Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:29.489684Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 7
2025-12-05T14:06:29.489871Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId: sid1|f61dd73b-363e528b-bf87a77c-a6b1bc8a_0 grpc read done: success: 0 data: 
2025-12-05T14:06:29.489889Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 6 sessionId: sid1|f61dd73b-363e528b-bf87a77c-a6b1bc8a_0 grpc read failed
2025-12-05T14:06:29.489921Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 6 sessionId: sid1|f61dd73b-363e528b-bf87a77c-a6b1bc8a_0 grpc closed
2025-12-05T14:06:29.489944Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 6 sessionId: sid1|f61dd73b-363e528b-bf87a77c-a6b1bc8a_0 is DEAD
2025-12-05T14:06:29.490840Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:29.493279Z 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-05T14:06:29.493454Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 7 topic: "topic1" message_group_id: "sid1" from ipv6:[::1]:56664
2025-12-05T14:06:29.493480Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:29.493491Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:29.498335Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 7 sessionId:  describe result for acl check
2025-12-05T14:06:29.498512Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:29.498527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:29.498543Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:29.498568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374995464845943:2548] (SourceId=sid1, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:29.504615Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374995464845943:2548] (SourceId=sid1, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:29.530984Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374995464845943:2548] (SourceId=sid1, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:29.568250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374995464845943:2548] (SourceId=sid1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:29.568314Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374995464845943:2548] (SourceId=sid1, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2025-12-05T14:06:29.568339Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374995464845943:2548] (SourceId=sid1, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:29.568385Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T14:06:29.571556Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:29.576309Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|af2b1ef1-245d30c8-5878966d-b227b188_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-12-05T14:06:29.577968Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: sid1|af2b1ef1-245d30c8-5878966d-b227b188_0
Init result: { status: SUCCESS init_response { session_id: "sid1|af2b1ef1-245d30c8-5878966d-b227b188_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:29.585524Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId: sid1|af2b1ef1-245d30c8-5878966d-b227b188_0 grpc read done: success: 0 data: 
2025-12-05T14:06:29.585559Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 7 sessionId: sid1|af2b1ef1-245d30c8-5878966d-b227b188_0 grpc read failed
2025-12-05T14:06:29.585597Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 7 sessionId: sid1|af2b1ef1-245d30c8-5878966d-b227b188_0 grpc closed
2025-12-05T14:06:29.585619Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 7 sessionId: sid1|af2b1ef1-245d30c8-5878966d-b227b188_0 is DEAD
2025-12-05T14:06:29.586523Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:29.586654Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:29.586672Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 8
2025-12-05T14:06:29.589918Z 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-05T14:06:29.590088Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 8 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:56664
2025-12-05T14:06:29.590111Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:29.590122Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:29.591939Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 8 sessionId:  describe result for acl check
2025-12-05T14:06:29.592097Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:29.592109Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:29.592125Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:29.592148Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374995464845973:2552] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:29.596189Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374995464845973:2552] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:29.627092Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464845993:2552] connected; active server actors: 1
2025-12-05T14:06:29.625564Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374995464845973:2552] (SourceId=sidx, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:29.627728Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374995464845973:2552] (SourceId=sidx, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sidx
2025-12-05T14:06:29.627761Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374995464845973:2552] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:29.628996Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464845993:2552] disconnected; active server actors: 1
2025-12-05T14:06:29.629034Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464845993:2552] disconnected no session
2025-12-05T14:06:29.648757Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374995464845973:2552] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:29.648809Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374995464845973:2552] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-05T14:06:29.648833Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374995464845973:2552] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:29.648876Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 8 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-05T14:06:29.652710Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:29.654980Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 8 partition: 8 MaxSeqNo: 0 sessionId: sidx|6af6aa9a-32b10fc1-355200d6-b3f7ce0b_0
2025-12-05T14:06:29.653378Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|6af6aa9a-32b10fc1-355200d6-b3f7ce0b_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sidx
Init result: { status: SUCCESS init_response { session_id: "sidx|6af6aa9a-32b10fc1-355200d6-b3f7ce0b_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:29.660358Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId: sidx|6af6aa9a-32b10fc1-355200d6-b3f7ce0b_0 grpc read done: success: 0 data: 
2025-12-05T14:06:29.660397Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 8 sessionId: sidx|6af6aa9a-32b10fc1-355200d6-b3f7ce0b_0 grpc read failed
2025-12-05T14:06:29.660466Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 8 sessionId: sidx|6af6aa9a-32b10fc1-355200d6-b3f7ce0b_0 grpc closed
2025-12-05T14:06:29.660489Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 8 sessionId: sidx|6af6aa9a-32b10fc1-355200d6-b3f7ce0b_0 is DEAD
2025-12-05T14:06:29.660733Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:29.660760Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 9
2025-12-05T14:06:29.661251Z 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-05T14:06:29.661394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 9 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:56664
2025-12-05T14:06:29.661417Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:29.661428Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:29.661608Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:29.663820Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 9 sessionId:  describe result for acl check
2025-12-05T14:06:29.664007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:29.664021Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:29.664037Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:29.664064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374995464846007:2557] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:29.673106Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374995464846007:2557] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:29.699262Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374995464846007:2557] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:29.727277Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374995464846007:2557] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:29.727328Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374995464846007:2557] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=0
2025-12-05T14:06:29.727352Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374995464846007:2557] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:29.727397Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 9 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-05T14:06:29.729508Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:29.729894Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|ad75d790-d56ff39d-3583cd70-13422360_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sidx
2025-12-05T14:06:29.731588Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 9 partition: 8 MaxSeqNo: 0 sessionId: sidx|ad75d790-d56ff39d-3583cd70-13422360_0
Init result: { status: SUCCESS init_response { session_id: "sidx|ad75d790-d56ff39d-3583cd70-13422360_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:29.738996Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId: sidx|ad75d790-d56ff39d-3583cd70-13422360_0 grpc read done: success: 0 data: 
2025-12-05T14:06:29.739028Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 9 sessionId: sidx|ad75d790-d56ff39d-3583cd70-13422360_0 grpc read failed
2025-12-05T14:06:29.739077Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 9 sessionId: sidx|ad75d790-d56ff39d-3583cd70-13422360_0 grpc closed
2025-12-05T14:06:29.739099Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 9 sessionId: sidx|ad75d790-d56ff39d-3583cd70-13422360_0 is DEAD
2025-12-05T14:06:29.739197Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:29.739229Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 10
2025-12-05T14:06:29.739918Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:29.741005Z 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-05T14:06:29.741176Z 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]:56664
2025-12-05T14:06:29.741203Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:29.741212Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:29.743744Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 10 sessionId:  describe result for acl check
2025-12-05T14:06:29.743919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:29.743933Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:29.743947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:29.743975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374995464846036:2561] (SourceId=sid1, PreferedPartition=2) StartKqpSession
2025-12-05T14:06:29.753034Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374995464846036:2561] (SourceId=sid1, PreferedPartition=2) Select from the table
2025-12-05T14:06:29.780642Z node 17 :PQ_PARTITION_CHOOSER INFO: partition_chooser_impl__abstract_chooser_actor.h:312: TPartitionChooser [17:7580374995464846036:2561] (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-05T14:06:29.780772Z 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-05T14:06:29.781151Z 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-05T14:06:29.783727Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:29.783759Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 11
2025-12-05T14:06:29.784085Z 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-05T14:06:29.784241Z 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]:56664
2025-12-05T14:06:29.784262Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=11 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:29.784274Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:29.786288Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 11 sessionId:  describe result for acl check
2025-12-05T14:06:29.786478Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:29.786493Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:29.786507Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:29.786537Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374995464846072:2567] (SourceId=sid_rand_0, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:29.790942Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374995464846072:2567] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:29.803730Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374995464846072:2567] (SourceId=sid_rand_0, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:29.805353Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464846089:2567] connected; active server actors: 1
2025-12-05T14:06:29.805951Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374995464846072:2567] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_0
2025-12-05T14:06:29.805994Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374995464846072:2567] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:29.807377Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464846089:2567] disconnected; active server actors: 1
2025-12-05T14:06:29.807416Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464846089:2567] disconnected no session
2025-12-05T14:06:29.819584Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374995464846072:2567] (SourceId=sid_rand_0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:29.819635Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374995464846072:2567] (SourceId=sid_rand_0, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-05T14:06:29.819665Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374995464846072:2567] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:29.819710Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 11 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-05T14:06:29.822186Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:29.822454Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_0|ec0959a3-497ee3e6-92a29bef-48037ced_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_0
2025-12-05T14:06:29.823125Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 11 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_0|ec0959a3-497ee3e6-92a29bef-48037ced_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_0|ec0959a3-497ee3e6-92a29bef-48037ced_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:29.827132Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId: sid_rand_0|ec0959a3-497ee3e6-92a29bef-48037ced_0 grpc read done: success: 0 data: 
2025-12-05T14:06:29.827178Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 11 sessionId: sid_rand_0|ec0959a3-497ee3e6-92a29bef-48037ced_0 grpc read failed
2025-12-05T14:06:29.827213Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 11 sessionId: sid_rand_0|ec0959a3-497ee3e6-92a29bef-48037ced_0 grpc closed
2025-12-05T14:06:29.827239Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 11 sessionId: sid_rand_0|ec0959a3-497ee3e6-92a29bef-48037ced_0 is DEAD
2025-12-05T14:06:29.828145Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:29.828292Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:29.828318Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 12
2025-12-05T14:06:29.828901Z 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-05T14:06:29.829073Z 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]:56664
2025-12-05T14:06:29.829105Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=12 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:29.829117Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:29.831062Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 12 sessionId:  describe result for acl check
2025-12-05T14:06:29.831258Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:29.831282Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:29.831297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:29.831323Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374995464846102:2571] (SourceId=sid_rand_1, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:29.842189Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374995464846102:2571] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:29.855614Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374995464846102:2571] (SourceId=sid_rand_1, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:29.857013Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464846118:2571] connected; active server actors: 1
2025-12-05T14:06:29.858885Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464846118:2571] disconnected; active server actors: 1
2025-12-05T14:06:29.858931Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464846118:2571] disconnected no session
2025-12-05T14:06:29.857747Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374995464846102:2571] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_1
2025-12-05T14:06:29.857779Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374995464846102:2571] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:29.871097Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374995464846102:2571] (SourceId=sid_rand_1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:29.871154Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374995464846102:2571] (SourceId=sid_rand_1, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-05T14:06:29.871180Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374995464846102:2571] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:29.871225Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 12 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-05T14:06:29.872575Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:29.872712Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_1|8b88f75e-35c30a7b-b52a44ed-ac70ca1_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_1
2025-12-05T14:06:29.873205Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 12 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_1|8b88f75e-35c30a7b-b52a44ed-ac70ca1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_1|8b88f75e-35c30a7b-b52a44ed-ac70ca1_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:29.875371Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId: sid_rand_1|8b88f75e-35c30a7b-b52a44ed-ac70ca1_0 grpc read done: success: 0 data: 
2025-12-05T14:06:29.875404Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 12 sessionId: sid_rand_1|8b88f75e-35c30a7b-b52a44ed-ac70ca1_0 grpc read failed
2025-12-05T14:06:29.875441Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 12 sessionId: sid_rand_1|8b88f75e-35c30a7b-b52a44ed-ac70ca1_0 grpc closed
2025-12-05T14:06:29.875470Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 12 sessionId: sid_rand_1|8b88f75e-35c30a7b-b52a44ed-ac70ca1_0 is DEAD
2025-12-05T14:06:29.876496Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:29.876621Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:29.876641Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 13
2025-12-05T14:06:29.877012Z 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-05T14:06:29.877167Z 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]:56664
2025-12-05T14:06:29.877183Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=13 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:29.877191Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:29.878925Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 13 sessionId:  describe result for acl check
2025-12-05T14:06:29.879073Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:29.879085Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:29.879096Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:29.879115Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374995464846132:2575] (SourceId=sid_rand_2, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:29.882629Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374995464846132:2575] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:29.890759Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374995464846132:2575] (SourceId=sid_rand_2, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:29.898684Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464846151:2575] connected; active server actors: 1
2025-12-05T14:06:29.901444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374995464846132:2575] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_2
2025-12-05T14:06:29.901487Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374995464846132:2575] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:29.904861Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464846151:2575] disconnected; active server actors: 1
2025-12-05T14:06:29.904904Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464846151:2575] disconnected no session
2025-12-05T14:06:29.922344Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374995464846132:2575] (SourceId=sid_rand_2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:29.922392Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374995464846132:2575] (SourceId=sid_rand_2, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-05T14:06:29.922416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374995464846132:2575] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:29.922455Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 13 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-05T14:06:29.924591Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:29.924796Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_2|bf792ec2-b6d4f3fa-a79f1c54-9defa52f_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_2
2025-12-05T14:06:29.925417Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 13 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_2|bf792ec2-b6d4f3fa-a79f1c54-9defa52f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_2|bf792ec2-b6d4f3fa-a79f1c54-9defa52f_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:29.931465Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId: sid_rand_2|bf792ec2-b6d4f3fa-a79f1c54-9defa52f_0 grpc read done: success: 0 data: 
2025-12-05T14:06:29.931498Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 13 sessionId: sid_rand_2|bf792ec2-b6d4f3fa-a79f1c54-9defa52f_0 grpc read failed
2025-12-05T14:06:29.931534Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 13 sessionId: sid_rand_2|bf792ec2-b6d4f3fa-a79f1c54-9defa52f_0 grpc closed
2025-12-05T14:06:29.931556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 13 sessionId: sid_rand_2|bf792ec2-b6d4f3fa-a79f1c54-9defa52f_0 is DEAD
2025-12-05T14:06:29.932400Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:29.932511Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:29.932528Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 14
2025-12-05T14:06:29.933576Z 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-05T14:06:29.933748Z 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]:56664
2025-12-05T14:06:29.933769Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=14 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:29.933781Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:29.935753Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 14 sessionId:  describe result for acl check
2025-12-05T14:06:29.935936Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:29.935950Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:29.935964Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:29.935987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374995464846165:2579] (SourceId=sid_rand_3, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:29.940141Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374995464846165:2579] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:29.949799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374995464846165:2579] (SourceId=sid_rand_3, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:29.951561Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464846181:2579] connected; active server actors: 1
2025-12-05T14:06:29.952172Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374995464846165:2579] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_3
2025-12-05T14:06:29.952206Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374995464846165:2579] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:29.954065Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464846181:2579] disconnected; active server actors: 1
2025-12-05T14:06:29.954102Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464846181:2579] disconnected no session
2025-12-05T14:06:29.974139Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374995464846165:2579] (SourceId=sid_rand_3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:29.974175Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374995464846165:2579] (SourceId=sid_rand_3, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-05T14:06:29.974191Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374995464846165:2579] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:29.974219Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 14 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-05T14:06:29.976245Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:29.976557Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_3|59cc2f5a-a4589423-bcfc7b0f-ce887e8a_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_3
2025-12-05T14:06:29.977002Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 14 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_3|59cc2f5a-a4589423-bcfc7b0f-ce887e8a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_3|59cc2f5a-a4589423-bcfc7b0f-ce887e8a_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:29.979372Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId: sid_rand_3|59cc2f5a-a4589423-bcfc7b0f-ce887e8a_0 grpc read done: success: 0 data: 
2025-12-05T14:06:29.979391Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 14 sessionId: sid_rand_3|59cc2f5a-a4589423-bcfc7b0f-ce887e8a_0 grpc read failed
2025-12-05T14:06:29.979411Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 14 sessionId: sid_rand_3|59cc2f5a-a4589423-bcfc7b0f-ce887e8a_0 grpc closed
2025-12-05T14:06:29.979428Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 14 sessionId: sid_rand_3|59cc2f5a-a4589423-bcfc7b0f-ce887e8a_0 is DEAD
2025-12-05T14:06:29.980133Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:29.980211Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:29.980223Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 15
2025-12-05T14:06:29.980915Z 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-05T14:06:29.981057Z 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]:56664
2025-12-05T14:06:29.981079Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=15 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:29.981088Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:29.982656Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 15 sessionId:  describe result for acl check
2025-12-05T14:06:29.982778Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:29.982786Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:29.982797Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:29.982813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374995464846194:2583] (SourceId=sid_rand_4, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:29.986387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374995464846194:2583] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:29.993640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374995464846194:2583] (SourceId=sid_rand_4, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:29.994469Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464846210:2583] connected; active server actors: 1
2025-12-05T14:06:29.995371Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374995464846194:2583] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_4
2025-12-05T14:06:29.995402Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374995464846194:2583] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:29.995983Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464846210:2583] disconnected; active server actors: 1
2025-12-05T14:06:29.996016Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374995464846210:2583] disconnected no session
2025-12-05T14:06:30.027067Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374995464846194:2583] (SourceId=sid_rand_4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:30.027127Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374995464846194:2583] (SourceId=sid_rand_4, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-05T14:06:30.027156Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374995464846194:2583] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:30.027203Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 15 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-05T14:06:30.030651Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:30.030824Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_4|e434ea79-ed070dab-579e3df4-97a694f8_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_4
Init result: { status: SUCCESS init_response { session_id: "sid_rand_4|e434ea79-ed070dab-579e3df4-97a694f8_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:30.031529Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 15 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_4|e434ea79-ed070dab-579e3df4-97a694f8_0
2025-12-05T14:06:30.034311Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId: sid_rand_4|e434ea79-ed070dab-579e3df4-97a694f8_0 grpc read done: success: 0 data: 
2025-12-05T14:06:30.034341Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 15 sessionId: sid_rand_4|e434ea79-ed070dab-579e3df4-97a694f8_0 grpc read failed
2025-12-05T14:06:30.034480Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:30.034504Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 16
2025-12-05T14:06:30.034724Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 15 sessionId: sid_rand_4|e434ea79-ed070dab-579e3df4-97a694f8_0
2025-12-05T14:06:30.034758Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 15 sessionId: sid_rand_4|e434ea79-ed070dab-579e3df4-97a694f8_0 is DEAD
2025-12-05T14:06:30.035270Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:30.035948Z 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-05T14:06:30.036117Z 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]:56664
2025-12-05T14:06:30.036138Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=16 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:30.036150Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:30.038319Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 16 sessionId:  describe result for acl check
2025-12-05T14:06:30.038477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:30.038497Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:30.038512Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:30.038536Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374999759813520:2587] (SourceId=sid_rand_5, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:30.042877Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374999759813520:2587] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:30.066253Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374999759813520:2587] (SourceId=sid_rand_5, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:30.067229Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813539:2587] connected; active server actors: 1
2025-12-05T14:06:30.067937Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374999759813520:2587] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_5
2025-12-05T14:06:30.067979Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374999759813520:2587] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:30.069067Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813539:2587] disconnected; active server actors: 1
2025-12-05T14:06:30.069103Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813539:2587] disconnected no session
2025-12-05T14:06:30.087712Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374999759813520:2587] (SourceId=sid_rand_5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:30.087763Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374999759813520:2587] (SourceId=sid_rand_5, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-05T14:06:30.087798Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374999759813520:2587] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:30.087839Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 16 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-05T14:06:30.090228Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:30.090500Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_5|f6f4ac6e-2bf79518-59033417-3d6e492e_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_5
2025-12-05T14:06:30.091168Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 16 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_5|f6f4ac6e-2bf79518-59033417-3d6e492e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_5|f6f4ac6e-2bf79518-59033417-3d6e492e_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:30.097439Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId: sid_rand_5|f6f4ac6e-2bf79518-59033417-3d6e492e_0 grpc read done: success: 0 data: 
2025-12-05T14:06:30.097475Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 16 sessionId: sid_rand_5|f6f4ac6e-2bf79518-59033417-3d6e492e_0 grpc read failed
2025-12-05T14:06:30.097528Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 16 sessionId: sid_rand_5|f6f4ac6e-2bf79518-59033417-3d6e492e_0
2025-12-05T14:06:30.097554Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 16 sessionId: sid_rand_5|f6f4ac6e-2bf79518-59033417-3d6e492e_0 is DEAD
2025-12-05T14:06:30.097991Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:30.099023Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:30.099077Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 17
2025-12-05T14:06:30.099503Z 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-05T14:06:30.099694Z 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]:56664
2025-12-05T14:06:30.099717Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=17 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:30.099728Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:30.101825Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 17 sessionId:  describe result for acl check
2025-12-05T14:06:30.101999Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:30.102012Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:30.102026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:30.102047Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374999759813556:2591] (SourceId=sid_rand_6, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:30.106415Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374999759813556:2591] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:30.114561Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374999759813556:2591] (SourceId=sid_rand_6, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:30.116287Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813572:2591] connected; active server actors: 1
2025-12-05T14:06:30.116866Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374999759813556:2591] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_6
2025-12-05T14:06:30.116897Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374999759813556:2591] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:30.118256Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813572:2591] disconnected; active server actors: 1
2025-12-05T14:06:30.118291Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813572:2591] disconnected no session
2025-12-05T14:06:30.128442Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374999759813556:2591] (SourceId=sid_rand_6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:30.128493Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374999759813556:2591] (SourceId=sid_rand_6, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-05T14:06:30.128516Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374999759813556:2591] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:30.128558Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 17 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T14:06:30.132180Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:30.132718Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_6|ef7bed4a-94321b6f-2a518f92-ff556e5b_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_6
2025-12-05T14:06:30.133951Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 17 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_6|ef7bed4a-94321b6f-2a518f92-ff556e5b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_6|ef7bed4a-94321b6f-2a518f92-ff556e5b_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:30.140517Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId: sid_rand_6|ef7bed4a-94321b6f-2a518f92-ff556e5b_0 grpc read done: success: 0 data: 
2025-12-05T14:06:30.140559Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 17 sessionId: sid_rand_6|ef7bed4a-94321b6f-2a518f92-ff556e5b_0 grpc read failed
2025-12-05T14:06:30.140600Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 17 sessionId: sid_rand_6|ef7bed4a-94321b6f-2a518f92-ff556e5b_0 grpc closed
2025-12-05T14:06:30.140625Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 17 sessionId: sid_rand_6|ef7bed4a-94321b6f-2a518f92-ff556e5b_0 is DEAD
2025-12-05T14:06:30.141592Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:30.141732Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:30.141750Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 18
2025-12-05T14:06:30.148648Z 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-05T14:06:30.148837Z 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]:56664
2025-12-05T14:06:30.148859Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=18 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:30.148871Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:30.151018Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 18 sessionId:  describe result for acl check
2025-12-05T14:06:30.151203Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:30.151219Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:30.151233Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:30.151256Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374999759813584:2595] (SourceId=sid_rand_7, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:30.156140Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374999759813584:2595] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:30.168854Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374999759813584:2595] (SourceId=sid_rand_7, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:30.170445Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813600:2595] connected; active server actors: 1
2025-12-05T14:06:30.171112Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374999759813584:2595] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_7
2025-12-05T14:06:30.171143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374999759813584:2595] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:30.172358Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813600:2595] disconnected; active server actors: 1
2025-12-05T14:06:30.172391Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813600:2595] disconnected no session
2025-12-05T14:06:30.189800Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374999759813584:2595] (SourceId=sid_rand_7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:30.189850Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374999759813584:2595] (SourceId=sid_rand_7, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T14:06:30.189877Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374999759813584:2595] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:30.189917Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 18 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T14:06:30.196964Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:30.197912Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_7|6ae29241-68789605-503284cc-2601adac_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_7
2025-12-05T14:06:30.202010Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 18 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_7|6ae29241-68789605-503284cc-2601adac_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_7|6ae29241-68789605-503284cc-2601adac_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:30.206552Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId: sid_rand_7|6ae29241-68789605-503284cc-2601adac_0 grpc read done: success: 0 data: 
2025-12-05T14:06:30.206587Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 18 sessionId: sid_rand_7|6ae29241-68789605-503284cc-2601adac_0 grpc read failed
2025-12-05T14:06:30.206617Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 18 sessionId: sid_rand_7|6ae29241-68789605-503284cc-2601adac_0 grpc closed
2025-12-05T14:06:30.206639Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 18 sessionId: sid_rand_7|6ae29241-68789605-503284cc-2601adac_0 is DEAD
2025-12-05T14:06:30.207567Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:30.207705Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:30.207724Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 19
2025-12-05T14:06:30.212943Z 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-05T14:06:30.213114Z 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]:56664
2025-12-05T14:06:30.213135Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=19 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:30.213146Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:30.215227Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 19 sessionId:  describe result for acl check
2025-12-05T14:06:30.215406Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:30.215419Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:30.215432Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:30.215454Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374999759813617:2601] (SourceId=sid_rand_8, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:30.223225Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374999759813617:2601] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:30.251595Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374999759813617:2601] (SourceId=sid_rand_8, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:30.253509Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813638:2601] connected; active server actors: 1
2025-12-05T14:06:30.254176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374999759813617:2601] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_8
2025-12-05T14:06:30.254208Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374999759813617:2601] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:30.255491Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813638:2601] disconnected; active server actors: 1
2025-12-05T14:06:30.255528Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813638:2601] disconnected no session
2025-12-05T14:06:30.275518Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374999759813617:2601] (SourceId=sid_rand_8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:30.275565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374999759813617:2601] (SourceId=sid_rand_8, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-05T14:06:30.275588Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374999759813617:2601] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:30.275629Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 19 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-05T14:06:30.278056Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:30.278327Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_8|cdd4d430-2e224c78-2da725aa-23ec7c47_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_8
2025-12-05T14:06:30.278846Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 19 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_8|cdd4d430-2e224c78-2da725aa-23ec7c47_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_8|cdd4d430-2e224c78-2da725aa-23ec7c47_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:30.287648Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId: sid_rand_8|cdd4d430-2e224c78-2da725aa-23ec7c47_0 grpc read done: success: 0 data: 
2025-12-05T14:06:30.287685Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 19 sessionId: sid_rand_8|cdd4d430-2e224c78-2da725aa-23ec7c47_0 grpc read failed
2025-12-05T14:06:30.287718Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 19 sessionId: sid_rand_8|cdd4d430-2e224c78-2da725aa-23ec7c47_0 grpc closed
2025-12-05T14:06:30.287740Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 19 sessionId: sid_rand_8|cdd4d430-2e224c78-2da725aa-23ec7c47_0 is DEAD
2025-12-05T14:06:30.288721Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:30.288836Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:30.288852Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 20
2025-12-05T14:06:30.290177Z 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-05T14:06:30.290334Z 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]:56664
2025-12-05T14:06:30.290355Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=20 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:30.290366Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:30.292368Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 20 sessionId:  describe result for acl check
2025-12-05T14:06:30.292557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:30.292571Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:30.292585Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:30.292607Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374999759813651:2605] (SourceId=sid_rand_9, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:30.296339Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374999759813651:2605] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:30.319222Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374999759813651:2605] (SourceId=sid_rand_9, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:30.325219Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813667:2605] connected; active server actors: 1
2025-12-05T14:06:30.331304Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374999759813651:2605] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_9
2025-12-05T14:06:30.331359Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374999759813651:2605] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:30.335368Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813667:2605] disconnected; active server actors: 1
2025-12-05T14:06:30.335408Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813667:2605] disconnected no session
2025-12-05T14:06:30.350826Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374999759813651:2605] (SourceId=sid_rand_9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:30.350873Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374999759813651:2605] (SourceId=sid_rand_9, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-05T14:06:30.350898Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374999759813651:2605] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:30.350936Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 20 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T14:06:30.353433Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:30.354025Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_9|5c960006-74b2a45-dad45c95-cfa1f291_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_9
Init result: { status: SUCCESS init_response { session_id: "sid_rand_9|5c960006-74b2a45-dad45c95-cfa1f291_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:30.359717Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 20 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_9|5c960006-74b2a45-dad45c95-cfa1f291_0
2025-12-05T14:06:30.364206Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId: sid_rand_9|5c960006-74b2a45-dad45c95-cfa1f291_0 grpc read done: success: 0 data: 
2025-12-05T14:06:30.364234Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 20 sessionId: sid_rand_9|5c960006-74b2a45-dad45c95-cfa1f291_0 grpc read failed
2025-12-05T14:06:30.364264Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 20 sessionId: sid_rand_9|5c960006-74b2a45-dad45c95-cfa1f291_0 grpc closed
2025-12-05T14:06:30.364299Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 20 sessionId: sid_rand_9|5c960006-74b2a45-dad45c95-cfa1f291_0 is DEAD
2025-12-05T14:06:30.365208Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:30.365335Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:30.365353Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 21
2025-12-05T14:06:30.366986Z 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-05T14:06:30.367173Z 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]:56664
2025-12-05T14:06:30.367193Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=21 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:30.367203Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:30.369106Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 21 sessionId:  describe result for acl check
2025-12-05T14:06:30.369268Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:30.369281Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:30.369294Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:30.369316Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374999759813689:2613] (SourceId=sid_rand_10, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:30.373469Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374999759813689:2613] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:30.393834Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374999759813689:2613] (SourceId=sid_rand_10, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:30.400566Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813708:2613] connected; active server actors: 1
2025-12-05T14:06:30.404270Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374999759813689:2613] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_10
2025-12-05T14:06:30.404307Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374999759813689:2613] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:30.408040Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813708:2613] disconnected; active server actors: 1
2025-12-05T14:06:30.408078Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813708:2613] disconnected no session
2025-12-05T14:06:30.432852Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374999759813689:2613] (SourceId=sid_rand_10, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:30.432900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374999759813689:2613] (SourceId=sid_rand_10, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-05T14:06:30.432930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374999759813689:2613] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:30.432974Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 21 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-05T14:06:30.435341Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:30.435599Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_10|253033b-b426a110-1d05ca50-7b67dda8_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_10
2025-12-05T14:06:30.436118Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 21 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_10|253033b-b426a110-1d05ca50-7b67dda8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_10|253033b-b426a110-1d05ca50-7b67dda8_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:30.439117Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId: sid_rand_10|253033b-b426a110-1d05ca50-7b67dda8_0 grpc read done: success: 0 data: 
2025-12-05T14:06:30.439144Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 21 sessionId: sid_rand_10|253033b-b426a110-1d05ca50-7b67dda8_0 grpc read failed
2025-12-05T14:06:30.439173Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 21 sessionId: sid_rand_10|253033b-b426a110-1d05ca50-7b67dda8_0 grpc closed
2025-12-05T14:06:30.439204Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 21 sessionId: sid_rand_10|253033b-b426a110-1d05ca50-7b67dda8_0 is DEAD
2025-12-05T14:06:30.440034Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:30.440147Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:30.440163Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 22
2025-12-05T14:06:30.443232Z 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-05T14:06:30.443407Z 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]:56664
2025-12-05T14:06:30.443429Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=22 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:30.443440Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:30.445502Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 22 sessionId:  describe result for acl check
2025-12-05T14:06:30.445682Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:30.445697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:30.445712Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:30.445736Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374999759813722:2617] (SourceId=sid_rand_11, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:30.450457Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374999759813722:2617] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:30.459672Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374999759813722:2617] (SourceId=sid_rand_11, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:30.461232Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813740:2617] connected; active server actors: 1
2025-12-05T14:06:30.461886Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374999759813722:2617] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_11
2025-12-05T14:06:30.461916Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374999759813722:2617] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:30.463017Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813740:2617] disconnected; active server actors: 1
2025-12-05T14:06:30.463066Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813740:2617] disconnected no session
2025-12-05T14:06:30.481337Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374999759813722:2617] (SourceId=sid_rand_11, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:30.481386Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374999759813722:2617] (SourceId=sid_rand_11, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-05T14:06:30.481410Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374999759813722:2617] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:30.481453Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 22 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-05T14:06:30.482815Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:30.482971Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_11|2ba6541e-c00e6ed6-5e3a2e66-84317969_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_11
2025-12-05T14:06:30.483450Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 22 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_11|2ba6541e-c00e6ed6-5e3a2e66-84317969_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_11|2ba6541e-c00e6ed6-5e3a2e66-84317969_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:30.488510Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId: sid_rand_11|2ba6541e-c00e6ed6-5e3a2e66-84317969_0 grpc read done: success: 0 data: 
2025-12-05T14:06:30.488549Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 22 sessionId: sid_rand_11|2ba6541e-c00e6ed6-5e3a2e66-84317969_0 grpc read failed
2025-12-05T14:06:30.488586Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 22 sessionId: sid_rand_11|2ba6541e-c00e6ed6-5e3a2e66-84317969_0 grpc closed
2025-12-05T14:06:30.488611Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 22 sessionId: sid_rand_11|2ba6541e-c00e6ed6-5e3a2e66-84317969_0 is DEAD
2025-12-05T14:06:30.489542Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:30.489663Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:30.489681Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 23
2025-12-05T14:06:30.489999Z 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-05T14:06:30.490100Z 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]:56664
2025-12-05T14:06:30.490115Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=23 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:30.490123Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:30.491426Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 23 sessionId:  describe result for acl check
2025-12-05T14:06:30.491562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:30.491571Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:30.491581Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:30.491596Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374999759813753:2622] (SourceId=sid_rand_12, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:30.495985Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374999759813753:2622] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:30.519130Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374999759813753:2622] (SourceId=sid_rand_12, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:30.521657Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813775:2622] connected; active server actors: 1
2025-12-05T14:06:30.523514Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374999759813753:2622] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_12
2025-12-05T14:06:30.523545Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374999759813753:2622] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:30.524298Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813775:2622] disconnected; active server actors: 1
2025-12-05T14:06:30.524334Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813775:2622] disconnected no session
2025-12-05T14:06:30.537288Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374999759813753:2622] (SourceId=sid_rand_12, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:30.537337Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374999759813753:2622] (SourceId=sid_rand_12, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-05T14:06:30.537361Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374999759813753:2622] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:30.537401Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 23 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-05T14:06:30.538760Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:30.538905Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_12|9bb7c20c-fac2c9e-976a59a9-f4d5f43c_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_12
2025-12-05T14:06:30.539683Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 23 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_12|9bb7c20c-fac2c9e-976a59a9-f4d5f43c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_12|9bb7c20c-fac2c9e-976a59a9-f4d5f43c_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:30.542562Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId: sid_rand_12|9bb7c20c-fac2c9e-976a59a9-f4d5f43c_0 grpc read done: success: 0 data: 
2025-12-05T14:06:30.542591Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 23 sessionId: sid_rand_12|9bb7c20c-fac2c9e-976a59a9-f4d5f43c_0 grpc read failed
2025-12-05T14:06:30.542620Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 23 sessionId: sid_rand_12|9bb7c20c-fac2c9e-976a59a9-f4d5f43c_0 grpc closed
2025-12-05T14:06:30.542642Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 23 sessionId: sid_rand_12|9bb7c20c-fac2c9e-976a59a9-f4d5f43c_0 is DEAD
2025-12-05T14:06:30.543498Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:30.543934Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:30.543960Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 24
2025-12-05T14:06:30.544393Z 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-05T14:06:30.544561Z 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]:56664
2025-12-05T14:06:30.544583Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=24 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:30.544594Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:30.546549Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 24 sessionId:  describe result for acl check
2025-12-05T14:06:30.546715Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:30.546727Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:30.546741Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:30.546763Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374999759813798:2627] (SourceId=sid_rand_13, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:30.551876Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374999759813798:2627] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:30.561134Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374999759813798:2627] (SourceId=sid_rand_13, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:30.563169Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374999759813798:2627] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_13
2025-12-05T14:06:30.563201Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374999759813798:2627] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:30.562474Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813814:2627] connected; active server actors: 1
2025-12-05T14:06:30.564448Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813814:2627] disconnected; active server actors: 1
2025-12-05T14:06:30.564475Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813814:2627] disconnected no session
2025-12-05T14:06:30.577812Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374999759813798:2627] (SourceId=sid_rand_13, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:30.577864Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374999759813798:2627] (SourceId=sid_rand_13, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-05T14:06:30.636608Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374999759813798:2627] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:30.637248Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 24 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-05T14:06:30.638427Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:30.638574Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_13|70b1ab98-cc64518c-aac7dbfb-f02c7bf_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_13
2025-12-05T14:06:30.639108Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 24 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_13|70b1ab98-cc64518c-aac7dbfb-f02c7bf_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_13|70b1ab98-cc64518c-aac7dbfb-f02c7bf_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:30.642518Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId: sid_rand_13|70b1ab98-cc64518c-aac7dbfb-f02c7bf_0 grpc read done: success: 0 data: 
2025-12-05T14:06:30.642551Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 24 sessionId: sid_rand_13|70b1ab98-cc64518c-aac7dbfb-f02c7bf_0 grpc read failed
2025-12-05T14:06:30.642583Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 24 sessionId: sid_rand_13|70b1ab98-cc64518c-aac7dbfb-f02c7bf_0 grpc closed
2025-12-05T14:06:30.642604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 24 sessionId: sid_rand_13|70b1ab98-cc64518c-aac7dbfb-f02c7bf_0 is DEAD
2025-12-05T14:06:30.643505Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:30.643634Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:30.643655Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 25
2025-12-05T14:06:30.644767Z 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-05T14:06:30.644952Z 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]:56664
2025-12-05T14:06:30.644981Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=25 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:30.644992Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:30.646951Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 25 sessionId:  describe result for acl check
2025-12-05T14:06:30.647121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:30.647140Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:30.647150Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:30.647166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374999759813828:2631] (SourceId=sid_rand_14, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:30.650975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374999759813828:2631] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:30.666104Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374999759813828:2631] (SourceId=sid_rand_14, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:30.668646Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813847:2631] connected; active server actors: 1
2025-12-05T14:06:30.669343Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374999759813828:2631] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_14
2025-12-05T14:06:30.669373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374999759813828:2631] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:30.670807Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813847:2631] disconnected; active server actors: 1
2025-12-05T14:06:30.670844Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813847:2631] disconnected no session
2025-12-05T14:06:30.684887Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374999759813828:2631] (SourceId=sid_rand_14, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:30.684936Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374999759813828:2631] (SourceId=sid_rand_14, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-05T14:06:30.684960Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374999759813828:2631] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:30.684999Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 25 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T14:06:30.689655Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:30.690113Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_14|daf768aa-dd325f8-cd174357-ea4e2d7f_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_14
2025-12-05T14:06:30.691420Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 25 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_14|daf768aa-dd325f8-cd174357-ea4e2d7f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_14|daf768aa-dd325f8-cd174357-ea4e2d7f_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:30.694679Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId: sid_rand_14|daf768aa-dd325f8-cd174357-ea4e2d7f_0 grpc read done: success: 0 data: 
2025-12-05T14:06:30.694708Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 25 sessionId: sid_rand_14|daf768aa-dd325f8-cd174357-ea4e2d7f_0 grpc read failed
2025-12-05T14:06:30.694742Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 25 sessionId: sid_rand_14|daf768aa-dd325f8-cd174357-ea4e2d7f_0 grpc closed
2025-12-05T14:06:30.694767Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 25 sessionId: sid_rand_14|daf768aa-dd325f8-cd174357-ea4e2d7f_0 is DEAD
2025-12-05T14:06:30.695671Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:30.695797Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:30.695815Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 26
2025-12-05T14:06:30.696909Z 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-05T14:06:30.697068Z 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]:56664
2025-12-05T14:06:30.697089Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=26 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:30.697100Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:30.699020Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 26 sessionId:  describe result for acl check
2025-12-05T14:06:30.699199Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:30.699212Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:30.699226Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:30.699247Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374999759813859:2635] (SourceId=sid_rand_15, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:30.703254Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374999759813859:2635] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:30.731637Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374999759813859:2635] (SourceId=sid_rand_15, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:30.733110Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813876:2635] connected; active server actors: 1
2025-12-05T14:06:30.734852Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813876:2635] disconnected; active server actors: 1
2025-12-05T14:06:30.734881Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813876:2635] disconnected no session
2025-12-05T14:06:30.733621Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374999759813859:2635] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_15
2025-12-05T14:06:30.733652Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374999759813859:2635] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:30.750742Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374999759813859:2635] (SourceId=sid_rand_15, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:30.750790Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374999759813859:2635] (SourceId=sid_rand_15, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T14:06:30.750816Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374999759813859:2635] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:30.750859Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 26 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T14:06:30.754382Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:30.754835Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_15|31a2e7da-dba91f37-c5e8149b-27a4804c_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_15
2025-12-05T14:06:30.756015Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 26 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_15|31a2e7da-dba91f37-c5e8149b-27a4804c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_15|31a2e7da-dba91f37-c5e8149b-27a4804c_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:30.758774Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId: sid_rand_15|31a2e7da-dba91f37-c5e8149b-27a4804c_0 grpc read done: success: 0 data: 
2025-12-05T14:06:30.758802Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 26 sessionId: sid_rand_15|31a2e7da-dba91f37-c5e8149b-27a4804c_0 grpc read failed
2025-12-05T14:06:30.758837Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 26 sessionId: sid_rand_15|31a2e7da-dba91f37-c5e8149b-27a4804c_0 grpc closed
2025-12-05T14:06:30.758860Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 26 sessionId: sid_rand_15|31a2e7da-dba91f37-c5e8149b-27a4804c_0 is DEAD
2025-12-05T14:06:30.759704Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:30.759829Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:30.759847Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 27
2025-12-05T14:06:30.761190Z 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-05T14:06:30.761363Z 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]:56664
2025-12-05T14:06:30.761385Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=27 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:30.761396Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:30.763872Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 27 sessionId:  describe result for acl check
2025-12-05T14:06:30.764056Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:30.764071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:30.764088Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:30.764112Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374999759813890:2639] (SourceId=sid_rand_16, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:30.768938Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374999759813890:2639] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:30.786191Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374999759813890:2639] (SourceId=sid_rand_16, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:30.788819Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813907:2639] connected; active server actors: 1
2025-12-05T14:06:30.793126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374999759813890:2639] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_16
2025-12-05T14:06:30.793154Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374999759813890:2639] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:30.795860Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813907:2639] disconnected; active server actors: 1
2025-12-05T14:06:30.795895Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813907:2639] disconnected no session
2025-12-05T14:06:30.808656Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374999759813890:2639] (SourceId=sid_rand_16, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:30.808706Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374999759813890:2639] (SourceId=sid_rand_16, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-05T14:06:30.808729Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374999759813890:2639] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:30.808769Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 27 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-05T14:06:30.820867Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:30.821155Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_16|a0fcc238-7a894e73-dbe6f830-9b57cdae_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_16
2025-12-05T14:06:30.821697Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 27 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_16|a0fcc238-7a894e73-dbe6f830-9b57cdae_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_16|a0fcc238-7a894e73-dbe6f830-9b57cdae_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:30.828484Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId: sid_rand_16|a0fcc238-7a894e73-dbe6f830-9b57cdae_0 grpc read done: success: 0 data: 
2025-12-05T14:06:30.828519Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 27 sessionId: sid_rand_16|a0fcc238-7a894e73-dbe6f830-9b57cdae_0 grpc read failed
2025-12-05T14:06:30.828556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 27 sessionId: sid_rand_16|a0fcc238-7a894e73-dbe6f830-9b57cdae_0 grpc closed
2025-12-05T14:06:30.828578Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 27 sessionId: sid_rand_16|a0fcc238-7a894e73-dbe6f830-9b57cdae_0 is DEAD
2025-12-05T14:06:30.829468Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:30.829571Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:30.829588Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 28
2025-12-05T14:06:30.835616Z 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-05T14:06:30.835790Z 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]:56664
2025-12-05T14:06:30.835809Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=28 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:30.835819Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:30.837804Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 28 sessionId:  describe result for acl check
2025-12-05T14:06:30.837972Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:30.837985Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:30.837998Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:30.838019Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374999759813922:2643] (SourceId=sid_rand_17, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:30.842548Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374999759813922:2643] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:30.865976Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374999759813922:2643] (SourceId=sid_rand_17, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:30.867381Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813941:2643] connected; active server actors: 1
2025-12-05T14:06:30.867919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374999759813922:2643] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_17
2025-12-05T14:06:30.867947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374999759813922:2643] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:30.868934Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813941:2643] disconnected; active server actors: 1
2025-12-05T14:06:30.868965Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813941:2643] disconnected no session
2025-12-05T14:06:30.899026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374999759813922:2643] (SourceId=sid_rand_17, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:30.899095Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374999759813922:2643] (SourceId=sid_rand_17, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-05T14:06:30.899120Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374999759813922:2643] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:30.899159Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 28 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T14:06:30.901177Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:30.903460Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 28 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_17|393df1a3-fd57cedf-64c34c43-c8af0af9_0
2025-12-05T14:06:30.901630Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_17|393df1a3-fd57cedf-64c34c43-c8af0af9_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_17
Init result: { status: SUCCESS init_response { session_id: "sid_rand_17|393df1a3-fd57cedf-64c34c43-c8af0af9_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:30.908507Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId: sid_rand_17|393df1a3-fd57cedf-64c34c43-c8af0af9_0 grpc read done: success: 0 data: 
2025-12-05T14:06:30.908544Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 28 sessionId: sid_rand_17|393df1a3-fd57cedf-64c34c43-c8af0af9_0 grpc read failed
2025-12-05T14:06:30.908582Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 28 sessionId: sid_rand_17|393df1a3-fd57cedf-64c34c43-c8af0af9_0 grpc closed
2025-12-05T14:06:30.908602Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 28 sessionId: sid_rand_17|393df1a3-fd57cedf-64c34c43-c8af0af9_0 is DEAD
2025-12-05T14:06:30.909516Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:30.909669Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:30.909686Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 29
2025-12-05T14:06:30.915307Z 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-05T14:06:30.915490Z 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]:56664
2025-12-05T14:06:30.915519Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=29 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:30.915529Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:30.919819Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 29 sessionId:  describe result for acl check
2025-12-05T14:06:30.919987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:30.919998Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:30.920011Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:30.920033Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374999759813971:2652] (SourceId=sid_rand_18, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:30.924205Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374999759813971:2652] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:30.939830Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374999759813971:2652] (SourceId=sid_rand_18, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:30.941152Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813987:2652] connected; active server actors: 1
2025-12-05T14:06:30.942385Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374999759813971:2652] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_18
2025-12-05T14:06:30.942437Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374999759813971:2652] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:30.944815Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813987:2652] disconnected; active server actors: 1
2025-12-05T14:06:30.944856Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759813987:2652] disconnected no session
2025-12-05T14:06:30.956163Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374999759813971:2652] (SourceId=sid_rand_18, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:30.956212Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374999759813971:2652] (SourceId=sid_rand_18, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-05T14:06:30.956236Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374999759813971:2652] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:30.956275Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 29 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-05T14:06:30.958387Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:30.958609Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_18|33f20582-7a61f869-5d19f21-33300d90_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_18
2025-12-05T14:06:30.959187Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 29 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_18|33f20582-7a61f869-5d19f21-33300d90_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_18|33f20582-7a61f869-5d19f21-33300d90_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:30.962806Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId: sid_rand_18|33f20582-7a61f869-5d19f21-33300d90_0 grpc read done: success: 0 data: 
2025-12-05T14:06:30.962814Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:30.962836Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 30
2025-12-05T14:06:30.962840Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 29 sessionId: sid_rand_18|33f20582-7a61f869-5d19f21-33300d90_0 grpc read failed
2025-12-05T14:06:30.962871Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 29 sessionId: sid_rand_18|33f20582-7a61f869-5d19f21-33300d90_0 grpc closed
2025-12-05T14:06:30.962892Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 29 sessionId: sid_rand_18|33f20582-7a61f869-5d19f21-33300d90_0 is DEAD
2025-12-05T14:06:30.963178Z 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-05T14:06:30.963321Z 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]:56664
2025-12-05T14:06:30.963343Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=30 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:30.963354Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:30.963744Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:30.966350Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 30 sessionId:  describe result for acl check
2025-12-05T14:06:30.966535Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:30.966548Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:30.966563Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:30.966585Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580374999759814000:2656] (SourceId=sid_rand_19, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:30.971111Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580374999759814000:2656] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:30.986121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580374999759814000:2656] (SourceId=sid_rand_19, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:30.986931Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759814020:2656] connected; active server actors: 1
2025-12-05T14:06:30.987466Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580374999759814000:2656] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_19
2025-12-05T14:06:30.987497Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580374999759814000:2656] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:30.988567Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759814020:2656] disconnected; active server actors: 1
2025-12-05T14:06:30.988600Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580374999759814020:2656] disconnected no session
2025-12-05T14:06:31.001312Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580374999759814000:2656] (SourceId=sid_rand_19, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.001360Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580374999759814000:2656] (SourceId=sid_rand_19, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-05T14:06:31.001384Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580374999759814000:2656] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.001420Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 30 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-05T14:06:31.003410Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:31.003620Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_19|e277aad8-8d21884b-525ec541-3937306b_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_19
2025-12-05T14:06:31.004174Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 30 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_19|e277aad8-8d21884b-525ec541-3937306b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_19|e277aad8-8d21884b-525ec541-3937306b_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.007127Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId: sid_rand_19|e277aad8-8d21884b-525ec541-3937306b_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.007161Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 30 sessionId: sid_rand_19|e277aad8-8d21884b-525ec541-3937306b_0 grpc read failed
2025-12-05T14:06:31.007190Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 30 sessionId: sid_rand_19|e277aad8-8d21884b-525ec541-3937306b_0 grpc closed
2025-12-05T14:06:31.007213Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 30 sessionId: sid_rand_19|e277aad8-8d21884b-525ec541-3937306b_0 is DEAD
2025-12-05T14:06:31.008007Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.008139Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.008155Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 31
2025-12-05T14:06:31.009277Z 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-05T14:06:31.009441Z 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]:56664
2025-12-05T14:06:31.009463Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=31 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.009473Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.011624Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 31 sessionId:  describe result for acl check
2025-12-05T14:06:31.011788Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.011800Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.011814Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.011839Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781329:2660] (SourceId=sid_rand_20, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.015924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781329:2660] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:31.027276Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781329:2660] (SourceId=sid_rand_20, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:31.028007Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781345:2660] connected; active server actors: 1
2025-12-05T14:06:31.029045Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781329:2660] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_20
2025-12-05T14:06:31.029080Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781329:2660] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:31.029632Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781345:2660] disconnected; active server actors: 1
2025-12-05T14:06:31.029665Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781345:2660] disconnected no session
2025-12-05T14:06:31.043513Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781329:2660] (SourceId=sid_rand_20, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.043561Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781329:2660] (SourceId=sid_rand_20, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-05T14:06:31.043583Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781329:2660] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.043623Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 31 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-05T14:06:31.046038Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:31.047723Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 31 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_20|53c856a5-ed148a1c-eb00dc5e-a147908b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_20|53c856a5-ed148a1c-eb00dc5e-a147908b_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.046535Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_20|53c856a5-ed148a1c-eb00dc5e-a147908b_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_20
2025-12-05T14:06:31.050631Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId: sid_rand_20|53c856a5-ed148a1c-eb00dc5e-a147908b_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.050661Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 31 sessionId: sid_rand_20|53c856a5-ed148a1c-eb00dc5e-a147908b_0 grpc read failed
2025-12-05T14:06:31.050689Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 31 sessionId: sid_rand_20|53c856a5-ed148a1c-eb00dc5e-a147908b_0 grpc closed
2025-12-05T14:06:31.050711Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 31 sessionId: sid_rand_20|53c856a5-ed148a1c-eb00dc5e-a147908b_0 is DEAD
2025-12-05T14:06:31.051578Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.051706Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.051725Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 32
2025-12-05T14:06:31.052493Z 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-05T14:06:31.052642Z 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]:56664
2025-12-05T14:06:31.052662Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=32 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.052672Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.054518Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 32 sessionId:  describe result for acl check
2025-12-05T14:06:31.054664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.054676Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.054689Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.054711Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781357:2664] (SourceId=sid_rand_21, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.059029Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781357:2664] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:31.067512Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781357:2664] (SourceId=sid_rand_21, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:31.068852Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781373:2664] connected; active server actors: 1
2025-12-05T14:06:31.069437Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781357:2664] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_21
2025-12-05T14:06:31.069466Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781357:2664] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:31.070639Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781373:2664] disconnected; active server actors: 1
2025-12-05T14:06:31.070674Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781373:2664] disconnected no session
2025-12-05T14:06:31.079773Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781357:2664] (SourceId=sid_rand_21, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.079817Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781357:2664] (SourceId=sid_rand_21, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-05T14:06:31.079838Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781357:2664] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.079877Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 32 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-05T14:06:31.081002Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:31.081211Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_21|af9495f2-40fc247a-145285f2-622cead_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_21
2025-12-05T14:06:31.081683Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 32 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_21|af9495f2-40fc247a-145285f2-622cead_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_21|af9495f2-40fc247a-145285f2-622cead_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.084467Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId: sid_rand_21|af9495f2-40fc247a-145285f2-622cead_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.084495Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 32 sessionId: sid_rand_21|af9495f2-40fc247a-145285f2-622cead_0 grpc read failed
2025-12-05T14:06:31.084495Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.084514Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 33
2025-12-05T14:06:31.084522Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 32 sessionId: sid_rand_21|af9495f2-40fc247a-145285f2-622cead_0 grpc closed
2025-12-05T14:06:31.084544Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 32 sessionId: sid_rand_21|af9495f2-40fc247a-145285f2-622cead_0 is DEAD
2025-12-05T14:06:31.085315Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.086421Z 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-05T14:06:31.086571Z 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]:56664
2025-12-05T14:06:31.086591Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=33 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.086601Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.088558Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 33 sessionId:  describe result for acl check
2025-12-05T14:06:31.088720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.088733Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.088747Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.088769Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781389:2668] (SourceId=sid_rand_22, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.093484Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781389:2668] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:31.103186Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781389:2668] (SourceId=sid_rand_22, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:31.107209Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781405:2668] connected; active server actors: 1
2025-12-05T14:06:31.107547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781389:2668] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_22
2025-12-05T14:06:31.107582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781389:2668] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:31.108917Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781405:2668] disconnected; active server actors: 1
2025-12-05T14:06:31.108950Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781405:2668] disconnected no session
2025-12-05T14:06:31.127928Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_22|d09f7aa7-5f243ac6-fe81569b-f1190d12_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_22
2025-12-05T14:06:31.125457Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781389:2668] (SourceId=sid_rand_22, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.125503Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781389:2668] (SourceId=sid_rand_22, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-05T14:06:31.125526Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781389:2668] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.125563Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 33 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-05T14:06:31.127495Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
Init result: { status: SUCCESS init_response { session_id: "sid_rand_22|d09f7aa7-5f243ac6-fe81569b-f1190d12_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.130656Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 33 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_22|d09f7aa7-5f243ac6-fe81569b-f1190d12_0
2025-12-05T14:06:31.135934Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId: sid_rand_22|d09f7aa7-5f243ac6-fe81569b-f1190d12_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.135960Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 33 sessionId: sid_rand_22|d09f7aa7-5f243ac6-fe81569b-f1190d12_0 grpc read failed
2025-12-05T14:06:31.135994Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 33 sessionId: sid_rand_22|d09f7aa7-5f243ac6-fe81569b-f1190d12_0 grpc closed
2025-12-05T14:06:31.136016Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 33 sessionId: sid_rand_22|d09f7aa7-5f243ac6-fe81569b-f1190d12_0 is DEAD
2025-12-05T14:06:31.136508Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.136527Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 34
2025-12-05T14:06:31.136846Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.141830Z 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-05T14:06:31.142048Z 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]:56664
2025-12-05T14:06:31.142074Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=34 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.142088Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.144837Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 34 sessionId:  describe result for acl check
2025-12-05T14:06:31.145051Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.145067Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.145084Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.145113Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781417:2672] (SourceId=sid_rand_23, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.149737Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781417:2672] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:31.170671Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781438:2672] connected; active server actors: 1
2025-12-05T14:06:31.169032Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781417:2672] (SourceId=sid_rand_23, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:31.171264Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781417:2672] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_23
2025-12-05T14:06:31.171288Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781417:2672] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:31.172336Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781438:2672] disconnected; active server actors: 1
2025-12-05T14:06:31.172369Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781438:2672] disconnected no session
2025-12-05T14:06:31.182078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781417:2672] (SourceId=sid_rand_23, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.182128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781417:2672] (SourceId=sid_rand_23, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-05T14:06:31.182152Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781417:2672] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.182192Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 34 sessionId:  partition: 9 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_23|c8eaf74d-57578310-24fcf2f8-b69fc481_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.185029Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:31.185247Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_23|c8eaf74d-57578310-24fcf2f8-b69fc481_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_23
2025-12-05T14:06:31.185783Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 34 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_23|c8eaf74d-57578310-24fcf2f8-b69fc481_0
2025-12-05T14:06:31.192593Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId: sid_rand_23|c8eaf74d-57578310-24fcf2f8-b69fc481_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.192612Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 34 sessionId: sid_rand_23|c8eaf74d-57578310-24fcf2f8-b69fc481_0 grpc read failed
2025-12-05T14:06:31.192636Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 34 sessionId: sid_rand_23|c8eaf74d-57578310-24fcf2f8-b69fc481_0 grpc closed
2025-12-05T14:06:31.192654Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 34 sessionId: sid_rand_23|c8eaf74d-57578310-24fcf2f8-b69fc481_0 is DEAD
2025-12-05T14:06:31.193356Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.193459Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.193473Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 35
2025-12-05T14:06:31.195978Z 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-05T14:06:31.196165Z 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]:56664
2025-12-05T14:06:31.196196Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=35 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.196208Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.198472Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 35 sessionId:  describe result for acl check
2025-12-05T14:06:31.198645Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.198659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.198674Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.198697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781451:2676] (SourceId=sid_rand_24, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.202968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781451:2676] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:31.214748Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781467:2676] connected; active server actors: 1
2025-12-05T14:06:31.212755Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781451:2676] (SourceId=sid_rand_24, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:31.221955Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781467:2676] disconnected; active server actors: 1
2025-12-05T14:06:31.221992Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781467:2676] disconnected no session
2025-12-05T14:06:31.220822Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781451:2676] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_24
2025-12-05T14:06:31.220866Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781451:2676] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:31.241092Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781451:2676] (SourceId=sid_rand_24, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.241144Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781451:2676] (SourceId=sid_rand_24, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-05T14:06:31.241167Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781451:2676] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.241217Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 35 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-05T14:06:31.243222Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:31.243469Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_24|2df6c440-982d2fd5-2752cb5d-6906e633_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_24
2025-12-05T14:06:31.243973Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 35 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_24|2df6c440-982d2fd5-2752cb5d-6906e633_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_24|2df6c440-982d2fd5-2752cb5d-6906e633_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.246384Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId: sid_rand_24|2df6c440-982d2fd5-2752cb5d-6906e633_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.246415Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 35 sessionId: sid_rand_24|2df6c440-982d2fd5-2752cb5d-6906e633_0 grpc read failed
2025-12-05T14:06:31.246449Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 35 sessionId: sid_rand_24|2df6c440-982d2fd5-2752cb5d-6906e633_0 grpc closed
2025-12-05T14:06:31.246473Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 35 sessionId: sid_rand_24|2df6c440-982d2fd5-2752cb5d-6906e633_0 is DEAD
2025-12-05T14:06:31.247329Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.247439Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.247454Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 36
2025-12-05T14:06:31.248436Z 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-05T14:06:31.248596Z 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]:56664
2025-12-05T14:06:31.248618Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=36 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.248630Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.250831Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 36 sessionId:  describe result for acl check
2025-12-05T14:06:31.250998Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.251010Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.251026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.251048Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781480:2680] (SourceId=sid_rand_25, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.255048Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781480:2680] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:31.279633Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781480:2680] (SourceId=sid_rand_25, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:31.280896Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781497:2680] connected; active server actors: 1
2025-12-05T14:06:31.288544Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781480:2680] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_25
2025-12-05T14:06:31.288589Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781480:2680] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:31.291211Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781497:2680] disconnected; active server actors: 1
2025-12-05T14:06:31.291247Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781497:2680] disconnected no session
2025-12-05T14:06:31.311161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781480:2680] (SourceId=sid_rand_25, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.311210Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781480:2680] (SourceId=sid_rand_25, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-05T14:06:31.311234Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781480:2680] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.311275Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 36 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-05T14:06:31.313233Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:31.313437Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_25|e89a2dc7-d69748be-fe7de70a-2066f33e_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_25
2025-12-05T14:06:31.313920Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 36 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_25|e89a2dc7-d69748be-fe7de70a-2066f33e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_25|e89a2dc7-d69748be-fe7de70a-2066f33e_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.319739Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId: sid_rand_25|e89a2dc7-d69748be-fe7de70a-2066f33e_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.319774Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 36 sessionId: sid_rand_25|e89a2dc7-d69748be-fe7de70a-2066f33e_0 grpc read failed
2025-12-05T14:06:31.319810Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 36 sessionId: sid_rand_25|e89a2dc7-d69748be-fe7de70a-2066f33e_0 grpc closed
2025-12-05T14:06:31.319836Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 36 sessionId: sid_rand_25|e89a2dc7-d69748be-fe7de70a-2066f33e_0 is DEAD
2025-12-05T14:06:31.320816Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.320936Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.320953Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 37
2025-12-05T14:06:31.321852Z 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-05T14:06:31.322000Z 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]:56664
2025-12-05T14:06:31.322021Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=37 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.322031Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.323940Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 37 sessionId:  describe result for acl check
2025-12-05T14:06:31.324116Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.324130Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.324145Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.324168Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781511:2684] (SourceId=sid_rand_26, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.329172Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781511:2684] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:31.348341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781511:2684] (SourceId=sid_rand_26, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:31.353072Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781531:2684] connected; active server actors: 1
2025-12-05T14:06:31.358464Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781531:2684] disconnected; active server actors: 1
2025-12-05T14:06:31.358504Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781531:2684] disconnected no session
2025-12-05T14:06:31.356947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781511:2684] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_26
2025-12-05T14:06:31.357000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781511:2684] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:31.374138Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781511:2684] (SourceId=sid_rand_26, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.374189Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781511:2684] (SourceId=sid_rand_26, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-05T14:06:31.374211Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781511:2684] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.374249Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 37 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-05T14:06:31.375139Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:31.375274Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_26|ec9d9d79-b4a4b93c-54859ac6-2417aa46_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_26
2025-12-05T14:06:31.375818Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 37 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_26|ec9d9d79-b4a4b93c-54859ac6-2417aa46_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_26|ec9d9d79-b4a4b93c-54859ac6-2417aa46_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.385449Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId: sid_rand_26|ec9d9d79-b4a4b93c-54859ac6-2417aa46_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.385477Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 37 sessionId: sid_rand_26|ec9d9d79-b4a4b93c-54859ac6-2417aa46_0 grpc read failed
2025-12-05T14:06:31.385501Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 37 sessionId: sid_rand_26|ec9d9d79-b4a4b93c-54859ac6-2417aa46_0 grpc closed
2025-12-05T14:06:31.385518Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 37 sessionId: sid_rand_26|ec9d9d79-b4a4b93c-54859ac6-2417aa46_0 is DEAD
2025-12-05T14:06:31.385598Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.385617Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 38
2025-12-05T14:06:31.385965Z 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-05T14:06:31.386131Z 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]:56664
2025-12-05T14:06:31.386152Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=38 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.386162Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.386312Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.387952Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 38 sessionId:  describe result for acl check
2025-12-05T14:06:31.388107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.388120Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.388137Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.388158Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781544:2688] (SourceId=sid_rand_27, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.392004Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781544:2688] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:31.419504Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781560:2688] connected; active server actors: 1
2025-12-05T14:06:31.417582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781544:2688] (SourceId=sid_rand_27, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:31.420103Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781544:2688] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_27
2025-12-05T14:06:31.420134Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781544:2688] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:31.420901Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781560:2688] disconnected; active server actors: 1
2025-12-05T14:06:31.420941Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781560:2688] disconnected no session
2025-12-05T14:06:31.434023Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781544:2688] (SourceId=sid_rand_27, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.434076Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781544:2688] (SourceId=sid_rand_27, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-05T14:06:31.434098Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781544:2688] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.434138Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 38 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-05T14:06:31.436277Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:31.436553Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_27|15345aa7-764a1e36-aa74d175-f43987dd_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_27
2025-12-05T14:06:31.440960Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 38 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_27|15345aa7-764a1e36-aa74d175-f43987dd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_27|15345aa7-764a1e36-aa74d175-f43987dd_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.450431Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId: sid_rand_27|15345aa7-764a1e36-aa74d175-f43987dd_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.450487Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 38 sessionId: sid_rand_27|15345aa7-764a1e36-aa74d175-f43987dd_0 grpc read failed
2025-12-05T14:06:31.450541Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 38 sessionId: sid_rand_27|15345aa7-764a1e36-aa74d175-f43987dd_0 grpc closed
2025-12-05T14:06:31.450579Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 38 sessionId: sid_rand_27|15345aa7-764a1e36-aa74d175-f43987dd_0 is DEAD
2025-12-05T14:06:31.450580Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.450604Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 39
2025-12-05T14:06:31.450945Z 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-05T14:06:31.451119Z 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]:56664
2025-12-05T14:06:31.451139Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=39 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.451151Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.451664Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.453432Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 39 sessionId:  describe result for acl check
2025-12-05T14:06:31.454254Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.454737Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.454916Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.454945Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781581:2694] (SourceId=sid_rand_28, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.460286Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781581:2694] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:31.489937Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781581:2694] (SourceId=sid_rand_28, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:31.491019Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781602:2694] connected; active server actors: 1
2025-12-05T14:06:31.491711Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781581:2694] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_28
2025-12-05T14:06:31.491742Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781581:2694] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:31.494549Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781602:2694] disconnected; active server actors: 1
2025-12-05T14:06:31.494590Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781602:2694] disconnected no session
2025-12-05T14:06:31.505140Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781581:2694] (SourceId=sid_rand_28, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.505194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781581:2694] (SourceId=sid_rand_28, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-05T14:06:31.505221Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781581:2694] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.505266Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 39 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T14:06:31.509413Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:31.509945Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_28|ca13cf88-9e27090d-c3115ecd-ba98d8a3_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_28
2025-12-05T14:06:31.511435Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 39 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_28|ca13cf88-9e27090d-c3115ecd-ba98d8a3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_28|ca13cf88-9e27090d-c3115ecd-ba98d8a3_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.513888Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId: sid_rand_28|ca13cf88-9e27090d-c3115ecd-ba98d8a3_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.513921Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 39 sessionId: sid_rand_28|ca13cf88-9e27090d-c3115ecd-ba98d8a3_0 grpc read failed
2025-12-05T14:06:31.513957Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 39 sessionId: sid_rand_28|ca13cf88-9e27090d-c3115ecd-ba98d8a3_0 grpc closed
2025-12-05T14:06:31.513982Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 39 sessionId: sid_rand_28|ca13cf88-9e27090d-c3115ecd-ba98d8a3_0 is DEAD
2025-12-05T14:06:31.515024Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.517012Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.517043Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 40
2025-12-05T14:06:31.517395Z 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-05T14:06:31.517553Z 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]:56664
2025-12-05T14:06:31.517581Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=40 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.517592Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.519646Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 40 sessionId:  describe result for acl check
2025-12-05T14:06:31.519836Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.519852Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.519869Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.519894Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781615:2699] (SourceId=sid_rand_29, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.528085Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781615:2699] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:31.562360Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781615:2699] (SourceId=sid_rand_29, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:31.564808Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781643:2699] connected; active server actors: 1
2025-12-05T14:06:31.573211Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781643:2699] disconnected; active server actors: 1
2025-12-05T14:06:31.573254Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781643:2699] disconnected no session
2025-12-05T14:06:31.572521Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781615:2699] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_29
2025-12-05T14:06:31.572568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781615:2699] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:31.591846Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781615:2699] (SourceId=sid_rand_29, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.591908Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781615:2699] (SourceId=sid_rand_29, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T14:06:31.591937Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781615:2699] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.591981Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 40 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T14:06:31.595303Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_29|b46d3d0c-2056a265-ef20d368-eef52beb_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_29
2025-12-05T14:06:31.594894Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
Init result: { status: SUCCESS init_response { session_id: "sid_rand_29|b46d3d0c-2056a265-ef20d368-eef52beb_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.596681Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 40 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_29|b46d3d0c-2056a265-ef20d368-eef52beb_0
2025-12-05T14:06:31.598846Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId: sid_rand_29|b46d3d0c-2056a265-ef20d368-eef52beb_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.598869Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 40 sessionId: sid_rand_29|b46d3d0c-2056a265-ef20d368-eef52beb_0 grpc read failed
2025-12-05T14:06:31.598912Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 40 sessionId: sid_rand_29|b46d3d0c-2056a265-ef20d368-eef52beb_0
2025-12-05T14:06:31.598942Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 40 sessionId: sid_rand_29|b46d3d0c-2056a265-ef20d368-eef52beb_0 is DEAD
2025-12-05T14:06:31.599391Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.600123Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.600145Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 41
2025-12-05T14:06:31.600522Z 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-05T14:06:31.600676Z 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]:56664
2025-12-05T14:06:31.600699Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=41 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.600710Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.603001Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 41 sessionId:  describe result for acl check
2025-12-05T14:06:31.603207Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.603223Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.603240Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.603266Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781656:2704] (SourceId=sid_rand_30, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.608751Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781656:2704] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:31.618868Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781656:2704] (SourceId=sid_rand_30, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:31.621539Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781675:2704] connected; active server actors: 1
2025-12-05T14:06:31.622227Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781656:2704] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_30
2025-12-05T14:06:31.622268Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781656:2704] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:31.623746Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781675:2704] disconnected; active server actors: 1
2025-12-05T14:06:31.623785Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781675:2704] disconnected no session
2025-12-05T14:06:31.639288Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781656:2704] (SourceId=sid_rand_30, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.639345Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781656:2704] (SourceId=sid_rand_30, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-05T14:06:31.639372Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781656:2704] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.639426Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 41 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-05T14:06:31.641205Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:31.641922Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_30|a1e63c53-da9d9fc9-5a17c0cc-9bac60ea_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_30
2025-12-05T14:06:31.642532Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 41 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_30|a1e63c53-da9d9fc9-5a17c0cc-9bac60ea_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_30|a1e63c53-da9d9fc9-5a17c0cc-9bac60ea_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.645484Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId: sid_rand_30|a1e63c53-da9d9fc9-5a17c0cc-9bac60ea_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.645515Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 41 sessionId: sid_rand_30|a1e63c53-da9d9fc9-5a17c0cc-9bac60ea_0 grpc read failed
2025-12-05T14:06:31.645548Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 41 sessionId: sid_rand_30|a1e63c53-da9d9fc9-5a17c0cc-9bac60ea_0 grpc closed
2025-12-05T14:06:31.645574Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 41 sessionId: sid_rand_30|a1e63c53-da9d9fc9-5a17c0cc-9bac60ea_0 is DEAD
2025-12-05T14:06:31.646459Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.646578Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.646597Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 42
2025-12-05T14:06:31.647689Z 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-05T14:06:31.647853Z 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]:56664
2025-12-05T14:06:31.647878Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=42 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.647890Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.650165Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 42 sessionId:  describe result for acl check
2025-12-05T14:06:31.650351Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.650367Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.650384Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.650411Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781688:2708] (SourceId=sid_rand_31, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.655867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781688:2708] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:31.665165Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781688:2708] (SourceId=sid_rand_31, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:31.666777Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781705:2708] connected; active server actors: 1
2025-12-05T14:06:31.667271Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781688:2708] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_31
2025-12-05T14:06:31.667305Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781688:2708] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:31.668720Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781705:2708] disconnected; active server actors: 1
2025-12-05T14:06:31.668758Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781705:2708] disconnected no session
2025-12-05T14:06:31.685373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781688:2708] (SourceId=sid_rand_31, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.685427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781688:2708] (SourceId=sid_rand_31, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-05T14:06:31.685455Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781688:2708] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.685501Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 42 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T14:06:31.689031Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:31.689569Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_31|d3852693-9e4146c9-5dc520-16c0acaf_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_31
2025-12-05T14:06:31.691036Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 42 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_31|d3852693-9e4146c9-5dc520-16c0acaf_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_31|d3852693-9e4146c9-5dc520-16c0acaf_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.694614Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId: sid_rand_31|d3852693-9e4146c9-5dc520-16c0acaf_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.694644Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 42 sessionId: sid_rand_31|d3852693-9e4146c9-5dc520-16c0acaf_0 grpc read failed
2025-12-05T14:06:31.694690Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 42 sessionId: sid_rand_31|d3852693-9e4146c9-5dc520-16c0acaf_0 grpc closed
2025-12-05T14:06:31.694714Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 42 sessionId: sid_rand_31|d3852693-9e4146c9-5dc520-16c0acaf_0 is DEAD
2025-12-05T14:06:31.695629Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.695764Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.695783Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 43
2025-12-05T14:06:31.698036Z 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-05T14:06:31.698216Z 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]:56664
2025-12-05T14:06:31.698239Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=43 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.698251Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.700501Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 43 sessionId:  describe result for acl check
2025-12-05T14:06:31.700681Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.700697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.700713Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.700738Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781717:2712] (SourceId=sid_rand_32, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.705360Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781717:2712] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:31.714905Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781717:2712] (SourceId=sid_rand_32, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:31.716821Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781733:2712] connected; active server actors: 1
2025-12-05T14:06:31.718788Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781733:2712] disconnected; active server actors: 1
2025-12-05T14:06:31.718832Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781733:2712] disconnected no session
2025-12-05T14:06:31.717465Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781717:2712] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_32
2025-12-05T14:06:31.717498Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781717:2712] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:31.730539Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781717:2712] (SourceId=sid_rand_32, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.730593Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781717:2712] (SourceId=sid_rand_32, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-05T14:06:31.730619Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781717:2712] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.730667Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 43 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-05T14:06:31.732443Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:31.732629Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_32|579cbad6-11bd7321-9b31e55c-36c67cd4_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_32
2025-12-05T14:06:31.733134Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 43 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_32|579cbad6-11bd7321-9b31e55c-36c67cd4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_32|579cbad6-11bd7321-9b31e55c-36c67cd4_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.739135Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId: sid_rand_32|579cbad6-11bd7321-9b31e55c-36c67cd4_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.739152Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.739169Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 43 sessionId: sid_rand_32|579cbad6-11bd7321-9b31e55c-36c67cd4_0 grpc read failed
2025-12-05T14:06:31.739176Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 44
2025-12-05T14:06:31.739203Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 43 sessionId: sid_rand_32|579cbad6-11bd7321-9b31e55c-36c67cd4_0 grpc closed
2025-12-05T14:06:31.739228Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 43 sessionId: sid_rand_32|579cbad6-11bd7321-9b31e55c-36c67cd4_0 is DEAD
2025-12-05T14:06:31.739489Z 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-05T14:06:31.739639Z 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]:56664
2025-12-05T14:06:31.739661Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=44 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.739672Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.740145Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.741691Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 44 sessionId:  describe result for acl check
2025-12-05T14:06:31.741861Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.741881Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.741898Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.741922Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781746:2716] (SourceId=sid_rand_33, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.746487Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781746:2716] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:31.770247Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781746:2716] (SourceId=sid_rand_33, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:31.772626Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781768:2716] connected; active server actors: 1
2025-12-05T14:06:31.773859Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781768:2716] disconnected; active server actors: 1
2025-12-05T14:06:31.773899Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781768:2716] disconnected no session
2025-12-05T14:06:31.773170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781746:2716] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_33
2025-12-05T14:06:31.773213Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781746:2716] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:31.790778Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781746:2716] (SourceId=sid_rand_33, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.790835Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781746:2716] (SourceId=sid_rand_33, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-05T14:06:31.790861Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781746:2716] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.790903Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 44 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-05T14:06:31.800930Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:31.801276Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_33|79d342e5-faee8606-1e0a6fc-f141d3c2_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_33
Init result: { 2025-12-05T14:06:31.801930Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 44 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_33|79d342e5-faee8606-1e0a6fc-f141d3c2_0
status: SUCCESS init_response { session_id: "sid_rand_33|79d342e5-faee8606-1e0a6fc-f141d3c2_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.805056Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId: sid_rand_33|79d342e5-faee8606-1e0a6fc-f141d3c2_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.805087Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 44 sessionId: sid_rand_33|79d342e5-faee8606-1e0a6fc-f141d3c2_0 grpc read failed
2025-12-05T14:06:31.805121Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 44 sessionId: sid_rand_33|79d342e5-faee8606-1e0a6fc-f141d3c2_0 grpc closed
2025-12-05T14:06:31.805149Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 44 sessionId: sid_rand_33|79d342e5-faee8606-1e0a6fc-f141d3c2_0 is DEAD
2025-12-05T14:06:31.806001Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.806116Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.806133Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 45
2025-12-05T14:06:31.807411Z 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-05T14:06:31.807566Z 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]:56664
2025-12-05T14:06:31.807589Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=45 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.807603Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.809936Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 45 sessionId:  describe result for acl check
2025-12-05T14:06:31.810110Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.810124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.810138Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.810161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781782:2720] (SourceId=sid_rand_34, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.814447Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781782:2720] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:31.823448Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781782:2720] (SourceId=sid_rand_34, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:31.824581Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781798:2720] connected; active server actors: 1
2025-12-05T14:06:31.824858Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781782:2720] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_34
2025-12-05T14:06:31.824892Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781782:2720] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:31.827513Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781798:2720] disconnected; active server actors: 1
2025-12-05T14:06:31.827552Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781798:2720] disconnected no session
2025-12-05T14:06:31.845968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781782:2720] (SourceId=sid_rand_34, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.846022Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781782:2720] (SourceId=sid_rand_34, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-05T14:06:31.846048Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781782:2720] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.846092Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 45 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-05T14:06:31.848487Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:31.850273Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 45 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_34|202509c7-ed164dc8-2b5a8013-30f02a2_0
2025-12-05T14:06:31.848999Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_34|202509c7-ed164dc8-2b5a8013-30f02a2_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_34
Init result: { status: SUCCESS init_response { session_id: "sid_rand_34|202509c7-ed164dc8-2b5a8013-30f02a2_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.854567Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId: sid_rand_34|202509c7-ed164dc8-2b5a8013-30f02a2_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.854601Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 45 sessionId: sid_rand_34|202509c7-ed164dc8-2b5a8013-30f02a2_0 grpc read failed
2025-12-05T14:06:31.854634Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 45 sessionId: sid_rand_34|202509c7-ed164dc8-2b5a8013-30f02a2_0 grpc closed
2025-12-05T14:06:31.854660Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 45 sessionId: sid_rand_34|202509c7-ed164dc8-2b5a8013-30f02a2_0 is DEAD
2025-12-05T14:06:31.855758Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.855906Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.855931Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 46
2025-12-05T14:06:31.856777Z 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-05T14:06:31.856942Z 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]:56664
2025-12-05T14:06:31.856966Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=46 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.856978Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.859116Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 46 sessionId:  describe result for acl check
2025-12-05T14:06:31.859310Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.859326Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.859345Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.859370Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781811:2724] (SourceId=sid_rand_35, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.864060Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781811:2724] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:31.870792Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781811:2724] (SourceId=sid_rand_35, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:31.871941Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781827:2724] connected; active server actors: 1
2025-12-05T14:06:31.872448Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781811:2724] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_35
2025-12-05T14:06:31.872481Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781811:2724] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:31.873733Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781827:2724] disconnected; active server actors: 1
2025-12-05T14:06:31.873769Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781827:2724] disconnected no session
2025-12-05T14:06:31.896062Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781811:2724] (SourceId=sid_rand_35, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.896127Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781811:2724] (SourceId=sid_rand_35, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-05T14:06:31.896156Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781811:2724] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.896203Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 46 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-05T14:06:31.898311Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:31.898956Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_35|b9065692-3b92c252-62efc183-40a53bb6_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_35
2025-12-05T14:06:31.899606Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 46 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_35|b9065692-3b92c252-62efc183-40a53bb6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_35|b9065692-3b92c252-62efc183-40a53bb6_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.902723Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId: sid_rand_35|b9065692-3b92c252-62efc183-40a53bb6_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.902756Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 46 sessionId: sid_rand_35|b9065692-3b92c252-62efc183-40a53bb6_0 grpc read failed
2025-12-05T14:06:31.902791Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 46 sessionId: sid_rand_35|b9065692-3b92c252-62efc183-40a53bb6_0 grpc closed
2025-12-05T14:06:31.902817Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 46 sessionId: sid_rand_35|b9065692-3b92c252-62efc183-40a53bb6_0 is DEAD
2025-12-05T14:06:31.903744Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.903882Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.903907Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 47
2025-12-05T14:06:31.905211Z 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-05T14:06:31.905383Z 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]:56664
2025-12-05T14:06:31.905407Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=47 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.905419Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.907557Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 47 sessionId:  describe result for acl check
2025-12-05T14:06:31.907726Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.907742Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.907759Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.907784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781840:2728] (SourceId=sid_rand_36, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.912795Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781840:2728] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:31.932677Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781840:2728] (SourceId=sid_rand_36, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:31.940054Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781864:2728] connected; active server actors: 1
2025-12-05T14:06:31.942819Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781864:2728] disconnected; active server actors: 1
2025-12-05T14:06:31.942860Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375004054781864:2728] disconnected no session
2025-12-05T14:06:31.941058Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781840:2728] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_36
2025-12-05T14:06:31.941101Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781840:2728] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:31.967930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781840:2728] (SourceId=sid_rand_36, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:31.967990Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781840:2728] (SourceId=sid_rand_36, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-05T14:06:31.968015Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781840:2728] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:31.968059Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 47 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-05T14:06:31.970442Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:31.970923Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_36|98c00899-ee9cea3e-5807acac-73350b81_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_36
2025-12-05T14:06:31.972108Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 47 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_36|98c00899-ee9cea3e-5807acac-73350b81_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_36|98c00899-ee9cea3e-5807acac-73350b81_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:31.978520Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId: sid_rand_36|98c00899-ee9cea3e-5807acac-73350b81_0 grpc read done: success: 0 data: 
2025-12-05T14:06:31.978549Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 47 sessionId: sid_rand_36|98c00899-ee9cea3e-5807acac-73350b81_0 grpc read failed
2025-12-05T14:06:31.978577Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 47 sessionId: sid_rand_36|98c00899-ee9cea3e-5807acac-73350b81_0 grpc closed
2025-12-05T14:06:31.978606Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 47 sessionId: sid_rand_36|98c00899-ee9cea3e-5807acac-73350b81_0 is DEAD
2025-12-05T14:06:31.979335Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:31.979435Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:31.979448Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 48
2025-12-05T14:06:31.980689Z 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-05T14:06:31.980822Z 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]:56664
2025-12-05T14:06:31.980839Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=48 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:31.980848Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:31.982594Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 48 sessionId:  describe result for acl check
2025-12-05T14:06:31.982748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:31.982759Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:31.982770Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:31.982790Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375004054781876:2734] (SourceId=sid_rand_37, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:31.992376Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375004054781876:2734] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:32.004150Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375004054781876:2734] (SourceId=sid_rand_37, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:32.005648Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749198:2734] connected; active server actors: 1
2025-12-05T14:06:32.007920Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375004054781876:2734] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_37
2025-12-05T14:06:32.007965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375004054781876:2734] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:32.012741Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749198:2734] disconnected; active server actors: 1
2025-12-05T14:06:32.012785Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749198:2734] disconnected no session
2025-12-05T14:06:32.024020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375004054781876:2734] (SourceId=sid_rand_37, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:32.024084Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375004054781876:2734] (SourceId=sid_rand_37, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-05T14:06:32.024114Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375004054781876:2734] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:32.024158Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 48 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-05T14:06:32.027854Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:32.028154Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_37|3b2913f-ae0310e2-2d81d391-909a379c_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_37
2025-12-05T14:06:32.028740Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 48 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_37|3b2913f-ae0310e2-2d81d391-909a379c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_37|3b2913f-ae0310e2-2d81d391-909a379c_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:32.031834Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId: sid_rand_37|3b2913f-ae0310e2-2d81d391-909a379c_0 grpc read done: success: 0 data: 
2025-12-05T14:06:32.031862Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 48 sessionId: sid_rand_37|3b2913f-ae0310e2-2d81d391-909a379c_0 grpc read failed
2025-12-05T14:06:32.031893Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 48 sessionId: sid_rand_37|3b2913f-ae0310e2-2d81d391-909a379c_0 grpc closed
2025-12-05T14:06:32.031917Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 48 sessionId: sid_rand_37|3b2913f-ae0310e2-2d81d391-909a379c_0 is DEAD
2025-12-05T14:06:32.032854Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:32.032997Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:32.033017Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 49
2025-12-05T14:06:32.033855Z 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-05T14:06:32.034021Z 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]:56664
2025-12-05T14:06:32.034044Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=49 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:32.034056Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:32.036430Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 49 sessionId:  describe result for acl check
2025-12-05T14:06:32.036629Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:32.036646Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:32.036663Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:32.036689Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375008349749211:2742] (SourceId=sid_rand_38, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:32.042883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375008349749211:2742] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:32.062713Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375008349749211:2742] (SourceId=sid_rand_38, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:32.068296Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749230:2742] connected; active server actors: 1
2025-12-05T14:06:32.069005Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375008349749211:2742] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_38
2025-12-05T14:06:32.069046Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375008349749211:2742] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:32.070514Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749230:2742] disconnected; active server actors: 1
2025-12-05T14:06:32.070561Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749230:2742] disconnected no session
2025-12-05T14:06:32.093881Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375008349749211:2742] (SourceId=sid_rand_38, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:32.093941Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375008349749211:2742] (SourceId=sid_rand_38, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-05T14:06:32.093971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375008349749211:2742] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:32.094017Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 49 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-05T14:06:32.098377Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:32.098667Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_38|47787113-24ab723d-5db29e2d-a1816c7f_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_38
2025-12-05T14:06:32.099415Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 49 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_38|47787113-24ab723d-5db29e2d-a1816c7f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_38|47787113-24ab723d-5db29e2d-a1816c7f_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:32.105905Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId: sid_rand_38|47787113-24ab723d-5db29e2d-a1816c7f_0 grpc read done: success: 0 data: 
2025-12-05T14:06:32.105944Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 49 sessionId: sid_rand_38|47787113-24ab723d-5db29e2d-a1816c7f_0 grpc read failed
2025-12-05T14:06:32.105978Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 49 sessionId: sid_rand_38|47787113-24ab723d-5db29e2d-a1816c7f_0 grpc closed
2025-12-05T14:06:32.106002Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 49 sessionId: sid_rand_38|47787113-24ab723d-5db29e2d-a1816c7f_0 is DEAD
2025-12-05T14:06:32.106994Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:32.107148Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:32.107168Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 50
2025-12-05T14:06:32.108436Z 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-05T14:06:32.108613Z 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]:56664
2025-12-05T14:06:32.108638Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=50 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:32.108649Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:32.114300Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 50 sessionId:  describe result for acl check
2025-12-05T14:06:32.114504Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:32.114521Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:32.114538Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:32.114564Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375008349749247:2746] (SourceId=sid_rand_39, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:32.119615Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375008349749247:2746] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:32.132784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375008349749247:2746] (SourceId=sid_rand_39, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:32.135211Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749263:2746] connected; active server actors: 1
2025-12-05T14:06:32.137463Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749263:2746] disconnected; active server actors: 1
2025-12-05T14:06:32.137503Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749263:2746] disconnected no session
2025-12-05T14:06:32.136021Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375008349749247:2746] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_39
2025-12-05T14:06:32.136058Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375008349749247:2746] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:32.170739Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375008349749247:2746] (SourceId=sid_rand_39, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:32.170797Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375008349749247:2746] (SourceId=sid_rand_39, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-05T14:06:32.170826Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375008349749247:2746] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:32.170873Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 50 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-05T14:06:32.180660Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:32.180850Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_39|3fa51d2b-33c93f02-c2fe694c-1d838379_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_39
Init result: { status: SUCCESS init_response { session_id: "sid_rand_39|3fa51d2b-33c93f02-c2fe694c-1d838379_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:32.184993Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 50 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_39|3fa51d2b-33c93f02-c2fe694c-1d838379_0
2025-12-05T14:06:32.188052Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:32.188084Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 51
2025-12-05T14:06:32.188192Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId: sid_rand_39|3fa51d2b-33c93f02-c2fe694c-1d838379_0 grpc read done: success: 0 data: 
2025-12-05T14:06:32.188210Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 50 sessionId: sid_rand_39|3fa51d2b-33c93f02-c2fe694c-1d838379_0 grpc read failed
2025-12-05T14:06:32.188242Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 50 sessionId: sid_rand_39|3fa51d2b-33c93f02-c2fe694c-1d838379_0 grpc closed
2025-12-05T14:06:32.188265Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 50 sessionId: sid_rand_39|3fa51d2b-33c93f02-c2fe694c-1d838379_0 is DEAD
2025-12-05T14:06:32.189420Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:32.190076Z 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-05T14:06:32.190236Z 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]:56664
2025-12-05T14:06:32.190259Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=51 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:32.190270Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:32.192399Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 51 sessionId:  describe result for acl check
2025-12-05T14:06:32.192595Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:32.192611Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:32.192629Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:32.192654Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375008349749277:2750] (SourceId=sid_rand_40, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:32.197402Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375008349749277:2750] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:32.214692Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375008349749277:2750] (SourceId=sid_rand_40, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:32.215923Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749296:2750] connected; active server actors: 1
2025-12-05T14:06:32.216623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375008349749277:2750] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_40
2025-12-05T14:06:32.216659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375008349749277:2750] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:32.217885Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749296:2750] disconnected; active server actors: 1
2025-12-05T14:06:32.217941Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749296:2750] disconnected no session
2025-12-05T14:06:32.244504Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375008349749277:2750] (SourceId=sid_rand_40, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:32.244559Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375008349749277:2750] (SourceId=sid_rand_40, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-05T14:06:32.244584Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375008349749277:2750] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:32.244631Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 51 sessionId:  partition: 12 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_40|b7c89889-bc4fab5d-99795847-1fec81fb_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:32.247033Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:32.247276Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_40|b7c89889-bc4fab5d-99795847-1fec81fb_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_40
2025-12-05T14:06:32.247817Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 51 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_40|b7c89889-bc4fab5d-99795847-1fec81fb_0
2025-12-05T14:06:32.250876Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId: sid_rand_40|b7c89889-bc4fab5d-99795847-1fec81fb_0 grpc read done: success: 0 data: 
2025-12-05T14:06:32.250900Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 51 sessionId: sid_rand_40|b7c89889-bc4fab5d-99795847-1fec81fb_0 grpc read failed
2025-12-05T14:06:32.250933Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 51 sessionId: sid_rand_40|b7c89889-bc4fab5d-99795847-1fec81fb_0 grpc closed
2025-12-05T14:06:32.250956Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 51 sessionId: sid_rand_40|b7c89889-bc4fab5d-99795847-1fec81fb_0 is DEAD
2025-12-05T14:06:32.251928Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:32.252056Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:32.252075Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 52
2025-12-05T14:06:32.252823Z 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-05T14:06:32.252996Z 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]:56664
2025-12-05T14:06:32.253030Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=52 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:32.253042Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:32.255255Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 52 sessionId:  describe result for acl check
2025-12-05T14:06:32.255454Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:32.255471Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:32.255486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:32.255511Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375008349749310:2754] (SourceId=sid_rand_41, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:32.261076Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375008349749310:2754] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:32.271925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375008349749310:2754] (SourceId=sid_rand_41, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:32.273496Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749327:2754] connected; active server actors: 1
2025-12-05T14:06:32.274142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375008349749310:2754] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_41
2025-12-05T14:06:32.274177Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375008349749310:2754] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:32.275535Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749327:2754] disconnected; active server actors: 1
2025-12-05T14:06:32.275581Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749327:2754] disconnected no session
2025-12-05T14:06:32.285840Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375008349749310:2754] (SourceId=sid_rand_41, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:32.285901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375008349749310:2754] (SourceId=sid_rand_41, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-05T14:06:32.285928Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375008349749310:2754] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:32.285971Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 52 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-05T14:06:32.288048Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:32.288280Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_41|b66eba41-145c2344-5514e53-b21699a8_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_41
Init result: { status: SUCCESS init_response { session_id: "sid_rand_41|b66eba41-145c2344-5514e53-b21699a8_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:32.289017Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 52 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_41|b66eba41-145c2344-5514e53-b21699a8_0
2025-12-05T14:06:32.291849Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId: sid_rand_41|b66eba41-145c2344-5514e53-b21699a8_0 grpc read done: success: 0 data: 
2025-12-05T14:06:32.291879Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 52 sessionId: sid_rand_41|b66eba41-145c2344-5514e53-b21699a8_0 grpc read failed
2025-12-05T14:06:32.291911Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 52 sessionId: sid_rand_41|b66eba41-145c2344-5514e53-b21699a8_0 grpc closed
2025-12-05T14:06:32.291935Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 52 sessionId: sid_rand_41|b66eba41-145c2344-5514e53-b21699a8_0 is DEAD
2025-12-05T14:06:32.293675Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:32.293815Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:32.293834Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 53
2025-12-05T14:06:32.294703Z 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-05T14:06:32.294865Z 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]:56664
2025-12-05T14:06:32.294888Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=53 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:32.294900Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:32.297169Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 53 sessionId:  describe result for acl check
2025-12-05T14:06:32.297377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:32.297397Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:32.297412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:32.297438Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375008349749340:2758] (SourceId=sid_rand_42, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:32.303895Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375008349749340:2758] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:32.321020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375008349749340:2758] (SourceId=sid_rand_42, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:32.323119Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749356:2758] connected; active server actors: 1
2025-12-05T14:06:32.328807Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375008349749340:2758] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_42
2025-12-05T14:06:32.328849Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375008349749340:2758] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:32.330392Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749356:2758] disconnected; active server actors: 1
2025-12-05T14:06:32.330437Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749356:2758] disconnected no session
2025-12-05T14:06:32.353764Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375008349749340:2758] (SourceId=sid_rand_42, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:32.353819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375008349749340:2758] (SourceId=sid_rand_42, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-05T14:06:32.353848Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375008349749340:2758] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:32.353895Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 53 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-05T14:06:32.356353Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:32.356654Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_42|4d06b52-1295abd1-e624d1f6-48d151fd_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_42
2025-12-05T14:06:32.358294Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 53 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_42|4d06b52-1295abd1-e624d1f6-48d151fd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_42|4d06b52-1295abd1-e624d1f6-48d151fd_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:32.361378Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId: sid_rand_42|4d06b52-1295abd1-e624d1f6-48d151fd_0 grpc read done: success: 0 data: 
2025-12-05T14:06:32.361405Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 53 sessionId: sid_rand_42|4d06b52-1295abd1-e624d1f6-48d151fd_0 grpc read failed
2025-12-05T14:06:32.361437Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 53 sessionId: sid_rand_42|4d06b52-1295abd1-e624d1f6-48d151fd_0 grpc closed
2025-12-05T14:06:32.361465Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 53 sessionId: sid_rand_42|4d06b52-1295abd1-e624d1f6-48d151fd_0 is DEAD
2025-12-05T14:06:32.362365Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:32.362547Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:32.362565Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 54
2025-12-05T14:06:32.363552Z 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-05T14:06:32.363720Z 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]:56664
2025-12-05T14:06:32.363745Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=54 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:32.363758Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:32.366094Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 54 sessionId:  describe result for acl check
2025-12-05T14:06:32.366278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:32.366294Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:32.366310Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:32.366335Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375008349749370:2762] (SourceId=sid_rand_43, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:32.371458Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375008349749370:2762] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:32.387034Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375008349749370:2762] (SourceId=sid_rand_43, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:32.388596Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749390:2762] connected; active server actors: 1
2025-12-05T14:06:32.389271Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375008349749370:2762] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_43
2025-12-05T14:06:32.389312Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375008349749370:2762] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:32.390659Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749390:2762] disconnected; active server actors: 1
2025-12-05T14:06:32.390700Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749390:2762] disconnected no session
2025-12-05T14:06:32.406706Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375008349749370:2762] (SourceId=sid_rand_43, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:32.406766Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375008349749370:2762] (SourceId=sid_rand_43, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-05T14:06:32.406792Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375008349749370:2762] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:32.406847Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 54 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-05T14:06:32.409659Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:32.409961Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_43|5b9f9f21-72c8bb30-44833af2-260a0ecd_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_43
2025-12-05T14:06:32.410764Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 54 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_43|5b9f9f21-72c8bb30-44833af2-260a0ecd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_43|5b9f9f21-72c8bb30-44833af2-260a0ecd_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:32.419616Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId: sid_rand_43|5b9f9f21-72c8bb30-44833af2-260a0ecd_0 grpc read done: success: 0 data: 
2025-12-05T14:06:32.419656Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 54 sessionId: sid_rand_43|5b9f9f21-72c8bb30-44833af2-260a0ecd_0 grpc read failed
2025-12-05T14:06:32.419696Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 54 sessionId: sid_rand_43|5b9f9f21-72c8bb30-44833af2-260a0ecd_0 grpc closed
2025-12-05T14:06:32.419721Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 54 sessionId: sid_rand_43|5b9f9f21-72c8bb30-44833af2-260a0ecd_0 is DEAD
2025-12-05T14:06:32.421034Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:32.421178Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:32.421198Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 55
2025-12-05T14:06:32.425477Z 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-05T14:06:32.425680Z 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]:56664
2025-12-05T14:06:32.425712Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=55 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:32.425725Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:32.429307Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 55 sessionId:  describe result for acl check
2025-12-05T14:06:32.429498Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:32.429512Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:32.429529Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:32.429555Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375008349749403:2766] (SourceId=sid_rand_44, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:32.434858Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375008349749403:2766] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:32.498984Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375008349749403:2766] (SourceId=sid_rand_44, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:32.505623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375008349749403:2766] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_44
2025-12-05T14:06:32.505666Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375008349749403:2766] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:32.504948Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749420:2766] connected; active server actors: 1
2025-12-05T14:06:32.507097Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749420:2766] disconnected; active server actors: 1
2025-12-05T14:06:32.507133Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749420:2766] disconnected no session
2025-12-05T14:06:32.517346Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375008349749403:2766] (SourceId=sid_rand_44, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:32.517403Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375008349749403:2766] (SourceId=sid_rand_44, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_44|1eb2cd6c-1928e6cf-ea8802a5-eb6c9c8b_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:32.517429Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375008349749403:2766] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:32.517470Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 55 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-05T14:06:32.519019Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:32.519168Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_44|1eb2cd6c-1928e6cf-ea8802a5-eb6c9c8b_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_44
2025-12-05T14:06:32.519640Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 55 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_44|1eb2cd6c-1928e6cf-ea8802a5-eb6c9c8b_0
2025-12-05T14:06:32.522883Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:32.522906Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 56
2025-12-05T14:06:32.523169Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId: sid_rand_44|1eb2cd6c-1928e6cf-ea8802a5-eb6c9c8b_0 grpc read done: success: 0 data: 
2025-12-05T14:06:32.523190Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 55 sessionId: sid_rand_44|1eb2cd6c-1928e6cf-ea8802a5-eb6c9c8b_0 grpc read failed
2025-12-05T14:06:32.523220Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 55 sessionId: sid_rand_44|1eb2cd6c-1928e6cf-ea8802a5-eb6c9c8b_0 grpc closed
2025-12-05T14:06:32.523244Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 55 sessionId: sid_rand_44|1eb2cd6c-1928e6cf-ea8802a5-eb6c9c8b_0 is DEAD
2025-12-05T14:06:32.524391Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:32.524599Z 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-05T14:06:32.524764Z 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]:56664
2025-12-05T14:06:32.524787Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=56 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:32.524798Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:32.527236Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 56 sessionId:  describe result for acl check
2025-12-05T14:06:32.527414Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:32.527430Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:32.527447Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:32.527472Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375008349749436:2771] (SourceId=sid_rand_45, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:32.538879Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375008349749436:2771] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:32.563917Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375008349749436:2771] (SourceId=sid_rand_45, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:32.567592Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375008349749436:2771] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_45
2025-12-05T14:06:32.567632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375008349749436:2771] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:32.567022Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749468:2771] connected; active server actors: 1
2025-12-05T14:06:32.568901Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749468:2771] disconnected; active server actors: 1
2025-12-05T14:06:32.568943Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749468:2771] disconnected no session
2025-12-05T14:06:32.582007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375008349749436:2771] (SourceId=sid_rand_45, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:32.582068Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375008349749436:2771] (SourceId=sid_rand_45, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-05T14:06:32.582094Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375008349749436:2771] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:32.582142Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 56 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T14:06:32.586734Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_45|7e70b34b-395f5fb9-9cdc9f05-18809e2e_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_45
2025-12-05T14:06:32.586095Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:32.588045Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 56 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_45|7e70b34b-395f5fb9-9cdc9f05-18809e2e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_45|7e70b34b-395f5fb9-9cdc9f05-18809e2e_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:32.593592Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId: sid_rand_45|7e70b34b-395f5fb9-9cdc9f05-18809e2e_0 grpc read done: success: 0 data: 
2025-12-05T14:06:32.593636Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 56 sessionId: sid_rand_45|7e70b34b-395f5fb9-9cdc9f05-18809e2e_0 grpc read failed
2025-12-05T14:06:32.593675Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 56 sessionId: sid_rand_45|7e70b34b-395f5fb9-9cdc9f05-18809e2e_0 grpc closed
2025-12-05T14:06:32.593698Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 56 sessionId: sid_rand_45|7e70b34b-395f5fb9-9cdc9f05-18809e2e_0 is DEAD
2025-12-05T14:06:32.594699Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:32.594833Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:32.594851Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 57
2025-12-05T14:06:32.601070Z 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-05T14:06:32.601268Z 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]:56664
2025-12-05T14:06:32.601292Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=57 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:32.601305Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:32.603535Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 57 sessionId:  describe result for acl check
2025-12-05T14:06:32.603730Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:32.603747Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:32.603764Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:32.603789Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375008349749480:2776] (SourceId=sid_rand_46, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:32.608311Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375008349749480:2776] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:32.627759Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375008349749480:2776] (SourceId=sid_rand_46, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:32.629976Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375008349749480:2776] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_46
2025-12-05T14:06:32.630009Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375008349749480:2776] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:32.629429Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749496:2776] connected; active server actors: 1
2025-12-05T14:06:32.631366Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749496:2776] disconnected; active server actors: 1
2025-12-05T14:06:32.631396Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749496:2776] disconnected no session
2025-12-05T14:06:32.643094Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375008349749480:2776] (SourceId=sid_rand_46, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:32.643147Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375008349749480:2776] (SourceId=sid_rand_46, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T14:06:32.643173Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375008349749480:2776] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:32.643213Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 57 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T14:06:32.645688Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:32.647216Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 57 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_46|245dfad9-81bec155-d9ee18dd-8434d0b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_46|245dfad9-81bec155-d9ee18dd-8434d0b_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:32.646077Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_46|245dfad9-81bec155-d9ee18dd-8434d0b_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_46
2025-12-05T14:06:32.649507Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId: sid_rand_46|245dfad9-81bec155-d9ee18dd-8434d0b_0 grpc read done: success: 0 data: 
2025-12-05T14:06:32.649537Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 57 sessionId: sid_rand_46|245dfad9-81bec155-d9ee18dd-8434d0b_0 grpc read failed
2025-12-05T14:06:32.649718Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 57 sessionId: sid_rand_46|245dfad9-81bec155-d9ee18dd-8434d0b_0
2025-12-05T14:06:32.649760Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 57 sessionId: sid_rand_46|245dfad9-81bec155-d9ee18dd-8434d0b_0 is DEAD
2025-12-05T14:06:32.650109Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:32.650213Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:32.650226Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 58
2025-12-05T14:06:32.653643Z 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-05T14:06:32.653854Z 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]:56664
2025-12-05T14:06:32.653878Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=58 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:32.653889Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:32.662111Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 58 sessionId:  describe result for acl check
2025-12-05T14:06:32.662300Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:32.662315Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:32.662330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:32.662355Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375008349749508:2780] (SourceId=sid_rand_47, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:32.666966Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375008349749508:2780] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:32.677328Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375008349749508:2780] (SourceId=sid_rand_47, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:32.680978Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749525:2780] connected; active server actors: 1
2025-12-05T14:06:32.682847Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375008349749508:2780] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_47
2025-12-05T14:06:32.682885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375008349749508:2780] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:32.684704Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749525:2780] disconnected; active server actors: 1
2025-12-05T14:06:32.684744Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749525:2780] disconnected no session
2025-12-05T14:06:32.700939Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375008349749508:2780] (SourceId=sid_rand_47, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:32.701000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375008349749508:2780] (SourceId=sid_rand_47, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-05T14:06:32.701027Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375008349749508:2780] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:32.701069Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 58 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-05T14:06:32.702547Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:32.702913Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_47|8ed56df6-2e3786c4-9ff8ec66-c7390616_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_47
2025-12-05T14:06:32.703538Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 58 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_47|8ed56df6-2e3786c4-9ff8ec66-c7390616_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_47|8ed56df6-2e3786c4-9ff8ec66-c7390616_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:32.713677Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId: sid_rand_47|8ed56df6-2e3786c4-9ff8ec66-c7390616_0 grpc read done: success: 0 data: 
2025-12-05T14:06:32.713729Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 58 sessionId: sid_rand_47|8ed56df6-2e3786c4-9ff8ec66-c7390616_0 grpc read failed
2025-12-05T14:06:32.713771Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 58 sessionId: sid_rand_47|8ed56df6-2e3786c4-9ff8ec66-c7390616_0 grpc closed
2025-12-05T14:06:32.713806Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 58 sessionId: sid_rand_47|8ed56df6-2e3786c4-9ff8ec66-c7390616_0 is DEAD
2025-12-05T14:06:32.713925Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:32.713948Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 59
2025-12-05T14:06:32.714734Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:32.715492Z 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-05T14:06:32.715676Z 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]:56664
2025-12-05T14:06:32.715698Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=59 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:32.715709Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:32.717758Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 59 sessionId:  describe result for acl check
2025-12-05T14:06:32.717948Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:32.717962Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:32.717978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:32.718002Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375008349749560:2789] (SourceId=sid_rand_48, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:32.722310Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375008349749560:2789] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:32.731831Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375008349749560:2789] (SourceId=sid_rand_48, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:32.735755Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375008349749560:2789] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_48
2025-12-05T14:06:32.735813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375008349749560:2789] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:32.734258Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749577:2789] connected; active server actors: 1
2025-12-05T14:06:32.737880Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749577:2789] disconnected; active server actors: 1
2025-12-05T14:06:32.737919Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749577:2789] disconnected no session
2025-12-05T14:06:32.749446Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375008349749560:2789] (SourceId=sid_rand_48, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:32.749505Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375008349749560:2789] (SourceId=sid_rand_48, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-05T14:06:32.749532Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375008349749560:2789] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:32.749576Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 59 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T14:06:32.753353Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:32.756239Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 59 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_48|55c0a172-9c899cb5-2fac00cf-c2c8d3e4_0
2025-12-05T14:06:32.753814Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_48|55c0a172-9c899cb5-2fac00cf-c2c8d3e4_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_48
Init result: { status: SUCCESS init_response { session_id: "sid_rand_48|55c0a172-9c899cb5-2fac00cf-c2c8d3e4_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:32.759763Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId: sid_rand_48|55c0a172-9c899cb5-2fac00cf-c2c8d3e4_0 grpc read done: success: 0 data: 
2025-12-05T14:06:32.759803Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 59 sessionId: sid_rand_48|55c0a172-9c899cb5-2fac00cf-c2c8d3e4_0 grpc read failed
2025-12-05T14:06:32.759839Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 59 sessionId: sid_rand_48|55c0a172-9c899cb5-2fac00cf-c2c8d3e4_0 grpc closed
2025-12-05T14:06:32.759873Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 59 sessionId: sid_rand_48|55c0a172-9c899cb5-2fac00cf-c2c8d3e4_0 is DEAD
2025-12-05T14:06:32.761072Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:32.761237Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:32.761270Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 60
2025-12-05T14:06:32.761684Z 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-05T14:06:32.761896Z 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]:56664
2025-12-05T14:06:32.761922Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=60 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:32.761937Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:32.764125Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 60 sessionId:  describe result for acl check
2025-12-05T14:06:32.764314Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:32.764330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:32.764346Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:32.764371Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375008349749589:2793] (SourceId=sid_rand_49, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:32.769148Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375008349749589:2793] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:32.780664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375008349749589:2793] (SourceId=sid_rand_49, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:32.782834Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375008349749589:2793] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_49
2025-12-05T14:06:32.782872Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375008349749589:2793] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:32.782189Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749608:2793] connected; active server actors: 1
2025-12-05T14:06:32.786024Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749608:2793] disconnected; active server actors: 1
2025-12-05T14:06:32.786072Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749608:2793] disconnected no session
2025-12-05T14:06:32.796196Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375008349749589:2793] (SourceId=sid_rand_49, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:32.796252Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375008349749589:2793] (SourceId=sid_rand_49, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-05T14:06:32.796278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375008349749589:2793] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:32.796323Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 60 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-05T14:06:32.798573Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:32.798902Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_49|5cd55bf-1cef6f6f-5a81363b-cf7ddfbc_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_49
2025-12-05T14:06:32.800064Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 60 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_49|5cd55bf-1cef6f6f-5a81363b-cf7ddfbc_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_49|5cd55bf-1cef6f6f-5a81363b-cf7ddfbc_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:32.807184Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId: sid_rand_49|5cd55bf-1cef6f6f-5a81363b-cf7ddfbc_0 grpc read done: success: 0 data: 
2025-12-05T14:06:32.807225Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 60 sessionId: sid_rand_49|5cd55bf-1cef6f6f-5a81363b-cf7ddfbc_0 grpc read failed
2025-12-05T14:06:32.807258Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 60 sessionId: sid_rand_49|5cd55bf-1cef6f6f-5a81363b-cf7ddfbc_0 grpc closed
2025-12-05T14:06:32.807283Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 60 sessionId: sid_rand_49|5cd55bf-1cef6f6f-5a81363b-cf7ddfbc_0 is DEAD
2025-12-05T14:06:32.808510Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:32.808646Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:32.808667Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 61
2025-12-05T14:06:32.809082Z 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-05T14:06:32.809257Z 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]:56664
2025-12-05T14:06:32.809291Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=61 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:32.809312Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:32.811661Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 61 sessionId:  describe result for acl check
2025-12-05T14:06:32.811883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:32.811900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:32.811919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:32.811946Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375008349749623:2797] (SourceId=sid_rand_50, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:32.823209Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375008349749623:2797] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:32.846781Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375008349749623:2797] (SourceId=sid_rand_50, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:32.847626Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749643:2797] connected; active server actors: 1
2025-12-05T14:06:32.852878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375008349749623:2797] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_50
2025-12-05T14:06:32.852924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375008349749623:2797] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:32.858211Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749643:2797] disconnected; active server actors: 1
2025-12-05T14:06:32.858259Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749643:2797] disconnected no session
2025-12-05T14:06:32.872777Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375008349749623:2797] (SourceId=sid_rand_50, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:32.872830Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375008349749623:2797] (SourceId=sid_rand_50, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-05T14:06:32.872859Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375008349749623:2797] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:32.872904Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 61 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-05T14:06:32.874511Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:32.874929Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_50|20c52538-7023e84a-8e0e36f6-9286dacd_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_50
2025-12-05T14:06:32.875629Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 61 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_50|20c52538-7023e84a-8e0e36f6-9286dacd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_50|20c52538-7023e84a-8e0e36f6-9286dacd_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:32.885787Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId: sid_rand_50|20c52538-7023e84a-8e0e36f6-9286dacd_0 grpc read done: success: 0 data: 
2025-12-05T14:06:32.885824Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 61 sessionId: sid_rand_50|20c52538-7023e84a-8e0e36f6-9286dacd_0 grpc read failed
2025-12-05T14:06:32.885866Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 61 sessionId: sid_rand_50|20c52538-7023e84a-8e0e36f6-9286dacd_0 grpc closed
2025-12-05T14:06:32.885889Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 61 sessionId: sid_rand_50|20c52538-7023e84a-8e0e36f6-9286dacd_0 is DEAD
2025-12-05T14:06:32.886863Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:32.886990Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:32.887009Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 62
2025-12-05T14:06:32.888256Z 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-05T14:06:32.888455Z 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]:56664
2025-12-05T14:06:32.888480Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=62 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:32.888492Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:32.890550Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 62 sessionId:  describe result for acl check
2025-12-05T14:06:32.890729Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:32.890744Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:32.890760Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:32.890783Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375008349749657:2801] (SourceId=sid_rand_51, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:32.895283Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375008349749657:2801] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:32.904879Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375008349749657:2801] (SourceId=sid_rand_51, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:32.906954Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375008349749657:2801] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_51
2025-12-05T14:06:32.906986Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375008349749657:2801] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:32.906469Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749673:2801] connected; active server actors: 1
2025-12-05T14:06:32.908544Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749673:2801] disconnected; active server actors: 1
2025-12-05T14:06:32.908591Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749673:2801] disconnected no session
2025-12-05T14:06:32.921761Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375008349749657:2801] (SourceId=sid_rand_51, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:32.921809Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375008349749657:2801] (SourceId=sid_rand_51, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-05T14:06:32.921832Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375008349749657:2801] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:32.921871Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 62 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-05T14:06:32.923477Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:32.923910Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_51|14ceca6b-7b8777bc-e9b33923-a38d1bf_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_51
2025-12-05T14:06:32.924926Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 62 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_51|14ceca6b-7b8777bc-e9b33923-a38d1bf_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_51|14ceca6b-7b8777bc-e9b33923-a38d1bf_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:32.930792Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId: sid_rand_51|14ceca6b-7b8777bc-e9b33923-a38d1bf_0 grpc read done: success: 0 data: 
2025-12-05T14:06:32.930827Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 62 sessionId: sid_rand_51|14ceca6b-7b8777bc-e9b33923-a38d1bf_0 grpc read failed
2025-12-05T14:06:32.930862Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 62 sessionId: sid_rand_51|14ceca6b-7b8777bc-e9b33923-a38d1bf_0 grpc closed
2025-12-05T14:06:32.930883Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 62 sessionId: sid_rand_51|14ceca6b-7b8777bc-e9b33923-a38d1bf_0 is DEAD
2025-12-05T14:06:32.931787Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:32.931933Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:32.931951Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 63
2025-12-05T14:06:32.933150Z 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-05T14:06:32.933318Z 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]:56664
2025-12-05T14:06:32.933339Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=63 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:32.933350Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:32.935239Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 63 sessionId:  describe result for acl check
2025-12-05T14:06:32.935411Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:32.935428Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:32.935446Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:32.935473Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375008349749685:2805] (SourceId=sid_rand_52, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:32.957976Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375008349749685:2805] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:32.973450Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375008349749685:2805] (SourceId=sid_rand_52, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:32.974207Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749704:2805] connected; active server actors: 1
2025-12-05T14:06:32.974766Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375008349749685:2805] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_52
2025-12-05T14:06:32.974793Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375008349749685:2805] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:32.975755Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749704:2805] disconnected; active server actors: 1
2025-12-05T14:06:32.975786Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375008349749704:2805] disconnected no session
2025-12-05T14:06:33.003101Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375008349749685:2805] (SourceId=sid_rand_52, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:33.003169Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375008349749685:2805] (SourceId=sid_rand_52, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-05T14:06:33.003194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375008349749685:2805] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:33.003238Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 63 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-05T14:06:33.005146Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:33.005377Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_52|4855967a-307fd124-9a078026-f9e6bf8d_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_52
2025-12-05T14:06:33.006002Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 63 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_52|4855967a-307fd124-9a078026-f9e6bf8d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_52|4855967a-307fd124-9a078026-f9e6bf8d_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:33.010213Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId: sid_rand_52|4855967a-307fd124-9a078026-f9e6bf8d_0 grpc read done: success: 0 data: 
2025-12-05T14:06:33.010245Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 63 sessionId: sid_rand_52|4855967a-307fd124-9a078026-f9e6bf8d_0 grpc read failed
2025-12-05T14:06:33.010280Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 63 sessionId: sid_rand_52|4855967a-307fd124-9a078026-f9e6bf8d_0 grpc closed
2025-12-05T14:06:33.010306Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 63 sessionId: sid_rand_52|4855967a-307fd124-9a078026-f9e6bf8d_0 is DEAD
2025-12-05T14:06:33.011681Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:33.012786Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:33.012813Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 64
2025-12-05T14:06:33.013320Z 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-05T14:06:33.013484Z 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]:56664
2025-12-05T14:06:33.013510Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=64 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:33.013523Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:33.015707Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 64 sessionId:  describe result for acl check
2025-12-05T14:06:33.015894Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:33.015909Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:33.015925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:33.015949Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375012644717014:2809] (SourceId=sid_rand_53, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:33.020821Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375012644717014:2809] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:33.030103Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375012644717014:2809] (SourceId=sid_rand_53, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:33.033405Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375012644717014:2809] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_53
2025-12-05T14:06:33.033442Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375012644717014:2809] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:33.032826Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717031:2809] connected; active server actors: 1
2025-12-05T14:06:33.034762Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717031:2809] disconnected; active server actors: 1
2025-12-05T14:06:33.034793Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717031:2809] disconnected no session
2025-12-05T14:06:33.048562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375012644717014:2809] (SourceId=sid_rand_53, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:33.048621Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375012644717014:2809] (SourceId=sid_rand_53, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-05T14:06:33.048649Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375012644717014:2809] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:33.048697Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 64 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-05T14:06:33.056814Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:33.057422Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_53|9c48bc62-460bee50-4a7da45-1a453215_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_53
2025-12-05T14:06:33.058579Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 64 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_53|9c48bc62-460bee50-4a7da45-1a453215_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_53|9c48bc62-460bee50-4a7da45-1a453215_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:33.062681Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId: sid_rand_53|9c48bc62-460bee50-4a7da45-1a453215_0 grpc read done: success: 0 data: 
2025-12-05T14:06:33.062717Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 64 sessionId: sid_rand_53|9c48bc62-460bee50-4a7da45-1a453215_0 grpc read failed
2025-12-05T14:06:33.062755Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 64 sessionId: sid_rand_53|9c48bc62-460bee50-4a7da45-1a453215_0 grpc closed
2025-12-05T14:06:33.062779Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 64 sessionId: sid_rand_53|9c48bc62-460bee50-4a7da45-1a453215_0 is DEAD
2025-12-05T14:06:33.063761Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:33.063910Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:33.063928Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 65
2025-12-05T14:06:33.064606Z 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-05T14:06:33.064776Z 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]:56664
2025-12-05T14:06:33.064798Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=65 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:33.064811Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:33.067371Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 65 sessionId:  describe result for acl check
2025-12-05T14:06:33.067550Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:33.067564Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:33.067579Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:33.067602Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375012644717043:2813] (SourceId=sid_rand_54, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:33.072028Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375012644717043:2813] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:33.090906Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375012644717043:2813] (SourceId=sid_rand_54, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:33.092282Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717063:2813] connected; active server actors: 1
2025-12-05T14:06:33.092562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375012644717043:2813] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_54
2025-12-05T14:06:33.092598Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375012644717043:2813] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:33.093952Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717063:2813] disconnected; active server actors: 1
2025-12-05T14:06:33.094003Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717063:2813] disconnected no session
2025-12-05T14:06:33.123954Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375012644717043:2813] (SourceId=sid_rand_54, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:33.124007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375012644717043:2813] (SourceId=sid_rand_54, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-05T14:06:33.124032Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375012644717043:2813] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:33.124073Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 65 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-05T14:06:33.125525Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:33.126218Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_54|e29241da-f8f63fc-74c22766-e33194ef_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_54
2025-12-05T14:06:33.126711Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 65 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_54|e29241da-f8f63fc-74c22766-e33194ef_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_54|e29241da-f8f63fc-74c22766-e33194ef_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:33.129301Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:33.129327Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 66
2025-12-05T14:06:33.129342Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId: sid_rand_54|e29241da-f8f63fc-74c22766-e33194ef_0 grpc read done: success: 0 data: 
2025-12-05T14:06:33.129364Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 65 sessionId: sid_rand_54|e29241da-f8f63fc-74c22766-e33194ef_0 grpc read failed
2025-12-05T14:06:33.129393Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 65 sessionId: sid_rand_54|e29241da-f8f63fc-74c22766-e33194ef_0 grpc closed
2025-12-05T14:06:33.129416Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 65 sessionId: sid_rand_54|e29241da-f8f63fc-74c22766-e33194ef_0 is DEAD
2025-12-05T14:06:33.130290Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:33.131314Z 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-05T14:06:33.131462Z 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]:56664
2025-12-05T14:06:33.131482Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=66 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:33.131492Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:33.134735Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 66 sessionId:  describe result for acl check
2025-12-05T14:06:33.134902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:33.134916Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:33.134930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:33.134955Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375012644717086:2819] (SourceId=sid_rand_55, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:33.139718Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375012644717086:2819] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:33.153294Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375012644717086:2819] (SourceId=sid_rand_55, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:33.157761Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717102:2819] connected; active server actors: 1
2025-12-05T14:06:33.162733Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375012644717086:2819] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_55
2025-12-05T14:06:33.162784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375012644717086:2819] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:33.164219Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717102:2819] disconnected; active server actors: 1
2025-12-05T14:06:33.164267Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717102:2819] disconnected no session
2025-12-05T14:06:33.177820Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375012644717086:2819] (SourceId=sid_rand_55, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:33.177874Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375012644717086:2819] (SourceId=sid_rand_55, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-05T14:06:33.177894Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375012644717086:2819] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:33.177932Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 66 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-05T14:06:33.179234Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:33.179373Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_55|a98f5852-1fdeb173-d454e7ec-31564b0f_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_55
2025-12-05T14:06:33.179783Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 66 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_55|a98f5852-1fdeb173-d454e7ec-31564b0f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_55|a98f5852-1fdeb173-d454e7ec-31564b0f_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:33.182788Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId: sid_rand_55|a98f5852-1fdeb173-d454e7ec-31564b0f_0 grpc read done: success: 0 data: 
2025-12-05T14:06:33.182827Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 66 sessionId: sid_rand_55|a98f5852-1fdeb173-d454e7ec-31564b0f_0 grpc read failed
2025-12-05T14:06:33.182868Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 66 sessionId: sid_rand_55|a98f5852-1fdeb173-d454e7ec-31564b0f_0 grpc closed
2025-12-05T14:06:33.182895Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 66 sessionId: sid_rand_55|a98f5852-1fdeb173-d454e7ec-31564b0f_0 is DEAD
2025-12-05T14:06:33.182954Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:33.182977Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 67
2025-12-05T14:06:33.183444Z 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-05T14:06:33.183619Z 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]:56664
2025-12-05T14:06:33.183651Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=67 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:33.183663Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:33.185209Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:33.185695Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 67 sessionId:  describe result for acl check
2025-12-05T14:06:33.185876Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:33.185900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:33.185917Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:33.185940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375012644717116:2823] (SourceId=sid_rand_56, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:33.190856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375012644717116:2823] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:33.203983Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375012644717116:2823] (SourceId=sid_rand_56, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:33.205599Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717133:2823] connected; active server actors: 1
2025-12-05T14:06:33.206341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375012644717116:2823] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_56
2025-12-05T14:06:33.206377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375012644717116:2823] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:33.207984Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717133:2823] disconnected; active server actors: 1
2025-12-05T14:06:33.208027Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717133:2823] disconnected no session
2025-12-05T14:06:33.223866Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375012644717116:2823] (SourceId=sid_rand_56, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:33.223922Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375012644717116:2823] (SourceId=sid_rand_56, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-05T14:06:33.223950Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375012644717116:2823] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:33.223996Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 67 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-05T14:06:33.226248Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:33.226476Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_56|aa14f5d8-70eedc6b-a9b5ee94-e531b7bd_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_56
2025-12-05T14:06:33.227191Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 67 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_56|aa14f5d8-70eedc6b-a9b5ee94-e531b7bd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_56|aa14f5d8-70eedc6b-a9b5ee94-e531b7bd_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:33.233519Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId: sid_rand_56|aa14f5d8-70eedc6b-a9b5ee94-e531b7bd_0 grpc read done: success: 0 data: 
2025-12-05T14:06:33.233568Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 67 sessionId: sid_rand_56|aa14f5d8-70eedc6b-a9b5ee94-e531b7bd_0 grpc read failed
2025-12-05T14:06:33.233609Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 67 sessionId: sid_rand_56|aa14f5d8-70eedc6b-a9b5ee94-e531b7bd_0 grpc closed
2025-12-05T14:06:33.233635Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 67 sessionId: sid_rand_56|aa14f5d8-70eedc6b-a9b5ee94-e531b7bd_0 is DEAD
2025-12-05T14:06:33.233731Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:33.233754Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 68
2025-12-05T14:06:33.234112Z 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-05T14:06:33.234268Z 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]:56664
2025-12-05T14:06:33.234290Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=68 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:33.234302Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:33.234673Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:33.236706Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 68 sessionId:  describe result for acl check
2025-12-05T14:06:33.236886Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:33.236909Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:33.236926Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:33.236952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375012644717146:2827] (SourceId=sid_rand_57, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:33.245560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375012644717146:2827] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:33.269477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375012644717146:2827] (SourceId=sid_rand_57, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:33.271182Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717165:2827] connected; active server actors: 1
2025-12-05T14:06:33.273461Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717165:2827] disconnected; active server actors: 1
2025-12-05T14:06:33.273539Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717165:2827] disconnected no session
2025-12-05T14:06:33.272609Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375012644717146:2827] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_57
2025-12-05T14:06:33.272655Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375012644717146:2827] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:33.284927Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375012644717146:2827] (SourceId=sid_rand_57, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:33.284987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375012644717146:2827] (SourceId=sid_rand_57, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-05T14:06:33.285014Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375012644717146:2827] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:33.285061Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 68 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-05T14:06:33.286692Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:33.286966Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_57|25fd4ebd-17cae6d-37181c09-fba4c84a_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_57
Init result: { status: SUCCESS init_response { session_id: "sid_rand_57|25fd4ebd-17cae6d-37181c09-fba4c84a_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:33.287599Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 68 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_57|25fd4ebd-17cae6d-37181c09-fba4c84a_0
2025-12-05T14:06:33.291096Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:33.291129Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 69
2025-12-05T14:06:33.291331Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId: sid_rand_57|25fd4ebd-17cae6d-37181c09-fba4c84a_0 grpc read done: success: 0 data: 
2025-12-05T14:06:33.291362Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 68 sessionId: sid_rand_57|25fd4ebd-17cae6d-37181c09-fba4c84a_0 grpc read failed
2025-12-05T14:06:33.291418Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 68 sessionId: sid_rand_57|25fd4ebd-17cae6d-37181c09-fba4c84a_0 grpc closed
2025-12-05T14:06:33.291458Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 68 sessionId: sid_rand_57|25fd4ebd-17cae6d-37181c09-fba4c84a_0 is DEAD
2025-12-05T14:06:33.292343Z 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-05T14:06:33.292543Z 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]:56664
2025-12-05T14:06:33.292577Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=69 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:33.292589Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:33.293669Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:33.295585Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 69 sessionId:  describe result for acl check
2025-12-05T14:06:33.295776Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:33.295799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:33.295826Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:33.295852Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375012644717178:2831] (SourceId=sid_rand_58, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:33.300762Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375012644717178:2831] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:33.313305Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375012644717178:2831] (SourceId=sid_rand_58, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:33.315334Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717194:2831] connected; active server actors: 1
2025-12-05T14:06:33.315848Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375012644717178:2831] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_58
2025-12-05T14:06:33.315888Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375012644717178:2831] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:33.316977Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717194:2831] disconnected; active server actors: 1
2025-12-05T14:06:33.317017Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717194:2831] disconnected no session
2025-12-05T14:06:33.327794Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375012644717178:2831] (SourceId=sid_rand_58, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:33.327851Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375012644717178:2831] (SourceId=sid_rand_58, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-05T14:06:33.327878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375012644717178:2831] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:33.327923Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 69 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-05T14:06:33.329224Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:33.329395Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_58|459eefcb-8e0e3cea-c4cb8474-7fd0f2c7_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_58
2025-12-05T14:06:33.329860Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 69 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_58|459eefcb-8e0e3cea-c4cb8474-7fd0f2c7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_58|459eefcb-8e0e3cea-c4cb8474-7fd0f2c7_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:33.334613Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId: sid_rand_58|459eefcb-8e0e3cea-c4cb8474-7fd0f2c7_0 grpc read done: success: 0 data: 
2025-12-05T14:06:33.334657Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 69 sessionId: sid_rand_58|459eefcb-8e0e3cea-c4cb8474-7fd0f2c7_0 grpc read failed
2025-12-05T14:06:33.334689Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 69 sessionId: sid_rand_58|459eefcb-8e0e3cea-c4cb8474-7fd0f2c7_0 grpc closed
2025-12-05T14:06:33.334715Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 69 sessionId: sid_rand_58|459eefcb-8e0e3cea-c4cb8474-7fd0f2c7_0 is DEAD
2025-12-05T14:06:33.334792Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:33.334813Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 70
2025-12-05T14:06:33.335255Z 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-05T14:06:33.335432Z 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]:56664
2025-12-05T14:06:33.335455Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=70 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:33.335466Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:33.335921Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:33.337353Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 70 sessionId:  describe result for acl check
2025-12-05T14:06:33.337515Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:33.337534Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:33.337549Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:33.337575Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375012644717207:2835] (SourceId=sid_rand_59, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:33.341948Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375012644717207:2835] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:33.354523Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375012644717207:2835] (SourceId=sid_rand_59, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:33.355758Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717224:2835] connected; active server actors: 1
2025-12-05T14:06:33.356173Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375012644717207:2835] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_59
2025-12-05T14:06:33.356210Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375012644717207:2835] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:33.359793Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717224:2835] disconnected; active server actors: 1
2025-12-05T14:06:33.359836Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717224:2835] disconnected no session
2025-12-05T14:06:33.371441Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375012644717207:2835] (SourceId=sid_rand_59, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:33.371511Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375012644717207:2835] (SourceId=sid_rand_59, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-05T14:06:33.371536Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375012644717207:2835] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:33.371585Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 70 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-05T14:06:33.376206Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:33.380246Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_59|a9e573b9-d1f96c51-a4f4b013-ce09e60e_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_59
2025-12-05T14:06:33.381332Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 70 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_59|a9e573b9-d1f96c51-a4f4b013-ce09e60e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_59|a9e573b9-d1f96c51-a4f4b013-ce09e60e_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:33.383645Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId: sid_rand_59|a9e573b9-d1f96c51-a4f4b013-ce09e60e_0 grpc read done: success: 0 data: 
2025-12-05T14:06:33.383677Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 70 sessionId: sid_rand_59|a9e573b9-d1f96c51-a4f4b013-ce09e60e_0 grpc read failed
2025-12-05T14:06:33.384075Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 70 sessionId: sid_rand_59|a9e573b9-d1f96c51-a4f4b013-ce09e60e_0
2025-12-05T14:06:33.384109Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 70 sessionId: sid_rand_59|a9e573b9-d1f96c51-a4f4b013-ce09e60e_0 is DEAD
2025-12-05T14:06:33.384632Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:33.384752Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:33.384769Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 71
2025-12-05T14:06:33.385111Z 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-05T14:06:33.385290Z 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]:56664
2025-12-05T14:06:33.385313Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=71 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:33.385324Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:33.387341Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 71 sessionId:  describe result for acl check
2025-12-05T14:06:33.387470Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:33.387481Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:33.387493Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:33.387512Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375012644717238:2839] (SourceId=sid_rand_60, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:33.391136Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375012644717238:2839] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:33.403441Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375012644717238:2839] (SourceId=sid_rand_60, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:33.404205Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717257:2839] connected; active server actors: 1
2025-12-05T14:06:33.410547Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717257:2839] disconnected; active server actors: 1
2025-12-05T14:06:33.410597Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717257:2839] disconnected no session
2025-12-05T14:06:33.408842Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375012644717238:2839] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_60
2025-12-05T14:06:33.408891Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375012644717238:2839] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:33.431450Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375012644717238:2839] (SourceId=sid_rand_60, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:33.431522Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375012644717238:2839] (SourceId=sid_rand_60, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-05T14:06:33.431550Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375012644717238:2839] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:33.431595Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 71 sessionId:  partition: 12 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_60|11d69459-bebe6d7f-be3075be-f0e080f4_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:33.432421Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:33.432764Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_60|11d69459-bebe6d7f-be3075be-f0e080f4_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_60
2025-12-05T14:06:33.433308Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 71 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_60|11d69459-bebe6d7f-be3075be-f0e080f4_0
2025-12-05T14:06:33.436554Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId: sid_rand_60|11d69459-bebe6d7f-be3075be-f0e080f4_0 grpc read done: success: 0 data: 
2025-12-05T14:06:33.436573Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 71 sessionId: sid_rand_60|11d69459-bebe6d7f-be3075be-f0e080f4_0 grpc read failed
2025-12-05T14:06:33.437040Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 71 sessionId: sid_rand_60|11d69459-bebe6d7f-be3075be-f0e080f4_0
2025-12-05T14:06:33.437097Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 71 sessionId: sid_rand_60|11d69459-bebe6d7f-be3075be-f0e080f4_0 is DEAD
2025-12-05T14:06:33.437567Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:33.437598Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 72
2025-12-05T14:06:33.437640Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:33.438232Z 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-05T14:06:33.438417Z 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]:56664
2025-12-05T14:06:33.438445Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=72 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:33.438456Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:33.440619Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 72 sessionId:  describe result for acl check
2025-12-05T14:06:33.440811Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:33.440838Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:33.440856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:33.440882Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375012644717270:2843] (SourceId=sid_rand_61, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:33.447749Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375012644717270:2843] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:33.458298Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375012644717270:2843] (SourceId=sid_rand_61, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:33.460105Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717286:2843] connected; active server actors: 1
2025-12-05T14:06:33.460607Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375012644717270:2843] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_61
2025-12-05T14:06:33.460643Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375012644717270:2843] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:33.461990Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717286:2843] disconnected; active server actors: 1
2025-12-05T14:06:33.462036Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717286:2843] disconnected no session
2025-12-05T14:06:33.473316Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375012644717270:2843] (SourceId=sid_rand_61, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:33.473366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375012644717270:2843] (SourceId=sid_rand_61, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-05T14:06:33.473391Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375012644717270:2843] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:33.473435Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 72 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-05T14:06:33.475393Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:33.475649Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_61|74959919-c703a527-1a22d1d6-23e20d80_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_61
2025-12-05T14:06:33.476283Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 72 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_61|74959919-c703a527-1a22d1d6-23e20d80_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_61|74959919-c703a527-1a22d1d6-23e20d80_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:33.479208Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId: sid_rand_61|74959919-c703a527-1a22d1d6-23e20d80_0 grpc read done: success: 0 data: 
2025-12-05T14:06:33.479241Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 72 sessionId: sid_rand_61|74959919-c703a527-1a22d1d6-23e20d80_0 grpc read failed
2025-12-05T14:06:33.479285Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 72 sessionId: sid_rand_61|74959919-c703a527-1a22d1d6-23e20d80_0 grpc closed
2025-12-05T14:06:33.479306Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 72 sessionId: sid_rand_61|74959919-c703a527-1a22d1d6-23e20d80_0 is DEAD
2025-12-05T14:06:33.480205Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:33.480329Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:33.480348Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 73
2025-12-05T14:06:33.481682Z 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-05T14:06:33.481857Z 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]:56664
2025-12-05T14:06:33.481879Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=73 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:33.481890Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:33.483994Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 73 sessionId:  describe result for acl check
2025-12-05T14:06:33.484192Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:33.484207Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:33.484224Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:33.484248Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375012644717299:2847] (SourceId=sid_rand_62, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:33.489001Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375012644717299:2847] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:33.497577Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375012644717299:2847] (SourceId=sid_rand_62, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:33.499561Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717315:2847] connected; active server actors: 1
2025-12-05T14:06:33.500036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375012644717299:2847] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_62
2025-12-05T14:06:33.500068Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375012644717299:2847] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:33.501711Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717315:2847] disconnected; active server actors: 1
2025-12-05T14:06:33.501758Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717315:2847] disconnected no session
2025-12-05T14:06:33.515864Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375012644717299:2847] (SourceId=sid_rand_62, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:33.515917Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375012644717299:2847] (SourceId=sid_rand_62, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-05T14:06:33.515946Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375012644717299:2847] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:33.515992Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 73 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-05T14:06:33.516876Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:33.517111Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_62|6bc2146d-1026c305-aa9c1970-3c04caf0_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_62
2025-12-05T14:06:33.517608Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 73 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_62|6bc2146d-1026c305-aa9c1970-3c04caf0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_62|6bc2146d-1026c305-aa9c1970-3c04caf0_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:33.522666Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId: sid_rand_62|6bc2146d-1026c305-aa9c1970-3c04caf0_0 grpc read done: success: 0 data: 
2025-12-05T14:06:33.522702Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 73 sessionId: sid_rand_62|6bc2146d-1026c305-aa9c1970-3c04caf0_0 grpc read failed
2025-12-05T14:06:33.522738Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 73 sessionId: sid_rand_62|6bc2146d-1026c305-aa9c1970-3c04caf0_0 grpc closed
2025-12-05T14:06:33.522761Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 73 sessionId: sid_rand_62|6bc2146d-1026c305-aa9c1970-3c04caf0_0 is DEAD
2025-12-05T14:06:33.523475Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:33.523496Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 74
2025-12-05T14:06:33.523717Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:33.524456Z 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-05T14:06:33.524630Z 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]:56664
2025-12-05T14:06:33.524653Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=74 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:33.524665Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:33.526748Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 74 sessionId:  describe result for acl check
2025-12-05T14:06:33.526927Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:33.526943Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:33.526957Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:33.526981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375012644717331:2852] (SourceId=sid_rand_63, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:33.531546Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375012644717331:2852] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:33.541890Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375012644717331:2852] (SourceId=sid_rand_63, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:33.544312Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375012644717331:2852] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_63
2025-12-05T14:06:33.544373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375012644717331:2852] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:33.543521Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717351:2852] connected; active server actors: 1
2025-12-05T14:06:33.545342Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717351:2852] disconnected; active server actors: 1
2025-12-05T14:06:33.545384Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717351:2852] disconnected no session
2025-12-05T14:06:33.559424Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375012644717331:2852] (SourceId=sid_rand_63, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:33.559485Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375012644717331:2852] (SourceId=sid_rand_63, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-05T14:06:33.559513Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375012644717331:2852] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:33.559561Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 74 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T14:06:33.563071Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:33.564719Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_63|a77858c3-7b7d2bd4-fadf76f-9a484eb2_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_63
2025-12-05T14:06:33.569016Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 74 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_63|a77858c3-7b7d2bd4-fadf76f-9a484eb2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_63|a77858c3-7b7d2bd4-fadf76f-9a484eb2_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:33.574812Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId: sid_rand_63|a77858c3-7b7d2bd4-fadf76f-9a484eb2_0 grpc read done: success: 0 data: 
2025-12-05T14:06:33.574867Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 74 sessionId: sid_rand_63|a77858c3-7b7d2bd4-fadf76f-9a484eb2_0 grpc read failed
2025-12-05T14:06:33.574910Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 74 sessionId: sid_rand_63|a77858c3-7b7d2bd4-fadf76f-9a484eb2_0 grpc closed
2025-12-05T14:06:33.574939Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 74 sessionId: sid_rand_63|a77858c3-7b7d2bd4-fadf76f-9a484eb2_0 is DEAD
2025-12-05T14:06:33.574962Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:33.574986Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 75
2025-12-05T14:06:33.575356Z 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-05T14:06:33.575531Z 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]:56664
2025-12-05T14:06:33.575554Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=75 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:33.575566Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:33.576318Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:33.577624Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 75 sessionId:  describe result for acl check
2025-12-05T14:06:33.577816Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:33.577840Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:33.577856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:33.577878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375012644717375:2857] (SourceId=sid_rand_64, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:33.582297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375012644717375:2857] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:33.592605Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375012644717375:2857] (SourceId=sid_rand_64, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:33.597616Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717391:2857] connected; active server actors: 1
2025-12-05T14:06:33.598159Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375012644717375:2857] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_64
2025-12-05T14:06:33.598204Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375012644717375:2857] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:33.599762Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717391:2857] disconnected; active server actors: 1
2025-12-05T14:06:33.599808Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717391:2857] disconnected no session
2025-12-05T14:06:33.625983Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375012644717375:2857] (SourceId=sid_rand_64, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:33.626045Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375012644717375:2857] (SourceId=sid_rand_64, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T14:06:33.626076Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375012644717375:2857] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:33.626124Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 75 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T14:06:33.637197Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_64|cde6e306-e6ea4fe8-e65da20a-5b6c43d8_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_64
2025-12-05T14:06:33.636704Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:33.638299Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 75 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_64|cde6e306-e6ea4fe8-e65da20a-5b6c43d8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_64|cde6e306-e6ea4fe8-e65da20a-5b6c43d8_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:33.643065Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId: sid_rand_64|cde6e306-e6ea4fe8-e65da20a-5b6c43d8_0 grpc read done: success: 0 data: 
2025-12-05T14:06:33.643117Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 75 sessionId: sid_rand_64|cde6e306-e6ea4fe8-e65da20a-5b6c43d8_0 grpc read failed
2025-12-05T14:06:33.643140Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:33.643154Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 75 sessionId: sid_rand_64|cde6e306-e6ea4fe8-e65da20a-5b6c43d8_0 grpc closed
2025-12-05T14:06:33.643169Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 76
2025-12-05T14:06:33.643179Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 75 sessionId: sid_rand_64|cde6e306-e6ea4fe8-e65da20a-5b6c43d8_0 is DEAD
2025-12-05T14:06:33.644070Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:33.644815Z 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-05T14:06:33.644980Z 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]:56664
2025-12-05T14:06:33.645003Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=76 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:33.645015Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:33.646967Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 76 sessionId:  describe result for acl check
2025-12-05T14:06:33.647161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:33.647176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:33.647193Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:33.647216Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375012644717403:2861] (SourceId=sid_rand_65, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:33.656012Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375012644717403:2861] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:33.691028Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717423:2861] connected; active server actors: 1
2025-12-05T14:06:33.688213Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375012644717403:2861] (SourceId=sid_rand_65, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:33.691559Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375012644717403:2861] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_65
2025-12-05T14:06:33.691589Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375012644717403:2861] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:33.692832Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717423:2861] disconnected; active server actors: 1
2025-12-05T14:06:33.692879Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717423:2861] disconnected no session
2025-12-05T14:06:33.727995Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375012644717403:2861] (SourceId=sid_rand_65, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:33.728047Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375012644717403:2861] (SourceId=sid_rand_65, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-05T14:06:33.728075Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375012644717403:2861] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:33.728119Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 76 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-05T14:06:33.730475Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:33.730728Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_65|17c59a04-271e4e72-171475e6-593f665c_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_65
2025-12-05T14:06:33.731279Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 76 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_65|17c59a04-271e4e72-171475e6-593f665c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_65|17c59a04-271e4e72-171475e6-593f665c_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:33.734173Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId: sid_rand_65|17c59a04-271e4e72-171475e6-593f665c_0 grpc read done: success: 0 data: 
2025-12-05T14:06:33.734203Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 76 sessionId: sid_rand_65|17c59a04-271e4e72-171475e6-593f665c_0 grpc read failed
2025-12-05T14:06:33.734233Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 76 sessionId: sid_rand_65|17c59a04-271e4e72-171475e6-593f665c_0 grpc closed
2025-12-05T14:06:33.734256Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 76 sessionId: sid_rand_65|17c59a04-271e4e72-171475e6-593f665c_0 is DEAD
2025-12-05T14:06:33.735113Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:33.735230Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:33.735249Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 77
2025-12-05T14:06:33.741218Z 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-05T14:06:33.741426Z 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]:56664
2025-12-05T14:06:33.741449Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=77 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:33.741461Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:33.743515Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 77 sessionId:  describe result for acl check
2025-12-05T14:06:33.743693Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:33.743707Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:33.743724Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:33.743748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375012644717441:2867] (SourceId=sid_rand_66, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:33.748078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375012644717441:2867] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:33.794624Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375012644717441:2867] (SourceId=sid_rand_66, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:33.796962Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717471:2867] connected; active server actors: 1
2025-12-05T14:06:33.804215Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717471:2867] disconnected; active server actors: 1
2025-12-05T14:06:33.804252Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717471:2867] disconnected no session
2025-12-05T14:06:33.802972Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375012644717441:2867] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_66
2025-12-05T14:06:33.803008Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375012644717441:2867] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:33.830412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375012644717441:2867] (SourceId=sid_rand_66, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:33.830521Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375012644717441:2867] (SourceId=sid_rand_66, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-05T14:06:33.830551Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375012644717441:2867] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:33.830603Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 77 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T14:06:33.838627Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:33.839136Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_66|48289ab1-ec08106e-1195c561-f24b3c53_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_66
2025-12-05T14:06:33.840384Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 77 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_66|48289ab1-ec08106e-1195c561-f24b3c53_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_66|48289ab1-ec08106e-1195c561-f24b3c53_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:33.846809Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId: sid_rand_66|48289ab1-ec08106e-1195c561-f24b3c53_0 grpc read done: success: 0 data: 
2025-12-05T14:06:33.846844Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 77 sessionId: sid_rand_66|48289ab1-ec08106e-1195c561-f24b3c53_0 grpc read failed
2025-12-05T14:06:33.846881Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 77 sessionId: sid_rand_66|48289ab1-ec08106e-1195c561-f24b3c53_0 grpc closed
2025-12-05T14:06:33.846903Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 77 sessionId: sid_rand_66|48289ab1-ec08106e-1195c561-f24b3c53_0 is DEAD
2025-12-05T14:06:33.847853Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:33.847993Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:33.848011Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 78
2025-12-05T14:06:33.849069Z 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-05T14:06:33.849230Z 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]:56664
2025-12-05T14:06:33.849253Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=78 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:33.849264Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:33.852946Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 78 sessionId:  describe result for acl check
2025-12-05T14:06:33.853127Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:33.853141Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:33.853154Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:33.853176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375012644717484:2875] (SourceId=sid_rand_67, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:33.857754Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375012644717484:2875] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:33.879688Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375012644717484:2875] (SourceId=sid_rand_67, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:33.881939Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375012644717484:2875] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_67
2025-12-05T14:06:33.881969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375012644717484:2875] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:33.881430Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717505:2875] connected; active server actors: 1
2025-12-05T14:06:33.883244Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717505:2875] disconnected; active server actors: 1
2025-12-05T14:06:33.883271Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717505:2875] disconnected no session
2025-12-05T14:06:33.905649Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375012644717484:2875] (SourceId=sid_rand_67, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:33.905697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375012644717484:2875] (SourceId=sid_rand_67, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-05T14:06:33.905722Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375012644717484:2875] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:33.905760Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 78 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-05T14:06:33.907968Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:33.908222Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_67|d0a44845-785e295c-2daecb3d-7fa31950_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_67
2025-12-05T14:06:33.908826Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 78 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_67|d0a44845-785e295c-2daecb3d-7fa31950_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_67|d0a44845-785e295c-2daecb3d-7fa31950_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:33.911505Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId: sid_rand_67|d0a44845-785e295c-2daecb3d-7fa31950_0 grpc read done: success: 0 data: 
2025-12-05T14:06:33.911533Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 78 sessionId: sid_rand_67|d0a44845-785e295c-2daecb3d-7fa31950_0 grpc read failed
2025-12-05T14:06:33.911563Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 78 sessionId: sid_rand_67|d0a44845-785e295c-2daecb3d-7fa31950_0 grpc closed
2025-12-05T14:06:33.911586Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 78 sessionId: sid_rand_67|d0a44845-785e295c-2daecb3d-7fa31950_0 is DEAD
2025-12-05T14:06:33.912445Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:33.912572Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:33.912590Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 79
2025-12-05T14:06:33.913731Z 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-05T14:06:33.913903Z 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]:56664
2025-12-05T14:06:33.913925Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=79 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:33.913936Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:33.915870Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 79 sessionId:  describe result for acl check
2025-12-05T14:06:33.916034Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:33.916047Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:33.916061Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:33.916113Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375012644717518:2879] (SourceId=sid_rand_68, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:33.920798Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375012644717518:2879] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:33.929780Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375012644717518:2879] (SourceId=sid_rand_68, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:33.931305Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717534:2879] connected; active server actors: 1
2025-12-05T14:06:33.931844Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375012644717518:2879] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_68
2025-12-05T14:06:33.931875Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375012644717518:2879] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:33.933208Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717534:2879] disconnected; active server actors: 1
2025-12-05T14:06:33.933241Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717534:2879] disconnected no session
2025-12-05T14:06:33.949735Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375012644717518:2879] (SourceId=sid_rand_68, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:33.949785Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375012644717518:2879] (SourceId=sid_rand_68, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-05T14:06:33.949808Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375012644717518:2879] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:33.949848Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 79 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-05T14:06:33.952294Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:33.952515Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_68|951cf8ba-4406d87-44e07fd9-ab31a592_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_68
2025-12-05T14:06:33.953379Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 79 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_68|951cf8ba-4406d87-44e07fd9-ab31a592_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_68|951cf8ba-4406d87-44e07fd9-ab31a592_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:33.956113Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId: sid_rand_68|951cf8ba-4406d87-44e07fd9-ab31a592_0 grpc read done: success: 0 data: 
2025-12-05T14:06:33.956156Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 79 sessionId: sid_rand_68|951cf8ba-4406d87-44e07fd9-ab31a592_0 grpc read failed
2025-12-05T14:06:33.956184Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 79 sessionId: sid_rand_68|951cf8ba-4406d87-44e07fd9-ab31a592_0 grpc closed
2025-12-05T14:06:33.956207Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 79 sessionId: sid_rand_68|951cf8ba-4406d87-44e07fd9-ab31a592_0 is DEAD
2025-12-05T14:06:33.957087Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:33.957200Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:33.957216Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 80
2025-12-05T14:06:33.961304Z 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-05T14:06:33.961507Z 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]:56664
2025-12-05T14:06:33.961531Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=80 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:33.961545Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:33.963791Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 80 sessionId:  describe result for acl check
2025-12-05T14:06:33.963992Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:33.964007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:33.964023Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:33.964045Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375012644717547:2883] (SourceId=sid_rand_69, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:33.969267Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375012644717547:2883] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:33.984733Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375012644717547:2883] (SourceId=sid_rand_69, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:33.986588Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717563:2883] connected; active server actors: 1
2025-12-05T14:06:33.987765Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375012644717547:2883] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_69
2025-12-05T14:06:33.987799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375012644717547:2883] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:33.989108Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717563:2883] disconnected; active server actors: 1
2025-12-05T14:06:33.989143Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375012644717563:2883] disconnected no session
2025-12-05T14:06:34.003579Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_69|3c212593-f1a47c23-bd55a3db-d2079412_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_69
2025-12-05T14:06:34.000777Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375012644717547:2883] (SourceId=sid_rand_69, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:34.000827Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375012644717547:2883] (SourceId=sid_rand_69, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-05T14:06:34.000851Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375012644717547:2883] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:34.000890Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 80 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-05T14:06:34.003047Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:34.004679Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 80 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_69|3c212593-f1a47c23-bd55a3db-d2079412_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_69|3c212593-f1a47c23-bd55a3db-d2079412_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:34.010802Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId: sid_rand_69|3c212593-f1a47c23-bd55a3db-d2079412_0 grpc read done: success: 0 data: 
2025-12-05T14:06:34.010830Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 80 sessionId: sid_rand_69|3c212593-f1a47c23-bd55a3db-d2079412_0 grpc read failed
2025-12-05T14:06:34.010855Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 80 sessionId: sid_rand_69|3c212593-f1a47c23-bd55a3db-d2079412_0 grpc closed
2025-12-05T14:06:34.010873Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 80 sessionId: sid_rand_69|3c212593-f1a47c23-bd55a3db-d2079412_0 is DEAD
2025-12-05T14:06:34.011550Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:34.011637Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:34.011649Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 81
2025-12-05T14:06:34.017180Z 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-05T14:06:34.017388Z 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]:56664
2025-12-05T14:06:34.017411Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=81 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:34.017423Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:34.019786Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 81 sessionId:  describe result for acl check
2025-12-05T14:06:34.019969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:34.019983Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:34.019997Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:34.020020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375016939684871:2887] (SourceId=sid_rand_70, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:34.024275Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375016939684871:2887] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:34.038961Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375016939684871:2887] (SourceId=sid_rand_70, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:34.040314Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375016939684892:2887] connected; active server actors: 1
2025-12-05T14:06:34.040932Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375016939684871:2887] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_70
2025-12-05T14:06:34.040969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375016939684871:2887] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:34.042108Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375016939684892:2887] disconnected; active server actors: 1
2025-12-05T14:06:34.042146Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375016939684892:2887] disconnected no session
2025-12-05T14:06:34.061249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375016939684871:2887] (SourceId=sid_rand_70, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:34.061309Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375016939684871:2887] (SourceId=sid_rand_70, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-05T14:06:34.061338Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375016939684871:2887] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:34.061388Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 81 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-05T14:06:34.064074Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-12-05T14:06:34.064378Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_70|6d5235da-34f27200-d339c678-219b855d_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_70
2025-12-05T14:06:34.065027Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 81 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_70|6d5235da-34f27200-d339c678-219b855d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_70|6d5235da-34f27200-d339c678-219b855d_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:34.073574Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId: sid_rand_70|6d5235da-34f27200-d339c678-219b855d_0 grpc read done: success: 0 data: 
2025-12-05T14:06:34.073604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 81 sessionId: sid_rand_70|6d5235da-34f27200-d339c678-219b855d_0 grpc read failed
2025-12-05T14:06:34.073631Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 81 sessionId: sid_rand_70|6d5235da-34f27200-d339c678-219b855d_0 grpc closed
2025-12-05T14:06:34.073649Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 81 sessionId: sid_rand_70|6d5235da-34f27200-d339c678-219b855d_0 is DEAD
2025-12-05T14:06:34.074347Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:34.074455Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:34.074468Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 82
2025-12-05T14:06:34.075297Z 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-05T14:06:34.075429Z 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]:56664
2025-12-05T14:06:34.075445Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=82 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:34.075454Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:34.077006Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 82 sessionId:  describe result for acl check
2025-12-05T14:06:34.077149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:34.077163Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:34.077177Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:34.077199Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375016939684905:2891] (SourceId=sid_rand_71, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:34.080221Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375016939684905:2891] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:34.098696Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375016939684905:2891] (SourceId=sid_rand_71, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:34.100146Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375016939684924:2891] connected; active server actors: 1
2025-12-05T14:06:34.100913Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375016939684905:2891] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_71
2025-12-05T14:06:34.100950Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375016939684905:2891] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:34.102311Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375016939684924:2891] disconnected; active server actors: 1
2025-12-05T14:06:34.102350Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375016939684924:2891] disconnected no session
2025-12-05T14:06:34.115161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375016939684905:2891] (SourceId=sid_rand_71, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:34.115212Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375016939684905:2891] (SourceId=sid_rand_71, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-05T14:06:34.115236Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375016939684905:2891] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:34.115278Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 82 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-05T14:06:34.117914Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:34.118380Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_71|835a689d-d6327a9-99fae8d6-9842edb4_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_71
2025-12-05T14:06:34.119637Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 82 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_71|835a689d-d6327a9-99fae8d6-9842edb4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_71|835a689d-d6327a9-99fae8d6-9842edb4_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:34.122300Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId: sid_rand_71|835a689d-d6327a9-99fae8d6-9842edb4_0 grpc read done: success: 0 data: 
2025-12-05T14:06:34.122328Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 82 sessionId: sid_rand_71|835a689d-d6327a9-99fae8d6-9842edb4_0 grpc read failed
2025-12-05T14:06:34.122357Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 82 sessionId: sid_rand_71|835a689d-d6327a9-99fae8d6-9842edb4_0 grpc closed
2025-12-05T14:06:34.122379Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 82 sessionId: sid_rand_71|835a689d-d6327a9-99fae8d6-9842edb4_0 is DEAD
2025-12-05T14:06:34.123197Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:34.123318Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:34.123335Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 83
2025-12-05T14:06:34.124699Z 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-05T14:06:34.124856Z 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]:56664
2025-12-05T14:06:34.124877Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=83 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:34.124889Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:34.126896Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 83 sessionId:  describe result for acl check
2025-12-05T14:06:34.127062Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:34.127076Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:34.127107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:34.127129Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375016939684936:2895] (SourceId=sid_rand_72, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:34.130998Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375016939684936:2895] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:34.139385Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375016939684936:2895] (SourceId=sid_rand_72, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:34.141022Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375016939684952:2895] connected; active server actors: 1
2025-12-05T14:06:34.145709Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375016939684936:2895] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_72
2025-12-05T14:06:34.145746Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375016939684936:2895] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:34.147108Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375016939684952:2895] disconnected; active server actors: 1
2025-12-05T14:06:34.147148Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375016939684952:2895] disconnected no session
2025-12-05T14:06:34.182427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375016939684936:2895] (SourceId=sid_rand_72, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:34.182475Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375016939684936:2895] (SourceId=sid_rand_72, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-05T14:06:34.182498Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375016939684936:2895] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:34.182534Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 83 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-05T14:06:34.185523Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-12-05T14:06:34.185747Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_72|16b9a698-f2584c3b-ba7428b7-2fb4a999_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_72
2025-12-05T14:06:34.186269Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 83 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_72|16b9a698-f2584c3b-ba7428b7-2fb4a999_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_72|16b9a698-f2584c3b-ba7428b7-2fb4a999_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:34.189096Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId: sid_rand_72|16b9a698-f2584c3b-ba7428b7-2fb4a999_0 grpc read done: success: 0 data: 
2025-12-05T14:06:34.189126Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 83 sessionId: sid_rand_72|16b9a698-f2584c3b-ba7428b7-2fb4a999_0 grpc read failed
2025-12-05T14:06:34.189154Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 83 sessionId: sid_rand_72|16b9a698-f2584c3b-ba7428b7-2fb4a999_0 grpc closed
2025-12-05T14:06:34.189175Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 83 sessionId: sid_rand_72|16b9a698-f2584c3b-ba7428b7-2fb4a999_0 is DEAD
2025-12-05T14:06:34.190535Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:34.190657Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:34.190673Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 84
2025-12-05T14:06:34.191420Z 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-05T14:06:34.191564Z 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]:56664
2025-12-05T14:06:34.191584Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=84 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:34.191594Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:34.197296Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 84 sessionId:  describe result for acl check
2025-12-05T14:06:34.197480Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:34.197494Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:34.197508Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:34.197532Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375016939684967:2899] (SourceId=sid_rand_73, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:34.201775Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375016939684967:2899] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:34.218712Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375016939684967:2899] (SourceId=sid_rand_73, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:34.219791Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375016939684986:2899] connected; active server actors: 1
2025-12-05T14:06:34.220664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375016939684967:2899] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_73
2025-12-05T14:06:34.220693Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375016939684967:2899] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:34.221864Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375016939684986:2899] disconnected; active server actors: 1
2025-12-05T14:06:34.221911Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375016939684986:2899] disconnected no session
2025-12-05T14:06:34.231309Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375016939684967:2899] (SourceId=sid_rand_73, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:34.231355Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375016939684967:2899] (SourceId=sid_rand_73, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-05T14:06:34.231378Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375016939684967:2899] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:34.231415Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 84 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T14:06:34.235288Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_73|626d631a-76b9b95e-1e3377e2-b0e82929_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_73
2025-12-05T14:06:34.234938Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:34.236455Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 84 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_73|626d631a-76b9b95e-1e3377e2-b0e82929_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_73|626d631a-76b9b95e-1e3377e2-b0e82929_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T14:06:34.239120Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId: sid_rand_73|626d631a-76b9b95e-1e3377e2-b0e82929_0 grpc read done: success: 0 data: 
2025-12-05T14:06:34.239147Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 84 sessionId: sid_rand_73|626d631a-76b9b95e-1e3377e2-b0e82929_0 grpc read failed
2025-12-05T14:06:34.239174Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 84 sessionId: sid_rand_73|626d631a-76b9b95e-1e3377e2-b0e82929_0 grpc closed
2025-12-05T14:06:34.239195Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 84 sessionId: sid_rand_73|626d631a-76b9b95e-1e3377e2-b0e82929_0 is DEAD
2025-12-05T14:06:34.239985Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T14:06:34.240110Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T14:06:34.240126Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 85
2025-12-05T14:06:34.241562Z 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-05T14:06:34.241724Z 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]:56664
2025-12-05T14:06:34.241744Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=85 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:56664 proto=v1  topic=topic1 durationSec=0
2025-12-05T14:06:34.241755Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T14:06:34.243528Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 85 sessionId:  describe result for acl check
2025-12-05T14:06:34.243694Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T14:06:34.243707Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T14:06:34.243720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T14:06:34.243742Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580375016939684998:2903] (SourceId=sid_rand_74, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T14:06:34.247832Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580375016939684998:2903] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Select from the table
2025-12-05T14:06:34.263934Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580375016939684998:2903] (SourceId=sid_rand_74, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T14:06:34.268869Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375016939685017:2903] connected; active server actors: 1
2025-12-05T14:06:34.272912Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580375016939684998:2903] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_74
2025-12-05T14:06:34.272949Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580375016939684998:2903] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Update the table
2025-12-05T14:06:34.274178Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375016939685017:2903] disconnected; active server actors: 1
2025-12-05T14:06:34.274216Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580375016939685017:2903] disconnected no session
2025-12-05T14:06:34.294833Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580375016939684998:2903] (SourceId=sid_rand_74, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T14:06:34.294882Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580375016939684998:2903] (SourceId=sid_rand_74, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T14:06:34.294904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580375016939684998:2903] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Start idle
2025-12-05T14:06:34.294943Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 85 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T14:06:34.301659Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-12-05T14:06:34.302161Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_74|8a08c61d-9d98f99d-1d16ad35-6641042c_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_74
2025-12-05T14:06:34.303704Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 85 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_74|8a08c61d-9d98f99d-1d16ad35-6641042c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_74|8a08c61d-9d98f99d-1d16ad35-6641042c_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
Round robin check: 0:6
Round robin check: 1:6
Round robin check: 2:5
Round robin check: 3:5
Round robin check: 4:5
Round robin check: 5:5
Round robin check: 6:4
Round robin check: 7:4
Round robin check: 8:4
Round robin check: 9:5
Round robin check: 10:5
Round robin check: 11:5
Round robin check: 12:5
Round robin check: 13:5
Round robin check: 14:6
2025-12-05T14:06:34.316911Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 85 sessionId: sid_rand_74|8a08c61d-9d98f99d-1d16ad35-6641042c_0 grpc closed
2025-12-05T14:06:34.316957Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 85 sessionId: sid_rand_74|8a08c61d-9d98f99d-1d16ad35-6641042c_0 is DEAD
2025-12-05T14:06:34.324940Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
