test_client.cpp: SetPath # /home/runner/.ya/build/build_root/vw9u/004996/r3tmp/tmpJs1Snx/pdisk_1.dat
2025-12-05T13:11:59.964980Z 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-05T13:11:59.965083Z node 18 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-12-05T13:11:59.967066Z 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-05T13:11:59.971143Z 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=incorrect path status: LookupError;
2025-12-05T13:11:59.971167Z node 17 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-12-05T13:11:59.972891Z 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-05T13:12:00.004095Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-12-05T13:12:00.010634Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-12-05T13:12:00.010665Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-12-05T13:12:00.012252Z node 17 :HIVE WARN: hive_impl.cpp:811: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 18 Cookie 18
2025-12-05T13:12:00.012636Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 23609, node 17
2025-12-05T13:12:00.029461Z 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/vw9u/004996/r3tmp/yandex3pEQWt.tmp
2025-12-05T13:12:00.029477Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/vw9u/004996/r3tmp/yandex3pEQWt.tmp
2025-12-05T13:12:00.029554Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/vw9u/004996/r3tmp/yandex3pEQWt.tmp
2025-12-05T13:12:00.029582Z node 17 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-12-05T13:12:00.036399Z INFO: TTestServer started on Port 61984 GrpcPort 23609
TClient is connected to server localhost:61984
PQClient connected to localhost:23609
WaitRootIsUp 'Root'...
TClient::Ls request: Root
2025-12-05T13:12:00.062437Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-12-05T13:12:00.062479Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-12-05T13:12:00.063993Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Connecting -> Connected
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-05T13:12:00.067162Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976715657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
waiting...
waiting...
2025-12-05T13:12:00.117162Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715659:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
waiting...
2025-12-05T13:12:00.141700Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
waiting...
waiting...
2025-12-05T13:12:00.197101Z 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-05T13:12:00.406391Z node 17 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:565: Compilation failed, self: [17:7580360956770778690:2323], 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-05T13:12:00.407616Z node 17 :KQP_SESSION WARN: kqp_session_actor.cpp:2417: SessionId: ydb://session/3?node_id=17&id=ZjA0ZjY3NWYtYTVkMmVmZWQtYzZmMTM2YWYtYTlhZWQzMjA=, ActorId: [17:7580360956770778687:2321], ActorState: ExecuteState, TraceId: 01kbqa83mhdwvzr4zdqkppawfk, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-12-05T13:12:00.407717Z 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-05T13:12:00.407067Z node 18 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:565: Compilation failed, self: [18:7580360954666412110:2289], 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-05T13:12:00.407162Z node 18 :KQP_SESSION WARN: kqp_session_actor.cpp:2417: SessionId: ydb://session/3?node_id=18&id=ZTQ1Y2JhZWItOTEyZTczZDktZjc4NWM4MzUtODI3OTRkODY=, ActorId: [18:7580360954666412108:2288], ActorState: ExecuteState, TraceId: 01kbqa83mg9kqaamqnesmmpg2q, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-12-05T13:12:00.407317Z 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-05T13:12:00.411336Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715662: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-05T13:12:00.481976Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715663:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
2025-12-05T13:12:00.525439Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715664: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-05T13:12:00.593861Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976715665. Ctx: { TraceId: 01kbqa83sjb8hwtqprsyyre106, Database: , SessionId: ydb://session/3?node_id=17&id=MmE3YjQxYmItYjUwZDk5NTgtZjM5OTRhNzItZjVjYmZmY2M=, PoolId: , DatabaseId: /Root}. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [17:7580360956770779037:2979] 
2025-12-05T13:12:00.953662Z node 18 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-12-05T13:12:00.962978Z node 17 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
=== CheckClustersList. Ok
PQ Client: create topic: rt3.dc1--topic1 with 10 partitions
CallPersQueueGRPC request to localhost:23609
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-05T13:12:05.701517Z 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:23609
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: 281474976715677
  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-05T13:12:05.711908Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T13:12:05.711932Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037892] doesn't have tx writes info
2025-12-05T13:12:05.711948Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][] pipe [17:7580360978245615945:3201] connected; active server actors: 1
2025-12-05T13:12:05.712028Z node 17 :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-05T13:12:05.712259Z node 17 :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-05T13:12:05.712488Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:402: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037892, NodeId 17, Generation 1
2025-12-05T13:12:05.712929Z node 17 :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-05T13:12:05.713157Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T13:12:05.713192Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037893] doesn't have tx writes info
2025-12-05T13:12:05.713310Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:402: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037893, NodeId 18, Generation 1
2025-12-05T13:12:05.717337Z node 17 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037892][Partition][3][StateInit] bootstrapping 3 [17:7580360978245616054:2440]
2025-12-05T13:12:05.717953Z node 17 :PERSQUEUE INFO: partition.cpp:692: [72075186224037892][Partition][3][StateInit] init complete for topic 'rt3.dc1--topic1' partition 3 generation 1 [17:7580360978245616054:2440]
2025-12-05T13:12:05.717967Z node 18 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037893][Partition][9][StateInit] bootstrapping 9 [18:7580360976141249133:2381]
2025-12-05T13:12:05.718312Z node 17 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [17:7580360978245616055:2440]
2025-12-05T13:12:05.718654Z node 18 :PERSQUEUE INFO: partition.cpp:692: [72075186224037893][Partition][9][StateInit] init complete for topic 'rt3.dc1--topic1' partition 9 generation 1 [18:7580360976141249133:2381]
2025-12-05T13:12:05.718774Z node 17 :PERSQUEUE INFO: partition.cpp:692: [72075186224037892][Partition][0][StateInit] init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [17:7580360978245616055:2440]
2025-12-05T13:12:05.719094Z node 17 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037892][Partition][1][StateInit] bootstrapping 1 [17:7580360978245616057:2440]
2025-12-05T13:12:05.719186Z node 18 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037893][Partition][2][StateInit] bootstrapping 2 [18:7580360976141249134:2381]
2025-12-05T13:12:05.719475Z node 17 :PERSQUEUE INFO: partition.cpp:692: [72075186224037892][Partition][1][StateInit] init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [17:7580360978245616057:2440]
2025-12-05T13:12:05.719712Z node 18 :PERSQUEUE INFO: partition.cpp:692: [72075186224037893][Partition][2][StateInit] init complete for topic 'rt3.dc1--topic1' partition 2 generation 1 [18:7580360976141249134:2381]
2025-12-05T13:12:05.719749Z node 17 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037892][Partition][6][StateInit] bootstrapping 6 [17:7580360978245616060:2440]
2025-12-05T13:12:05.720075Z node 18 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037893][Partition][5][StateInit] bootstrapping 5 [18:7580360976141249135:2381]
2025-12-05T13:12:05.720143Z node 17 :PERSQUEUE INFO: partition.cpp:692: [72075186224037892][Partition][6][StateInit] init complete for topic 'rt3.dc1--topic1' partition 6 generation 1 [17:7580360978245616060:2440]
2025-12-05T13:12:05.720401Z node 17 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037892][Partition][8][StateInit] bootstrapping 8 [17:7580360978245616061:2440]
2025-12-05T13:12:05.720617Z node 18 :PERSQUEUE INFO: partition.cpp:692: [72075186224037893][Partition][5][StateInit] init complete for topic 'rt3.dc1--topic1' partition 5 generation 1 [18:7580360976141249135:2381]
2025-12-05T13:12:05.720791Z node 17 :PERSQUEUE INFO: partition.cpp:692: [72075186224037892][Partition][8][StateInit] init complete for topic 'rt3.dc1--topic1' partition 8 generation 1 [17:7580360978245616061:2440]
2025-12-05T13:12:05.721004Z node 18 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037893][Partition][7][StateInit] bootstrapping 7 [18:7580360976141249136:2381]
2025-12-05T13:12:05.724996Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T13:12:05.721525Z node 18 :PERSQUEUE INFO: partition.cpp:692: [72075186224037893][Partition][7][StateInit] init complete for topic 'rt3.dc1--topic1' partition 7 generation 1 [18:7580360976141249136:2381]
2025-12-05T13:12:05.721856Z node 18 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037893][Partition][4][StateInit] bootstrapping 4 [18:7580360976141249137:2381]
2025-12-05T13:12:05.722361Z node 18 :PERSQUEUE INFO: partition.cpp:692: [72075186224037893][Partition][4][StateInit] init complete for topic 'rt3.dc1--topic1' partition 4 generation 1 [18:7580360976141249137:2381]
2025-12-05T13:12:05.729280Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976715678. Ctx: { TraceId: 01kbqa88tbaf9dwrq9679bcyrc, Database: , SessionId: ydb://session/3?node_id=17&id=NDY1OThjNzMtNzdkNDk4ZDItYzE4ZGE5OWYtYzQwMzM3YQ==, PoolId: , DatabaseId: /Root}. Database not set, use /Root
2025-12-05T13:12:05.736954Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
===Query complete
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715677
    CreateStep: 1764940325764
    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: 281474976715677
    CreateStep: 1764940325764
    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:23609
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-05T13:12:05.746985Z 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:23609
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-05T13:12:06.248441Z 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:23609
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-05T13:12:06.758708Z 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
2025-12-05T13:12:06.760752Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:06.760766Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-12-05T13:12:06.760930Z 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-05T13:12:06.760995Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:41278
2025-12-05T13:12:06.761007Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:06.761011Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:06.761553Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-12-05T13:12:06.761586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:06.761588Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:06.761589Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:06.761593Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360982540583567:2472] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:06.762174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360982540583567:2472] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:06.787833Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360982540583567:2472] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:06.787900Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360982540583599:2472] connected; active server actors: 1
2025-12-05T13:12:06.787918Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360982540583567:2472] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=12345678
2025-12-05T13:12:06.787929Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360982540583567:2472] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:06.787990Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360982540583599:2472] disconnected; active server actors: 1
2025-12-05T13:12:06.787997Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360982540583599:2472] disconnected no session
2025-12-05T13:12:06.808427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360982540583567:2472] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:06.808444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360982540583567:2472] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T13:12:06.808447Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360982540583567:2472] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:06.808457Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T13:12:06.808632Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:06.808695Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 12345678|2d0cb394-70fbb771-f9e3457a-26be3bb7_0 generated for partition 1 topic 'rt3.dc1--topic1' owner 12345678
2025-12-05T13:12:06.808853Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 1 MaxSeqNo: 0 sessionId: 12345678|2d0cb394-70fbb771-f9e3457a-26be3bb7_0
2025-12-05T13:12:06.809363Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: 12345678|2d0cb394-70fbb771-f9e3457a-26be3bb7_0 grpc read done: success: 0 data: 
2025-12-05T13:12:06.809372Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: 12345678|2d0cb394-70fbb771-f9e3457a-26be3bb7_0 grpc read failed
2025-12-05T13:12:06.809484Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 1 sessionId: 12345678|2d0cb394-70fbb771-f9e3457a-26be3bb7_0
2025-12-05T13:12:06.809496Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: 12345678|2d0cb394-70fbb771-f9e3457a-26be3bb7_0 is DEAD
Finish: 0 
2025-12-05T13:12:06.809641Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:06.810065Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:06.810074Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-12-05T13:12:06.810343Z 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-05T13:12:06.810382Z 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]:41278
2025-12-05T13:12:06.810386Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:06.810390Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:06.810885Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-12-05T13:12:06.810915Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:06.810916Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:06.810918Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:06.810921Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360982540583621:2482] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:06.811416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360982540583621:2482] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:06.813058Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360982540583621:2482] (SourceId=source, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:06.813139Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360982540583637:2482] connected; active server actors: 1
2025-12-05T13:12:06.813153Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360982540583621:2482] (SourceId=source, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=source
2025-12-05T13:12:06.813157Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360982540583621:2482] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:06.813195Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360982540583637:2482] disconnected; active server actors: 1
2025-12-05T13:12:06.813201Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360982540583637:2482] disconnected no session
2025-12-05T13:12:06.815940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360982540583621:2482] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:06.815954Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360982540583621:2482] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-05T13:12:06.815957Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360982540583621:2482] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:06.815966Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-05T13:12:06.816276Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:06.816385Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|885978cd-60040a3-77e1ad5e-c4fd1edd_0 generated for partition 2 topic 'rt3.dc1--topic1' owner source
2025-12-05T13:12:06.816782Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 2 MaxSeqNo: 0 sessionId: source|885978cd-60040a3-77e1ad5e-c4fd1edd_0
request: { write_request { sequence_numbers: 2 created_at_ms: 1764940326817 sent_at_ms: 1764940326817 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-05T13:12:06.817421Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|885978cd-60040a3-77e1ad5e-c4fd1edd_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T13:12:06.817554Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T13:12:06.817810Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-05T13:12:06.819607Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 3 created_at_ms: 1764940326819 sent_at_ms: 1764940326819 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-05T13:12:06.820178Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|885978cd-60040a3-77e1ad5e-c4fd1edd_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T13:12:06.820301Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T13:12:06.820517Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-05T13:12:06.826497Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 4 created_at_ms: 1764940326826 sent_at_ms: 1764940326826 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-05T13:12:06.827150Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|885978cd-60040a3-77e1ad5e-c4fd1edd_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T13:12:06.827254Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T13:12:06.827417Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-05T13:12:06.828796Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 5 created_at_ms: 1764940326829 sent_at_ms: 1764940326829 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-05T13:12:06.829264Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|885978cd-60040a3-77e1ad5e-c4fd1edd_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T13:12:06.829342Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T13:12:06.829529Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-05T13:12:06.830798Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-05T13:12:06.831149Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|885978cd-60040a3-77e1ad5e-c4fd1edd_0 grpc read done: success: 0 data: 
2025-12-05T13:12:06.831156Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: source|885978cd-60040a3-77e1ad5e-c4fd1edd_0 grpc read failed
2025-12-05T13:12:06.831223Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 2 sessionId: source|885978cd-60040a3-77e1ad5e-c4fd1edd_0
2025-12-05T13:12:06.831233Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: source|885978cd-60040a3-77e1ad5e-c4fd1edd_0 is DEAD
1 0 
CallPersQueueGRPC request to localhost:23609
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-05T13:12:06.831399Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:06.832153Z 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
CallPersQueueGRPC request to localhost:23609
MetaRequest {
  CmdChangeTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 15
  }
}
2025-12-05T13:12:06.833773Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterPersQueueGroup, opId: 281474976715687: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: 281474976715687
  SchemeShardTabletId: 72057594046644480
}
ErrorCode: OK
Alter got 1
2025-12-05T13:12:06.838131Z node 17 :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-05T13:12:06.840264Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T13:12:06.840294Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037895] doesn't have tx writes info
2025-12-05T13:12:06.844576Z node 18 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037895][Partition][11][StateInit] bootstrapping 11 [18:7580360980436216642:2404]
2025-12-05T13:12:06.845082Z node 18 :PERSQUEUE INFO: partition.cpp:692: [72075186224037895][Partition][11][StateInit] init complete for topic 'rt3.dc1--topic1' partition 11 generation 1 [18:7580360980436216642:2404]
2025-12-05T13:12:06.845417Z node 18 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037895][Partition][13][StateInit] bootstrapping 13 [18:7580360980436216645:2404]
2025-12-05T13:12:06.845751Z node 18 :PERSQUEUE INFO: partition.cpp:692: [72075186224037895][Partition][13][StateInit] init complete for topic 'rt3.dc1--topic1' partition 13 generation 1 [18:7580360980436216645:2404]
2025-12-05T13:12:06.845987Z node 18 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037895][Partition][14][StateInit] bootstrapping 14 [18:7580360980436216647:2404]
2025-12-05T13:12:06.846371Z node 18 :PERSQUEUE INFO: partition.cpp:692: [72075186224037895][Partition][14][StateInit] init complete for topic 'rt3.dc1--topic1' partition 14 generation 1 [18:7580360980436216647:2404]
2025-12-05T13:12:06.846618Z node 18 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037895][Partition][12][StateInit] bootstrapping 12 [18:7580360980436216648:2404]
2025-12-05T13:12:06.846615Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T13:12:06.846655Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T13:12:06.846981Z node 18 :PERSQUEUE INFO: partition.cpp:692: [72075186224037895][Partition][12][StateInit] init complete for topic 'rt3.dc1--topic1' partition 12 generation 1 [18:7580360980436216648:2404]
2025-12-05T13:12:06.847195Z node 18 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037895][Partition][10][StateInit] bootstrapping 10 [18:7580360980436216649:2404]
2025-12-05T13:12:06.847490Z node 18 :PERSQUEUE INFO: partition.cpp:692: [72075186224037895][Partition][10][StateInit] init complete for topic 'rt3.dc1--topic1' partition 10 generation 1 [18:7580360980436216649:2404]
2025-12-05T13:12:06.850537Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976715688. Ctx: { TraceId: 01kbqa89xp97yg0v792rmrvvmr, Database: , SessionId: ydb://session/3?node_id=17&id=ZmVmNjNiZjMtNTZjYjQwMmMtMWRkZjQ5OTAtMjU0N2IyMzE=, PoolId: , DatabaseId: /Root}. Database not set, use /Root
2025-12-05T13:12:06.850641Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
CallPersQueueGRPC request to localhost:23609
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-05T13:12:06.855186Z 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:23609
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-05T13:12:07.356719Z 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:23609
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-05T13:12:07.858589Z 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: 281474976715677
    CreateStep: 1764940325764
    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: 281474976715677
    CreateStep: 1764940325764
    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-05T13:12:07.860959Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:07.860973Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-12-05T13:12:07.861132Z 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-05T13:12:07.861163Z 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]:41278
2025-12-05T13:12:07.861171Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:07.861175Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:07.861640Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-12-05T13:12:07.861681Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:07.861689Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:07.861691Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:07.861697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360986835551258:2520] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:07.862457Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360986835551258:2520] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:07.866815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360986835551258:2520] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:07.869711Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360986835551258:2520] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:07.869730Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360986835551258:2520] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=0
2025-12-05T13:12:07.869734Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360986835551258:2520] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:07.869742Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-05T13:12:07.870053Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:07.870173Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|98f2df37-e6d7c6ed-d155baa7-2a5a7439_0 generated for partition 2 topic 'rt3.dc1--topic1' owner source
2025-12-05T13:12:07.870528Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 2 MaxSeqNo: 5 sessionId: source|98f2df37-e6d7c6ed-d155baa7-2a5a7439_0
request: { write_request { sequence_numbers: 6 created_at_ms: 1764940327870 sent_at_ms: 1764940327870 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-05T13:12:07.871137Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|98f2df37-e6d7c6ed-d155baa7-2a5a7439_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T13:12:07.871236Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T13:12:07.871436Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-05T13:12:07.872981Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 7 created_at_ms: 1764940327873 sent_at_ms: 1764940327873 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-05T13:12:07.873460Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|98f2df37-e6d7c6ed-d155baa7-2a5a7439_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T13:12:07.873607Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T13:12:07.873835Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-05T13:12:07.875114Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 8 created_at_ms: 1764940327875 sent_at_ms: 1764940327875 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-05T13:12:07.875546Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|98f2df37-e6d7c6ed-d155baa7-2a5a7439_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T13:12:07.875638Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T13:12:07.875846Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-05T13:12:07.877069Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 9 created_at_ms: 1764940327877 sent_at_ms: 1764940327877 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-05T13:12:07.877431Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|98f2df37-e6d7c6ed-d155baa7-2a5a7439_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T13:12:07.877492Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T13:12:07.877687Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-05T13:12:07.878727Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-05T13:12:07.879010Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|98f2df37-e6d7c6ed-d155baa7-2a5a7439_0 grpc read done: success: 0 data: 
2025-12-05T13:12:07.879017Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: source|98f2df37-e6d7c6ed-d155baa7-2a5a7439_0 grpc read failed
2025-12-05T13:12:07.879105Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 3 sessionId: source|98f2df37-e6d7c6ed-d155baa7-2a5a7439_0
2025-12-05T13:12:07.879115Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: source|98f2df37-e6d7c6ed-d155baa7-2a5a7439_0 is DEAD
1 0 
2025-12-05T13:12:07.879248Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:07.879557Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:07.879569Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 4
2025-12-05T13:12:07.879716Z 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-05T13:12:07.879753Z 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]:41278
2025-12-05T13:12:07.879763Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:07.879777Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:07.880237Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 4 sessionId:  describe result for acl check
2025-12-05T13:12:07.880278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:07.880286Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:07.880289Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:07.880294Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360986835551291:2524] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:07.880940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360986835551291:2524] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:07.882780Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360986835551291:2524] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:07.885505Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360986835551291:2524] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:07.885524Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360986835551291:2524] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=0
2025-12-05T13:12:07.885527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360986835551291:2524] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:07.885535Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 4 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-05T13:12:07.885894Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:07.885999Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|4b87b16e-aeeb1c86-c8e1086e-b2cc6b53_0 generated for partition 2 topic 'rt3.dc1--topic1' owner source
2025-12-05T13:12:07.886373Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 4 partition: 2 MaxSeqNo: 9 sessionId: source|4b87b16e-aeeb1c86-c8e1086e-b2cc6b53_0
request: { write_request { sequence_numbers: 10 sequence_numbers: 11 sequence_numbers: 12 sequence_numbers: 13 sequence_numbers: 14 created_at_ms: 1764940327886 created_at_ms: 1764940327886 created_at_ms: 1764940327886 created_at_ms: 1764940327886 created_at_ms: 1764940327886 sent_at_ms: 1764940327886 sent_at_ms: 1764940327886 sent_at_ms: 1764940327886 sent_at_ms: 1764940327886 sent_at_ms: 1764940327886 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-05T13:12:07.887113Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|4b87b16e-aeeb1c86-c8e1086e-b2cc6b53_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T13:12:07.887236Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T13:12:07.887433Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-05T13:12:07.888934Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 15 sequence_numbers: 16 sequence_numbers: 17 sequence_numbers: 18 sequence_numbers: 19 created_at_ms: 1764940327889 created_at_ms: 1764940327889 created_at_ms: 1764940327889 created_at_ms: 1764940327889 created_at_ms: 1764940327889 sent_at_ms: 1764940327889 sent_at_ms: 1764940327889 sent_at_ms: 1764940327889 sent_at_ms: 1764940327889 sent_at_ms: 1764940327889 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-05T13:12:07.889539Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|4b87b16e-aeeb1c86-c8e1086e-b2cc6b53_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T13:12:07.889670Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T13:12:07.889904Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-05T13:12:07.891083Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 20 sequence_numbers: 21 sequence_numbers: 22 sequence_numbers: 23 sequence_numbers: 24 created_at_ms: 1764940327891 created_at_ms: 1764940327891 created_at_ms: 1764940327891 created_at_ms: 1764940327891 created_at_ms: 1764940327891 sent_at_ms: 1764940327891 sent_at_ms: 1764940327891 sent_at_ms: 1764940327891 sent_at_ms: 1764940327891 sent_at_ms: 1764940327891 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-05T13:12:07.891570Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|4b87b16e-aeeb1c86-c8e1086e-b2cc6b53_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T13:12:07.891673Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T13:12:07.891921Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-05T13:12:07.893472Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 25 sequence_numbers: 26 sequence_numbers: 27 sequence_numbers: 28 sequence_numbers: 29 created_at_ms: 1764940327893 created_at_ms: 1764940327893 created_at_ms: 1764940327893 created_at_ms: 1764940327893 created_at_ms: 1764940327893 sent_at_ms: 1764940327893 sent_at_ms: 1764940327893 sent_at_ms: 1764940327893 sent_at_ms: 1764940327893 sent_at_ms: 1764940327893 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-05T13:12:07.893945Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|4b87b16e-aeeb1c86-c8e1086e-b2cc6b53_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T13:12:07.894047Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T13:12:07.894348Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-05T13:12:07.895693Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-12-05T13:12:07.896075Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|4b87b16e-aeeb1c86-c8e1086e-b2cc6b53_0 grpc read done: success: 0 data: 
2025-12-05T13:12:07.896083Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 4 sessionId: source|4b87b16e-aeeb1c86-c8e1086e-b2cc6b53_0 grpc read failed
2025-12-05T13:12:07.896182Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 4 sessionId: source|4b87b16e-aeeb1c86-c8e1086e-b2cc6b53_0
2025-12-05T13:12:07.896193Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 4 sessionId: source|4b87b16e-aeeb1c86-c8e1086e-b2cc6b53_0 is DEAD
1 0 
2025-12-05T13:12:07.896367Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:07.896706Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:07.896719Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 5
2025-12-05T13:12:07.896895Z 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-05T13:12:07.896929Z 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]:41278
2025-12-05T13:12:07.896938Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic2 durationSec=0
2025-12-05T13:12:07.896942Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:07.897303Z 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-05T13:12:07.897437Z 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-05T13:12:07.897987Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:07.897998Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 6
2025-12-05T13:12:07.898162Z 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-05T13:12:07.898186Z 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]:41278
2025-12-05T13:12:07.898194Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:07.898196Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:07.898606Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 6 sessionId:  describe result for acl check
2025-12-05T13:12:07.898644Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:07.898651Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:07.898654Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:07.898658Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360986835551333:2531] (SourceId=sid1, PreferedPartition=1) StartKqpSession
2025-12-05T13:12:07.899299Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360986835551333:2531] (SourceId=sid1, PreferedPartition=1) Select from the table
2025-12-05T13:12:07.901531Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360986835551333:2531] (SourceId=sid1, PreferedPartition=1) Update the table
2025-12-05T13:12:07.904583Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360986835551333:2531] (SourceId=sid1, PreferedPartition=1) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:07.904603Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360986835551333:2531] (SourceId=sid1, PreferedPartition=1) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T13:12:07.904606Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360986835551333:2531] (SourceId=sid1, PreferedPartition=1) Start idle
2025-12-05T13:12:07.904616Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 6 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T13:12:07.904838Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:07.904949Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|b67d66e6-d709e8d3-9e0b12b1-32f226af_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-12-05T13:12:07.905218Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 6 partition: 1 MaxSeqNo: 0 sessionId: sid1|b67d66e6-d709e8d3-9e0b12b1-32f226af_0
Init result: { status: SUCCESS init_response { session_id: "sid1|b67d66e6-d709e8d3-9e0b12b1-32f226af_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:07.906045Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId: sid1|b67d66e6-d709e8d3-9e0b12b1-32f226af_0 grpc read done: success: 0 data: 
2025-12-05T13:12:07.906056Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 6 sessionId: sid1|b67d66e6-d709e8d3-9e0b12b1-32f226af_0 grpc read failed
2025-12-05T13:12:07.906063Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 6 sessionId: sid1|b67d66e6-d709e8d3-9e0b12b1-32f226af_0 grpc closed
2025-12-05T13:12:07.906069Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 6 sessionId: sid1|b67d66e6-d709e8d3-9e0b12b1-32f226af_0 is DEAD
2025-12-05T13:12:07.906336Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:07.906348Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 7
2025-12-05T13:12:07.906465Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:07.906531Z 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-05T13:12:07.906569Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 7 topic: "topic1" message_group_id: "sid1" from ipv6:[::1]:41278
2025-12-05T13:12:07.906585Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:07.906589Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:07.907071Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 7 sessionId:  describe result for acl check
2025-12-05T13:12:07.907107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:07.907119Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:07.907121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:07.907126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360986835551363:2535] (SourceId=sid1, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:07.907785Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360986835551363:2535] (SourceId=sid1, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:07.910363Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360986835551363:2535] (SourceId=sid1, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:07.913250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360986835551363:2535] (SourceId=sid1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:07.913264Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360986835551363:2535] (SourceId=sid1, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2025-12-05T13:12:07.913268Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360986835551363:2535] (SourceId=sid1, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:07.913277Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T13:12:07.913469Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:07.913514Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|657304f8-5c1d4795-4f814ffd-e5eb1ce1_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-12-05T13:12:07.913702Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: sid1|657304f8-5c1d4795-4f814ffd-e5eb1ce1_0
Init result: { status: SUCCESS init_response { session_id: "sid1|657304f8-5c1d4795-4f814ffd-e5eb1ce1_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:07.914687Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId: sid1|657304f8-5c1d4795-4f814ffd-e5eb1ce1_0 grpc read done: success: 0 data: 
2025-12-05T13:12:07.914699Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 7 sessionId: sid1|657304f8-5c1d4795-4f814ffd-e5eb1ce1_0 grpc read failed
2025-12-05T13:12:07.914706Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 7 sessionId: sid1|657304f8-5c1d4795-4f814ffd-e5eb1ce1_0 grpc closed
2025-12-05T13:12:07.914712Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 7 sessionId: sid1|657304f8-5c1d4795-4f814ffd-e5eb1ce1_0 is DEAD
2025-12-05T13:12:07.914794Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:07.914808Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 8
2025-12-05T13:12:07.914906Z 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-05T13:12:07.914939Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 8 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:41278
2025-12-05T13:12:07.914944Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:07.914947Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:07.915015Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:07.915357Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 8 sessionId:  describe result for acl check
2025-12-05T13:12:07.915391Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:07.915397Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:07.915398Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:07.915403Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360986835551396:2539] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:07.915901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360986835551396:2539] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:07.917654Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360986835551396:2539] (SourceId=sidx, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:07.917778Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551412:2539] connected; active server actors: 1
2025-12-05T13:12:07.917797Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360986835551396:2539] (SourceId=sidx, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sidx
2025-12-05T13:12:07.917802Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360986835551396:2539] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:07.917857Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551412:2539] disconnected; active server actors: 1
2025-12-05T13:12:07.917860Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551412:2539] disconnected no session
2025-12-05T13:12:07.920201Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360986835551396:2539] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:07.920225Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360986835551396:2539] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-05T13:12:07.920228Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360986835551396:2539] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:07.920236Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 8 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T13:12:07.920399Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:07.920463Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|b36c016c-dbb8c451-61f2f9f9-a0ede91_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sidx
2025-12-05T13:12:07.920667Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 8 partition: 3 MaxSeqNo: 0 sessionId: sidx|b36c016c-dbb8c451-61f2f9f9-a0ede91_0
Init result: { status: SUCCESS init_response { session_id: "sidx|b36c016c-dbb8c451-61f2f9f9-a0ede91_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:07.921521Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId: sidx|b36c016c-dbb8c451-61f2f9f9-a0ede91_0 grpc read done: success: 0 data: 
2025-12-05T13:12:07.921536Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 8 sessionId: sidx|b36c016c-dbb8c451-61f2f9f9-a0ede91_0 grpc read failed
2025-12-05T13:12:07.921543Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 8 sessionId: sidx|b36c016c-dbb8c451-61f2f9f9-a0ede91_0 grpc closed
2025-12-05T13:12:07.921548Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 8 sessionId: sidx|b36c016c-dbb8c451-61f2f9f9-a0ede91_0 is DEAD
2025-12-05T13:12:07.921720Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:07.921731Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 9
2025-12-05T13:12:07.921852Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:07.922606Z 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-05T13:12:07.922659Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 9 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:41278
2025-12-05T13:12:07.922668Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:07.922674Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:07.923155Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 9 sessionId:  describe result for acl check
2025-12-05T13:12:07.923195Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:07.923201Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:07.923203Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:07.923209Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360986835551428:2543] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:07.923839Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360986835551428:2543] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:07.926157Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360986835551428:2543] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:07.929128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360986835551428:2543] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:07.929144Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360986835551428:2543] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=0
2025-12-05T13:12:07.929149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360986835551428:2543] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:07.929158Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 9 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T13:12:07.929311Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:07.929370Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|bcafd56a-7285c83d-63d079cc-708189b2_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sidx
2025-12-05T13:12:07.929538Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 9 partition: 3 MaxSeqNo: 0 sessionId: sidx|bcafd56a-7285c83d-63d079cc-708189b2_0
Init result: { status: SUCCESS init_response { session_id: "sidx|bcafd56a-7285c83d-63d079cc-708189b2_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:07.930358Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId: sidx|bcafd56a-7285c83d-63d079cc-708189b2_0 grpc read done: success: 0 data: 
2025-12-05T13:12:07.930366Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 9 sessionId: sidx|bcafd56a-7285c83d-63d079cc-708189b2_0 grpc read failed
2025-12-05T13:12:07.930455Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 9 sessionId: sidx|bcafd56a-7285c83d-63d079cc-708189b2_0
2025-12-05T13:12:07.930468Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 9 sessionId: sidx|bcafd56a-7285c83d-63d079cc-708189b2_0 is DEAD
2025-12-05T13:12:07.930513Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:07.930527Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 10
2025-12-05T13:12:07.930594Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:07.930613Z 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-05T13:12:07.930642Z 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]:41278
2025-12-05T13:12:07.930651Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:07.930655Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:07.931081Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 10 sessionId:  describe result for acl check
2025-12-05T13:12:07.931110Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:07.931111Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:07.931113Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:07.931117Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360986835551458:2547] (SourceId=sid1, PreferedPartition=2) StartKqpSession
2025-12-05T13:12:07.931650Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360986835551458:2547] (SourceId=sid1, PreferedPartition=2) Select from the table
2025-12-05T13:12:07.933608Z node 17 :PQ_PARTITION_CHOOSER INFO: partition_chooser_impl__abstract_chooser_actor.h:312: TPartitionChooser [17:7580360986835551458:2547] (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-05T13:12:07.933635Z 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-05T13:12:07.933799Z 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-05T13:12:07.934334Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:07.934343Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 11
2025-12-05T13:12:07.934436Z 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-05T13:12:07.934462Z 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]:41278
2025-12-05T13:12:07.934471Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=11 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:07.934473Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:07.934823Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 11 sessionId:  describe result for acl check
2025-12-05T13:12:07.934853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:07.934858Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:07.934860Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:07.934865Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360986835551480:2551] (SourceId=sid_rand_0, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:07.935354Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360986835551480:2551] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:07.937827Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360986835551480:2551] (SourceId=sid_rand_0, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:07.937889Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551496:2551] connected; active server actors: 1
2025-12-05T13:12:07.937910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360986835551480:2551] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_0
2025-12-05T13:12:07.937931Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360986835551480:2551] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:07.938027Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551496:2551] disconnected; active server actors: 1
2025-12-05T13:12:07.938037Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551496:2551] disconnected no session
2025-12-05T13:12:07.941571Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360986835551480:2551] (SourceId=sid_rand_0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:07.941586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360986835551480:2551] (SourceId=sid_rand_0, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-05T13:12:07.941590Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360986835551480:2551] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:07.941600Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 11 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-05T13:12:07.941936Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:07.942188Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_0|7739ee15-825ae3a5-d3b61b0f-ffa88da2_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_0
2025-12-05T13:12:07.942768Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 11 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_0|7739ee15-825ae3a5-d3b61b0f-ffa88da2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_0|7739ee15-825ae3a5-d3b61b0f-ffa88da2_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:07.943689Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId: sid_rand_0|7739ee15-825ae3a5-d3b61b0f-ffa88da2_0 grpc read done: success: 0 data: 
2025-12-05T13:12:07.943700Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 11 sessionId: sid_rand_0|7739ee15-825ae3a5-d3b61b0f-ffa88da2_0 grpc read failed
2025-12-05T13:12:07.943709Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 11 sessionId: sid_rand_0|7739ee15-825ae3a5-d3b61b0f-ffa88da2_0 grpc closed
2025-12-05T13:12:07.943715Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 11 sessionId: sid_rand_0|7739ee15-825ae3a5-d3b61b0f-ffa88da2_0 is DEAD
2025-12-05T13:12:07.943801Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:07.943812Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 12
2025-12-05T13:12:07.943954Z 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-05T13:12:07.943985Z 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]:41278
2025-12-05T13:12:07.943996Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=12 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:07.943999Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:07.944043Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:07.944494Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 12 sessionId:  describe result for acl check
2025-12-05T13:12:07.944536Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:07.944560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:07.944562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:07.944568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360986835551511:2555] (SourceId=sid_rand_1, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:07.945191Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360986835551511:2555] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:07.947708Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360986835551511:2555] (SourceId=sid_rand_1, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:07.947832Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551527:2555] connected; active server actors: 1
2025-12-05T13:12:07.947856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360986835551511:2555] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_1
2025-12-05T13:12:07.947867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360986835551511:2555] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:07.947930Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551527:2555] disconnected; active server actors: 1
2025-12-05T13:12:07.947937Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551527:2555] disconnected no session
2025-12-05T13:12:07.951477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360986835551511:2555] (SourceId=sid_rand_1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:07.951491Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360986835551511:2555] (SourceId=sid_rand_1, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-05T13:12:07.951495Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360986835551511:2555] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:07.951503Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 12 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-05T13:12:07.951837Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:07.951916Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_1|d4905267-10d05325-476ed053-9c345350_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_1
2025-12-05T13:12:07.952252Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 12 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_1|d4905267-10d05325-476ed053-9c345350_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_1|d4905267-10d05325-476ed053-9c345350_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:07.953119Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 12 sessionId: sid_rand_1|d4905267-10d05325-476ed053-9c345350_0 grpc closed
2025-12-05T13:12:07.953134Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 12 sessionId: sid_rand_1|d4905267-10d05325-476ed053-9c345350_0 is DEAD
2025-12-05T13:12:07.953170Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:07.953181Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 13
2025-12-05T13:12:07.953329Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:07.953496Z 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-05T13:12:07.953553Z 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]:41278
2025-12-05T13:12:07.953568Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=13 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:07.953574Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:07.954124Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 13 sessionId:  describe result for acl check
2025-12-05T13:12:07.954161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:07.954168Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:07.954171Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:07.954175Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360986835551542:2559] (SourceId=sid_rand_2, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:07.954651Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360986835551542:2559] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:07.956896Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360986835551542:2559] (SourceId=sid_rand_2, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:07.956977Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551559:2559] connected; active server actors: 1
2025-12-05T13:12:07.957009Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360986835551542:2559] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_2
2025-12-05T13:12:07.957019Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360986835551542:2559] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:07.957103Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551559:2559] disconnected; active server actors: 1
2025-12-05T13:12:07.957115Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551559:2559] disconnected no session
2025-12-05T13:12:07.959717Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360986835551542:2559] (SourceId=sid_rand_2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:07.959734Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360986835551542:2559] (SourceId=sid_rand_2, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-05T13:12:07.959738Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360986835551542:2559] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:07.959759Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 13 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-05T13:12:07.959910Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:07.959963Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_2|ebe8ba4b-6b5b9a08-4d430b4f-24e197b4_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_2
2025-12-05T13:12:07.960085Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 13 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_2|ebe8ba4b-6b5b9a08-4d430b4f-24e197b4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_2|ebe8ba4b-6b5b9a08-4d430b4f-24e197b4_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:07.960843Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId: sid_rand_2|ebe8ba4b-6b5b9a08-4d430b4f-24e197b4_0 grpc read done: success: 0 data: 
2025-12-05T13:12:07.960857Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 13 sessionId: sid_rand_2|ebe8ba4b-6b5b9a08-4d430b4f-24e197b4_0 grpc read failed
2025-12-05T13:12:07.960867Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 13 sessionId: sid_rand_2|ebe8ba4b-6b5b9a08-4d430b4f-24e197b4_0 grpc closed
2025-12-05T13:12:07.960874Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 13 sessionId: sid_rand_2|ebe8ba4b-6b5b9a08-4d430b4f-24e197b4_0 is DEAD
2025-12-05T13:12:07.960949Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:07.960961Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 14
2025-12-05T13:12:07.961080Z 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-05T13:12:07.961108Z 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]:41278
2025-12-05T13:12:07.961122Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=14 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:07.961126Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:07.961213Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:07.961582Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 14 sessionId:  describe result for acl check
2025-12-05T13:12:07.961633Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:07.961642Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:07.961644Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:07.961649Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360986835551575:2563] (SourceId=sid_rand_3, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:07.962319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360986835551575:2563] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:07.964212Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360986835551575:2563] (SourceId=sid_rand_3, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:07.964309Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551591:2563] connected; active server actors: 1
2025-12-05T13:12:07.964332Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360986835551575:2563] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_3
2025-12-05T13:12:07.964342Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360986835551575:2563] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:07.964400Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551591:2563] disconnected; active server actors: 1
2025-12-05T13:12:07.964408Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551591:2563] disconnected no session
2025-12-05T13:12:07.967607Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360986835551575:2563] (SourceId=sid_rand_3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:07.967624Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360986835551575:2563] (SourceId=sid_rand_3, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-05T13:12:07.967628Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360986835551575:2563] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:07.967637Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 14 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-05T13:12:07.967998Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:07.968103Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_3|804ab77d-3ec2ebd5-a195c3f2-fa92c34e_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_3
2025-12-05T13:12:07.968492Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 14 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_3|804ab77d-3ec2ebd5-a195c3f2-fa92c34e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_3|804ab77d-3ec2ebd5-a195c3f2-fa92c34e_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:07.969170Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId: sid_rand_3|804ab77d-3ec2ebd5-a195c3f2-fa92c34e_0 grpc read done: success: 0 data: 
2025-12-05T13:12:07.969183Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 14 sessionId: sid_rand_3|804ab77d-3ec2ebd5-a195c3f2-fa92c34e_0 grpc read failed
2025-12-05T13:12:07.969190Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 14 sessionId: sid_rand_3|804ab77d-3ec2ebd5-a195c3f2-fa92c34e_0 grpc closed
2025-12-05T13:12:07.969196Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 14 sessionId: sid_rand_3|804ab77d-3ec2ebd5-a195c3f2-fa92c34e_0 is DEAD
2025-12-05T13:12:07.969384Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:07.969665Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:07.969674Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 15
2025-12-05T13:12:07.969767Z 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-05T13:12:07.969797Z 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]:41278
2025-12-05T13:12:07.969812Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=15 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:07.969816Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:07.970309Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 15 sessionId:  describe result for acl check
2025-12-05T13:12:07.970344Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:07.970345Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:07.970347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:07.970352Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360986835551606:2567] (SourceId=sid_rand_4, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:07.970979Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360986835551606:2567] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:07.973055Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360986835551606:2567] (SourceId=sid_rand_4, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:07.973132Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551625:2567] connected; active server actors: 1
2025-12-05T13:12:07.973153Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360986835551606:2567] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_4
2025-12-05T13:12:07.973161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360986835551606:2567] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:07.973199Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551625:2567] disconnected; active server actors: 1
2025-12-05T13:12:07.973205Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551625:2567] disconnected no session
2025-12-05T13:12:07.975537Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360986835551606:2567] (SourceId=sid_rand_4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:07.975553Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360986835551606:2567] (SourceId=sid_rand_4, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-05T13:12:07.975557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360986835551606:2567] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:07.975564Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 15 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-05T13:12:07.975695Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:07.975738Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_4|6987f74a-2273cfb6-672e10d3-917f1891_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_4
2025-12-05T13:12:07.975885Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 15 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_4|6987f74a-2273cfb6-672e10d3-917f1891_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_4|6987f74a-2273cfb6-672e10d3-917f1891_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:07.976837Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId: sid_rand_4|6987f74a-2273cfb6-672e10d3-917f1891_0 grpc read done: success: 0 data: 
2025-12-05T13:12:07.976849Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 15 sessionId: sid_rand_4|6987f74a-2273cfb6-672e10d3-917f1891_0 grpc read failed
2025-12-05T13:12:07.976857Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 15 sessionId: sid_rand_4|6987f74a-2273cfb6-672e10d3-917f1891_0 grpc closed
2025-12-05T13:12:07.976863Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 15 sessionId: sid_rand_4|6987f74a-2273cfb6-672e10d3-917f1891_0 is DEAD
2025-12-05T13:12:07.976895Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:07.976904Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 16
2025-12-05T13:12:07.977043Z 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-05T13:12:07.977069Z 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]:41278
2025-12-05T13:12:07.977077Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=16 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:07.977081Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:07.977153Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:07.977482Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 16 sessionId:  describe result for acl check
2025-12-05T13:12:07.977519Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:07.977526Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:07.977527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:07.977531Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360986835551643:2572] (SourceId=sid_rand_5, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:07.978045Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360986835551643:2572] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:07.979943Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360986835551643:2572] (SourceId=sid_rand_5, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:07.980036Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551659:2572] connected; active server actors: 1
2025-12-05T13:12:07.980061Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360986835551643:2572] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_5
2025-12-05T13:12:07.980069Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360986835551643:2572] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:07.980124Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551659:2572] disconnected; active server actors: 1
2025-12-05T13:12:07.980134Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551659:2572] disconnected no session
2025-12-05T13:12:07.982837Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360986835551643:2572] (SourceId=sid_rand_5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:07.982851Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360986835551643:2572] (SourceId=sid_rand_5, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-05T13:12:07.982854Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360986835551643:2572] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:07.982862Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 16 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-05T13:12:07.983264Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:07.983359Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_5|a331d74-a7c714c6-ada0299f-a2e4db75_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_5
2025-12-05T13:12:07.983682Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 16 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_5|a331d74-a7c714c6-ada0299f-a2e4db75_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_5|a331d74-a7c714c6-ada0299f-a2e4db75_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:07.984514Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId: sid_rand_5|a331d74-a7c714c6-ada0299f-a2e4db75_0 grpc read done: success: 0 data: 
2025-12-05T13:12:07.984521Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 16 sessionId: sid_rand_5|a331d74-a7c714c6-ada0299f-a2e4db75_0 grpc read failed
2025-12-05T13:12:07.984525Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 16 sessionId: sid_rand_5|a331d74-a7c714c6-ada0299f-a2e4db75_0 grpc closed
2025-12-05T13:12:07.984531Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 16 sessionId: sid_rand_5|a331d74-a7c714c6-ada0299f-a2e4db75_0 is DEAD
2025-12-05T13:12:07.984829Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:07.984879Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:07.984887Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 17
2025-12-05T13:12:07.985023Z 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-05T13:12:07.985049Z 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]:41278
2025-12-05T13:12:07.985057Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=17 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:07.985061Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:07.985471Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 17 sessionId:  describe result for acl check
2025-12-05T13:12:07.985498Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:07.985500Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:07.985502Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:07.985507Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360986835551674:2576] (SourceId=sid_rand_6, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:07.986018Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360986835551674:2576] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:07.987664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360986835551674:2576] (SourceId=sid_rand_6, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:07.987797Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551690:2576] connected; active server actors: 1
2025-12-05T13:12:07.987812Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360986835551674:2576] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_6
2025-12-05T13:12:07.987817Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360986835551674:2576] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:07.987873Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551690:2576] disconnected; active server actors: 1
2025-12-05T13:12:07.987880Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551690:2576] disconnected no session
2025-12-05T13:12:07.990548Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360986835551674:2576] (SourceId=sid_rand_6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:07.990562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360986835551674:2576] (SourceId=sid_rand_6, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-05T13:12:07.990566Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360986835551674:2576] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:07.990574Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 17 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-05T13:12:07.990915Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:07.991029Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_6|f33d3d9a-998da4e6-ba39e25d-4d4e4d24_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_6
2025-12-05T13:12:07.991491Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 17 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_6|f33d3d9a-998da4e6-ba39e25d-4d4e4d24_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_6|f33d3d9a-998da4e6-ba39e25d-4d4e4d24_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:07.992198Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId: sid_rand_6|f33d3d9a-998da4e6-ba39e25d-4d4e4d24_0 grpc read done: success: 0 data: 
2025-12-05T13:12:07.992207Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 17 sessionId: sid_rand_6|f33d3d9a-998da4e6-ba39e25d-4d4e4d24_0 grpc read failed
2025-12-05T13:12:07.992213Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 17 sessionId: sid_rand_6|f33d3d9a-998da4e6-ba39e25d-4d4e4d24_0 grpc closed
2025-12-05T13:12:07.992217Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 17 sessionId: sid_rand_6|f33d3d9a-998da4e6-ba39e25d-4d4e4d24_0 is DEAD
2025-12-05T13:12:07.992412Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:07.992427Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 18
2025-12-05T13:12:07.992522Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:07.992561Z 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-05T13:12:07.992591Z 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]:41278
2025-12-05T13:12:07.992603Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=18 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:07.992607Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:07.993051Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 18 sessionId:  describe result for acl check
2025-12-05T13:12:07.993082Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:07.993088Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:07.993090Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:07.993094Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360986835551705:2580] (SourceId=sid_rand_7, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:07.993675Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360986835551705:2580] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:07.995389Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360986835551705:2580] (SourceId=sid_rand_7, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:07.995468Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551721:2580] connected; active server actors: 1
2025-12-05T13:12:07.995490Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360986835551705:2580] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_7
2025-12-05T13:12:07.995499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360986835551705:2580] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:07.995547Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551721:2580] disconnected; active server actors: 1
2025-12-05T13:12:07.995554Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360986835551721:2580] disconnected no session
2025-12-05T13:12:07.998219Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360986835551705:2580] (SourceId=sid_rand_7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:07.998233Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360986835551705:2580] (SourceId=sid_rand_7, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-05T13:12:07.998237Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360986835551705:2580] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:07.998246Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 18 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-05T13:12:07.998568Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:07.998673Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_7|b441ee9d-d55808d3-68db72c5-100360de_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_7
2025-12-05T13:12:07.999037Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 18 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_7|b441ee9d-d55808d3-68db72c5-100360de_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_7|b441ee9d-d55808d3-68db72c5-100360de_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:07.999818Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId: sid_rand_7|b441ee9d-d55808d3-68db72c5-100360de_0 grpc read done: success: 0 data: 
2025-12-05T13:12:07.999827Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 18 sessionId: sid_rand_7|b441ee9d-d55808d3-68db72c5-100360de_0 grpc read failed
2025-12-05T13:12:07.999833Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 18 sessionId: sid_rand_7|b441ee9d-d55808d3-68db72c5-100360de_0 grpc closed
2025-12-05T13:12:07.999838Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 18 sessionId: sid_rand_7|b441ee9d-d55808d3-68db72c5-100360de_0 is DEAD
2025-12-05T13:12:07.999980Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.000004Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 19
2025-12-05T13:12:08.000101Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.000121Z 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-05T13:12:08.000141Z 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]:41278
2025-12-05T13:12:08.000151Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=19 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.000155Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.000623Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 19 sessionId:  describe result for acl check
2025-12-05T13:12:08.000656Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.000667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.000669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.000673Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519032:2584] (SourceId=sid_rand_8, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.001237Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519032:2584] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.003049Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519032:2584] (SourceId=sid_rand_8, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.003136Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519048:2584] connected; active server actors: 1
2025-12-05T13:12:08.003160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519032:2584] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_8
2025-12-05T13:12:08.003165Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519032:2584] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.003220Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519048:2584] disconnected; active server actors: 1
2025-12-05T13:12:08.003227Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519048:2584] disconnected no session
2025-12-05T13:12:08.006581Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519032:2584] (SourceId=sid_rand_8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.006596Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519032:2584] (SourceId=sid_rand_8, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-05T13:12:08.006599Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519032:2584] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.006608Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 19 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-05T13:12:08.006963Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.007047Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_8|886d5ead-f339cfd5-3649df46-66237211_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_8
2025-12-05T13:12:08.007503Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 19 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_8|886d5ead-f339cfd5-3649df46-66237211_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_8|886d5ead-f339cfd5-3649df46-66237211_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.008299Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId: sid_rand_8|886d5ead-f339cfd5-3649df46-66237211_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.008311Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 19 sessionId: sid_rand_8|886d5ead-f339cfd5-3649df46-66237211_0 grpc read failed
2025-12-05T13:12:08.008318Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 19 sessionId: sid_rand_8|886d5ead-f339cfd5-3649df46-66237211_0 grpc closed
2025-12-05T13:12:08.008324Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 19 sessionId: sid_rand_8|886d5ead-f339cfd5-3649df46-66237211_0 is DEAD
2025-12-05T13:12:08.008429Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.008440Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 20
2025-12-05T13:12:08.008632Z 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-05T13:12:08.008656Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.008663Z 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]:41278
2025-12-05T13:12:08.008668Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=20 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.008672Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.009119Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 20 sessionId:  describe result for acl check
2025-12-05T13:12:08.009159Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.009166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.009168Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.009173Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519063:2588] (SourceId=sid_rand_9, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.009841Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519063:2588] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.012127Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519063:2588] (SourceId=sid_rand_9, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.012243Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519079:2588] connected; active server actors: 1
2025-12-05T13:12:08.012265Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519063:2588] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_9
2025-12-05T13:12:08.012274Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519063:2588] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.012326Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519079:2588] disconnected; active server actors: 1
2025-12-05T13:12:08.012333Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519079:2588] disconnected no session
2025-12-05T13:12:08.015199Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519063:2588] (SourceId=sid_rand_9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.015218Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519063:2588] (SourceId=sid_rand_9, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-05T13:12:08.015222Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519063:2588] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.015231Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 20 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-05T13:12:08.015586Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.015693Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_9|c842e3ec-75cfa06f-c6e63ed1-ad99702b_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_9
2025-12-05T13:12:08.016175Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 20 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_9|c842e3ec-75cfa06f-c6e63ed1-ad99702b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_9|c842e3ec-75cfa06f-c6e63ed1-ad99702b_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.016918Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId: sid_rand_9|c842e3ec-75cfa06f-c6e63ed1-ad99702b_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.016929Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 20 sessionId: sid_rand_9|c842e3ec-75cfa06f-c6e63ed1-ad99702b_0 grpc read failed
2025-12-05T13:12:08.016936Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 20 sessionId: sid_rand_9|c842e3ec-75cfa06f-c6e63ed1-ad99702b_0 grpc closed
2025-12-05T13:12:08.016942Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 20 sessionId: sid_rand_9|c842e3ec-75cfa06f-c6e63ed1-ad99702b_0 is DEAD
2025-12-05T13:12:08.017094Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.017105Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 21
2025-12-05T13:12:08.017242Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.017271Z 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-05T13:12:08.017310Z 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]:41278
2025-12-05T13:12:08.017319Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=21 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.017323Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.017782Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 21 sessionId:  describe result for acl check
2025-12-05T13:12:08.017814Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.017817Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.017818Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.017823Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519094:2592] (SourceId=sid_rand_10, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.018388Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519094:2592] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.020751Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519094:2592] (SourceId=sid_rand_10, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.020866Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519111:2592] connected; active server actors: 1
2025-12-05T13:12:08.020888Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519094:2592] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_10
2025-12-05T13:12:08.020893Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519094:2592] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.020945Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519111:2592] disconnected; active server actors: 1
2025-12-05T13:12:08.020952Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519111:2592] disconnected no session
2025-12-05T13:12:08.024006Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519094:2592] (SourceId=sid_rand_10, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.024022Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519094:2592] (SourceId=sid_rand_10, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-05T13:12:08.024026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519094:2592] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.024035Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 21 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-05T13:12:08.024386Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.024492Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_10|c1748fd-bf1b7846-6d6c9025-e06d3d3d_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_10
2025-12-05T13:12:08.024960Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 21 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_10|c1748fd-bf1b7846-6d6c9025-e06d3d3d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_10|c1748fd-bf1b7846-6d6c9025-e06d3d3d_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.025711Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId: sid_rand_10|c1748fd-bf1b7846-6d6c9025-e06d3d3d_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.025721Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 21 sessionId: sid_rand_10|c1748fd-bf1b7846-6d6c9025-e06d3d3d_0 grpc read failed
2025-12-05T13:12:08.025758Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 21 sessionId: sid_rand_10|c1748fd-bf1b7846-6d6c9025-e06d3d3d_0
2025-12-05T13:12:08.025766Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 21 sessionId: sid_rand_10|c1748fd-bf1b7846-6d6c9025-e06d3d3d_0 is DEAD
2025-12-05T13:12:08.025885Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.026045Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.026053Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 22
2025-12-05T13:12:08.026195Z 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-05T13:12:08.026222Z 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]:41278
2025-12-05T13:12:08.026230Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=22 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.026234Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.026669Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 22 sessionId:  describe result for acl check
2025-12-05T13:12:08.026708Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.026727Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.026729Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.026733Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519126:2596] (SourceId=sid_rand_11, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.027330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519126:2596] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.029185Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519126:2596] (SourceId=sid_rand_11, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.029365Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519142:2596] connected; active server actors: 1
2025-12-05T13:12:08.029409Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519126:2596] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_11
2025-12-05T13:12:08.029417Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519126:2596] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.029469Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519142:2596] disconnected; active server actors: 1
2025-12-05T13:12:08.029477Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519142:2596] disconnected no session
2025-12-05T13:12:08.032562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519126:2596] (SourceId=sid_rand_11, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.032578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519126:2596] (SourceId=sid_rand_11, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-05T13:12:08.032582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519126:2596] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.032591Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 22 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T13:12:08.032743Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.032804Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_11|f845f7f8-e00634e-91849083-f67b940e_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_11
2025-12-05T13:12:08.032965Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 22 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_11|f845f7f8-e00634e-91849083-f67b940e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_11|f845f7f8-e00634e-91849083-f67b940e_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.033669Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId: sid_rand_11|f845f7f8-e00634e-91849083-f67b940e_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.033680Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 22 sessionId: sid_rand_11|f845f7f8-e00634e-91849083-f67b940e_0 grpc read failed
2025-12-05T13:12:08.033687Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 22 sessionId: sid_rand_11|f845f7f8-e00634e-91849083-f67b940e_0 grpc closed
2025-12-05T13:12:08.033694Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 22 sessionId: sid_rand_11|f845f7f8-e00634e-91849083-f67b940e_0 is DEAD
2025-12-05T13:12:08.033936Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.033947Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 23
2025-12-05T13:12:08.033998Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.034029Z 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-05T13:12:08.034052Z 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]:41278
2025-12-05T13:12:08.034061Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=23 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.034065Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.034490Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 23 sessionId:  describe result for acl check
2025-12-05T13:12:08.034524Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.034530Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.034533Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.034538Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519161:2600] (SourceId=sid_rand_12, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.035087Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519161:2600] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.037010Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519161:2600] (SourceId=sid_rand_12, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.037106Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519180:2600] connected; active server actors: 1
2025-12-05T13:12:08.037131Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519161:2600] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_12
2025-12-05T13:12:08.037139Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519161:2600] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.037201Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519180:2600] disconnected; active server actors: 1
2025-12-05T13:12:08.037210Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519180:2600] disconnected no session
2025-12-05T13:12:08.040175Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519161:2600] (SourceId=sid_rand_12, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.040189Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519161:2600] (SourceId=sid_rand_12, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-05T13:12:08.040192Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519161:2600] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.040200Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 23 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-05T13:12:08.040523Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.040633Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_12|e176c849-51cd9802-a02462c7-db338bd3_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_12
2025-12-05T13:12:08.041157Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 23 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_12|e176c849-51cd9802-a02462c7-db338bd3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_12|e176c849-51cd9802-a02462c7-db338bd3_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.042055Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId: sid_rand_12|e176c849-51cd9802-a02462c7-db338bd3_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.042065Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 23 sessionId: sid_rand_12|e176c849-51cd9802-a02462c7-db338bd3_0 grpc read failed
2025-12-05T13:12:08.042071Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 23 sessionId: sid_rand_12|e176c849-51cd9802-a02462c7-db338bd3_0 grpc closed
2025-12-05T13:12:08.042077Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 23 sessionId: sid_rand_12|e176c849-51cd9802-a02462c7-db338bd3_0 is DEAD
2025-12-05T13:12:08.042208Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.042218Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 24
2025-12-05T13:12:08.042353Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.042370Z 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-05T13:12:08.042408Z 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]:41278
2025-12-05T13:12:08.042417Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=24 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.042421Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.042870Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 24 sessionId:  describe result for acl check
2025-12-05T13:12:08.042899Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.042906Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.042908Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.042912Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519195:2604] (SourceId=sid_rand_13, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.043495Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519195:2604] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.045778Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519195:2604] (SourceId=sid_rand_13, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.045903Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519211:2604] connected; active server actors: 1
2025-12-05T13:12:08.045927Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519195:2604] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_13
2025-12-05T13:12:08.045934Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519195:2604] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.045999Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519211:2604] disconnected; active server actors: 1
2025-12-05T13:12:08.046006Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519211:2604] disconnected no session
2025-12-05T13:12:08.048889Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519195:2604] (SourceId=sid_rand_13, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.048902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519195:2604] (SourceId=sid_rand_13, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-05T13:12:08.048905Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519195:2604] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.048913Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 24 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-05T13:12:08.049241Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.049363Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_13|9c401bec-a64d6dbd-a45ecd01-9c3766d7_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_13
2025-12-05T13:12:08.049691Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 24 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_13|9c401bec-a64d6dbd-a45ecd01-9c3766d7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_13|9c401bec-a64d6dbd-a45ecd01-9c3766d7_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.050532Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId: sid_rand_13|9c401bec-a64d6dbd-a45ecd01-9c3766d7_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.050542Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 24 sessionId: sid_rand_13|9c401bec-a64d6dbd-a45ecd01-9c3766d7_0 grpc read failed
2025-12-05T13:12:08.050549Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 24 sessionId: sid_rand_13|9c401bec-a64d6dbd-a45ecd01-9c3766d7_0 grpc closed
2025-12-05T13:12:08.050555Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 24 sessionId: sid_rand_13|9c401bec-a64d6dbd-a45ecd01-9c3766d7_0 is DEAD
2025-12-05T13:12:08.050725Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.050733Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 25
2025-12-05T13:12:08.050897Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.050899Z 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-05T13:12:08.050921Z 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]:41278
2025-12-05T13:12:08.050924Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=25 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.050928Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.051314Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 25 sessionId:  describe result for acl check
2025-12-05T13:12:08.051344Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.051345Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.051347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.051351Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519226:2608] (SourceId=sid_rand_14, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.051953Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519226:2608] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.053898Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519226:2608] (SourceId=sid_rand_14, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.053989Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519242:2608] connected; active server actors: 1
2025-12-05T13:12:08.054011Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519226:2608] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_14
2025-12-05T13:12:08.054020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519226:2608] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.054069Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519242:2608] disconnected; active server actors: 1
2025-12-05T13:12:08.054080Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519242:2608] disconnected no session
2025-12-05T13:12:08.056531Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519226:2608] (SourceId=sid_rand_14, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.056562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519226:2608] (SourceId=sid_rand_14, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-05T13:12:08.056566Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519226:2608] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.056574Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 25 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-05T13:12:08.056893Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.058315Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_14|19d4b05c-1fc880eb-5527a2c6-97889038_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_14
2025-12-05T13:12:08.058760Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 25 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_14|19d4b05c-1fc880eb-5527a2c6-97889038_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_14|19d4b05c-1fc880eb-5527a2c6-97889038_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.059620Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId: sid_rand_14|19d4b05c-1fc880eb-5527a2c6-97889038_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.059630Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 25 sessionId: sid_rand_14|19d4b05c-1fc880eb-5527a2c6-97889038_0 grpc read failed
2025-12-05T13:12:08.059637Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 25 sessionId: sid_rand_14|19d4b05c-1fc880eb-5527a2c6-97889038_0 grpc closed
2025-12-05T13:12:08.059644Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 25 sessionId: sid_rand_14|19d4b05c-1fc880eb-5527a2c6-97889038_0 is DEAD
2025-12-05T13:12:08.059774Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.059787Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 26
2025-12-05T13:12:08.059937Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.059960Z 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-05T13:12:08.060004Z 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]:41278
2025-12-05T13:12:08.060016Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=26 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.060020Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.060503Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 26 sessionId:  describe result for acl check
2025-12-05T13:12:08.060557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.060560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.060562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.060567Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519257:2612] (SourceId=sid_rand_15, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.061161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519257:2612] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.062985Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519257:2612] (SourceId=sid_rand_15, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.063122Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519273:2612] connected; active server actors: 1
2025-12-05T13:12:08.063145Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519257:2612] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_15
2025-12-05T13:12:08.063149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519257:2612] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.063234Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519273:2612] disconnected; active server actors: 1
2025-12-05T13:12:08.063241Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519273:2612] disconnected no session
2025-12-05T13:12:08.065802Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519257:2612] (SourceId=sid_rand_15, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.065815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519257:2612] (SourceId=sid_rand_15, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-05T13:12:08.065819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519257:2612] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.065827Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 26 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-05T13:12:08.066135Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.066229Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_15|6829102a-8f415da3-39aa1b0a-9fd0e847_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_15
2025-12-05T13:12:08.066505Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 26 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_15|6829102a-8f415da3-39aa1b0a-9fd0e847_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_15|6829102a-8f415da3-39aa1b0a-9fd0e847_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.067258Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId: sid_rand_15|6829102a-8f415da3-39aa1b0a-9fd0e847_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.067276Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 26 sessionId: sid_rand_15|6829102a-8f415da3-39aa1b0a-9fd0e847_0 grpc read failed
2025-12-05T13:12:08.067282Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 26 sessionId: sid_rand_15|6829102a-8f415da3-39aa1b0a-9fd0e847_0 grpc closed
2025-12-05T13:12:08.067287Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 26 sessionId: sid_rand_15|6829102a-8f415da3-39aa1b0a-9fd0e847_0 is DEAD
2025-12-05T13:12:08.067353Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.067365Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 27
2025-12-05T13:12:08.067465Z 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-05T13:12:08.067492Z 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]:41278
2025-12-05T13:12:08.067495Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=27 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.067499Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.067585Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.067914Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 27 sessionId:  describe result for acl check
2025-12-05T13:12:08.067944Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.067951Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.067954Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.067958Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519288:2616] (SourceId=sid_rand_16, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.068501Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519288:2616] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.070012Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519288:2616] (SourceId=sid_rand_16, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.070116Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519304:2616] connected; active server actors: 1
2025-12-05T13:12:08.070132Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519288:2616] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_16
2025-12-05T13:12:08.070136Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519288:2616] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.070183Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519304:2616] disconnected; active server actors: 1
2025-12-05T13:12:08.070191Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519304:2616] disconnected no session
2025-12-05T13:12:08.072906Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519288:2616] (SourceId=sid_rand_16, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.072920Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519288:2616] (SourceId=sid_rand_16, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-05T13:12:08.072923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519288:2616] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.072929Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 27 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-05T13:12:08.073273Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.073379Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_16|c42842f3-7b41c7f5-bf60df49-3cae14de_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_16
2025-12-05T13:12:08.073751Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 27 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_16|c42842f3-7b41c7f5-bf60df49-3cae14de_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_16|c42842f3-7b41c7f5-bf60df49-3cae14de_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.074583Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId: sid_rand_16|c42842f3-7b41c7f5-bf60df49-3cae14de_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.074592Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 27 sessionId: sid_rand_16|c42842f3-7b41c7f5-bf60df49-3cae14de_0 grpc read failed
2025-12-05T13:12:08.074598Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 27 sessionId: sid_rand_16|c42842f3-7b41c7f5-bf60df49-3cae14de_0 grpc closed
2025-12-05T13:12:08.074604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 27 sessionId: sid_rand_16|c42842f3-7b41c7f5-bf60df49-3cae14de_0 is DEAD
2025-12-05T13:12:08.074652Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.074663Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 28
2025-12-05T13:12:08.074766Z 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-05T13:12:08.074798Z 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]:41278
2025-12-05T13:12:08.074803Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=28 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.074807Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.074892Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.075214Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 28 sessionId:  describe result for acl check
2025-12-05T13:12:08.075249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.075255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.075257Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.075261Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519319:2620] (SourceId=sid_rand_17, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.075808Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519319:2620] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.077843Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519319:2620] (SourceId=sid_rand_17, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.078011Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519335:2620] connected; active server actors: 1
2025-12-05T13:12:08.078034Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519319:2620] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_17
2025-12-05T13:12:08.078038Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519319:2620] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.078092Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519335:2620] disconnected; active server actors: 1
2025-12-05T13:12:08.078094Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519335:2620] disconnected no session
2025-12-05T13:12:08.080555Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519319:2620] (SourceId=sid_rand_17, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.080567Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519319:2620] (SourceId=sid_rand_17, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-05T13:12:08.080570Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519319:2620] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.080577Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 28 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T13:12:08.080758Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.080804Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_17|b8b7c713-b3fbfb2b-3bc740bf-b3e209a8_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_17
2025-12-05T13:12:08.080934Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 28 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_17|b8b7c713-b3fbfb2b-3bc740bf-b3e209a8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_17|b8b7c713-b3fbfb2b-3bc740bf-b3e209a8_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.081726Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId: sid_rand_17|b8b7c713-b3fbfb2b-3bc740bf-b3e209a8_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.081740Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 28 sessionId: sid_rand_17|b8b7c713-b3fbfb2b-3bc740bf-b3e209a8_0 grpc read failed
2025-12-05T13:12:08.081902Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 28 sessionId: sid_rand_17|b8b7c713-b3fbfb2b-3bc740bf-b3e209a8_0
2025-12-05T13:12:08.081914Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 28 sessionId: sid_rand_17|b8b7c713-b3fbfb2b-3bc740bf-b3e209a8_0 is DEAD
2025-12-05T13:12:08.082062Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.082109Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.082118Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 29
2025-12-05T13:12:08.082367Z 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-05T13:12:08.082403Z 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]:41278
2025-12-05T13:12:08.082413Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=29 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.082417Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.082837Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 29 sessionId:  describe result for acl check
2025-12-05T13:12:08.082870Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.082877Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.082878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.082883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519351:2624] (SourceId=sid_rand_18, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.083421Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519351:2624] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.085384Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519351:2624] (SourceId=sid_rand_18, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.085471Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519367:2624] connected; active server actors: 1
2025-12-05T13:12:08.085491Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519351:2624] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_18
2025-12-05T13:12:08.085495Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519351:2624] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.085548Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519367:2624] disconnected; active server actors: 1
2025-12-05T13:12:08.085555Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519367:2624] disconnected no session
2025-12-05T13:12:08.088183Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519351:2624] (SourceId=sid_rand_18, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.088196Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519351:2624] (SourceId=sid_rand_18, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T13:12:08.088199Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519351:2624] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.088206Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 29 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T13:12:08.088335Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.088385Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_18|b43c2a7c-7eeee334-f08f7654-1ce64a7d_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_18
2025-12-05T13:12:08.088551Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 29 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_18|b43c2a7c-7eeee334-f08f7654-1ce64a7d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_18|b43c2a7c-7eeee334-f08f7654-1ce64a7d_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.089367Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId: sid_rand_18|b43c2a7c-7eeee334-f08f7654-1ce64a7d_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.089376Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 29 sessionId: sid_rand_18|b43c2a7c-7eeee334-f08f7654-1ce64a7d_0 grpc read failed
2025-12-05T13:12:08.089381Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 29 sessionId: sid_rand_18|b43c2a7c-7eeee334-f08f7654-1ce64a7d_0 grpc closed
2025-12-05T13:12:08.089386Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 29 sessionId: sid_rand_18|b43c2a7c-7eeee334-f08f7654-1ce64a7d_0 is DEAD
2025-12-05T13:12:08.089505Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.089517Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 30
2025-12-05T13:12:08.089684Z 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-05T13:12:08.089708Z 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]:41278
2025-12-05T13:12:08.089716Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=30 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.089719Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.090079Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 30 sessionId:  describe result for acl check
2025-12-05T13:12:08.090106Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.090108Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.090111Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.090115Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519383:2628] (SourceId=sid_rand_19, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.090627Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519383:2628] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.090665Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.092560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519383:2628] (SourceId=sid_rand_19, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.092657Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519399:2628] connected; active server actors: 1
2025-12-05T13:12:08.092678Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519383:2628] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_19
2025-12-05T13:12:08.092682Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519383:2628] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.092729Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519399:2628] disconnected; active server actors: 1
2025-12-05T13:12:08.092737Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519399:2628] disconnected no session
2025-12-05T13:12:08.095350Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519383:2628] (SourceId=sid_rand_19, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.095361Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519383:2628] (SourceId=sid_rand_19, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-05T13:12:08.095370Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519383:2628] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.095376Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 30 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-05T13:12:08.095842Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.095915Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_19|b8d74f82-3096e719-97576403-94aa8668_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_19
2025-12-05T13:12:08.096267Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 30 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_19|b8d74f82-3096e719-97576403-94aa8668_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_19|b8d74f82-3096e719-97576403-94aa8668_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.097116Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId: sid_rand_19|b8d74f82-3096e719-97576403-94aa8668_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.097124Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 30 sessionId: sid_rand_19|b8d74f82-3096e719-97576403-94aa8668_0 grpc read failed
2025-12-05T13:12:08.097130Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 30 sessionId: sid_rand_19|b8d74f82-3096e719-97576403-94aa8668_0 grpc closed
2025-12-05T13:12:08.097137Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 30 sessionId: sid_rand_19|b8d74f82-3096e719-97576403-94aa8668_0 is DEAD
2025-12-05T13:12:08.097348Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.097359Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 31
2025-12-05T13:12:08.097452Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.097520Z 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-05T13:12:08.097552Z 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]:41278
2025-12-05T13:12:08.097557Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=31 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.097560Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.098029Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 31 sessionId:  describe result for acl check
2025-12-05T13:12:08.098063Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.098072Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.098074Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.098079Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519414:2632] (SourceId=sid_rand_20, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.098651Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519414:2632] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.100079Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519414:2632] (SourceId=sid_rand_20, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.100150Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519430:2632] connected; active server actors: 1
2025-12-05T13:12:08.100168Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519414:2632] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_20
2025-12-05T13:12:08.100172Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519414:2632] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.100211Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519430:2632] disconnected; active server actors: 1
2025-12-05T13:12:08.100219Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519430:2632] disconnected no session
2025-12-05T13:12:08.102603Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519414:2632] (SourceId=sid_rand_20, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.102618Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519414:2632] (SourceId=sid_rand_20, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-05T13:12:08.102621Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519414:2632] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.102627Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 31 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T13:12:08.102761Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.102790Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_20|680f23e1-cdd2ab59-1031daf-513b2d78_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_20
2025-12-05T13:12:08.102939Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 31 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_20|680f23e1-cdd2ab59-1031daf-513b2d78_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_20|680f23e1-cdd2ab59-1031daf-513b2d78_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.103593Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId: sid_rand_20|680f23e1-cdd2ab59-1031daf-513b2d78_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.103599Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 31 sessionId: sid_rand_20|680f23e1-cdd2ab59-1031daf-513b2d78_0 grpc read failed
2025-12-05T13:12:08.103604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 31 sessionId: sid_rand_20|680f23e1-cdd2ab59-1031daf-513b2d78_0 grpc closed
2025-12-05T13:12:08.103608Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 31 sessionId: sid_rand_20|680f23e1-cdd2ab59-1031daf-513b2d78_0 is DEAD
2025-12-05T13:12:08.103793Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.103802Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 32
2025-12-05T13:12:08.103848Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.103902Z 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-05T13:12:08.103932Z 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]:41278
2025-12-05T13:12:08.103936Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=32 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.103939Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.104328Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 32 sessionId:  describe result for acl check
2025-12-05T13:12:08.104370Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.104377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.104379Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.104384Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519446:2636] (SourceId=sid_rand_21, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.105034Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519446:2636] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.107034Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519446:2636] (SourceId=sid_rand_21, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.107106Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519462:2636] connected; active server actors: 1
2025-12-05T13:12:08.107126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519446:2636] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_21
2025-12-05T13:12:08.107138Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519446:2636] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.107189Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519462:2636] disconnected; active server actors: 1
2025-12-05T13:12:08.107197Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519462:2636] disconnected no session
2025-12-05T13:12:08.109715Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519446:2636] (SourceId=sid_rand_21, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.109730Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519446:2636] (SourceId=sid_rand_21, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-05T13:12:08.109733Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519446:2636] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.109739Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 32 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-05T13:12:08.109978Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.110066Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_21|3b67c7b-a13b24f1-a6f6daaa-bd088895_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_21
2025-12-05T13:12:08.110360Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 32 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_21|3b67c7b-a13b24f1-a6f6daaa-bd088895_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_21|3b67c7b-a13b24f1-a6f6daaa-bd088895_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.110953Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId: sid_rand_21|3b67c7b-a13b24f1-a6f6daaa-bd088895_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.110964Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 32 sessionId: sid_rand_21|3b67c7b-a13b24f1-a6f6daaa-bd088895_0 grpc read failed
2025-12-05T13:12:08.110971Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 32 sessionId: sid_rand_21|3b67c7b-a13b24f1-a6f6daaa-bd088895_0 grpc closed
2025-12-05T13:12:08.110977Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 32 sessionId: sid_rand_21|3b67c7b-a13b24f1-a6f6daaa-bd088895_0 is DEAD
2025-12-05T13:12:08.111057Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.111066Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 33
2025-12-05T13:12:08.111211Z 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-05T13:12:08.111213Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.111237Z 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]:41278
2025-12-05T13:12:08.111245Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=33 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.111249Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.111654Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 33 sessionId:  describe result for acl check
2025-12-05T13:12:08.111687Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.111697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.111699Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.111703Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519477:2640] (SourceId=sid_rand_22, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.112265Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519477:2640] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.114112Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519477:2640] (SourceId=sid_rand_22, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.114205Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519493:2640] connected; active server actors: 1
2025-12-05T13:12:08.114224Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519477:2640] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_22
2025-12-05T13:12:08.114227Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519477:2640] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.114270Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519493:2640] disconnected; active server actors: 1
2025-12-05T13:12:08.114280Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519493:2640] disconnected no session
2025-12-05T13:12:08.116904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519477:2640] (SourceId=sid_rand_22, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.116916Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519477:2640] (SourceId=sid_rand_22, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-05T13:12:08.116919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519477:2640] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.116927Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 33 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-05T13:12:08.117230Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.117336Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_22|c3ba5a73-260a1b2c-b9fb4127-a4373b88_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_22
2025-12-05T13:12:08.117758Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 33 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_22|c3ba5a73-260a1b2c-b9fb4127-a4373b88_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_22|c3ba5a73-260a1b2c-b9fb4127-a4373b88_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.118440Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId: sid_rand_22|c3ba5a73-260a1b2c-b9fb4127-a4373b88_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.118450Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 33 sessionId: sid_rand_22|c3ba5a73-260a1b2c-b9fb4127-a4373b88_0 grpc read failed
2025-12-05T13:12:08.118521Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 33 sessionId: sid_rand_22|c3ba5a73-260a1b2c-b9fb4127-a4373b88_0
2025-12-05T13:12:08.118531Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 33 sessionId: sid_rand_22|c3ba5a73-260a1b2c-b9fb4127-a4373b88_0 is DEAD
2025-12-05T13:12:08.118676Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.118682Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.118686Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 34
2025-12-05T13:12:08.118789Z 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-05T13:12:08.118820Z 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]:41278
2025-12-05T13:12:08.118828Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=34 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.118832Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.119214Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 34 sessionId:  describe result for acl check
2025-12-05T13:12:08.119256Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.119262Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.119264Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.119268Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519508:2644] (SourceId=sid_rand_23, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.119814Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519508:2644] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.121963Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519508:2644] (SourceId=sid_rand_23, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.122065Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519524:2644] connected; active server actors: 1
2025-12-05T13:12:08.122092Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519508:2644] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_23
2025-12-05T13:12:08.122098Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519508:2644] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.122152Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519524:2644] disconnected; active server actors: 1
2025-12-05T13:12:08.122160Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519524:2644] disconnected no session
2025-12-05T13:12:08.125113Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519508:2644] (SourceId=sid_rand_23, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.125128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519508:2644] (SourceId=sid_rand_23, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-05T13:12:08.125131Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519508:2644] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.125140Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 34 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-05T13:12:08.125276Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.125327Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_23|962a0f8f-ab640720-a4269478-402f92b5_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_23
2025-12-05T13:12:08.125490Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 34 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_23|962a0f8f-ab640720-a4269478-402f92b5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_23|962a0f8f-ab640720-a4269478-402f92b5_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.126389Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId: sid_rand_23|962a0f8f-ab640720-a4269478-402f92b5_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.126400Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 34 sessionId: sid_rand_23|962a0f8f-ab640720-a4269478-402f92b5_0 grpc read failed
2025-12-05T13:12:08.126406Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 34 sessionId: sid_rand_23|962a0f8f-ab640720-a4269478-402f92b5_0 grpc closed
2025-12-05T13:12:08.126412Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 34 sessionId: sid_rand_23|962a0f8f-ab640720-a4269478-402f92b5_0 is DEAD
2025-12-05T13:12:08.126549Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.126573Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 35
2025-12-05T13:12:08.126719Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.126752Z 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-05T13:12:08.126788Z 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]:41278
2025-12-05T13:12:08.126796Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=35 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.126800Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.127183Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 35 sessionId:  describe result for acl check
2025-12-05T13:12:08.127217Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.127226Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.127228Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.127232Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519541:2648] (SourceId=sid_rand_24, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.127826Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519541:2648] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.129533Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519541:2648] (SourceId=sid_rand_24, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.129603Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519557:2648] connected; active server actors: 1
2025-12-05T13:12:08.129627Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519541:2648] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_24
2025-12-05T13:12:08.129630Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519541:2648] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.129678Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519557:2648] disconnected; active server actors: 1
2025-12-05T13:12:08.129683Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519557:2648] disconnected no session
2025-12-05T13:12:08.132303Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519541:2648] (SourceId=sid_rand_24, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.132319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519541:2648] (SourceId=sid_rand_24, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-05T13:12:08.132322Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519541:2648] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.132337Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 35 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-05T13:12:08.132791Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.132899Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_24|32203a3b-8e74c70-9ab18354-cf301d4a_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_24
2025-12-05T13:12:08.133194Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 35 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_24|32203a3b-8e74c70-9ab18354-cf301d4a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_24|32203a3b-8e74c70-9ab18354-cf301d4a_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.133995Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId: sid_rand_24|32203a3b-8e74c70-9ab18354-cf301d4a_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.134006Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 35 sessionId: sid_rand_24|32203a3b-8e74c70-9ab18354-cf301d4a_0 grpc read failed
2025-12-05T13:12:08.134012Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 35 sessionId: sid_rand_24|32203a3b-8e74c70-9ab18354-cf301d4a_0 grpc closed
2025-12-05T13:12:08.134018Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 35 sessionId: sid_rand_24|32203a3b-8e74c70-9ab18354-cf301d4a_0 is DEAD
2025-12-05T13:12:08.134288Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.134332Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.134339Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 36
2025-12-05T13:12:08.134440Z 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-05T13:12:08.134466Z 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]:41278
2025-12-05T13:12:08.134475Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=36 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.134478Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.134911Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 36 sessionId:  describe result for acl check
2025-12-05T13:12:08.134949Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.134955Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.134958Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.134962Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519572:2652] (SourceId=sid_rand_25, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.135538Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519572:2652] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.138220Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519572:2652] (SourceId=sid_rand_25, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.138335Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519588:2652] connected; active server actors: 1
2025-12-05T13:12:08.138369Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519572:2652] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_25
2025-12-05T13:12:08.138375Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519572:2652] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.138459Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519588:2652] disconnected; active server actors: 1
2025-12-05T13:12:08.138469Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519588:2652] disconnected no session
2025-12-05T13:12:08.141668Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519572:2652] (SourceId=sid_rand_25, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.141686Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519572:2652] (SourceId=sid_rand_25, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-05T13:12:08.141690Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519572:2652] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.141698Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 36 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-05T13:12:08.141857Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.141906Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_25|de90d6fa-12df4373-3a3952e8-8c5e7e90_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_25
2025-12-05T13:12:08.142359Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 36 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_25|de90d6fa-12df4373-3a3952e8-8c5e7e90_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_25|de90d6fa-12df4373-3a3952e8-8c5e7e90_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.143105Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId: sid_rand_25|de90d6fa-12df4373-3a3952e8-8c5e7e90_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.143115Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 36 sessionId: sid_rand_25|de90d6fa-12df4373-3a3952e8-8c5e7e90_0 grpc read failed
2025-12-05T13:12:08.143122Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 36 sessionId: sid_rand_25|de90d6fa-12df4373-3a3952e8-8c5e7e90_0 grpc closed
2025-12-05T13:12:08.143127Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 36 sessionId: sid_rand_25|de90d6fa-12df4373-3a3952e8-8c5e7e90_0 is DEAD
2025-12-05T13:12:08.143264Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.143275Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 37
2025-12-05T13:12:08.143433Z 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-05T13:12:08.143433Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.143463Z 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]:41278
2025-12-05T13:12:08.143468Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=37 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.143472Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.143925Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 37 sessionId:  describe result for acl check
2025-12-05T13:12:08.143963Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.143966Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.143968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.143973Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519604:2656] (SourceId=sid_rand_26, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.144631Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519604:2656] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.146720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519604:2656] (SourceId=sid_rand_26, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.146812Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519620:2656] connected; active server actors: 1
2025-12-05T13:12:08.146834Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519604:2656] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_26
2025-12-05T13:12:08.146838Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519604:2656] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.146890Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519620:2656] disconnected; active server actors: 1
2025-12-05T13:12:08.146898Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519620:2656] disconnected no session
2025-12-05T13:12:08.149789Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519604:2656] (SourceId=sid_rand_26, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.149805Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519604:2656] (SourceId=sid_rand_26, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-05T13:12:08.149808Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519604:2656] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.149817Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 37 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-05T13:12:08.150181Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.150294Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_26|de467c8c-a07e22f4-24436e8f-a172b451_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_26
2025-12-05T13:12:08.150694Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 37 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_26|de467c8c-a07e22f4-24436e8f-a172b451_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_26|de467c8c-a07e22f4-24436e8f-a172b451_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.151404Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId: sid_rand_26|de467c8c-a07e22f4-24436e8f-a172b451_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.151414Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 37 sessionId: sid_rand_26|de467c8c-a07e22f4-24436e8f-a172b451_0 grpc read failed
2025-12-05T13:12:08.151421Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 37 sessionId: sid_rand_26|de467c8c-a07e22f4-24436e8f-a172b451_0 grpc closed
2025-12-05T13:12:08.151426Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 37 sessionId: sid_rand_26|de467c8c-a07e22f4-24436e8f-a172b451_0 is DEAD
2025-12-05T13:12:08.151485Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.151497Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 38
2025-12-05T13:12:08.151609Z 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-05T13:12:08.151638Z 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]:41278
2025-12-05T13:12:08.151646Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=38 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.151650Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.151728Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.152033Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 38 sessionId:  describe result for acl check
2025-12-05T13:12:08.152065Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.152072Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.152074Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.152078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519635:2660] (SourceId=sid_rand_27, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.152682Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519635:2660] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.154454Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519635:2660] (SourceId=sid_rand_27, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.154529Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519651:2660] connected; active server actors: 1
2025-12-05T13:12:08.154545Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519635:2660] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_27
2025-12-05T13:12:08.154549Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519635:2660] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.154609Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519651:2660] disconnected; active server actors: 1
2025-12-05T13:12:08.154618Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519651:2660] disconnected no session
2025-12-05T13:12:08.157283Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519635:2660] (SourceId=sid_rand_27, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.157300Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519635:2660] (SourceId=sid_rand_27, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-05T13:12:08.157303Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519635:2660] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.157311Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 38 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-05T13:12:08.157614Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.157712Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_27|1c9f41e5-21ad530a-9a5f9407-9181f5e0_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_27
2025-12-05T13:12:08.158186Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 38 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_27|1c9f41e5-21ad530a-9a5f9407-9181f5e0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_27|1c9f41e5-21ad530a-9a5f9407-9181f5e0_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.158891Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId: sid_rand_27|1c9f41e5-21ad530a-9a5f9407-9181f5e0_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.158913Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 38 sessionId: sid_rand_27|1c9f41e5-21ad530a-9a5f9407-9181f5e0_0 grpc read failed
2025-12-05T13:12:08.158919Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 38 sessionId: sid_rand_27|1c9f41e5-21ad530a-9a5f9407-9181f5e0_0 grpc closed
2025-12-05T13:12:08.158925Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 38 sessionId: sid_rand_27|1c9f41e5-21ad530a-9a5f9407-9181f5e0_0 is DEAD
2025-12-05T13:12:08.159034Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.159048Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 39
2025-12-05T13:12:08.159196Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.159205Z 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-05T13:12:08.159233Z 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]:41278
2025-12-05T13:12:08.159237Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=39 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.159240Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.159618Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 39 sessionId:  describe result for acl check
2025-12-05T13:12:08.159650Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.159657Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.159659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.159664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519666:2664] (SourceId=sid_rand_28, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.160216Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519666:2664] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.161618Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519666:2664] (SourceId=sid_rand_28, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.161704Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519685:2664] connected; active server actors: 1
2025-12-05T13:12:08.161718Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519666:2664] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_28
2025-12-05T13:12:08.161721Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519666:2664] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.161762Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519685:2664] disconnected; active server actors: 1
2025-12-05T13:12:08.161767Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519685:2664] disconnected no session
2025-12-05T13:12:08.163736Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519666:2664] (SourceId=sid_rand_28, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.163750Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519666:2664] (SourceId=sid_rand_28, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-05T13:12:08.163753Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519666:2664] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.163761Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 39 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-05T13:12:08.163909Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.163946Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_28|d93389d8-7bc17a3-3544e4f2-d99d6cbb_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_28
2025-12-05T13:12:08.164102Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 39 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_28|d93389d8-7bc17a3-3544e4f2-d99d6cbb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_28|d93389d8-7bc17a3-3544e4f2-d99d6cbb_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.164790Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId: sid_rand_28|d93389d8-7bc17a3-3544e4f2-d99d6cbb_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.164801Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 39 sessionId: sid_rand_28|d93389d8-7bc17a3-3544e4f2-d99d6cbb_0 grpc read failed
2025-12-05T13:12:08.164807Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 39 sessionId: sid_rand_28|d93389d8-7bc17a3-3544e4f2-d99d6cbb_0 grpc closed
2025-12-05T13:12:08.164812Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 39 sessionId: sid_rand_28|d93389d8-7bc17a3-3544e4f2-d99d6cbb_0 is DEAD
2025-12-05T13:12:08.164925Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.164935Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 40
2025-12-05T13:12:08.165100Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.165101Z 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-05T13:12:08.165124Z 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]:41278
2025-12-05T13:12:08.165127Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=40 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.165130Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.165448Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 40 sessionId:  describe result for acl check
2025-12-05T13:12:08.165479Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.165486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.165487Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.165491Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519701:2668] (SourceId=sid_rand_29, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.165992Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519701:2668] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.167801Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519701:2668] (SourceId=sid_rand_29, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.167884Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519717:2668] connected; active server actors: 1
2025-12-05T13:12:08.167907Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519701:2668] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_29
2025-12-05T13:12:08.167911Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519701:2668] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.167966Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519717:2668] disconnected; active server actors: 1
2025-12-05T13:12:08.167973Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519717:2668] disconnected no session
2025-12-05T13:12:08.170519Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519701:2668] (SourceId=sid_rand_29, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.170533Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519701:2668] (SourceId=sid_rand_29, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-05T13:12:08.170536Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519701:2668] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.170543Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 40 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-05T13:12:08.170820Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.170900Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_29|502a80d-2ae23fbe-812f3af5-7435c3f2_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_29
2025-12-05T13:12:08.171227Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 40 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_29|502a80d-2ae23fbe-812f3af5-7435c3f2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_29|502a80d-2ae23fbe-812f3af5-7435c3f2_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.171911Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId: sid_rand_29|502a80d-2ae23fbe-812f3af5-7435c3f2_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.171919Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 40 sessionId: sid_rand_29|502a80d-2ae23fbe-812f3af5-7435c3f2_0 grpc read failed
2025-12-05T13:12:08.171926Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 40 sessionId: sid_rand_29|502a80d-2ae23fbe-812f3af5-7435c3f2_0 grpc closed
2025-12-05T13:12:08.171930Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 40 sessionId: sid_rand_29|502a80d-2ae23fbe-812f3af5-7435c3f2_0 is DEAD
2025-12-05T13:12:08.172003Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.172015Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 41
2025-12-05T13:12:08.172127Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.172171Z 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-05T13:12:08.172203Z 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]:41278
2025-12-05T13:12:08.172207Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=41 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.172210Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.172622Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 41 sessionId:  describe result for acl check
2025-12-05T13:12:08.172669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.172676Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.172678Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.172683Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519732:2672] (SourceId=sid_rand_30, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.173240Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519732:2672] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.174827Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519732:2672] (SourceId=sid_rand_30, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.174896Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519748:2672] connected; active server actors: 1
2025-12-05T13:12:08.174919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519732:2672] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_30
2025-12-05T13:12:08.174923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519732:2672] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.174964Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519748:2672] disconnected; active server actors: 1
2025-12-05T13:12:08.174971Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519748:2672] disconnected no session
2025-12-05T13:12:08.177233Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519732:2672] (SourceId=sid_rand_30, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.177247Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519732:2672] (SourceId=sid_rand_30, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-05T13:12:08.177251Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519732:2672] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.177257Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 41 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-05T13:12:08.177566Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.177671Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_30|4f64644a-2e2807a7-17607b1f-b12cd8f1_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_30
2025-12-05T13:12:08.179155Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 41 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_30|4f64644a-2e2807a7-17607b1f-b12cd8f1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_30|4f64644a-2e2807a7-17607b1f-b12cd8f1_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.179829Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId: sid_rand_30|4f64644a-2e2807a7-17607b1f-b12cd8f1_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.179839Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 41 sessionId: sid_rand_30|4f64644a-2e2807a7-17607b1f-b12cd8f1_0 grpc read failed
2025-12-05T13:12:08.179845Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 41 sessionId: sid_rand_30|4f64644a-2e2807a7-17607b1f-b12cd8f1_0 grpc closed
2025-12-05T13:12:08.179852Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 41 sessionId: sid_rand_30|4f64644a-2e2807a7-17607b1f-b12cd8f1_0 is DEAD
2025-12-05T13:12:08.179954Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.179965Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 42
2025-12-05T13:12:08.180080Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.180100Z 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-05T13:12:08.180126Z 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]:41278
2025-12-05T13:12:08.180135Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=42 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.180140Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.180552Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 42 sessionId:  describe result for acl check
2025-12-05T13:12:08.180581Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.180583Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.180585Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.180590Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519763:2676] (SourceId=sid_rand_31, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.181117Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519763:2676] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.182642Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519763:2676] (SourceId=sid_rand_31, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.182708Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519779:2676] connected; active server actors: 1
2025-12-05T13:12:08.182732Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519763:2676] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_31
2025-12-05T13:12:08.182737Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519763:2676] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.182783Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519779:2676] disconnected; active server actors: 1
2025-12-05T13:12:08.182791Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519779:2676] disconnected no session
2025-12-05T13:12:08.184878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519763:2676] (SourceId=sid_rand_31, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.184899Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519763:2676] (SourceId=sid_rand_31, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-05T13:12:08.184902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519763:2676] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.184910Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 42 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-05T13:12:08.185169Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.185248Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_31|987e0c92-93f3a34b-954ee0be-935a8c7a_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_31
2025-12-05T13:12:08.185561Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 42 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_31|987e0c92-93f3a34b-954ee0be-935a8c7a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_31|987e0c92-93f3a34b-954ee0be-935a8c7a_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.186279Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId: sid_rand_31|987e0c92-93f3a34b-954ee0be-935a8c7a_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.186285Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 42 sessionId: sid_rand_31|987e0c92-93f3a34b-954ee0be-935a8c7a_0 grpc read failed
2025-12-05T13:12:08.186290Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 42 sessionId: sid_rand_31|987e0c92-93f3a34b-954ee0be-935a8c7a_0 grpc closed
2025-12-05T13:12:08.186294Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 42 sessionId: sid_rand_31|987e0c92-93f3a34b-954ee0be-935a8c7a_0 is DEAD
2025-12-05T13:12:08.186415Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.186426Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 43
2025-12-05T13:12:08.186511Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.186525Z 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-05T13:12:08.186548Z 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]:41278
2025-12-05T13:12:08.186558Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=43 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.186562Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.186944Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 43 sessionId:  describe result for acl check
2025-12-05T13:12:08.186976Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.186983Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.186984Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.186989Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519794:2680] (SourceId=sid_rand_32, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.187563Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519794:2680] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.189301Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519794:2680] (SourceId=sid_rand_32, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.189365Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519811:2680] connected; active server actors: 1
2025-12-05T13:12:08.189382Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519794:2680] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_32
2025-12-05T13:12:08.189386Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519794:2680] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.189456Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519811:2680] disconnected; active server actors: 1
2025-12-05T13:12:08.189463Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519811:2680] disconnected no session
2025-12-05T13:12:08.191415Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519794:2680] (SourceId=sid_rand_32, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.191427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519794:2680] (SourceId=sid_rand_32, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-05T13:12:08.191430Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519794:2680] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.191436Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 43 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-05T13:12:08.191696Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.191794Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_32|3351e779-3e890c0a-5de7f393-27f7a3a9_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_32
2025-12-05T13:12:08.192073Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 43 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_32|3351e779-3e890c0a-5de7f393-27f7a3a9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_32|3351e779-3e890c0a-5de7f393-27f7a3a9_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.192662Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId: sid_rand_32|3351e779-3e890c0a-5de7f393-27f7a3a9_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.192671Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 43 sessionId: sid_rand_32|3351e779-3e890c0a-5de7f393-27f7a3a9_0 grpc read failed
2025-12-05T13:12:08.192675Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 43 sessionId: sid_rand_32|3351e779-3e890c0a-5de7f393-27f7a3a9_0 grpc closed
2025-12-05T13:12:08.192679Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 43 sessionId: sid_rand_32|3351e779-3e890c0a-5de7f393-27f7a3a9_0 is DEAD
2025-12-05T13:12:08.192800Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.192811Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 44
2025-12-05T13:12:08.192884Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.192894Z 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-05T13:12:08.192914Z 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]:41278
2025-12-05T13:12:08.192921Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=44 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.192925Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.193331Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 44 sessionId:  describe result for acl check
2025-12-05T13:12:08.193379Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.193385Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.193387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.193400Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519826:2684] (SourceId=sid_rand_33, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.193967Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519826:2684] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.195312Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519826:2684] (SourceId=sid_rand_33, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.195396Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519842:2684] connected; active server actors: 1
2025-12-05T13:12:08.195410Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519826:2684] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_33
2025-12-05T13:12:08.195413Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519826:2684] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.195455Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519842:2684] disconnected; active server actors: 1
2025-12-05T13:12:08.195460Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519842:2684] disconnected no session
2025-12-05T13:12:08.197845Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519826:2684] (SourceId=sid_rand_33, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.197862Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519826:2684] (SourceId=sid_rand_33, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-05T13:12:08.197864Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519826:2684] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.197872Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 44 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-05T13:12:08.198117Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.198224Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_33|6ed73789-166b50d7-5b2fc1d6-c4ac3e63_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_33
2025-12-05T13:12:08.198508Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 44 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_33|6ed73789-166b50d7-5b2fc1d6-c4ac3e63_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_33|6ed73789-166b50d7-5b2fc1d6-c4ac3e63_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.199112Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId: sid_rand_33|6ed73789-166b50d7-5b2fc1d6-c4ac3e63_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.199123Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 44 sessionId: sid_rand_33|6ed73789-166b50d7-5b2fc1d6-c4ac3e63_0 grpc read failed
2025-12-05T13:12:08.199129Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 44 sessionId: sid_rand_33|6ed73789-166b50d7-5b2fc1d6-c4ac3e63_0 grpc closed
2025-12-05T13:12:08.199134Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 44 sessionId: sid_rand_33|6ed73789-166b50d7-5b2fc1d6-c4ac3e63_0 is DEAD
2025-12-05T13:12:08.199217Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.199229Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 45
2025-12-05T13:12:08.199369Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.199402Z 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-05T13:12:08.199422Z 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]:41278
2025-12-05T13:12:08.199424Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=45 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.199427Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.199862Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 45 sessionId:  describe result for acl check
2025-12-05T13:12:08.199899Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.199909Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.199911Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.199916Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519857:2688] (SourceId=sid_rand_34, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.200501Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519857:2688] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.202231Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519857:2688] (SourceId=sid_rand_34, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.202312Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519873:2688] connected; active server actors: 1
2025-12-05T13:12:08.202332Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519857:2688] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_34
2025-12-05T13:12:08.202340Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519857:2688] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.202411Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519873:2688] disconnected; active server actors: 1
2025-12-05T13:12:08.202419Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519873:2688] disconnected no session
2025-12-05T13:12:08.205023Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519857:2688] (SourceId=sid_rand_34, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.205038Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519857:2688] (SourceId=sid_rand_34, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-05T13:12:08.205041Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519857:2688] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.205049Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 45 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-05T13:12:08.205375Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.205500Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_34|556b7650-4a86188b-ebe157a0-fbea1250_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_34
2025-12-05T13:12:08.205744Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 45 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_34|556b7650-4a86188b-ebe157a0-fbea1250_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_34|556b7650-4a86188b-ebe157a0-fbea1250_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.206503Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId: sid_rand_34|556b7650-4a86188b-ebe157a0-fbea1250_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.206513Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 45 sessionId: sid_rand_34|556b7650-4a86188b-ebe157a0-fbea1250_0 grpc read failed
2025-12-05T13:12:08.206518Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 45 sessionId: sid_rand_34|556b7650-4a86188b-ebe157a0-fbea1250_0 grpc closed
2025-12-05T13:12:08.206523Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 45 sessionId: sid_rand_34|556b7650-4a86188b-ebe157a0-fbea1250_0 is DEAD
2025-12-05T13:12:08.206597Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.206608Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 46
2025-12-05T13:12:08.206805Z 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-05T13:12:08.206818Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.206838Z 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]:41278
2025-12-05T13:12:08.206843Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=46 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.206852Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.207244Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 46 sessionId:  describe result for acl check
2025-12-05T13:12:08.207281Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.207288Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.207289Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.207293Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519888:2692] (SourceId=sid_rand_35, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.207820Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519888:2692] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.209942Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519888:2692] (SourceId=sid_rand_35, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.210027Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519904:2692] connected; active server actors: 1
2025-12-05T13:12:08.210050Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519888:2692] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_35
2025-12-05T13:12:08.210058Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519888:2692] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.210107Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519904:2692] disconnected; active server actors: 1
2025-12-05T13:12:08.210114Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519904:2692] disconnected no session
2025-12-05T13:12:08.212688Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519888:2692] (SourceId=sid_rand_35, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.212706Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519888:2692] (SourceId=sid_rand_35, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-05T13:12:08.212709Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519888:2692] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.212725Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 46 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T13:12:08.212877Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.212909Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_35|1d189b14-852ddd3b-a6bba101-8142c4cf_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_35
2025-12-05T13:12:08.213072Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 46 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_35|1d189b14-852ddd3b-a6bba101-8142c4cf_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_35|1d189b14-852ddd3b-a6bba101-8142c4cf_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.213808Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId: sid_rand_35|1d189b14-852ddd3b-a6bba101-8142c4cf_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.213820Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 46 sessionId: sid_rand_35|1d189b14-852ddd3b-a6bba101-8142c4cf_0 grpc read failed
2025-12-05T13:12:08.213826Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 46 sessionId: sid_rand_35|1d189b14-852ddd3b-a6bba101-8142c4cf_0 grpc closed
2025-12-05T13:12:08.213831Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 46 sessionId: sid_rand_35|1d189b14-852ddd3b-a6bba101-8142c4cf_0 is DEAD
2025-12-05T13:12:08.213944Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.213956Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 47
2025-12-05T13:12:08.214079Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.214120Z 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-05T13:12:08.214150Z 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]:41278
2025-12-05T13:12:08.214158Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=47 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.214160Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.214591Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 47 sessionId:  describe result for acl check
2025-12-05T13:12:08.214627Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.214634Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.214636Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.214640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519920:2696] (SourceId=sid_rand_36, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.215207Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519920:2696] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.216987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519920:2696] (SourceId=sid_rand_36, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.217061Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519936:2696] connected; active server actors: 1
2025-12-05T13:12:08.217077Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519920:2696] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_36
2025-12-05T13:12:08.217080Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519920:2696] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.217119Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519936:2696] disconnected; active server actors: 1
2025-12-05T13:12:08.217124Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519936:2696] disconnected no session
2025-12-05T13:12:08.219867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519920:2696] (SourceId=sid_rand_36, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.219884Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519920:2696] (SourceId=sid_rand_36, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T13:12:08.219887Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519920:2696] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.219895Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 47 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T13:12:08.220036Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.220068Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_36|9855a6-ca30d002-e20b1011-824a370b_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_36
2025-12-05T13:12:08.220214Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 47 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_36|9855a6-ca30d002-e20b1011-824a370b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_36|9855a6-ca30d002-e20b1011-824a370b_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.220932Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId: sid_rand_36|9855a6-ca30d002-e20b1011-824a370b_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.220942Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 47 sessionId: sid_rand_36|9855a6-ca30d002-e20b1011-824a370b_0 grpc read failed
2025-12-05T13:12:08.220948Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 47 sessionId: sid_rand_36|9855a6-ca30d002-e20b1011-824a370b_0 grpc closed
2025-12-05T13:12:08.220954Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 47 sessionId: sid_rand_36|9855a6-ca30d002-e20b1011-824a370b_0 is DEAD
2025-12-05T13:12:08.221006Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.221017Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 48
2025-12-05T13:12:08.221129Z 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-05T13:12:08.221157Z 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]:41278
2025-12-05T13:12:08.221166Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=48 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.221170Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.221222Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.221610Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 48 sessionId:  describe result for acl check
2025-12-05T13:12:08.221642Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.221646Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.221647Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.221651Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519952:2700] (SourceId=sid_rand_37, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.222211Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519952:2700] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.224238Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519952:2700] (SourceId=sid_rand_37, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.224317Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519968:2700] connected; active server actors: 1
2025-12-05T13:12:08.224334Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519952:2700] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_37
2025-12-05T13:12:08.224342Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519952:2700] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.224386Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519968:2700] disconnected; active server actors: 1
2025-12-05T13:12:08.224392Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519968:2700] disconnected no session
2025-12-05T13:12:08.226996Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519952:2700] (SourceId=sid_rand_37, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.227010Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519952:2700] (SourceId=sid_rand_37, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-05T13:12:08.227013Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519952:2700] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.227020Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 48 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-05T13:12:08.227285Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.227385Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_37|5e262ba8-d352abc1-c5df3554-3003edf_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_37
2025-12-05T13:12:08.227814Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 48 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_37|5e262ba8-d352abc1-c5df3554-3003edf_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_37|5e262ba8-d352abc1-c5df3554-3003edf_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.228475Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId: sid_rand_37|5e262ba8-d352abc1-c5df3554-3003edf_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.228487Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 48 sessionId: sid_rand_37|5e262ba8-d352abc1-c5df3554-3003edf_0 grpc read failed
2025-12-05T13:12:08.228493Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 48 sessionId: sid_rand_37|5e262ba8-d352abc1-c5df3554-3003edf_0 grpc closed
2025-12-05T13:12:08.228499Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 48 sessionId: sid_rand_37|5e262ba8-d352abc1-c5df3554-3003edf_0 is DEAD
2025-12-05T13:12:08.228610Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.228624Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 49
2025-12-05T13:12:08.228742Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.228784Z 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-05T13:12:08.228817Z 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]:41278
2025-12-05T13:12:08.228826Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=49 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.228829Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.229241Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 49 sessionId:  describe result for acl check
2025-12-05T13:12:08.229273Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.229281Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.229283Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.229287Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130519983:2704] (SourceId=sid_rand_38, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.229764Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130519983:2704] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.231129Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130519983:2704] (SourceId=sid_rand_38, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.231180Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519999:2704] connected; active server actors: 1
2025-12-05T13:12:08.231195Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130519983:2704] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_38
2025-12-05T13:12:08.231203Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130519983:2704] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.231254Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519999:2704] disconnected; active server actors: 1
2025-12-05T13:12:08.231260Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130519999:2704] disconnected no session
2025-12-05T13:12:08.233819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130519983:2704] (SourceId=sid_rand_38, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.233836Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130519983:2704] (SourceId=sid_rand_38, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-05T13:12:08.233840Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130519983:2704] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.233848Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 49 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T13:12:08.233986Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.234034Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_38|547a853e-2f6b9c0-8440c9e9-697e5eae_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_38
2025-12-05T13:12:08.234276Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 49 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_38|547a853e-2f6b9c0-8440c9e9-697e5eae_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_38|547a853e-2f6b9c0-8440c9e9-697e5eae_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.236325Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId: sid_rand_38|547a853e-2f6b9c0-8440c9e9-697e5eae_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.236342Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 49 sessionId: sid_rand_38|547a853e-2f6b9c0-8440c9e9-697e5eae_0 grpc read failed
2025-12-05T13:12:08.236351Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 49 sessionId: sid_rand_38|547a853e-2f6b9c0-8440c9e9-697e5eae_0 grpc closed
2025-12-05T13:12:08.236359Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 49 sessionId: sid_rand_38|547a853e-2f6b9c0-8440c9e9-697e5eae_0 is DEAD
2025-12-05T13:12:08.236414Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.236425Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 50
2025-12-05T13:12:08.236658Z 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-05T13:12:08.236693Z 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]:41278
2025-12-05T13:12:08.236698Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=50 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.236702Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.236711Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.237145Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 50 sessionId:  describe result for acl check
2025-12-05T13:12:08.237184Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.237191Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.237193Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.237197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520015:2708] (SourceId=sid_rand_39, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.237848Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520015:2708] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.239870Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520015:2708] (SourceId=sid_rand_39, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.240098Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520031:2708] connected; active server actors: 1
2025-12-05T13:12:08.240117Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520015:2708] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_39
2025-12-05T13:12:08.240122Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520015:2708] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.240211Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520031:2708] disconnected; active server actors: 1
2025-12-05T13:12:08.240229Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520031:2708] disconnected no session
2025-12-05T13:12:08.247161Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_39|ec19999b-e09f9c91-6b80858-19cc75d2_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_39
Init result: { status: SUCCESS init_response { session_id: "sid_rand_39|ec19999b-e09f9c91-6b80858-19cc75d2_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.246565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520015:2708] (SourceId=sid_rand_39, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.246597Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520015:2708] (SourceId=sid_rand_39, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-05T13:12:08.246601Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520015:2708] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.246611Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 50 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-05T13:12:08.247019Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.247822Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 50 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_39|ec19999b-e09f9c91-6b80858-19cc75d2_0
2025-12-05T13:12:08.248689Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId: sid_rand_39|ec19999b-e09f9c91-6b80858-19cc75d2_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.248700Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 50 sessionId: sid_rand_39|ec19999b-e09f9c91-6b80858-19cc75d2_0 grpc read failed
2025-12-05T13:12:08.248707Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 50 sessionId: sid_rand_39|ec19999b-e09f9c91-6b80858-19cc75d2_0 grpc closed
2025-12-05T13:12:08.248715Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 50 sessionId: sid_rand_39|ec19999b-e09f9c91-6b80858-19cc75d2_0 is DEAD
2025-12-05T13:12:08.249007Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.249051Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.249054Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 51
2025-12-05T13:12:08.249182Z 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-05T13:12:08.249203Z 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]:41278
2025-12-05T13:12:08.249208Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=51 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.249211Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.249745Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 51 sessionId:  describe result for acl check
2025-12-05T13:12:08.249785Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.249787Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.249790Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.249795Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520046:2712] (SourceId=sid_rand_40, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.250539Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520046:2712] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.253952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520046:2712] (SourceId=sid_rand_40, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.254083Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520062:2712] connected; active server actors: 1
2025-12-05T13:12:08.254112Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520046:2712] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_40
2025-12-05T13:12:08.254121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520046:2712] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.254194Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520062:2712] disconnected; active server actors: 1
2025-12-05T13:12:08.254202Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520062:2712] disconnected no session
2025-12-05T13:12:08.258890Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520046:2712] (SourceId=sid_rand_40, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.258914Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520046:2712] (SourceId=sid_rand_40, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-05T13:12:08.258917Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520046:2712] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.258927Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 51 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-05T13:12:08.259350Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.259486Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_40|d4797885-44418624-77243993-1804983d_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_40
2025-12-05T13:12:08.259906Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 51 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_40|d4797885-44418624-77243993-1804983d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_40|d4797885-44418624-77243993-1804983d_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.260764Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId: sid_rand_40|d4797885-44418624-77243993-1804983d_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.260776Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 51 sessionId: sid_rand_40|d4797885-44418624-77243993-1804983d_0 grpc read failed
2025-12-05T13:12:08.260785Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 51 sessionId: sid_rand_40|d4797885-44418624-77243993-1804983d_0 grpc closed
2025-12-05T13:12:08.260792Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 51 sessionId: sid_rand_40|d4797885-44418624-77243993-1804983d_0 is DEAD
2025-12-05T13:12:08.261064Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.261106Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.261111Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 52
2025-12-05T13:12:08.261220Z 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-05T13:12:08.261241Z 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]:41278
2025-12-05T13:12:08.261246Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=52 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.261250Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.261703Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 52 sessionId:  describe result for acl check
2025-12-05T13:12:08.261726Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.261728Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.261730Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.261735Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520077:2716] (SourceId=sid_rand_41, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.262360Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520077:2716] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.264518Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520077:2716] (SourceId=sid_rand_41, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.264673Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520093:2716] connected; active server actors: 1
2025-12-05T13:12:08.264695Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520077:2716] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_41
2025-12-05T13:12:08.264700Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520077:2716] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.264770Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520093:2716] disconnected; active server actors: 1
2025-12-05T13:12:08.264779Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520093:2716] disconnected no session
2025-12-05T13:12:08.269305Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520077:2716] (SourceId=sid_rand_41, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.269324Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520077:2716] (SourceId=sid_rand_41, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-05T13:12:08.269328Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520077:2716] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.269346Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 52 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-05T13:12:08.269708Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.269772Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_41|e381ef65-f0ac9078-fb2cd3b9-a7cec521_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_41
2025-12-05T13:12:08.269958Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 52 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_41|e381ef65-f0ac9078-fb2cd3b9-a7cec521_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_41|e381ef65-f0ac9078-fb2cd3b9-a7cec521_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.271864Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId: sid_rand_41|e381ef65-f0ac9078-fb2cd3b9-a7cec521_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.271878Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 52 sessionId: sid_rand_41|e381ef65-f0ac9078-fb2cd3b9-a7cec521_0 grpc read failed
2025-12-05T13:12:08.271885Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 52 sessionId: sid_rand_41|e381ef65-f0ac9078-fb2cd3b9-a7cec521_0 grpc closed
2025-12-05T13:12:08.271893Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 52 sessionId: sid_rand_41|e381ef65-f0ac9078-fb2cd3b9-a7cec521_0 is DEAD
2025-12-05T13:12:08.271931Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.271935Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 53
2025-12-05T13:12:08.272058Z 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-05T13:12:08.272082Z 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]:41278
2025-12-05T13:12:08.272087Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=53 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.272092Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.272208Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.272562Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 53 sessionId:  describe result for acl check
2025-12-05T13:12:08.272604Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.272606Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.272608Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.272613Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520109:2720] (SourceId=sid_rand_42, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.273213Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520109:2720] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.275527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520109:2720] (SourceId=sid_rand_42, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.275610Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520125:2720] connected; active server actors: 1
2025-12-05T13:12:08.275647Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520109:2720] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_42
2025-12-05T13:12:08.275652Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520109:2720] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.275715Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520125:2720] disconnected; active server actors: 1
2025-12-05T13:12:08.275723Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520125:2720] disconnected no session
2025-12-05T13:12:08.280889Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520109:2720] (SourceId=sid_rand_42, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.280912Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520109:2720] (SourceId=sid_rand_42, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-05T13:12:08.280915Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520109:2720] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.280924Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 53 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T13:12:08.281088Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.281140Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_42|52125db-590922cb-d8bbf08a-b6685173_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_42
2025-12-05T13:12:08.281311Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 53 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_42|52125db-590922cb-d8bbf08a-b6685173_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_42|52125db-590922cb-d8bbf08a-b6685173_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.282497Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId: sid_rand_42|52125db-590922cb-d8bbf08a-b6685173_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.282511Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 53 sessionId: sid_rand_42|52125db-590922cb-d8bbf08a-b6685173_0 grpc read failed
2025-12-05T13:12:08.282518Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 53 sessionId: sid_rand_42|52125db-590922cb-d8bbf08a-b6685173_0 grpc closed
2025-12-05T13:12:08.282524Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 53 sessionId: sid_rand_42|52125db-590922cb-d8bbf08a-b6685173_0 is DEAD
2025-12-05T13:12:08.282664Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.282674Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 54
2025-12-05T13:12:08.282768Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.282864Z 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-05T13:12:08.282894Z 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]:41278
2025-12-05T13:12:08.282901Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=54 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.282905Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.283355Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 54 sessionId:  describe result for acl check
2025-12-05T13:12:08.283384Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.283391Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.283393Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.283399Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520141:2724] (SourceId=sid_rand_43, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.283949Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520141:2724] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.287129Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520141:2724] (SourceId=sid_rand_43, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.287336Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520160:2724] connected; active server actors: 1
2025-12-05T13:12:08.287370Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520141:2724] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_43
2025-12-05T13:12:08.287380Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520141:2724] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.287546Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520160:2724] disconnected; active server actors: 1
2025-12-05T13:12:08.287562Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520160:2724] disconnected no session
2025-12-05T13:12:08.291027Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520141:2724] (SourceId=sid_rand_43, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.291064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520141:2724] (SourceId=sid_rand_43, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-05T13:12:08.291068Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520141:2724] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.291079Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 54 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-05T13:12:08.291451Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.291579Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_43|ee53efeb-2c7d042e-5ba8b86-8151adc7_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_43
2025-12-05T13:12:08.291944Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 54 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_43|ee53efeb-2c7d042e-5ba8b86-8151adc7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_43|ee53efeb-2c7d042e-5ba8b86-8151adc7_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.292718Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId: sid_rand_43|ee53efeb-2c7d042e-5ba8b86-8151adc7_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.292729Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 54 sessionId: sid_rand_43|ee53efeb-2c7d042e-5ba8b86-8151adc7_0 grpc read failed
2025-12-05T13:12:08.292736Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 54 sessionId: sid_rand_43|ee53efeb-2c7d042e-5ba8b86-8151adc7_0 grpc closed
2025-12-05T13:12:08.292742Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 54 sessionId: sid_rand_43|ee53efeb-2c7d042e-5ba8b86-8151adc7_0 is DEAD
2025-12-05T13:12:08.292945Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.292961Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 55
2025-12-05T13:12:08.293041Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.293137Z 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-05T13:12:08.293171Z 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]:41278
2025-12-05T13:12:08.293180Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=55 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.293184Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.293643Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 55 sessionId:  describe result for acl check
2025-12-05T13:12:08.293675Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.293681Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.293683Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.293688Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520176:2728] (SourceId=sid_rand_44, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.294270Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520176:2728] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.296052Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520176:2728] (SourceId=sid_rand_44, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.296165Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520192:2728] connected; active server actors: 1
2025-12-05T13:12:08.296194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520176:2728] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_44
2025-12-05T13:12:08.296204Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520176:2728] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.296266Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520192:2728] disconnected; active server actors: 1
2025-12-05T13:12:08.296275Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520192:2728] disconnected no session
2025-12-05T13:12:08.299204Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520176:2728] (SourceId=sid_rand_44, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.299220Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520176:2728] (SourceId=sid_rand_44, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-05T13:12:08.299223Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520176:2728] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.299232Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 55 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-05T13:12:08.299549Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.299621Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_44|c30fa632-c277725-a43693fd-3cfe0380_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_44
2025-12-05T13:12:08.299994Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 55 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_44|c30fa632-c277725-a43693fd-3cfe0380_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_44|c30fa632-c277725-a43693fd-3cfe0380_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.300711Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId: sid_rand_44|c30fa632-c277725-a43693fd-3cfe0380_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.300725Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 55 sessionId: sid_rand_44|c30fa632-c277725-a43693fd-3cfe0380_0 grpc read failed
2025-12-05T13:12:08.300732Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 55 sessionId: sid_rand_44|c30fa632-c277725-a43693fd-3cfe0380_0 grpc closed
2025-12-05T13:12:08.300738Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 55 sessionId: sid_rand_44|c30fa632-c277725-a43693fd-3cfe0380_0 is DEAD
2025-12-05T13:12:08.301052Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.301103Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.301107Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 56
2025-12-05T13:12:08.301205Z 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-05T13:12:08.301229Z 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]:41278
2025-12-05T13:12:08.301234Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=56 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.301239Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.301708Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 56 sessionId:  describe result for acl check
2025-12-05T13:12:08.301746Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.301748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.301750Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.301756Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520207:2732] (SourceId=sid_rand_45, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.302383Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520207:2732] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.304279Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520207:2732] (SourceId=sid_rand_45, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.304371Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520223:2732] connected; active server actors: 1
2025-12-05T13:12:08.304391Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520207:2732] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_45
2025-12-05T13:12:08.304400Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520207:2732] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.304462Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520223:2732] disconnected; active server actors: 1
2025-12-05T13:12:08.304471Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520223:2732] disconnected no session
2025-12-05T13:12:08.308374Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520207:2732] (SourceId=sid_rand_45, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.308395Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520207:2732] (SourceId=sid_rand_45, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-05T13:12:08.308399Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520207:2732] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.308409Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 56 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-05T13:12:08.308779Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.308874Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_45|c79e010b-803ea3b7-8945ebc9-42f59ba8_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_45
2025-12-05T13:12:08.309102Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 56 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_45|c79e010b-803ea3b7-8945ebc9-42f59ba8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_45|c79e010b-803ea3b7-8945ebc9-42f59ba8_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.309929Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId: sid_rand_45|c79e010b-803ea3b7-8945ebc9-42f59ba8_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.309935Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 56 sessionId: sid_rand_45|c79e010b-803ea3b7-8945ebc9-42f59ba8_0 grpc read failed
2025-12-05T13:12:08.309942Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 56 sessionId: sid_rand_45|c79e010b-803ea3b7-8945ebc9-42f59ba8_0 grpc closed
2025-12-05T13:12:08.309949Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 56 sessionId: sid_rand_45|c79e010b-803ea3b7-8945ebc9-42f59ba8_0 is DEAD
2025-12-05T13:12:08.310097Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.310127Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.310130Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 57
2025-12-05T13:12:08.310314Z 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-05T13:12:08.310329Z 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]:41278
2025-12-05T13:12:08.310332Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=57 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.310335Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.310659Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 57 sessionId:  describe result for acl check
2025-12-05T13:12:08.310677Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.310678Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.310680Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.310684Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520239:2736] (SourceId=sid_rand_46, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.311136Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520239:2736] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.315305Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520239:2736] (SourceId=sid_rand_46, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.315722Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520255:2736] connected; active server actors: 1
2025-12-05T13:12:08.315799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520239:2736] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_46
2025-12-05T13:12:08.315805Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520239:2736] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.316153Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520255:2736] disconnected; active server actors: 1
2025-12-05T13:12:08.316166Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520255:2736] disconnected no session
2025-12-05T13:12:08.319546Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520239:2736] (SourceId=sid_rand_46, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.319566Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520239:2736] (SourceId=sid_rand_46, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-05T13:12:08.319570Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520239:2736] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.319579Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 57 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-05T13:12:08.319940Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.320127Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_46|330e90a1-479b6abc-9d3eaa26-10a028ed_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_46
Init result: { status: SUCCESS init_response { session_id: "sid_rand_46|330e90a1-479b6abc-9d3eaa26-10a028ed_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.320621Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 57 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_46|330e90a1-479b6abc-9d3eaa26-10a028ed_0
2025-12-05T13:12:08.321611Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId: sid_rand_46|330e90a1-479b6abc-9d3eaa26-10a028ed_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.321618Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 57 sessionId: sid_rand_46|330e90a1-479b6abc-9d3eaa26-10a028ed_0 grpc read failed
2025-12-05T13:12:08.321625Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 57 sessionId: sid_rand_46|330e90a1-479b6abc-9d3eaa26-10a028ed_0 grpc closed
2025-12-05T13:12:08.321631Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 57 sessionId: sid_rand_46|330e90a1-479b6abc-9d3eaa26-10a028ed_0 is DEAD
2025-12-05T13:12:08.321860Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.321901Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.321904Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 58
2025-12-05T13:12:08.322330Z 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-05T13:12:08.322362Z 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]:41278
2025-12-05T13:12:08.322366Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=58 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.322370Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.322914Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 58 sessionId:  describe result for acl check
2025-12-05T13:12:08.322947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.322949Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.322951Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.322955Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520270:2740] (SourceId=sid_rand_47, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.323590Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520270:2740] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.326809Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520270:2740] (SourceId=sid_rand_47, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.327214Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520286:2740] connected; active server actors: 1
2025-12-05T13:12:08.327290Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520270:2740] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_47
2025-12-05T13:12:08.327298Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520270:2740] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.327596Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520286:2740] disconnected; active server actors: 1
2025-12-05T13:12:08.327603Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520286:2740] disconnected no session
2025-12-05T13:12:08.330655Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520270:2740] (SourceId=sid_rand_47, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.330674Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520270:2740] (SourceId=sid_rand_47, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-05T13:12:08.330678Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520270:2740] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.330688Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 58 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-05T13:12:08.331641Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.331751Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_47|3436e243-b0a0af23-6bb8010d-83f4286a_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_47
2025-12-05T13:12:08.331933Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 58 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_47|3436e243-b0a0af23-6bb8010d-83f4286a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_47|3436e243-b0a0af23-6bb8010d-83f4286a_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.333328Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId: sid_rand_47|3436e243-b0a0af23-6bb8010d-83f4286a_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.333341Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 58 sessionId: sid_rand_47|3436e243-b0a0af23-6bb8010d-83f4286a_0 grpc read failed
2025-12-05T13:12:08.333351Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 58 sessionId: sid_rand_47|3436e243-b0a0af23-6bb8010d-83f4286a_0 grpc closed
2025-12-05T13:12:08.333360Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 58 sessionId: sid_rand_47|3436e243-b0a0af23-6bb8010d-83f4286a_0 is DEAD
2025-12-05T13:12:08.333489Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.333498Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 59
2025-12-05T13:12:08.333647Z 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-05T13:12:08.333692Z 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]:41278
2025-12-05T13:12:08.333703Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=59 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.333709Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.333716Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.334126Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 59 sessionId:  describe result for acl check
2025-12-05T13:12:08.334174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.334181Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.334183Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.334188Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520302:2744] (SourceId=sid_rand_48, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.334838Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520302:2744] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.343039Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520302:2744] (SourceId=sid_rand_48, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.343175Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520318:2744] connected; active server actors: 1
2025-12-05T13:12:08.343215Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520302:2744] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_48
2025-12-05T13:12:08.343225Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520302:2744] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.343284Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520318:2744] disconnected; active server actors: 1
2025-12-05T13:12:08.343293Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520318:2744] disconnected no session
2025-12-05T13:12:08.346769Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520302:2744] (SourceId=sid_rand_48, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.346792Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520302:2744] (SourceId=sid_rand_48, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-05T13:12:08.346796Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520302:2744] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.346806Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 59 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-05T13:12:08.347278Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.347439Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_48|d6552586-793962d4-d8048e3c-c58892b5_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_48
2025-12-05T13:12:08.347938Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 59 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_48|d6552586-793962d4-d8048e3c-c58892b5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_48|d6552586-793962d4-d8048e3c-c58892b5_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.349302Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId: sid_rand_48|d6552586-793962d4-d8048e3c-c58892b5_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.349317Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 59 sessionId: sid_rand_48|d6552586-793962d4-d8048e3c-c58892b5_0 grpc read failed
2025-12-05T13:12:08.349326Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 59 sessionId: sid_rand_48|d6552586-793962d4-d8048e3c-c58892b5_0 grpc closed
2025-12-05T13:12:08.349333Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 59 sessionId: sid_rand_48|d6552586-793962d4-d8048e3c-c58892b5_0 is DEAD
2025-12-05T13:12:08.349358Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.349365Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 60
2025-12-05T13:12:08.349503Z 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-05T13:12:08.349542Z 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]:41278
2025-12-05T13:12:08.349555Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=60 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.349559Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.349761Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.349964Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 60 sessionId:  describe result for acl check
2025-12-05T13:12:08.349993Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.350000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.350002Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.350005Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520333:2748] (SourceId=sid_rand_49, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.350639Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520333:2748] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.354043Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520333:2748] (SourceId=sid_rand_49, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.354600Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520349:2748] connected; active server actors: 1
2025-12-05T13:12:08.354616Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520333:2748] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_49
2025-12-05T13:12:08.354622Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520333:2748] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.355002Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520349:2748] disconnected; active server actors: 1
2025-12-05T13:12:08.355008Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520349:2748] disconnected no session
2025-12-05T13:12:08.360053Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520333:2748] (SourceId=sid_rand_49, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.360068Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520333:2748] (SourceId=sid_rand_49, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-05T13:12:08.360071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520333:2748] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.360078Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 60 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-05T13:12:08.361176Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.364662Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_49|3f683286-36d68208-15dd5736-7695e194_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_49
2025-12-05T13:12:08.365658Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 60 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_49|3f683286-36d68208-15dd5736-7695e194_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_49|3f683286-36d68208-15dd5736-7695e194_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.367025Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId: sid_rand_49|3f683286-36d68208-15dd5736-7695e194_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.367041Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 60 sessionId: sid_rand_49|3f683286-36d68208-15dd5736-7695e194_0 grpc read failed
2025-12-05T13:12:08.367050Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 60 sessionId: sid_rand_49|3f683286-36d68208-15dd5736-7695e194_0 grpc closed
2025-12-05T13:12:08.367057Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 60 sessionId: sid_rand_49|3f683286-36d68208-15dd5736-7695e194_0 is DEAD
2025-12-05T13:12:08.367428Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.367488Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.367493Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 61
2025-12-05T13:12:08.367676Z 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-05T13:12:08.367710Z 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]:41278
2025-12-05T13:12:08.367715Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=61 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.367719Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.368140Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 61 sessionId:  describe result for acl check
2025-12-05T13:12:08.368174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.368181Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.368184Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.368189Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520365:2752] (SourceId=sid_rand_50, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.368865Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520365:2752] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.371909Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520365:2752] (SourceId=sid_rand_50, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.372071Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520381:2752] connected; active server actors: 1
2025-12-05T13:12:08.372082Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520365:2752] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_50
2025-12-05T13:12:08.372086Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520365:2752] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.372256Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520381:2752] disconnected; active server actors: 1
2025-12-05T13:12:08.372262Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520381:2752] disconnected no session
2025-12-05T13:12:08.375416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520365:2752] (SourceId=sid_rand_50, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.375436Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520365:2752] (SourceId=sid_rand_50, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-05T13:12:08.375440Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520365:2752] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.375460Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 61 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-05T13:12:08.375867Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.376114Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_50|edc77c49-58788d42-191dcd4-40021fe0_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_50
2025-12-05T13:12:08.377447Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 61 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_50|edc77c49-58788d42-191dcd4-40021fe0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_50|edc77c49-58788d42-191dcd4-40021fe0_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.378775Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId: sid_rand_50|edc77c49-58788d42-191dcd4-40021fe0_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.378788Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 61 sessionId: sid_rand_50|edc77c49-58788d42-191dcd4-40021fe0_0 grpc read failed
2025-12-05T13:12:08.378795Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 61 sessionId: sid_rand_50|edc77c49-58788d42-191dcd4-40021fe0_0 grpc closed
2025-12-05T13:12:08.378802Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 61 sessionId: sid_rand_50|edc77c49-58788d42-191dcd4-40021fe0_0 is DEAD
2025-12-05T13:12:08.378940Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.378945Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 62
2025-12-05T13:12:08.379033Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.379400Z 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-05T13:12:08.379438Z 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]:41278
2025-12-05T13:12:08.379443Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=62 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.379448Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.379905Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 62 sessionId:  describe result for acl check
2025-12-05T13:12:08.379938Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.379940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.379942Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.379947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520396:2756] (SourceId=sid_rand_51, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.380570Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520396:2756] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.383029Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520396:2756] (SourceId=sid_rand_51, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.383351Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520412:2756] connected; active server actors: 1
2025-12-05T13:12:08.383412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520396:2756] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_51
2025-12-05T13:12:08.383418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520396:2756] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.383645Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520412:2756] disconnected; active server actors: 1
2025-12-05T13:12:08.383649Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520412:2756] disconnected no session
2025-12-05T13:12:08.386125Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520396:2756] (SourceId=sid_rand_51, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.386138Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520396:2756] (SourceId=sid_rand_51, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-05T13:12:08.386141Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520396:2756] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.386149Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 62 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-05T13:12:08.386812Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.387021Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_51|e4c1f182-15d3eb-4c83375-87cd80e3_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_51
2025-12-05T13:12:08.387456Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 62 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_51|e4c1f182-15d3eb-4c83375-87cd80e3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_51|e4c1f182-15d3eb-4c83375-87cd80e3_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.388372Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId: sid_rand_51|e4c1f182-15d3eb-4c83375-87cd80e3_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.388379Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 62 sessionId: sid_rand_51|e4c1f182-15d3eb-4c83375-87cd80e3_0 grpc read failed
2025-12-05T13:12:08.388386Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 62 sessionId: sid_rand_51|e4c1f182-15d3eb-4c83375-87cd80e3_0 grpc closed
2025-12-05T13:12:08.388392Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 62 sessionId: sid_rand_51|e4c1f182-15d3eb-4c83375-87cd80e3_0 is DEAD
2025-12-05T13:12:08.388596Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.388634Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.388637Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 63
2025-12-05T13:12:08.389067Z 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-05T13:12:08.389102Z 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]:41278
2025-12-05T13:12:08.389105Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=63 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.389108Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.389611Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 63 sessionId:  describe result for acl check
2025-12-05T13:12:08.389659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.389666Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.389669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.389674Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520427:2760] (SourceId=sid_rand_52, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.390326Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520427:2760] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.392716Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520427:2760] (SourceId=sid_rand_52, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.392852Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520443:2760] connected; active server actors: 1
2025-12-05T13:12:08.392862Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520427:2760] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_52
2025-12-05T13:12:08.392866Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520427:2760] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.392978Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520443:2760] disconnected; active server actors: 1
2025-12-05T13:12:08.392981Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520443:2760] disconnected no session
2025-12-05T13:12:08.397215Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520427:2760] (SourceId=sid_rand_52, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.397233Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520427:2760] (SourceId=sid_rand_52, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-05T13:12:08.397236Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520427:2760] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.397244Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 63 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-05T13:12:08.397895Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.397975Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_52|a018cd6b-81ba165e-a47c68d5-c17776e6_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_52
2025-12-05T13:12:08.398273Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 63 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_52|a018cd6b-81ba165e-a47c68d5-c17776e6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_52|a018cd6b-81ba165e-a47c68d5-c17776e6_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.399153Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId: sid_rand_52|a018cd6b-81ba165e-a47c68d5-c17776e6_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.399159Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.399166Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 64
2025-12-05T13:12:08.399166Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 63 sessionId: sid_rand_52|a018cd6b-81ba165e-a47c68d5-c17776e6_0 grpc read failed
2025-12-05T13:12:08.399173Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 63 sessionId: sid_rand_52|a018cd6b-81ba165e-a47c68d5-c17776e6_0 grpc closed
2025-12-05T13:12:08.399181Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 63 sessionId: sid_rand_52|a018cd6b-81ba165e-a47c68d5-c17776e6_0 is DEAD
2025-12-05T13:12:08.399307Z 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-05T13:12:08.399343Z 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]:41278
2025-12-05T13:12:08.399348Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=64 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.399352Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.399438Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.399871Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 64 sessionId:  describe result for acl check
2025-12-05T13:12:08.399899Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.399901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.399903Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.399907Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520458:2764] (SourceId=sid_rand_53, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.400376Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520458:2764] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.402673Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520458:2764] (SourceId=sid_rand_53, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.402841Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520474:2764] connected; active server actors: 1
2025-12-05T13:12:08.402853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520458:2764] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_53
2025-12-05T13:12:08.402857Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520458:2764] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.402919Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520474:2764] disconnected; active server actors: 1
2025-12-05T13:12:08.402924Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520474:2764] disconnected no session
2025-12-05T13:12:08.405851Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520458:2764] (SourceId=sid_rand_53, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.405865Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520458:2764] (SourceId=sid_rand_53, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-05T13:12:08.405868Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520458:2764] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.405876Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 64 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-05T13:12:08.406222Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.406370Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_53|8250414b-f72e3121-97c8d399-6f1d13c5_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_53
2025-12-05T13:12:08.406733Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 64 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_53|8250414b-f72e3121-97c8d399-6f1d13c5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_53|8250414b-f72e3121-97c8d399-6f1d13c5_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.407408Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId: sid_rand_53|8250414b-f72e3121-97c8d399-6f1d13c5_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.407417Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 64 sessionId: sid_rand_53|8250414b-f72e3121-97c8d399-6f1d13c5_0 grpc read failed
2025-12-05T13:12:08.407422Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 64 sessionId: sid_rand_53|8250414b-f72e3121-97c8d399-6f1d13c5_0 grpc closed
2025-12-05T13:12:08.407441Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 64 sessionId: sid_rand_53|8250414b-f72e3121-97c8d399-6f1d13c5_0 is DEAD
2025-12-05T13:12:08.407469Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.407473Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 65
2025-12-05T13:12:08.407596Z 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-05T13:12:08.407617Z 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]:41278
2025-12-05T13:12:08.407621Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=65 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.407625Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.407669Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.408153Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 65 sessionId:  describe result for acl check
2025-12-05T13:12:08.408184Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.408194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.408196Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.408201Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520489:2768] (SourceId=sid_rand_54, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.408736Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520489:2768] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.411404Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520489:2768] (SourceId=sid_rand_54, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.411577Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520508:2768] connected; active server actors: 1
2025-12-05T13:12:08.411589Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520489:2768] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_54
2025-12-05T13:12:08.411593Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520489:2768] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.411709Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520508:2768] disconnected; active server actors: 1
2025-12-05T13:12:08.411711Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520508:2768] disconnected no session
2025-12-05T13:12:08.414700Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520489:2768] (SourceId=sid_rand_54, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.414714Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520489:2768] (SourceId=sid_rand_54, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-05T13:12:08.414717Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520489:2768] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.414725Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 65 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T13:12:08.414921Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.414967Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_54|b83d91fd-4fdd661a-825f87fb-af34d19_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_54
2025-12-05T13:12:08.415258Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 65 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_54|b83d91fd-4fdd661a-825f87fb-af34d19_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_54|b83d91fd-4fdd661a-825f87fb-af34d19_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.416019Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId: sid_rand_54|b83d91fd-4fdd661a-825f87fb-af34d19_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.416030Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 65 sessionId: sid_rand_54|b83d91fd-4fdd661a-825f87fb-af34d19_0 grpc read failed
2025-12-05T13:12:08.416036Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 65 sessionId: sid_rand_54|b83d91fd-4fdd661a-825f87fb-af34d19_0 grpc closed
2025-12-05T13:12:08.416042Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 65 sessionId: sid_rand_54|b83d91fd-4fdd661a-825f87fb-af34d19_0 is DEAD
2025-12-05T13:12:08.416295Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.416329Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.416332Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 66
2025-12-05T13:12:08.416436Z 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-05T13:12:08.416459Z 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]:41278
2025-12-05T13:12:08.416463Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=66 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.416468Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.416897Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 66 sessionId:  describe result for acl check
2025-12-05T13:12:08.416927Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.416934Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.416936Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.416940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520524:2772] (SourceId=sid_rand_55, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.417452Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520524:2772] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.419210Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520524:2772] (SourceId=sid_rand_55, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.419324Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520540:2772] connected; active server actors: 1
2025-12-05T13:12:08.419333Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520524:2772] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_55
2025-12-05T13:12:08.419337Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520524:2772] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.419388Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520540:2772] disconnected; active server actors: 1
2025-12-05T13:12:08.419391Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520540:2772] disconnected no session
2025-12-05T13:12:08.421932Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520524:2772] (SourceId=sid_rand_55, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
Init result: 2025-12-05T13:12:08.421945Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520524:2772] (SourceId=sid_rand_55, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T13:12:08.421947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520524:2772] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.421978Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 66 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T13:12:08.422313Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.422359Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_55|5c54e77-8bf83d20-8f7372e2-e364ebdb_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_55
{ 2025-12-05T13:12:08.422478Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 66 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_55|5c54e77-8bf83d20-8f7372e2-e364ebdb_0
status: SUCCESS init_response { session_id: "sid_rand_55|5c54e77-8bf83d20-8f7372e2-e364ebdb_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.423304Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId: sid_rand_55|5c54e77-8bf83d20-8f7372e2-e364ebdb_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.423313Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 66 sessionId: sid_rand_55|5c54e77-8bf83d20-8f7372e2-e364ebdb_0 grpc read failed
2025-12-05T13:12:08.423320Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 66 sessionId: sid_rand_55|5c54e77-8bf83d20-8f7372e2-e364ebdb_0 grpc closed
2025-12-05T13:12:08.423324Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 66 sessionId: sid_rand_55|5c54e77-8bf83d20-8f7372e2-e364ebdb_0 is DEAD
2025-12-05T13:12:08.423565Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.423604Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.423607Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 67
2025-12-05T13:12:08.423705Z 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-05T13:12:08.423726Z 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]:41278
2025-12-05T13:12:08.423730Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=67 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.423734Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.424108Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 67 sessionId:  describe result for acl check
2025-12-05T13:12:08.424127Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.424128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.424129Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.424132Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520556:2776] (SourceId=sid_rand_56, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.424612Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520556:2776] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.426410Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520556:2776] (SourceId=sid_rand_56, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.426512Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520572:2776] connected; active server actors: 1
2025-12-05T13:12:08.426553Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520556:2776] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_56
2025-12-05T13:12:08.426556Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520556:2776] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.426601Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520572:2776] disconnected; active server actors: 1
2025-12-05T13:12:08.426604Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520572:2776] disconnected no session
2025-12-05T13:12:08.429167Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520556:2776] (SourceId=sid_rand_56, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.429179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520556:2776] (SourceId=sid_rand_56, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-05T13:12:08.429182Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520556:2776] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.429191Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 67 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-05T13:12:08.429738Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.429894Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_56|5cc7f063-5e570a39-d7d9f591-1538384e_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_56
2025-12-05T13:12:08.430332Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 67 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_56|5cc7f063-5e570a39-d7d9f591-1538384e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_56|5cc7f063-5e570a39-d7d9f591-1538384e_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.431097Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId: sid_rand_56|5cc7f063-5e570a39-d7d9f591-1538384e_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.431105Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 67 sessionId: sid_rand_56|5cc7f063-5e570a39-d7d9f591-1538384e_0 grpc read failed
2025-12-05T13:12:08.431112Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 67 sessionId: sid_rand_56|5cc7f063-5e570a39-d7d9f591-1538384e_0 grpc closed
2025-12-05T13:12:08.431119Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 67 sessionId: sid_rand_56|5cc7f063-5e570a39-d7d9f591-1538384e_0 is DEAD
2025-12-05T13:12:08.431362Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.431405Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.431409Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 68
2025-12-05T13:12:08.431538Z 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-05T13:12:08.431567Z 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]:41278
2025-12-05T13:12:08.431583Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=68 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.431587Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.431951Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 68 sessionId:  describe result for acl check
2025-12-05T13:12:08.431969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.431971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.431972Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.431976Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520587:2780] (SourceId=sid_rand_57, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.432460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520587:2780] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.434488Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520587:2780] (SourceId=sid_rand_57, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.434627Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520603:2780] connected; active server actors: 1
2025-12-05T13:12:08.434636Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520587:2780] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_57
2025-12-05T13:12:08.434640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520587:2780] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.434700Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520603:2780] disconnected; active server actors: 1
2025-12-05T13:12:08.434703Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520603:2780] disconnected no session
2025-12-05T13:12:08.437665Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520587:2780] (SourceId=sid_rand_57, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.437685Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520587:2780] (SourceId=sid_rand_57, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-05T13:12:08.437688Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520587:2780] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.437697Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 68 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-05T13:12:08.438203Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.438351Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_57|9f892a3c-b9936e31-854747b9-2514abdb_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_57
2025-12-05T13:12:08.438850Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 68 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_57|9f892a3c-b9936e31-854747b9-2514abdb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_57|9f892a3c-b9936e31-854747b9-2514abdb_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.439991Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId: sid_rand_57|9f892a3c-b9936e31-854747b9-2514abdb_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.440005Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 68 sessionId: sid_rand_57|9f892a3c-b9936e31-854747b9-2514abdb_0 grpc read failed
2025-12-05T13:12:08.440012Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 68 sessionId: sid_rand_57|9f892a3c-b9936e31-854747b9-2514abdb_0 grpc closed
2025-12-05T13:12:08.440020Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 68 sessionId: sid_rand_57|9f892a3c-b9936e31-854747b9-2514abdb_0 is DEAD
2025-12-05T13:12:08.440254Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.440301Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.440310Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 69
2025-12-05T13:12:08.440950Z 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-05T13:12:08.440992Z 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]:41278
2025-12-05T13:12:08.440998Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=69 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.441002Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.441578Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 69 sessionId:  describe result for acl check
2025-12-05T13:12:08.441617Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.441619Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.441621Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.441628Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520618:2784] (SourceId=sid_rand_58, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.442262Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520618:2784] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.445388Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520618:2784] (SourceId=sid_rand_58, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.445500Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520634:2784] connected; active server actors: 1
2025-12-05T13:12:08.445524Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520618:2784] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_58
2025-12-05T13:12:08.445533Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520618:2784] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.445599Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520634:2784] disconnected; active server actors: 1
2025-12-05T13:12:08.445606Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520634:2784] disconnected no session
2025-12-05T13:12:08.448797Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520618:2784] (SourceId=sid_rand_58, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.448820Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520618:2784] (SourceId=sid_rand_58, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-05T13:12:08.448823Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520618:2784] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.448832Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 69 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-05T13:12:08.449191Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.449359Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_58|84149e8e-16276886-f1ac9083-ea549d53_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_58
2025-12-05T13:12:08.449877Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 69 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_58|84149e8e-16276886-f1ac9083-ea549d53_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_58|84149e8e-16276886-f1ac9083-ea549d53_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.453217Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId: sid_rand_58|84149e8e-16276886-f1ac9083-ea549d53_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.453231Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 69 sessionId: sid_rand_58|84149e8e-16276886-f1ac9083-ea549d53_0 grpc read failed
2025-12-05T13:12:08.453238Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 69 sessionId: sid_rand_58|84149e8e-16276886-f1ac9083-ea549d53_0 grpc closed
2025-12-05T13:12:08.453245Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 69 sessionId: sid_rand_58|84149e8e-16276886-f1ac9083-ea549d53_0 is DEAD
2025-12-05T13:12:08.453301Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.453307Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 70
2025-12-05T13:12:08.453444Z 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-05T13:12:08.453475Z 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]:41278
2025-12-05T13:12:08.453487Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=70 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.453492Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.453560Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.453970Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 70 sessionId:  describe result for acl check
2025-12-05T13:12:08.454006Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.454008Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.454010Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.454015Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520649:2788] (SourceId=sid_rand_59, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.454690Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520649:2788] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.457128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520649:2788] (SourceId=sid_rand_59, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.457232Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520666:2788] connected; active server actors: 1
2025-12-05T13:12:08.457259Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520649:2788] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_59
2025-12-05T13:12:08.457271Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520649:2788] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.457340Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520666:2788] disconnected; active server actors: 1
2025-12-05T13:12:08.457343Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520666:2788] disconnected no session
2025-12-05T13:12:08.465654Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520649:2788] (SourceId=sid_rand_59, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.465686Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520649:2788] (SourceId=sid_rand_59, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-05T13:12:08.465693Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520649:2788] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.465707Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 70 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-05T13:12:08.466129Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.467318Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_59|94f0bc68-41298b0f-315c8a67-76eadf5f_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_59
2025-12-05T13:12:08.467724Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 70 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_59|94f0bc68-41298b0f-315c8a67-76eadf5f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_59|94f0bc68-41298b0f-315c8a67-76eadf5f_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.468508Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId: sid_rand_59|94f0bc68-41298b0f-315c8a67-76eadf5f_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.468519Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 70 sessionId: sid_rand_59|94f0bc68-41298b0f-315c8a67-76eadf5f_0 grpc read failed
2025-12-05T13:12:08.468526Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 70 sessionId: sid_rand_59|94f0bc68-41298b0f-315c8a67-76eadf5f_0 grpc closed
2025-12-05T13:12:08.468533Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 70 sessionId: sid_rand_59|94f0bc68-41298b0f-315c8a67-76eadf5f_0 is DEAD
2025-12-05T13:12:08.468812Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.468837Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 71
2025-12-05T13:12:08.468902Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.468971Z 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-05T13:12:08.469010Z 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]:41278
2025-12-05T13:12:08.469022Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=71 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.469026Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.469608Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 71 sessionId:  describe result for acl check
2025-12-05T13:12:08.469677Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.469686Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.469690Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.469696Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520681:2792] (SourceId=sid_rand_60, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.470377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520681:2792] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.473294Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520681:2792] (SourceId=sid_rand_60, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.473480Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520697:2792] connected; active server actors: 1
2025-12-05T13:12:08.473500Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520681:2792] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_60
2025-12-05T13:12:08.473506Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520681:2792] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.473596Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520697:2792] disconnected; active server actors: 1
2025-12-05T13:12:08.473603Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520697:2792] disconnected no session
Init result: { status: SUCCESS init_response { session_id: "sid_rand_60|a130bfdf-d20ca878-c09edbd8-8f63a2a3_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.477661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520681:2792] (SourceId=sid_rand_60, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.477681Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520681:2792] (SourceId=sid_rand_60, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-05T13:12:08.477685Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520681:2792] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.477694Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 71 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T13:12:08.477857Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.477908Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_60|a130bfdf-d20ca878-c09edbd8-8f63a2a3_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_60
2025-12-05T13:12:08.478100Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 71 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_60|a130bfdf-d20ca878-c09edbd8-8f63a2a3_0
2025-12-05T13:12:08.480751Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId: sid_rand_60|a130bfdf-d20ca878-c09edbd8-8f63a2a3_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.480767Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 71 sessionId: sid_rand_60|a130bfdf-d20ca878-c09edbd8-8f63a2a3_0 grpc read failed
2025-12-05T13:12:08.480776Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.480777Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 71 sessionId: sid_rand_60|a130bfdf-d20ca878-c09edbd8-8f63a2a3_0 grpc closed
2025-12-05T13:12:08.480783Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 72
2025-12-05T13:12:08.480784Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 71 sessionId: sid_rand_60|a130bfdf-d20ca878-c09edbd8-8f63a2a3_0 is DEAD
2025-12-05T13:12:08.480922Z 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-05T13:12:08.480956Z 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]:41278
2025-12-05T13:12:08.480966Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=72 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.480971Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.481038Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.481520Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 72 sessionId:  describe result for acl check
2025-12-05T13:12:08.481545Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.481547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.481550Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.481555Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520713:2796] (SourceId=sid_rand_61, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.482181Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520713:2796] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.484630Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520713:2796] (SourceId=sid_rand_61, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.484848Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520729:2796] connected; active server actors: 1
2025-12-05T13:12:08.484865Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520713:2796] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_61
2025-12-05T13:12:08.484877Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520713:2796] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.484942Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520729:2796] disconnected; active server actors: 1
2025-12-05T13:12:08.484948Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520729:2796] disconnected no session
2025-12-05T13:12:08.490208Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520713:2796] (SourceId=sid_rand_61, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.490231Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520713:2796] (SourceId=sid_rand_61, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T13:12:08.490235Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520713:2796] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.490246Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 72 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T13:12:08.490709Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.490773Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_61|1ac188b8-48716e0e-260e1d72-37253ad4_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_61
2025-12-05T13:12:08.490904Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 72 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_61|1ac188b8-48716e0e-260e1d72-37253ad4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_61|1ac188b8-48716e0e-260e1d72-37253ad4_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.491530Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId: sid_rand_61|1ac188b8-48716e0e-260e1d72-37253ad4_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.491538Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 72 sessionId: sid_rand_61|1ac188b8-48716e0e-260e1d72-37253ad4_0 grpc read failed
2025-12-05T13:12:08.491544Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 72 sessionId: sid_rand_61|1ac188b8-48716e0e-260e1d72-37253ad4_0 grpc closed
2025-12-05T13:12:08.491551Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 72 sessionId: sid_rand_61|1ac188b8-48716e0e-260e1d72-37253ad4_0 is DEAD
2025-12-05T13:12:08.491758Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.491773Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 73
2025-12-05T13:12:08.491836Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.491910Z 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-05T13:12:08.491934Z 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]:41278
2025-12-05T13:12:08.491938Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=73 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.491943Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.492394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 73 sessionId:  describe result for acl check
2025-12-05T13:12:08.492435Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.492442Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.492444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.492448Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520745:2800] (SourceId=sid_rand_62, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.493090Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520745:2800] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.496096Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520745:2800] (SourceId=sid_rand_62, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.496222Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520761:2800] connected; active server actors: 1
2025-12-05T13:12:08.496250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520745:2800] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_62
2025-12-05T13:12:08.496255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520745:2800] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.496337Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520761:2800] disconnected; active server actors: 1
2025-12-05T13:12:08.496345Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520761:2800] disconnected no session
2025-12-05T13:12:08.499652Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520745:2800] (SourceId=sid_rand_62, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.499669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520745:2800] (SourceId=sid_rand_62, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-05T13:12:08.499672Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520745:2800] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.499680Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 73 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-05T13:12:08.500056Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.500185Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_62|45974efa-28cde00e-5eecc301-8c99fdad_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_62
2025-12-05T13:12:08.500472Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 73 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_62|45974efa-28cde00e-5eecc301-8c99fdad_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_62|45974efa-28cde00e-5eecc301-8c99fdad_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.501282Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId: sid_rand_62|45974efa-28cde00e-5eecc301-8c99fdad_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.501291Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 73 sessionId: sid_rand_62|45974efa-28cde00e-5eecc301-8c99fdad_0 grpc read failed
2025-12-05T13:12:08.501298Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 73 sessionId: sid_rand_62|45974efa-28cde00e-5eecc301-8c99fdad_0 grpc closed
2025-12-05T13:12:08.501303Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 73 sessionId: sid_rand_62|45974efa-28cde00e-5eecc301-8c99fdad_0 is DEAD
2025-12-05T13:12:08.501431Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.501437Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 74
2025-12-05T13:12:08.501522Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.501907Z 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-05T13:12:08.501946Z 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]:41278
2025-12-05T13:12:08.501951Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=74 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.501954Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.502436Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 74 sessionId:  describe result for acl check
2025-12-05T13:12:08.502469Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.502476Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.502477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.502481Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520776:2804] (SourceId=sid_rand_63, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.503058Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520776:2804] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.505755Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520776:2804] (SourceId=sid_rand_63, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.505837Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520792:2804] connected; active server actors: 1
2025-12-05T13:12:08.505853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520776:2804] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_63
2025-12-05T13:12:08.505857Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520776:2804] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.506107Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520792:2804] disconnected; active server actors: 1
2025-12-05T13:12:08.506119Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520792:2804] disconnected no session
2025-12-05T13:12:08.509315Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520776:2804] (SourceId=sid_rand_63, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.509333Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520776:2804] (SourceId=sid_rand_63, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-05T13:12:08.509337Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520776:2804] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.509345Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 74 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T13:12:08.509883Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.509940Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_63|588144e7-560e039a-53d7a5a4-bf930640_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_63
2025-12-05T13:12:08.510062Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 74 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_63|588144e7-560e039a-53d7a5a4-bf930640_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_63|588144e7-560e039a-53d7a5a4-bf930640_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.510679Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId: sid_rand_63|588144e7-560e039a-53d7a5a4-bf930640_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.510692Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 74 sessionId: sid_rand_63|588144e7-560e039a-53d7a5a4-bf930640_0 grpc read failed
2025-12-05T13:12:08.510699Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 74 sessionId: sid_rand_63|588144e7-560e039a-53d7a5a4-bf930640_0 grpc closed
2025-12-05T13:12:08.510705Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 74 sessionId: sid_rand_63|588144e7-560e039a-53d7a5a4-bf930640_0 is DEAD
2025-12-05T13:12:08.510849Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.511255Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.511259Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 75
2025-12-05T13:12:08.511939Z 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-05T13:12:08.511975Z 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]:41278
2025-12-05T13:12:08.511978Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=75 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.511981Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.512411Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 75 sessionId:  describe result for acl check
2025-12-05T13:12:08.512441Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.512442Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.512444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.512450Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520808:2808] (SourceId=sid_rand_64, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.513023Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520808:2808] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.514989Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520808:2808] (SourceId=sid_rand_64, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.515059Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520824:2808] connected; active server actors: 1
2025-12-05T13:12:08.515080Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520808:2808] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_64
2025-12-05T13:12:08.515085Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520808:2808] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.515128Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520824:2808] disconnected; active server actors: 1
2025-12-05T13:12:08.515134Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520824:2808] disconnected no session
2025-12-05T13:12:08.517900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520808:2808] (SourceId=sid_rand_64, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.517917Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520808:2808] (SourceId=sid_rand_64, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-05T13:12:08.517921Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520808:2808] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.517929Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 75 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-05T13:12:08.518325Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.518486Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_64|15014648-fc38b8f5-1a1ec8af-45b32157_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_64
2025-12-05T13:12:08.518984Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 75 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_64|15014648-fc38b8f5-1a1ec8af-45b32157_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_64|15014648-fc38b8f5-1a1ec8af-45b32157_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.519908Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId: sid_rand_64|15014648-fc38b8f5-1a1ec8af-45b32157_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.519917Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 75 sessionId: sid_rand_64|15014648-fc38b8f5-1a1ec8af-45b32157_0 grpc read failed
2025-12-05T13:12:08.519925Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 75 sessionId: sid_rand_64|15014648-fc38b8f5-1a1ec8af-45b32157_0 grpc closed
2025-12-05T13:12:08.519932Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 75 sessionId: sid_rand_64|15014648-fc38b8f5-1a1ec8af-45b32157_0 is DEAD
2025-12-05T13:12:08.520149Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.520395Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.520403Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 76
2025-12-05T13:12:08.520567Z 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-05T13:12:08.520593Z 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]:41278
2025-12-05T13:12:08.520598Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=76 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.520602Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.521071Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 76 sessionId:  describe result for acl check
2025-12-05T13:12:08.521113Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.521121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.521123Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.521128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520840:2812] (SourceId=sid_rand_65, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.521711Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520840:2812] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.523759Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520840:2812] (SourceId=sid_rand_65, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.523875Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520856:2812] connected; active server actors: 1
2025-12-05T13:12:08.523885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520840:2812] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_65
2025-12-05T13:12:08.523889Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520840:2812] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.523940Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520856:2812] disconnected; active server actors: 1
2025-12-05T13:12:08.523943Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520856:2812] disconnected no session
2025-12-05T13:12:08.527433Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520840:2812] (SourceId=sid_rand_65, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.527462Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520840:2812] (SourceId=sid_rand_65, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-05T13:12:08.527465Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520840:2812] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.527474Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 76 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-05T13:12:08.527829Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.527963Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_65|c1b6d0c7-bcc8462b-faee00d8-cb5878ee_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_65
2025-12-05T13:12:08.528279Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 76 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_65|c1b6d0c7-bcc8462b-faee00d8-cb5878ee_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_65|c1b6d0c7-bcc8462b-faee00d8-cb5878ee_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.530707Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId: sid_rand_65|c1b6d0c7-bcc8462b-faee00d8-cb5878ee_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.530723Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 76 sessionId: sid_rand_65|c1b6d0c7-bcc8462b-faee00d8-cb5878ee_0 grpc read failed
2025-12-05T13:12:08.530734Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 76 sessionId: sid_rand_65|c1b6d0c7-bcc8462b-faee00d8-cb5878ee_0 grpc closed
2025-12-05T13:12:08.530742Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 76 sessionId: sid_rand_65|c1b6d0c7-bcc8462b-faee00d8-cb5878ee_0 is DEAD
2025-12-05T13:12:08.530819Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.530828Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 77
2025-12-05T13:12:08.530984Z 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-05T13:12:08.531013Z 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]:41278
2025-12-05T13:12:08.531018Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=77 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.531022Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.531055Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.531486Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 77 sessionId:  describe result for acl check
2025-12-05T13:12:08.531512Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.531513Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.531514Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.531518Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520871:2816] (SourceId=sid_rand_66, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.532021Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520871:2816] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.534550Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520871:2816] (SourceId=sid_rand_66, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.534673Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520887:2816] connected; active server actors: 1
2025-12-05T13:12:08.534710Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520871:2816] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_66
2025-12-05T13:12:08.534716Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520871:2816] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.534784Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520887:2816] disconnected; active server actors: 1
2025-12-05T13:12:08.534787Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520887:2816] disconnected no session
2025-12-05T13:12:08.538641Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520871:2816] (SourceId=sid_rand_66, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.538662Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520871:2816] (SourceId=sid_rand_66, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-05T13:12:08.538667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520871:2816] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.538686Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 77 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-05T13:12:08.538923Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.539000Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_66|a776d27f-27e5e9fa-83d4d1f6-7a2b44c6_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_66
2025-12-05T13:12:08.539191Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 77 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_66|a776d27f-27e5e9fa-83d4d1f6-7a2b44c6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_66|a776d27f-27e5e9fa-83d4d1f6-7a2b44c6_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.540049Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId: sid_rand_66|a776d27f-27e5e9fa-83d4d1f6-7a2b44c6_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.540059Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 77 sessionId: sid_rand_66|a776d27f-27e5e9fa-83d4d1f6-7a2b44c6_0 grpc read failed
2025-12-05T13:12:08.540065Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 77 sessionId: sid_rand_66|a776d27f-27e5e9fa-83d4d1f6-7a2b44c6_0 grpc closed
2025-12-05T13:12:08.540071Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 77 sessionId: sid_rand_66|a776d27f-27e5e9fa-83d4d1f6-7a2b44c6_0 is DEAD
2025-12-05T13:12:08.540271Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.540287Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 78
2025-12-05T13:12:08.540352Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.540451Z 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-05T13:12:08.540484Z 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]:41278
2025-12-05T13:12:08.540495Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=78 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.540498Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.540965Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 78 sessionId:  describe result for acl check
2025-12-05T13:12:08.541004Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.541006Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.541008Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.541011Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520903:2820] (SourceId=sid_rand_67, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.541623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520903:2820] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.544027Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520903:2820] (SourceId=sid_rand_67, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.544162Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520933:2820] connected; active server actors: 1
2025-12-05T13:12:08.544172Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520903:2820] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_67
2025-12-05T13:12:08.544176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520903:2820] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.544230Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520933:2820] disconnected; active server actors: 1
2025-12-05T13:12:08.544232Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520933:2820] disconnected no session
2025-12-05T13:12:08.549900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520903:2820] (SourceId=sid_rand_67, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.549922Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520903:2820] (SourceId=sid_rand_67, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-05T13:12:08.549926Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520903:2820] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.549937Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 78 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-05T13:12:08.551185Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.551351Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_67|b5e7cc94-aecd245d-f14c6c3c-80beed2e_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_67
2025-12-05T13:12:08.553181Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 78 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_67|b5e7cc94-aecd245d-f14c6c3c-80beed2e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_67|b5e7cc94-aecd245d-f14c6c3c-80beed2e_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.554025Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId: sid_rand_67|b5e7cc94-aecd245d-f14c6c3c-80beed2e_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.554037Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 78 sessionId: sid_rand_67|b5e7cc94-aecd245d-f14c6c3c-80beed2e_0 grpc read failed
2025-12-05T13:12:08.554045Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 78 sessionId: sid_rand_67|b5e7cc94-aecd245d-f14c6c3c-80beed2e_0 grpc closed
2025-12-05T13:12:08.554052Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 78 sessionId: sid_rand_67|b5e7cc94-aecd245d-f14c6c3c-80beed2e_0 is DEAD
2025-12-05T13:12:08.554325Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.554337Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 79
2025-12-05T13:12:08.554420Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.554513Z 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-05T13:12:08.554542Z 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]:41278
2025-12-05T13:12:08.554547Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=79 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.554551Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.555080Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 79 sessionId:  describe result for acl check
2025-12-05T13:12:08.555105Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.555107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.555109Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.555115Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520949:2825] (SourceId=sid_rand_68, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.555787Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520949:2825] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.557993Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520949:2825] (SourceId=sid_rand_68, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.558155Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520965:2825] connected; active server actors: 1
2025-12-05T13:12:08.558166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520949:2825] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_68
2025-12-05T13:12:08.558171Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520949:2825] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.558235Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520965:2825] disconnected; active server actors: 1
2025-12-05T13:12:08.558260Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520965:2825] disconnected no session
2025-12-05T13:12:08.561873Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520949:2825] (SourceId=sid_rand_68, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.561893Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520949:2825] (SourceId=sid_rand_68, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-05T13:12:08.561897Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520949:2825] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.561907Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 79 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-05T13:12:08.562690Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.562798Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_68|d40c0865-5ca8164e-3420b8e8-9898eca9_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_68
Init result: { status: SUCCESS init_response { session_id: "sid_rand_68|d40c0865-5ca8164e-3420b8e8-9898eca9_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.562992Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 79 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_68|d40c0865-5ca8164e-3420b8e8-9898eca9_0
2025-12-05T13:12:08.565031Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId: sid_rand_68|d40c0865-5ca8164e-3420b8e8-9898eca9_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.565049Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 79 sessionId: sid_rand_68|d40c0865-5ca8164e-3420b8e8-9898eca9_0 grpc read failed
2025-12-05T13:12:08.565056Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 79 sessionId: sid_rand_68|d40c0865-5ca8164e-3420b8e8-9898eca9_0 grpc closed
2025-12-05T13:12:08.565062Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 79 sessionId: sid_rand_68|d40c0865-5ca8164e-3420b8e8-9898eca9_0 is DEAD
2025-12-05T13:12:08.565310Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.565349Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.565356Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 80
2025-12-05T13:12:08.565463Z 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-05T13:12:08.565485Z 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]:41278
2025-12-05T13:12:08.565493Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=80 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.565496Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.565998Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 80 sessionId:  describe result for acl check
2025-12-05T13:12:08.566024Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.566035Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.566037Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.566041Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130520981:2829] (SourceId=sid_rand_69, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.566552Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130520981:2829] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.568557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130520981:2829] (SourceId=sid_rand_69, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.568806Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520997:2829] connected; active server actors: 1
2025-12-05T13:12:08.568840Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130520981:2829] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_69
2025-12-05T13:12:08.568845Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130520981:2829] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.568896Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520997:2829] disconnected; active server actors: 1
2025-12-05T13:12:08.568904Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130520997:2829] disconnected no session
2025-12-05T13:12:08.571667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130520981:2829] (SourceId=sid_rand_69, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.571686Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130520981:2829] (SourceId=sid_rand_69, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-05T13:12:08.571689Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130520981:2829] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.571698Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 80 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-05T13:12:08.572050Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T13:12:08.572197Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_69|28ea8b9c-771aea0e-4c63ffb8-6e830155_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_69
2025-12-05T13:12:08.572530Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 80 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_69|28ea8b9c-771aea0e-4c63ffb8-6e830155_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_69|28ea8b9c-771aea0e-4c63ffb8-6e830155_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.573508Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId: sid_rand_69|28ea8b9c-771aea0e-4c63ffb8-6e830155_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.573521Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 80 sessionId: sid_rand_69|28ea8b9c-771aea0e-4c63ffb8-6e830155_0 grpc read failed
2025-12-05T13:12:08.573528Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 80 sessionId: sid_rand_69|28ea8b9c-771aea0e-4c63ffb8-6e830155_0 grpc closed
2025-12-05T13:12:08.573535Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 80 sessionId: sid_rand_69|28ea8b9c-771aea0e-4c63ffb8-6e830155_0 is DEAD
2025-12-05T13:12:08.573573Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.573584Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 81
2025-12-05T13:12:08.573845Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.573901Z 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-05T13:12:08.573936Z 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]:41278
2025-12-05T13:12:08.573941Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=81 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.573944Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.574353Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 81 sessionId:  describe result for acl check
2025-12-05T13:12:08.574412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.574414Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.574416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.574421Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130521012:2833] (SourceId=sid_rand_70, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.575056Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130521012:2833] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.577438Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130521012:2833] (SourceId=sid_rand_70, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.577597Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130521028:2833] connected; active server actors: 1
2025-12-05T13:12:08.577647Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130521012:2833] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_70
2025-12-05T13:12:08.577660Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130521012:2833] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.577818Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130521028:2833] disconnected; active server actors: 1
2025-12-05T13:12:08.577827Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130521028:2833] disconnected no session
2025-12-05T13:12:08.581859Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130521012:2833] (SourceId=sid_rand_70, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.581882Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130521012:2833] (SourceId=sid_rand_70, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-05T13:12:08.581885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130521012:2833] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.581894Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 81 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-05T13:12:08.582767Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.583434Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_70|108be138-fd504beb-81d2e92f-9a180934_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_70
2025-12-05T13:12:08.584654Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 81 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_70|108be138-fd504beb-81d2e92f-9a180934_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_70|108be138-fd504beb-81d2e92f-9a180934_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.585694Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId: sid_rand_70|108be138-fd504beb-81d2e92f-9a180934_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.585706Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 81 sessionId: sid_rand_70|108be138-fd504beb-81d2e92f-9a180934_0 grpc read failed
2025-12-05T13:12:08.585715Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 81 sessionId: sid_rand_70|108be138-fd504beb-81d2e92f-9a180934_0 grpc closed
2025-12-05T13:12:08.585721Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 81 sessionId: sid_rand_70|108be138-fd504beb-81d2e92f-9a180934_0 is DEAD
2025-12-05T13:12:08.586070Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.586132Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.586141Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 82
2025-12-05T13:12:08.586255Z 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-05T13:12:08.586290Z 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]:41278
2025-12-05T13:12:08.586299Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=82 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.586303Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.586853Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 82 sessionId:  describe result for acl check
2025-12-05T13:12:08.586882Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.586883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.586884Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.586888Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130521043:2837] (SourceId=sid_rand_71, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.587483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130521043:2837] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.590281Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130521043:2837] (SourceId=sid_rand_71, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.590418Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130521059:2837] connected; active server actors: 1
2025-12-05T13:12:08.590441Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130521043:2837] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_71
2025-12-05T13:12:08.590454Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130521043:2837] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.590511Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130521059:2837] disconnected; active server actors: 1
2025-12-05T13:12:08.590521Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130521059:2837] disconnected no session
2025-12-05T13:12:08.595386Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130521043:2837] (SourceId=sid_rand_71, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.595408Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130521043:2837] (SourceId=sid_rand_71, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-05T13:12:08.595412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130521043:2837] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.595421Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 82 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-05T13:12:08.595752Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.595860Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_71|15ba96c6-8c816c2e-6c4ca419-768bf977_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_71
2025-12-05T13:12:08.597220Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 82 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_71|15ba96c6-8c816c2e-6c4ca419-768bf977_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_71|15ba96c6-8c816c2e-6c4ca419-768bf977_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.598904Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId: sid_rand_71|15ba96c6-8c816c2e-6c4ca419-768bf977_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.598918Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 82 sessionId: sid_rand_71|15ba96c6-8c816c2e-6c4ca419-768bf977_0 grpc read failed
2025-12-05T13:12:08.598922Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.598925Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 82 sessionId: sid_rand_71|15ba96c6-8c816c2e-6c4ca419-768bf977_0 grpc closed
2025-12-05T13:12:08.598928Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 83
2025-12-05T13:12:08.598934Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 82 sessionId: sid_rand_71|15ba96c6-8c816c2e-6c4ca419-768bf977_0 is DEAD
2025-12-05T13:12:08.599153Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.599291Z 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-05T13:12:08.599335Z 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]:41278
2025-12-05T13:12:08.599346Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=83 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.599350Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.599829Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 83 sessionId:  describe result for acl check
2025-12-05T13:12:08.599865Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.599867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.599869Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.599874Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130521074:2841] (SourceId=sid_rand_72, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.600473Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130521074:2841] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.605061Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130521074:2841] (SourceId=sid_rand_72, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.605455Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130521090:2841] connected; active server actors: 1
2025-12-05T13:12:08.605546Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130521074:2841] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_72
2025-12-05T13:12:08.605553Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130521074:2841] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.605849Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130521090:2841] disconnected; active server actors: 1
2025-12-05T13:12:08.605857Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130521090:2841] disconnected no session
2025-12-05T13:12:08.610269Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130521074:2841] (SourceId=sid_rand_72, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.610292Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130521074:2841] (SourceId=sid_rand_72, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-05T13:12:08.610296Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130521074:2841] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.610305Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 83 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-05T13:12:08.610695Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.610818Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_72|173fbea8-39d27dd6-b924ace0-a86122ab_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_72
2025-12-05T13:12:08.611165Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 83 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_72|173fbea8-39d27dd6-b924ace0-a86122ab_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_72|173fbea8-39d27dd6-b924ace0-a86122ab_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.612079Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId: sid_rand_72|173fbea8-39d27dd6-b924ace0-a86122ab_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.612091Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 83 sessionId: sid_rand_72|173fbea8-39d27dd6-b924ace0-a86122ab_0 grpc read failed
2025-12-05T13:12:08.612100Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 83 sessionId: sid_rand_72|173fbea8-39d27dd6-b924ace0-a86122ab_0 grpc closed
2025-12-05T13:12:08.612107Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 83 sessionId: sid_rand_72|173fbea8-39d27dd6-b924ace0-a86122ab_0 is DEAD
2025-12-05T13:12:08.612298Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.612310Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 84
2025-12-05T13:12:08.612445Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.612461Z 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-05T13:12:08.612486Z 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]:41278
2025-12-05T13:12:08.612491Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=84 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.612495Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.612998Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 84 sessionId:  describe result for acl check
2025-12-05T13:12:08.613028Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.613030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.613031Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.613036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130521105:2845] (SourceId=sid_rand_73, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.613694Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130521105:2845] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.615522Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130521105:2845] (SourceId=sid_rand_73, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.616688Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130521121:2845] connected; active server actors: 1
2025-12-05T13:12:08.616718Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130521105:2845] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_73
2025-12-05T13:12:08.616724Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130521105:2845] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.616779Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130521121:2845] disconnected; active server actors: 1
2025-12-05T13:12:08.616782Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130521121:2845] disconnected no session
2025-12-05T13:12:08.621061Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130521105:2845] (SourceId=sid_rand_73, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.621082Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130521105:2845] (SourceId=sid_rand_73, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-05T13:12:08.621086Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130521105:2845] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.621096Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 84 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-05T13:12:08.621898Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_73|5498f3ed-1adfc276-8e84890d-be71bf4b_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_73
Init result: { status: SUCCESS init_response { session_id: "sid_rand_73|5498f3ed-1adfc276-8e84890d-be71bf4b_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T13:12:08.621813Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T13:12:08.622227Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 84 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_73|5498f3ed-1adfc276-8e84890d-be71bf4b_0
2025-12-05T13:12:08.623180Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId: sid_rand_73|5498f3ed-1adfc276-8e84890d-be71bf4b_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.623183Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 84 sessionId: sid_rand_73|5498f3ed-1adfc276-8e84890d-be71bf4b_0 grpc read failed
2025-12-05T13:12:08.623190Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 84 sessionId: sid_rand_73|5498f3ed-1adfc276-8e84890d-be71bf4b_0 grpc closed
2025-12-05T13:12:08.623195Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 84 sessionId: sid_rand_73|5498f3ed-1adfc276-8e84890d-be71bf4b_0 is DEAD
2025-12-05T13:12:08.623447Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.623472Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:12:08.623485Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 85
2025-12-05T13:12:08.623665Z 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-05T13:12:08.623693Z 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]:41278
2025-12-05T13:12:08.623698Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=85 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:41278 proto=v1  topic=topic1 durationSec=0
2025-12-05T13:12:08.623702Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:12:08.624149Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 85 sessionId:  describe result for acl check
2025-12-05T13:12:08.624173Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-05T13:12:08.624174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-05T13:12:08.624176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-05T13:12:08.624182Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580360991130521137:2849] (SourceId=sid_rand_74, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T13:12:08.624739Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580360991130521137:2849] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Select from the table
2025-12-05T13:12:08.626976Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580360991130521137:2849] (SourceId=sid_rand_74, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T13:12:08.627156Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130521153:2849] connected; active server actors: 1
2025-12-05T13:12:08.627175Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580360991130521137:2849] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_74
2025-12-05T13:12:08.627182Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580360991130521137:2849] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Update the table
2025-12-05T13:12:08.627275Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130521153:2849] disconnected; active server actors: 1
2025-12-05T13:12:08.627279Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7580360991130521153:2849] disconnected no session
2025-12-05T13:12:08.630983Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580360991130521137:2849] (SourceId=sid_rand_74, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T13:12:08.631006Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580360991130521137:2849] (SourceId=sid_rand_74, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-05T13:12:08.631011Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580360991130521137:2849] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Start idle
2025-12-05T13:12:08.631048Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 85 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T13:12:08.631477Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T13:12:08.631534Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_74|b3fd4861-6906f3ff-240d75a7-71fd5124_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_74
2025-12-05T13:12:08.631758Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 85 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_74|b3fd4861-6906f3ff-240d75a7-71fd5124_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_74|b3fd4861-6906f3ff-240d75a7-71fd5124_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
Round robin check: 0:6
Round robin check: 1:4
Round robin check: 2:4
Round robin check: 3:4
Round robin check: 4:5
Round robin check: 5:5
Round robin check: 6:5
Round robin check: 7:5
Round robin check: 8:5
Round robin check: 9:5
Round robin check: 10:5
Round robin check: 11:5
Round robin check: 12:5
Round robin check: 13:6
Round robin check: 14:6
2025-12-05T13:12:08.632757Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId: sid_rand_74|b3fd4861-6906f3ff-240d75a7-71fd5124_0 grpc read done: success: 0 data: 
2025-12-05T13:12:08.632773Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 85 sessionId: sid_rand_74|b3fd4861-6906f3ff-240d75a7-71fd5124_0 grpc read failed
2025-12-05T13:12:08.632783Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 85 sessionId: sid_rand_74|b3fd4861-6906f3ff-240d75a7-71fd5124_0 grpc closed
2025-12-05T13:12:08.632789Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 85 sessionId: sid_rand_74|b3fd4861-6906f3ff-240d75a7-71fd5124_0 is DEAD
2025-12-05T13:12:08.633260Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:12:08.846607Z node 17 :KQP_EXECUTER ERROR: kqp_executer_impl.h:999: ActorId: [17:7580360991130521182:2853] TxId: 281474976715858. Ctx: { TraceId: 01kbqa8btmb18qmehazbqhhwpd, Database: /Root, SessionId: ydb://session/3?node_id=17&id=ZWYzYzU4MTYtYWE1ZjA1ZWMtOGE0NjIxODYtZGJkNmM2OTM=, PoolId: }. UNAVAILABLE: Failed to send EvStartKqpTasksRequest because node is unavailable: 18
2025-12-05T13:12:08.846711Z node 17 :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:1208: SelfId: [17:7580360991130521191:2860], TxId: 281474976715858, task: 2. Ctx: { TraceId : 01kbqa8btmb18qmehazbqhhwpd.  CustomerSuppliedId : .  RunScriptActorId : [0:0:0].  PoolId : .  SessionId : ydb://session/3?node_id=17&id=ZWYzYzU4MTYtYWE1ZjA1ZWMtOGE0NjIxODYtZGJkNmM2OTM=.  CurrentExecutionId : .  Database : /Root.  DatabaseId : /Root. }. Handle abort execution event from: [17:7580360991130521182:2853], status: UNAVAILABLE, reason: { <main>: Error: Terminate execution }
2025-12-05T13:12:08.846815Z node 17 :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:1208: SelfId: [17:7580360991130521192:2861], TxId: 281474976715858, task: 4. Ctx: { TraceId : 01kbqa8btmb18qmehazbqhhwpd.  RunScriptActorId : [0:0:0].  CustomerSuppliedId : .  PoolId : .  SessionId : ydb://session/3?node_id=17&id=ZWYzYzU4MTYtYWE1ZjA1ZWMtOGE0NjIxODYtZGJkNmM2OTM=.  CurrentExecutionId : .  Database : /Root.  DatabaseId : /Root. }. Handle abort execution event from: [17:7580360991130521182:2853], status: UNAVAILABLE, reason: { <main>: Error: Terminate execution }
