2025-10-21T14:15:19.330468Z node 17 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[17:7563678438330116407:2081];send_to=[0:7307199536658146131:7762515];
2025-10-21T14:15:19.330525Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/5f2y/000ee7/r3tmp/tmpkYTZ5q/pdisk_1.dat
2025-10-21T14:15:19.434308Z node 18 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[18:7563678438208526905:2179];send_to=[0:7307199536658146131:7762515];
2025-10-21T14:15:19.445796Z node 17 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-10-21T14:15:19.449359Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2025-10-21T14:15:19.451988Z 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-10-21T14:15:19.469454Z node 18 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-10-21T14:15:19.480365Z 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-10-21T14:15:19.688679Z 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-10-21T14:15:19.738680Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-10-21T14:15:19.784880Z 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-10-21T14:15:19.818318Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-21T14:15:19.818451Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-21T14:15:19.826934Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-21T14:15:19.827061Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-21T14:15:19.893979Z node 17 :HIVE WARN: hive_impl.cpp:811: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 18 Cookie 18
2025-10-21T14:15:19.894176Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-10-21T14:15:19.904606Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 28375, node 17
2025-10-21T14:15:20.035309Z 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/5f2y/000ee7/r3tmp/yandexhrdQyx.tmp
2025-10-21T14:15:20.035339Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/5f2y/000ee7/r3tmp/yandexhrdQyx.tmp
2025-10-21T14:15:20.035526Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/5f2y/000ee7/r3tmp/yandexhrdQyx.tmp
2025-10-21T14:15:20.035734Z node 17 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-10-21T14:15:20.038547Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2025-10-21T14:15:20.091295Z INFO: TTestServer started on Port 11170 GrpcPort 28375
2025-10-21T14:15:20.345387Z 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-10-21T14:15:20.375730Z node 17 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
TClient is connected to server localhost:11170
PQClient connected to localhost:28375
WaitRootIsUp 'Root'...
TClient::Ls request: Root
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "Root"
    PathId: 1
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 1
    CreateStep: 0
    ParentPathId: 1
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 1
      SubDomainVersion: 0
      SecurityStateVersion: 0
    }
    ChildrenExist: false
  }
  Children {
    Name: ".sys"
    PathId: 18446744073709551615
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 0
    CreateStep: 0
    ParentPathId: 18446744073709551615
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 0
      Pl...
(TRUNCATED)
WaitRootIsUp 'Root' success.
2025-10-21T14:15:20.426332Z 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...
2025-10-21T14:15:20.446780Z node 18 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
waiting...
2025-10-21T14:15:20.465361Z 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:684)
waiting...
waiting...
waiting...
2025-10-21T14:15:24.331061Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[17:7563678438330116407:2081];send_to=[0:7307199536658146131:7762515];
2025-10-21T14:15:24.331144Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
2025-10-21T14:15:24.427709Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[18:7563678438208526905:2179];send_to=[0:7307199536658146131:7762515];
2025-10-21T14:15:24.427817Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
2025-10-21T14:15:29.103063Z node 17 :KQP_PROXY ERROR: kqp_proxy_service.cpp:1316: TraceId: "01k83hzqvrc5ebzjr0vb1mfzg8", Request deadline has expired for 3.407649s seconds
2025-10-21T14:15:29.176873Z node 18 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:565: Compilation failed, self: [18:7563678481158200155:2306], 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-10-21T14:15:29.179835Z node 18 :KQP_SESSION WARN: kqp_session_actor.cpp:2395: SessionId: ydb://session/3?node_id=18&id=ODJiNTJhOTEtOGQ3NzdiZmQtYjdiYmY1YTctZWE3NzgxOWQ=, ActorId: [18:7563678481158200153:2305], ActorState: ExecuteState, TraceId: 01k83j000efe59yhkjepv4tw9h, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-10-21T14:15:29.180398Z 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-10-21T14:15:29.265677Z node 17 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:565: Compilation failed, self: [17:7563678481279790503:2335], status: SCHEME_ERROR, issues: <main>: Error: Type annotation, code: 1030
    <main>:3:16: Error: At function: KiReadTable!
        <main>:3:16: Error: Cannot find table 'db.[/Root/PQ/Config/V2/Cluster]' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions., code: 2003
2025-10-21T14:15:29.284794Z node 17 :KQP_SESSION WARN: kqp_session_actor.cpp:2395: SessionId: ydb://session/3?node_id=17&id=N2E4MjQ4NWYtZjZmMjNlYTYtZmM4MjYzNzUtYzZlZjU0ZTc=, ActorId: [17:7563678481279790500:2333], ActorState: ExecuteState, TraceId: 01k83j00382carq3vawfvmezda, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-10-21T14:15:29.285360Z 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-10-21T14:15:29.300101Z 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:684)
2025-10-21T14:15:29.535912Z 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:684)
2025-10-21T14:15:29.797049Z 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:684)
=== 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-10-21T14:15:30.317378Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976715665. Ctx: { TraceId: 01k83j00xr6ax7epf7wc1y5q1w, Database: , SessionId: ydb://session/3?node_id=17&id=N2RmMDA4NC0zMDUwN2IxYi1jYjdhMGEzYy1kZmUwNDMxMw==, PoolId: , DatabaseId: /Root}. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [17:7563678485574758259:3063] 
2025-10-21T14:15:34.686254Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard_impl.cpp:7712: Cannot get console configs
2025-10-21T14:15:34.686318Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
=== CheckClustersList. Ok
PQ Client: create topic: rt3.dc1--topic1 with 10 partitions
CallPersQueueGRPC request to localhost:28375
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-21T14:15:37.078556Z 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:28375
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: 281474976715676
  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-10-21T14:15:37.199779Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][] pipe [17:7563678515639529830:3339] connected; active server actors: 1
2025-10-21T14:15:37.207820Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1517: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [3, 0, 1, 6, 8, 9, 2, 5, 7, 4]
2025-10-21T14:15:37.211973Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:940: [72075186224037894][rt3.dc1--topic1] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037894
2025-10-21T14:15:37.212728Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-21T14:15:37.212777Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037892] doesn't have tx writes info
2025-10-21T14:15:37.221668Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:402: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037892, NodeId 18, Generation 1
2025-10-21T14:15:37.227643Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:138: [72075186224037894][rt3.dc1--topic1] BALANCER INIT DONE for rt3.dc1--topic1: (0, 72075186224037892) (1, 72075186224037892) (2, 72075186224037893) (3, 72075186224037892) (4, 72075186224037893) (5, 72075186224037893) (6, 72075186224037892) (7, 72075186224037893) (8, 72075186224037892) (9, 72075186224037893) 
2025-10-21T14:15:37.244020Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-21T14:15:37.244095Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037893] doesn't have tx writes info
2025-10-21T14:15:37.246909Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:402: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037893, NodeId 17, Generation 1
2025-10-21T14:15:37.422785Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][3][StateInit] bootstrapping 3 [18:7563678515517938961:2391]
2025-10-21T14:15:37.436494Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][9][StateInit] bootstrapping 9 [17:7563678515639529933:2462]
2025-10-21T14:15:37.444998Z node 18 :PERSQUEUE INFO: partition.cpp:697: [72075186224037892][Partition][3][StateInit] init complete for topic 'rt3.dc1--topic1' partition 3 generation 1 [18:7563678515517938961:2391]
2025-10-21T14:15:37.454408Z node 17 :PERSQUEUE INFO: partition.cpp:697: [72075186224037893][Partition][9][StateInit] init complete for topic 'rt3.dc1--topic1' partition 9 generation 1 [17:7563678515639529933:2462]
2025-10-21T14:15:37.457138Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][2][StateInit] bootstrapping 2 [17:7563678515639529934:2462]
2025-10-21T14:15:37.471901Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [18:7563678515517938962:2391]
2025-10-21T14:15:37.475086Z node 18 :PERSQUEUE INFO: partition.cpp:697: [72075186224037892][Partition][0][StateInit] init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [18:7563678515517938962:2391]
2025-10-21T14:15:37.488313Z node 17 :PERSQUEUE INFO: partition.cpp:697: [72075186224037893][Partition][2][StateInit] init complete for topic 'rt3.dc1--topic1' partition 2 generation 1 [17:7563678515639529934:2462]
2025-10-21T14:15:37.490764Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][5][StateInit] bootstrapping 5 [17:7563678515639529935:2462]
2025-10-21T14:15:37.497577Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][1][StateInit] bootstrapping 1 [18:7563678515517938963:2391]
2025-10-21T14:15:37.520085Z node 17 :PERSQUEUE INFO: partition.cpp:697: [72075186224037893][Partition][5][StateInit] init complete for topic 'rt3.dc1--topic1' partition 5 generation 1 [17:7563678515639529935:2462]
2025-10-21T14:15:37.522388Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][7][StateInit] bootstrapping 7 [17:7563678515639529936:2462]
2025-10-21T14:15:37.520603Z node 18 :PERSQUEUE INFO: partition.cpp:697: [72075186224037892][Partition][1][StateInit] init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [18:7563678515517938963:2391]
2025-10-21T14:15:37.522426Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][6][StateInit] bootstrapping 6 [18:7563678515517938964:2391]
2025-10-21T14:15:37.525782Z node 18 :PERSQUEUE INFO: partition.cpp:697: [72075186224037892][Partition][6][StateInit] init complete for topic 'rt3.dc1--topic1' partition 6 generation 1 [18:7563678515517938964:2391]
2025-10-21T14:15:37.530928Z node 17 :PERSQUEUE INFO: partition.cpp:697: [72075186224037893][Partition][7][StateInit] init complete for topic 'rt3.dc1--topic1' partition 7 generation 1 [17:7563678515639529936:2462]
2025-10-21T14:15:37.542887Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][4][StateInit] bootstrapping 4 [17:7563678515639529937:2462]
2025-10-21T14:15:37.545990Z node 17 :PERSQUEUE INFO: partition.cpp:697: [72075186224037893][Partition][4][StateInit] init complete for topic 'rt3.dc1--topic1' partition 4 generation 1 [17:7563678515639529937:2462]
2025-10-21T14:15:37.563302Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][8][StateInit] bootstrapping 8 [18:7563678515517938966:2391]
2025-10-21T14:15:37.566402Z node 18 :PERSQUEUE INFO: partition.cpp:697: [72075186224037892][Partition][8][StateInit] init complete for topic 'rt3.dc1--topic1' partition 8 generation 1 [18:7563678515517938966:2391]
2025-10-21T14:15:37.579961Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-21T14:15:37.648225Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-21T14:15:37.710013Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976715679. Ctx: { TraceId: 01k83j07yr5yc96hph48t3jdpn, Database: , SessionId: ydb://session/3?node_id=17&id=Y2FiYjBlZTEtMjI0OWYzYWEtM2QwOTk0OTUtOWYzNDkyZTA=, PoolId: , DatabaseId: /Root}. Database not set, use /Root
===Query complete
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715676
    CreateStep: 1761056137323
    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: 281474976715676
    CreateStep: 1761056137323
    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:28375
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-21T14:15:37.803635Z 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:28375
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-21T14:15:38.314414Z 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:28375
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-21T14:15:38.831216Z 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-10-21T14:15:38.859591Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:38.859641Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-10-21T14:15:38.860934Z 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-10-21T14:15:38.861104Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:47692
2025-10-21T14:15:38.861126Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:38.861140Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:38.865797Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-10-21T14:15:38.866006Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:38.866026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:38.866048Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:38.866073Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678519934497497:2499] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:38.870673Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678519934497497:2499] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:39.586972Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678519934497497:2499] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:39.588815Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678524229464854:2499] connected; active server actors: 1
2025-10-21T14:15:39.589563Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678519934497497:2499] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=12345678
2025-10-21T14:15:39.589601Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678519934497497:2499] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:39.590616Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678524229464854:2499] disconnected; active server actors: 1
2025-10-21T14:15:39.590649Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678524229464854:2499] disconnected no session
2025-10-21T14:15:40.000727Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678519934497497:2499] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:40.000781Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678519934497497:2499] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-21T14:15:40.000813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678519934497497:2499] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:40.000858Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-21T14:15:40.002509Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:40.003120Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 12345678|5353faaa-58bde23f-6ff10a06-7344f454_0 generated for partition 9 topic 'rt3.dc1--topic1' owner 12345678
2025-10-21T14:15:40.004514Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 9 MaxSeqNo: 0 sessionId: 12345678|5353faaa-58bde23f-6ff10a06-7344f454_0
2025-10-21T14:15:40.006066Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: 12345678|5353faaa-58bde23f-6ff10a06-7344f454_0 grpc read done: success: 0 data: 
2025-10-21T14:15:40.006090Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: 12345678|5353faaa-58bde23f-6ff10a06-7344f454_0 grpc read failed
2025-10-21T14:15:40.006268Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 1 sessionId: 12345678|5353faaa-58bde23f-6ff10a06-7344f454_0
2025-10-21T14:15:40.006296Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: 12345678|5353faaa-58bde23f-6ff10a06-7344f454_0 is DEAD
2025-10-21T14:15:40.006705Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
Finish: 0 
2025-10-21T14:15:40.008604Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:40.008640Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-10-21T14:15:40.009515Z 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-10-21T14:15:40.009783Z 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]:47692
2025-10-21T14:15:40.009805Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:40.009818Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:40.014763Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-10-21T14:15:40.014941Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:40.014957Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:40.014975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:40.014998Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678528524432211:2520] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:40.019091Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678528524432211:2520] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:40.042263Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678528524432211:2520] (SourceId=source, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:40.047811Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678528524432230:2520] connected; active server actors: 1
2025-10-21T14:15:40.048073Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678528524432211:2520] (SourceId=source, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=source
2025-10-21T14:15:40.048115Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678528524432211:2520] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:40.049526Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678528524432230:2520] disconnected; active server actors: 1
2025-10-21T14:15:40.049557Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678528524432230:2520] disconnected no session
2025-10-21T14:15:40.068387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678528524432211:2520] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:40.068437Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678528524432211:2520] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-21T14:15:40.068464Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678528524432211:2520] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:40.068505Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-21T14:15:40.075703Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:40.076167Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|3a8a7818-a9463e2-78aef0a7-25a01fab_0 generated for partition 0 topic 'rt3.dc1--topic1' owner source
2025-10-21T14:15:40.081661Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 0 MaxSeqNo: 0 sessionId: source|3a8a7818-a9463e2-78aef0a7-25a01fab_0
request: { write_request { sequence_numbers: 2 created_at_ms: 1761056140083 sent_at_ms: 1761056140083 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-10-21T14:15:40.084287Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|3a8a7818-a9463e2-78aef0a7-25a01fab_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-21T14:15:40.084729Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-21T14:15:40.088298Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-21T14:15:40.096768Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 3 created_at_ms: 1761056140097 sent_at_ms: 1761056140097 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-10-21T14:15:40.098170Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|3a8a7818-a9463e2-78aef0a7-25a01fab_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-21T14:15:40.098428Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-21T14:15:40.099291Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-21T14:15:40.205196Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 4 created_at_ms: 1761056140207 sent_at_ms: 1761056140207 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-10-21T14:15:40.208505Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|3a8a7818-a9463e2-78aef0a7-25a01fab_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-21T14:15:40.208804Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-21T14:15:40.213386Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 5 created_at_ms: 1761056140222 sent_at_ms: 1761056140222 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-10-21T14:15:40.221972Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-21T14:15:40.223460Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|3a8a7818-a9463e2-78aef0a7-25a01fab_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-21T14:15:40.223790Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-21T14:15:40.224568Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-21T14:15:40.237402Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
1 0 
CallPersQueueGRPC request to localhost:28375
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-21T14:15:40.238379Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|3a8a7818-a9463e2-78aef0a7-25a01fab_0 grpc read done: success: 0 data: 
2025-10-21T14:15:40.238414Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: source|3a8a7818-a9463e2-78aef0a7-25a01fab_0 grpc read failed
2025-10-21T14:15:40.238571Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 2 sessionId: source|3a8a7818-a9463e2-78aef0a7-25a01fab_0
2025-10-21T14:15:40.238595Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: source|3a8a7818-a9463e2-78aef0a7-25a01fab_0 is DEAD
2025-10-21T14:15:40.238996Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:40.242798Z 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:28375
MetaRequest {
  CmdChangeTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 15
  }
}
2025-10-21T14:15:40.254465Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterPersQueueGroup, opId: 281474976715689: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: 281474976715689
  SchemeShardTabletId: 72057594046644480
}
ErrorCode: OK
Alter got 1
2025-10-21T14:15:40.281015Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1517: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [11, 13, 14, 12, 10]
2025-10-21T14:15:40.294325Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-21T14:15:40.294401Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037895] doesn't have tx writes info
2025-10-21T14:15:40.368531Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-21T14:15:40.492065Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976715690. Ctx: { TraceId: 01k83j0b0f9rhtme8gkttkvzwr, Database: , SessionId: ydb://session/3?node_id=17&id=Y2YxNmIxY2EtNzY1N2ZjZjctNjk1ODcxMTEtYTNmNTdjZmU=, PoolId: , DatabaseId: /Root}. Database not set, use /Root
2025-10-21T14:15:40.519206Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][11][StateInit] bootstrapping 11 [17:7563678528524432422:2529]
2025-10-21T14:15:40.530522Z node 17 :PERSQUEUE INFO: partition.cpp:697: [72075186224037895][Partition][11][StateInit] init complete for topic 'rt3.dc1--topic1' partition 11 generation 1 [17:7563678528524432422:2529]
2025-10-21T14:15:40.533519Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][13][StateInit] bootstrapping 13 [17:7563678528524432423:2529]
2025-10-21T14:15:40.545318Z node 17 :PERSQUEUE INFO: partition.cpp:697: [72075186224037895][Partition][13][StateInit] init complete for topic 'rt3.dc1--topic1' partition 13 generation 1 [17:7563678528524432423:2529]
2025-10-21T14:15:40.560961Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][14][StateInit] bootstrapping 14 [17:7563678528524432424:2529]
2025-10-21T14:15:40.573557Z node 17 :PERSQUEUE INFO: partition.cpp:697: [72075186224037895][Partition][14][StateInit] init complete for topic 'rt3.dc1--topic1' partition 14 generation 1 [17:7563678528524432424:2529]
2025-10-21T14:15:40.579241Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-21T14:15:40.580398Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][12][StateInit] bootstrapping 12 [17:7563678528524432428:2529]
2025-10-21T14:15:40.594439Z node 17 :PERSQUEUE INFO: partition.cpp:697: [72075186224037895][Partition][12][StateInit] init complete for topic 'rt3.dc1--topic1' partition 12 generation 1 [17:7563678528524432428:2529]
2025-10-21T14:15:40.600925Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][10][StateInit] bootstrapping 10 [17:7563678528524432429:2529]
2025-10-21T14:15:40.608215Z node 17 :PERSQUEUE INFO: partition.cpp:697: [72075186224037895][Partition][10][StateInit] init complete for topic 'rt3.dc1--topic1' partition 10 generation 1 [17:7563678528524432429:2529]
CallPersQueueGRPC request to localhost:28375
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-21T14:15:40.654342Z 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
2025-10-21T14:15:40.671723Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
CallPersQueueGRPC request to localhost:28375
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-21T14:15:41.166239Z 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: 281474976715676
    CreateStep: 1761056137323
    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: 281474976715676
    CreateStep: 1761056137323
    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: 1480
        DataSize: 1480
        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-10-21T14:15:41.180020Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:41.180060Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-10-21T14:15:41.180670Z 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-10-21T14:15:41.180871Z 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]:47692
2025-10-21T14:15:41.180897Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:41.180912Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:41.183291Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-10-21T14:15:41.183474Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:41.183492Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:41.183510Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:41.183531Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678532819399940:2557] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:41.191593Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678532819399940:2557] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:41.209633Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678532819399940:2557] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:41.222093Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678532819399940:2557] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:41.222128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678532819399940:2557] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=0
2025-10-21T14:15:41.222158Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678532819399940:2557] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:41.222195Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-21T14:15:41.228436Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:41.232093Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|c279a2e-b886b35f-e4348488-3f7da8ca_0 generated for partition 0 topic 'rt3.dc1--topic1' owner source
2025-10-21T14:15:41.236602Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 0 MaxSeqNo: 5 sessionId: source|c279a2e-b886b35f-e4348488-3f7da8ca_0
request: { write_request { sequence_numbers: 6 created_at_ms: 1761056141239 sent_at_ms: 1761056141239 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-10-21T14:15:41.242272Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|c279a2e-b886b35f-e4348488-3f7da8ca_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-21T14:15:41.242656Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-21T14:15:41.245113Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-21T14:15:41.257536Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 7 created_at_ms: 1761056141259 sent_at_ms: 1761056141259 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-10-21T14:15:41.260880Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|c279a2e-b886b35f-e4348488-3f7da8ca_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-21T14:15:41.261191Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-21T14:15:41.264164Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-21T14:15:41.277221Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 8 created_at_ms: 1761056141278 sent_at_ms: 1761056141278 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-10-21T14:15:41.279021Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|c279a2e-b886b35f-e4348488-3f7da8ca_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-21T14:15:41.279272Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-21T14:15:41.287493Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-21T14:15:41.421602Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 9 created_at_ms: 1761056141422 sent_at_ms: 1761056141422 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-10-21T14:15:41.423176Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|c279a2e-b886b35f-e4348488-3f7da8ca_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-21T14:15:41.423462Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-21T14:15:41.424376Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-21T14:15:41.436842Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-21T14:15:41.438557Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|c279a2e-b886b35f-e4348488-3f7da8ca_0 grpc read done: success: 0 data: 
2025-10-21T14:15:41.438578Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: source|c279a2e-b886b35f-e4348488-3f7da8ca_0 grpc read failed
2025-10-21T14:15:41.438777Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 3 sessionId: source|c279a2e-b886b35f-e4348488-3f7da8ca_0
2025-10-21T14:15:41.438822Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: source|c279a2e-b886b35f-e4348488-3f7da8ca_0 is DEAD
2025-10-21T14:15:41.439353Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
1 0 
2025-10-21T14:15:41.443272Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:41.443313Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 4
2025-10-21T14:15:41.443960Z 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-10-21T14:15:41.444182Z 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]:47692
2025-10-21T14:15:41.444204Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:41.444219Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:41.446463Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 4 sessionId:  describe result for acl check
2025-10-21T14:15:41.446639Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:41.446655Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:41.446676Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:41.446698Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678532819399980:2561] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:41.451301Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678532819399980:2561] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:41.486160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678532819399980:2561] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:41.501627Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678532819399980:2561] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:41.501679Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678532819399980:2561] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=0
2025-10-21T14:15:41.501706Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678532819399980:2561] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:41.501746Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 4 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-21T14:15:41.504692Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|7bc8b1f7-a750ce4-b8a4d81d-e5524e5a_0 generated for partition 0 topic 'rt3.dc1--topic1' owner source
2025-10-21T14:15:41.504311Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
request: { write_request { sequence_numbers: 10 sequence_numbers: 11 sequence_numbers: 12 sequence_numbers: 13 sequence_numbers: 14 created_at_ms: 1761056141507 created_at_ms: 1761056141507 created_at_ms: 1761056141507 created_at_ms: 1761056141507 created_at_ms: 1761056141507 sent_at_ms: 1761056141507 sent_at_ms: 1761056141507 sent_at_ms: 1761056141507 sent_at_ms: 1761056141507 sent_at_ms: 1761056141507 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-10-21T14:15:41.506170Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 4 partition: 0 MaxSeqNo: 9 sessionId: source|7bc8b1f7-a750ce4-b8a4d81d-e5524e5a_0
2025-10-21T14:15:41.508148Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|7bc8b1f7-a750ce4-b8a4d81d-e5524e5a_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-21T14:15:41.508772Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-21T14:15:41.509609Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-21T14:15:41.525462Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) 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: 1761056141526 created_at_ms: 1761056141526 created_at_ms: 1761056141526 created_at_ms: 1761056141526 created_at_ms: 1761056141526 sent_at_ms: 1761056141526 sent_at_ms: 1761056141526 sent_at_ms: 1761056141526 sent_at_ms: 1761056141526 sent_at_ms: 1761056141526 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-10-21T14:15:41.528024Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|7bc8b1f7-a750ce4-b8a4d81d-e5524e5a_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-21T14:15:41.528423Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-21T14:15:41.529622Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-21T14:15:41.552096Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) 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: 1761056141556 created_at_ms: 1761056141556 created_at_ms: 1761056141556 created_at_ms: 1761056141556 created_at_ms: 1761056141556 sent_at_ms: 1761056141556 sent_at_ms: 1761056141556 sent_at_ms: 1761056141556 sent_at_ms: 1761056141556 sent_at_ms: 1761056141556 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-10-21T14:15:41.557360Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|7bc8b1f7-a750ce4-b8a4d81d-e5524e5a_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-21T14:15:41.557780Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-21T14:15:41.558659Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-21T14:15:41.571961Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) 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: 1761056141573 created_at_ms: 1761056141573 created_at_ms: 1761056141573 created_at_ms: 1761056141573 created_at_ms: 1761056141573 sent_at_ms: 1761056141573 sent_at_ms: 1761056141573 sent_at_ms: 1761056141573 sent_at_ms: 1761056141573 sent_at_ms: 1761056141573 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-10-21T14:15:41.574788Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|7bc8b1f7-a750ce4-b8a4d81d-e5524e5a_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-21T14:15:41.575196Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-21T14:15:41.576096Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
1 0 
2025-10-21T14:15:41.584304Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-21T14:15:41.595549Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|7bc8b1f7-a750ce4-b8a4d81d-e5524e5a_0 grpc read done: success: 0 data: 
2025-10-21T14:15:41.595570Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 4 sessionId: source|7bc8b1f7-a750ce4-b8a4d81d-e5524e5a_0 grpc read failed
2025-10-21T14:15:41.595813Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 4 sessionId: source|7bc8b1f7-a750ce4-b8a4d81d-e5524e5a_0
2025-10-21T14:15:41.595841Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 4 sessionId: source|7bc8b1f7-a750ce4-b8a4d81d-e5524e5a_0 is DEAD
2025-10-21T14:15:41.596291Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:41.603141Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:41.603179Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 5
2025-10-21T14:15:41.603742Z 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-10-21T14:15:41.603958Z 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]:47692
2025-10-21T14:15:41.603981Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic2 durationSec=0
2025-10-21T14:15:41.604006Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
{ status: SCHEME_ERROR issues { message: "no path \'Root/PQ/rt3.dc1--topic2\', Marker# PQ15" issue_code: 500017 severity: 1 } }
2025-10-21T14:15:41.608321Z 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-10-21T14:15:41.608739Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 5 sessionId:  is DEAD
2025-10-21T14:15:41.611763Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:41.611796Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 6
2025-10-21T14:15:41.615241Z 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-10-21T14:15:41.615557Z 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]:47692
2025-10-21T14:15:41.615584Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:41.615602Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:41.617582Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 6 sessionId:  describe result for acl check
2025-10-21T14:15:41.617761Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:41.617778Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:41.617798Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:41.617831Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678532819400030:2569] (SourceId=sid1, PreferedPartition=1) StartKqpSession
2025-10-21T14:15:41.622110Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678532819400030:2569] (SourceId=sid1, PreferedPartition=1) Select from the table
2025-10-21T14:15:41.640543Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678532819400030:2569] (SourceId=sid1, PreferedPartition=1) Update the table
2025-10-21T14:15:41.702581Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678532819400030:2569] (SourceId=sid1, PreferedPartition=1) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:41.702628Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678532819400030:2569] (SourceId=sid1, PreferedPartition=1) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-21T14:15:41.702648Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678532819400030:2569] (SourceId=sid1, PreferedPartition=1) Start idle
2025-10-21T14:15:41.702687Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 6 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-21T14:15:41.715854Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:41.717655Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 6 partition: 1 MaxSeqNo: 0 sessionId: sid1|57432f12-dc93030a-b1ee99b9-9e986aea_0
Init result: { status: SUCCESS init_response { session_id: "sid1|57432f12-dc93030a-b1ee99b9-9e986aea_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:41.716502Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|57432f12-dc93030a-b1ee99b9-9e986aea_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-10-21T14:15:41.721750Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId: sid1|57432f12-dc93030a-b1ee99b9-9e986aea_0 grpc read done: success: 0 data: 
2025-10-21T14:15:41.721782Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 6 sessionId: sid1|57432f12-dc93030a-b1ee99b9-9e986aea_0 grpc read failed
2025-10-21T14:15:41.721826Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 6 sessionId: sid1|57432f12-dc93030a-b1ee99b9-9e986aea_0 grpc closed
2025-10-21T14:15:41.721852Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 6 sessionId: sid1|57432f12-dc93030a-b1ee99b9-9e986aea_0 is DEAD
2025-10-21T14:15:41.723169Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:41.723328Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:41.723350Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 7
2025-10-21T14:15:41.731295Z 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-10-21T14:15:41.731503Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 7 topic: "topic1" message_group_id: "sid1" from ipv6:[::1]:47692
2025-10-21T14:15:41.731529Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:41.731545Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:41.738093Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 7 sessionId:  describe result for acl check
2025-10-21T14:15:41.738281Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:41.738300Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:41.738318Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:41.738340Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678532819400069:2576] (SourceId=sid1, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:41.751776Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678532819400069:2576] (SourceId=sid1, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:41.770201Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678532819400069:2576] (SourceId=sid1, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:41.782859Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678532819400069:2576] (SourceId=sid1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:41.782910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678532819400069:2576] (SourceId=sid1, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2025-10-21T14:15:41.782936Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678532819400069:2576] (SourceId=sid1, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:41.782977Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-21T14:15:41.797163Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:41.797535Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|79920c45-89faf885-1f7db0e5-85797b56_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-10-21T14:15:41.802572Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: sid1|79920c45-89faf885-1f7db0e5-85797b56_0
Init result: { status: SUCCESS init_response { session_id: "sid1|79920c45-89faf885-1f7db0e5-85797b56_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:41.809846Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId: sid1|79920c45-89faf885-1f7db0e5-85797b56_0 grpc read done: success: 0 data: 
2025-10-21T14:15:41.809873Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 7 sessionId: sid1|79920c45-89faf885-1f7db0e5-85797b56_0 grpc read failed
2025-10-21T14:15:41.809905Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 7 sessionId: sid1|79920c45-89faf885-1f7db0e5-85797b56_0 grpc closed
2025-10-21T14:15:41.809931Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 7 sessionId: sid1|79920c45-89faf885-1f7db0e5-85797b56_0 is DEAD
2025-10-21T14:15:41.810769Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:41.810926Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:41.810956Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 8
2025-10-21T14:15:41.811575Z 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-10-21T14:15:41.811731Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 8 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:47692
2025-10-21T14:15:41.811757Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:41.811771Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:41.814837Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 8 sessionId:  describe result for acl check
2025-10-21T14:15:41.814996Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:41.815018Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:41.815036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:41.815056Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678532819400108:2584] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:41.818504Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678532819400108:2584] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:41.836419Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678532819400124:2584] connected; active server actors: 1
2025-10-21T14:15:41.838551Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678532819400124:2584] disconnected; active server actors: 1
2025-10-21T14:15:41.838586Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678532819400124:2584] disconnected no session
2025-10-21T14:15:41.835144Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678532819400108:2584] (SourceId=sidx, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:41.837420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678532819400108:2584] (SourceId=sidx, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sidx
2025-10-21T14:15:41.837452Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678532819400108:2584] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:41.854487Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678532819400108:2584] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:41.854527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678532819400108:2584] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-21T14:15:41.854550Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678532819400108:2584] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:41.854582Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 8 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-21T14:15:41.860237Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:41.860513Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|5ab22a00-8ec350e7-6864af2e-46ec9b9c_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sidx
2025-10-21T14:15:41.865771Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 8 partition: 1 MaxSeqNo: 0 sessionId: sidx|5ab22a00-8ec350e7-6864af2e-46ec9b9c_0
Init result: { status: SUCCESS init_response { session_id: "sidx|5ab22a00-8ec350e7-6864af2e-46ec9b9c_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:41.870378Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId: sidx|5ab22a00-8ec350e7-6864af2e-46ec9b9c_0 grpc read done: success: 0 data: 
2025-10-21T14:15:41.870407Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 8 sessionId: sidx|5ab22a00-8ec350e7-6864af2e-46ec9b9c_0 grpc read failed
2025-10-21T14:15:41.870441Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 8 sessionId: sidx|5ab22a00-8ec350e7-6864af2e-46ec9b9c_0 grpc closed
2025-10-21T14:15:41.870464Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 8 sessionId: sidx|5ab22a00-8ec350e7-6864af2e-46ec9b9c_0 is DEAD
2025-10-21T14:15:41.871344Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:41.880406Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:41.880443Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 9
2025-10-21T14:15:41.881920Z 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-10-21T14:15:41.882073Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 9 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:47692
2025-10-21T14:15:41.882092Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:41.882105Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:41.884533Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 9 sessionId:  describe result for acl check
2025-10-21T14:15:41.884704Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:41.884722Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:41.884740Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:41.884763Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678532819400140:2589] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:41.889072Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678532819400140:2589] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:41.903468Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678532819400140:2589] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:41.920394Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678532819400140:2589] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:41.920442Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678532819400140:2589] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2025-10-21T14:15:41.920469Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678532819400140:2589] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:41.920511Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 9 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-21T14:15:41.923081Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:41.923507Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|38edb29e-1a4fec74-3454792f-b20c0bf6_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sidx
2025-10-21T14:15:41.925716Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 9 partition: 1 MaxSeqNo: 0 sessionId: sidx|38edb29e-1a4fec74-3454792f-b20c0bf6_0
Init result: { status: SUCCESS init_response { session_id: "sidx|38edb29e-1a4fec74-3454792f-b20c0bf6_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:41.928708Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId: sidx|38edb29e-1a4fec74-3454792f-b20c0bf6_0 grpc read done: success: 0 data: 
2025-10-21T14:15:41.928737Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 9 sessionId: sidx|38edb29e-1a4fec74-3454792f-b20c0bf6_0 grpc read failed
2025-10-21T14:15:41.928767Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 9 sessionId: sidx|38edb29e-1a4fec74-3454792f-b20c0bf6_0 grpc closed
2025-10-21T14:15:41.928792Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 9 sessionId: sidx|38edb29e-1a4fec74-3454792f-b20c0bf6_0 is DEAD
2025-10-21T14:15:41.929681Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:41.929813Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:41.929832Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 10
2025-10-21T14:15:41.930945Z 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-10-21T14:15:41.931124Z 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]:47692
2025-10-21T14:15:41.931149Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:41.931162Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:41.933349Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 10 sessionId:  describe result for acl check
2025-10-21T14:15:41.933519Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:41.933536Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:41.933554Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:41.933575Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678532819400179:2593] (SourceId=sid1, PreferedPartition=2) StartKqpSession
2025-10-21T14:15:41.952060Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678532819400179:2593] (SourceId=sid1, PreferedPartition=2) Select from the table
2025-10-21T14:15:41.969579Z node 17 :PQ_PARTITION_CHOOSER INFO: partition_chooser_impl__abstract_chooser_actor.h:312: TPartitionChooser [17:7563678532819400179:2593] (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-10-21T14:15:41.969716Z 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: 
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-10-21T14:15:41.970111Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 10 sessionId:  is DEAD
2025-10-21T14:15:41.972839Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:41.972869Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 11
2025-10-21T14:15:41.975757Z 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-10-21T14:15:41.975930Z 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]:47692
2025-10-21T14:15:41.975950Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=11 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:41.975962Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:41.977882Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 11 sessionId:  describe result for acl check
2025-10-21T14:15:41.978063Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:41.978081Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:41.978100Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:41.978126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678532819400201:2597] (SourceId=sid_rand_0, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:41.993983Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678532819400201:2597] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:42.165559Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678532819400201:2597] (SourceId=sid_rand_0, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:42.172032Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367529:2597] connected; active server actors: 1
2025-10-21T14:15:42.174074Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367529:2597] disconnected; active server actors: 1
2025-10-21T14:15:42.174115Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367529:2597] disconnected no session
2025-10-21T14:15:42.172536Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678532819400201:2597] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_0
2025-10-21T14:15:42.172592Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678532819400201:2597] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:42.185508Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678532819400201:2597] (SourceId=sid_rand_0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:42.185559Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678532819400201:2597] (SourceId=sid_rand_0, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-21T14:15:42.185584Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678532819400201:2597] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:42.185631Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 11 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-21T14:15:42.188349Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:42.188733Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_0|a6816bdf-594282c6-410a12fc-11a6860c_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_0
2025-10-21T14:15:42.189388Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 11 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_0|a6816bdf-594282c6-410a12fc-11a6860c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_0|a6816bdf-594282c6-410a12fc-11a6860c_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:42.192750Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId: sid_rand_0|a6816bdf-594282c6-410a12fc-11a6860c_0 grpc read done: success: 0 data: 
2025-10-21T14:15:42.192787Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 11 sessionId: sid_rand_0|a6816bdf-594282c6-410a12fc-11a6860c_0 grpc read failed
2025-10-21T14:15:42.192821Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 11 sessionId: sid_rand_0|a6816bdf-594282c6-410a12fc-11a6860c_0 grpc closed
2025-10-21T14:15:42.192845Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 11 sessionId: sid_rand_0|a6816bdf-594282c6-410a12fc-11a6860c_0 is DEAD
2025-10-21T14:15:42.193816Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:42.193955Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:42.193976Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 12
2025-10-21T14:15:42.195191Z 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-10-21T14:15:42.195357Z 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]:47692
2025-10-21T14:15:42.195394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=12 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:42.195410Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:42.197741Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 12 sessionId:  describe result for acl check
2025-10-21T14:15:42.197933Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:42.197950Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:42.197970Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:42.197991Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678537114367543:2603] (SourceId=sid_rand_1, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:42.203341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678537114367543:2603] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:42.224437Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367559:2603] connected; active server actors: 1
2025-10-21T14:15:42.223003Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678537114367543:2603] (SourceId=sid_rand_1, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:42.224970Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678537114367543:2603] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_1
2025-10-21T14:15:42.225000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678537114367543:2603] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:42.226215Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367559:2603] disconnected; active server actors: 1
2025-10-21T14:15:42.226249Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367559:2603] disconnected no session
2025-10-21T14:15:42.240463Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678537114367543:2603] (SourceId=sid_rand_1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:42.240511Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678537114367543:2603] (SourceId=sid_rand_1, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-21T14:15:42.240535Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678537114367543:2603] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:42.240576Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 12 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-21T14:15:42.243423Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_1|248ed1f9-ba52b7d9-e2a8aa9e-a338eba1_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_1
2025-10-21T14:15:42.243078Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:42.246631Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 12 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_1|248ed1f9-ba52b7d9-e2a8aa9e-a338eba1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_1|248ed1f9-ba52b7d9-e2a8aa9e-a338eba1_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:42.256690Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId: sid_rand_1|248ed1f9-ba52b7d9-e2a8aa9e-a338eba1_0 grpc read done: success: 0 data: 
2025-10-21T14:15:42.256724Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 12 sessionId: sid_rand_1|248ed1f9-ba52b7d9-e2a8aa9e-a338eba1_0 grpc read failed
2025-10-21T14:15:42.256764Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 12 sessionId: sid_rand_1|248ed1f9-ba52b7d9-e2a8aa9e-a338eba1_0 grpc closed
2025-10-21T14:15:42.256793Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 12 sessionId: sid_rand_1|248ed1f9-ba52b7d9-e2a8aa9e-a338eba1_0 is DEAD
2025-10-21T14:15:42.257898Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:42.258063Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:42.258088Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 13
2025-10-21T14:15:42.260208Z 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-10-21T14:15:42.260380Z 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]:47692
2025-10-21T14:15:42.260401Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=13 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:42.260417Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:42.262571Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 13 sessionId:  describe result for acl check
2025-10-21T14:15:42.262748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:42.262765Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:42.262782Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:42.262802Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678537114367571:2607] (SourceId=sid_rand_2, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:42.266766Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678537114367571:2607] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:42.277733Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678537114367571:2607] (SourceId=sid_rand_2, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:42.282407Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367587:2607] connected; active server actors: 1
2025-10-21T14:15:42.283237Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678537114367571:2607] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_2
2025-10-21T14:15:42.283277Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678537114367571:2607] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:42.283800Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367587:2607] disconnected; active server actors: 1
2025-10-21T14:15:42.283831Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367587:2607] disconnected no session
2025-10-21T14:15:42.298313Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678537114367571:2607] (SourceId=sid_rand_2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:42.298362Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678537114367571:2607] (SourceId=sid_rand_2, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-21T14:15:42.298388Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678537114367571:2607] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:42.298431Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 13 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-21T14:15:42.299126Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:42.299265Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_2|7f0f79ed-75e35417-953fe488-4ee57543_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_2
2025-10-21T14:15:42.299768Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 13 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_2|7f0f79ed-75e35417-953fe488-4ee57543_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_2|7f0f79ed-75e35417-953fe488-4ee57543_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:42.302320Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId: sid_rand_2|7f0f79ed-75e35417-953fe488-4ee57543_0 grpc read done: success: 0 data: 
2025-10-21T14:15:42.302353Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 13 sessionId: sid_rand_2|7f0f79ed-75e35417-953fe488-4ee57543_0 grpc read failed
2025-10-21T14:15:42.302391Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 13 sessionId: sid_rand_2|7f0f79ed-75e35417-953fe488-4ee57543_0 grpc closed
2025-10-21T14:15:42.302418Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 13 sessionId: sid_rand_2|7f0f79ed-75e35417-953fe488-4ee57543_0 is DEAD
2025-10-21T14:15:42.304066Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:42.304383Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:42.304407Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 14
2025-10-21T14:15:42.308010Z 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-10-21T14:15:42.308226Z 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]:47692
2025-10-21T14:15:42.308256Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=14 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:42.308273Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:42.310514Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 14 sessionId:  describe result for acl check
2025-10-21T14:15:42.310714Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:42.310732Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:42.310753Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:42.310776Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678537114367621:2616] (SourceId=sid_rand_3, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:42.316622Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678537114367621:2616] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:42.325263Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678537114367621:2616] (SourceId=sid_rand_3, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:42.326803Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367638:2616] connected; active server actors: 1
2025-10-21T14:15:42.327330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678537114367621:2616] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_3
2025-10-21T14:15:42.327383Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678537114367621:2616] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:42.328906Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367638:2616] disconnected; active server actors: 1
2025-10-21T14:15:42.328946Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367638:2616] disconnected no session
2025-10-21T14:15:42.341312Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678537114367621:2616] (SourceId=sid_rand_3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:42.341368Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678537114367621:2616] (SourceId=sid_rand_3, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-21T14:15:42.341393Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678537114367621:2616] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:42.341439Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 14 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-21T14:15:42.342125Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:42.342258Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_3|a81e714c-d3d2345d-16d38b2c-be7f94cd_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_3
2025-10-21T14:15:42.342764Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 14 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_3|a81e714c-d3d2345d-16d38b2c-be7f94cd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_3|a81e714c-d3d2345d-16d38b2c-be7f94cd_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:42.349436Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId: sid_rand_3|a81e714c-d3d2345d-16d38b2c-be7f94cd_0 grpc read done: success: 0 data: 
2025-10-21T14:15:42.349471Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 14 sessionId: sid_rand_3|a81e714c-d3d2345d-16d38b2c-be7f94cd_0 grpc read failed
2025-10-21T14:15:42.349855Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:42.349903Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 15
2025-10-21T14:15:42.350044Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 14 sessionId: sid_rand_3|a81e714c-d3d2345d-16d38b2c-be7f94cd_0
2025-10-21T14:15:42.350071Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 14 sessionId: sid_rand_3|a81e714c-d3d2345d-16d38b2c-be7f94cd_0 is DEAD
2025-10-21T14:15:42.350549Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:42.350726Z 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-10-21T14:15:42.350890Z 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]:47692
2025-10-21T14:15:42.350920Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=15 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:42.350934Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:42.353574Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 15 sessionId:  describe result for acl check
2025-10-21T14:15:42.353771Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:42.353799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:42.353823Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:42.353850Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678537114367652:2620] (SourceId=sid_rand_4, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:42.358609Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678537114367652:2620] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:42.368945Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678537114367652:2620] (SourceId=sid_rand_4, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:42.373685Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367668:2620] connected; active server actors: 1
2025-10-21T14:15:42.375749Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678537114367652:2620] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_4
2025-10-21T14:15:42.375800Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678537114367652:2620] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:42.376662Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367668:2620] disconnected; active server actors: 1
2025-10-21T14:15:42.376699Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367668:2620] disconnected no session
2025-10-21T14:15:42.392723Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678537114367652:2620] (SourceId=sid_rand_4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:42.392781Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678537114367652:2620] (SourceId=sid_rand_4, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-21T14:15:42.392812Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678537114367652:2620] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:42.392859Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 15 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-21T14:15:42.399767Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:42.405215Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_4|200d4f9b-7f54ef9e-8d03ce47-4ea10166_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_4
2025-10-21T14:15:42.407500Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 15 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_4|200d4f9b-7f54ef9e-8d03ce47-4ea10166_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_4|200d4f9b-7f54ef9e-8d03ce47-4ea10166_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:42.413354Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId: sid_rand_4|200d4f9b-7f54ef9e-8d03ce47-4ea10166_0 grpc read done: success: 0 data: 
2025-10-21T14:15:42.413394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 15 sessionId: sid_rand_4|200d4f9b-7f54ef9e-8d03ce47-4ea10166_0 grpc read failed
2025-10-21T14:15:42.413731Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 15 sessionId: sid_rand_4|200d4f9b-7f54ef9e-8d03ce47-4ea10166_0
2025-10-21T14:15:42.413761Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 15 sessionId: sid_rand_4|200d4f9b-7f54ef9e-8d03ce47-4ea10166_0 is DEAD
2025-10-21T14:15:42.414270Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:42.414386Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:42.414407Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 16
2025-10-21T14:15:42.415685Z 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-10-21T14:15:42.415868Z 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]:47692
2025-10-21T14:15:42.415901Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=16 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:42.415916Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:42.417828Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 16 sessionId:  describe result for acl check
2025-10-21T14:15:42.417966Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:42.417983Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:42.417998Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:42.418013Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678537114367680:2624] (SourceId=sid_rand_5, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:42.422391Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678537114367680:2624] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:42.436758Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678537114367680:2624] (SourceId=sid_rand_5, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:42.438739Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367699:2624] connected; active server actors: 1
2025-10-21T14:15:42.439344Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678537114367680:2624] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_5
2025-10-21T14:15:42.439401Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678537114367680:2624] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:42.440708Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367699:2624] disconnected; active server actors: 1
2025-10-21T14:15:42.440745Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367699:2624] disconnected no session
2025-10-21T14:15:42.449829Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678537114367680:2624] (SourceId=sid_rand_5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:42.449878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678537114367680:2624] (SourceId=sid_rand_5, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-21T14:15:42.449904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678537114367680:2624] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:42.449943Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 16 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-21T14:15:42.450790Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:42.450919Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_5|8346542a-c5e7e14-e80a2531-b781e4ee_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_5
2025-10-21T14:15:42.451359Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 16 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_5|8346542a-c5e7e14-e80a2531-b781e4ee_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_5|8346542a-c5e7e14-e80a2531-b781e4ee_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:42.458912Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId: sid_rand_5|8346542a-c5e7e14-e80a2531-b781e4ee_0 grpc read done: success: 0 data: 
2025-10-21T14:15:42.458955Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 16 sessionId: sid_rand_5|8346542a-c5e7e14-e80a2531-b781e4ee_0 grpc read failed
2025-10-21T14:15:42.458996Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 16 sessionId: sid_rand_5|8346542a-c5e7e14-e80a2531-b781e4ee_0 grpc closed
2025-10-21T14:15:42.459022Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 16 sessionId: sid_rand_5|8346542a-c5e7e14-e80a2531-b781e4ee_0 is DEAD
2025-10-21T14:15:42.459547Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:42.459580Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 17
2025-10-21T14:15:42.460435Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:42.476336Z 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-10-21T14:15:42.476527Z 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]:47692
2025-10-21T14:15:42.476549Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=17 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:42.476566Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:42.478631Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 17 sessionId:  describe result for acl check
2025-10-21T14:15:42.478820Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:42.478840Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:42.478861Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:42.478883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678537114367712:2628] (SourceId=sid_rand_6, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:42.491607Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678537114367712:2628] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:42.505749Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367732:2628] connected; active server actors: 1
2025-10-21T14:15:42.507034Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367732:2628] disconnected; active server actors: 1
2025-10-21T14:15:42.505300Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678537114367712:2628] (SourceId=sid_rand_6, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:42.507069Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367732:2628] disconnected no session
2025-10-21T14:15:42.506557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678537114367712:2628] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_6
2025-10-21T14:15:42.506586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678537114367712:2628] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:42.519252Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678537114367712:2628] (SourceId=sid_rand_6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:42.519307Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678537114367712:2628] (SourceId=sid_rand_6, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-21T14:15:42.519331Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678537114367712:2628] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:42.519394Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 17 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-21T14:15:42.520349Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:42.520614Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_6|8bb0535c-ca25642c-e19116b5-ca31e020_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_6
2025-10-21T14:15:42.521527Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 17 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_6|8bb0535c-ca25642c-e19116b5-ca31e020_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_6|8bb0535c-ca25642c-e19116b5-ca31e020_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:42.523958Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId: sid_rand_6|8bb0535c-ca25642c-e19116b5-ca31e020_0 grpc read done: success: 0 data: 
2025-10-21T14:15:42.524007Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 17 sessionId: sid_rand_6|8bb0535c-ca25642c-e19116b5-ca31e020_0 grpc read failed
2025-10-21T14:15:42.524046Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 17 sessionId: sid_rand_6|8bb0535c-ca25642c-e19116b5-ca31e020_0 grpc closed
2025-10-21T14:15:42.524070Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 17 sessionId: sid_rand_6|8bb0535c-ca25642c-e19116b5-ca31e020_0 is DEAD
2025-10-21T14:15:42.525349Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:42.525514Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:42.525541Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 18
2025-10-21T14:15:42.525921Z 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-10-21T14:15:42.526072Z 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]:47692
2025-10-21T14:15:42.526116Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=18 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:42.526130Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:42.528155Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 18 sessionId:  describe result for acl check
2025-10-21T14:15:42.528327Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:42.528355Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:42.528375Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:42.528396Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678537114367746:2633] (SourceId=sid_rand_7, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:42.533118Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678537114367746:2633] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:42.544201Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678537114367746:2633] (SourceId=sid_rand_7, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:42.545528Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367762:2633] connected; active server actors: 1
2025-10-21T14:15:42.545923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678537114367746:2633] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_7
2025-10-21T14:15:42.545960Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678537114367746:2633] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:42.546387Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367762:2633] disconnected; active server actors: 1
2025-10-21T14:15:42.546423Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367762:2633] disconnected no session
2025-10-21T14:15:42.561040Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678537114367746:2633] (SourceId=sid_rand_7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:42.561092Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678537114367746:2633] (SourceId=sid_rand_7, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-21T14:15:42.561119Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678537114367746:2633] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:42.561164Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 18 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-21T14:15:42.564865Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:42.565198Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_7|a10dea01-8f527f81-fe8b6007-4c9c0ff2_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_7
2025-10-21T14:15:42.565779Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 18 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_7|a10dea01-8f527f81-fe8b6007-4c9c0ff2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_7|a10dea01-8f527f81-fe8b6007-4c9c0ff2_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:42.568365Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId: sid_rand_7|a10dea01-8f527f81-fe8b6007-4c9c0ff2_0 grpc read done: success: 0 data: 
2025-10-21T14:15:42.568393Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 18 sessionId: sid_rand_7|a10dea01-8f527f81-fe8b6007-4c9c0ff2_0 grpc read failed
2025-10-21T14:15:42.568436Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 18 sessionId: sid_rand_7|a10dea01-8f527f81-fe8b6007-4c9c0ff2_0 grpc closed
2025-10-21T14:15:42.568461Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 18 sessionId: sid_rand_7|a10dea01-8f527f81-fe8b6007-4c9c0ff2_0 is DEAD
2025-10-21T14:15:42.569394Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:42.569577Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:42.569599Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 19
2025-10-21T14:15:42.571625Z 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-10-21T14:15:42.571799Z 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]:47692
2025-10-21T14:15:42.571822Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=19 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:42.571838Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:42.573932Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 19 sessionId:  describe result for acl check
2025-10-21T14:15:42.574104Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:42.574121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:42.574143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:42.574166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678537114367775:2637] (SourceId=sid_rand_8, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:42.580569Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678537114367775:2637] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:42.594242Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678537114367775:2637] (SourceId=sid_rand_8, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:42.596076Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367797:2637] connected; active server actors: 1
2025-10-21T14:15:42.603528Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678537114367775:2637] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_8
2025-10-21T14:15:42.603583Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678537114367775:2637] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:42.608544Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367797:2637] disconnected; active server actors: 1
2025-10-21T14:15:42.608582Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367797:2637] disconnected no session
2025-10-21T14:15:42.620357Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678537114367775:2637] (SourceId=sid_rand_8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:42.620408Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678537114367775:2637] (SourceId=sid_rand_8, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-21T14:15:42.620437Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678537114367775:2637] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:42.620482Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 19 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-21T14:15:42.622858Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:42.623418Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_8|ee701ad1-c64e3a7f-d5414920-ac239b19_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_8
2025-10-21T14:15:42.626737Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 19 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_8|ee701ad1-c64e3a7f-d5414920-ac239b19_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_8|ee701ad1-c64e3a7f-d5414920-ac239b19_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:42.628838Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId: sid_rand_8|ee701ad1-c64e3a7f-d5414920-ac239b19_0 grpc read done: success: 0 data: 
2025-10-21T14:15:42.628874Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 19 sessionId: sid_rand_8|ee701ad1-c64e3a7f-d5414920-ac239b19_0 grpc read failed
2025-10-21T14:15:42.629020Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 19 sessionId: sid_rand_8|ee701ad1-c64e3a7f-d5414920-ac239b19_0
2025-10-21T14:15:42.629042Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 19 sessionId: sid_rand_8|ee701ad1-c64e3a7f-d5414920-ac239b19_0 is DEAD
2025-10-21T14:15:42.629444Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:42.630648Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:42.630671Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 20
2025-10-21T14:15:42.631038Z 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-10-21T14:15:42.631211Z 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]:47692
2025-10-21T14:15:42.631230Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=20 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:42.631244Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:42.633319Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 20 sessionId:  describe result for acl check
2025-10-21T14:15:42.633488Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:42.633507Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:42.633527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:42.633550Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678537114367811:2642] (SourceId=sid_rand_9, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:42.639033Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678537114367811:2642] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:42.651348Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678537114367811:2642] (SourceId=sid_rand_9, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:42.655731Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367827:2642] connected; active server actors: 1
2025-10-21T14:15:42.658952Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367827:2642] disconnected; active server actors: 1
2025-10-21T14:15:42.656118Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678537114367811:2642] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_9
2025-10-21T14:15:42.658987Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367827:2642] disconnected no session
2025-10-21T14:15:42.656158Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678537114367811:2642] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:42.674414Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678537114367811:2642] (SourceId=sid_rand_9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:42.674463Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678537114367811:2642] (SourceId=sid_rand_9, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-21T14:15:42.674489Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678537114367811:2642] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:42.674534Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 20 sessionId:  partition: 7 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_9|2bb6a067-22a858cf-caeb17e6-823d3be5_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:42.675899Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:42.676064Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_9|2bb6a067-22a858cf-caeb17e6-823d3be5_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_9
2025-10-21T14:15:42.676598Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 20 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_9|2bb6a067-22a858cf-caeb17e6-823d3be5_0
2025-10-21T14:15:42.680717Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId: sid_rand_9|2bb6a067-22a858cf-caeb17e6-823d3be5_0 grpc read done: success: 0 data: 
2025-10-21T14:15:42.680752Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 20 sessionId: sid_rand_9|2bb6a067-22a858cf-caeb17e6-823d3be5_0 grpc read failed
2025-10-21T14:15:42.680792Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 20 sessionId: sid_rand_9|2bb6a067-22a858cf-caeb17e6-823d3be5_0 grpc closed
2025-10-21T14:15:42.680829Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 20 sessionId: sid_rand_9|2bb6a067-22a858cf-caeb17e6-823d3be5_0 is DEAD
2025-10-21T14:15:42.681361Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:42.681398Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 21
2025-10-21T14:15:42.681714Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:42.682924Z 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-10-21T14:15:42.683084Z 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]:47692
2025-10-21T14:15:42.683105Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=21 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:42.683120Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:42.693715Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 21 sessionId:  describe result for acl check
2025-10-21T14:15:42.694001Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:42.694020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:42.694043Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:42.694066Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678537114367842:2646] (SourceId=sid_rand_10, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:42.698395Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678537114367842:2646] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:42.732295Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678537114367842:2646] (SourceId=sid_rand_10, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:42.737515Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367861:2646] connected; active server actors: 1
2025-10-21T14:15:42.739129Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678537114367842:2646] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_10
2025-10-21T14:15:42.739170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678537114367842:2646] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:42.739809Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367861:2646] disconnected; active server actors: 1
2025-10-21T14:15:42.739849Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367861:2646] disconnected no session
2025-10-21T14:15:42.756332Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678537114367842:2646] (SourceId=sid_rand_10, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:42.756366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678537114367842:2646] (SourceId=sid_rand_10, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-21T14:15:42.756385Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678537114367842:2646] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:42.756426Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 21 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-21T14:15:42.758292Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:42.758675Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_10|4abbf9ea-61dcc7cc-134f637c-383c16d9_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_10
2025-10-21T14:15:42.760923Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 21 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_10|4abbf9ea-61dcc7cc-134f637c-383c16d9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_10|4abbf9ea-61dcc7cc-134f637c-383c16d9_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:42.765953Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId: sid_rand_10|4abbf9ea-61dcc7cc-134f637c-383c16d9_0 grpc read done: success: 0 data: 
2025-10-21T14:15:42.765991Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 21 sessionId: sid_rand_10|4abbf9ea-61dcc7cc-134f637c-383c16d9_0 grpc read failed
2025-10-21T14:15:42.766026Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 21 sessionId: sid_rand_10|4abbf9ea-61dcc7cc-134f637c-383c16d9_0 grpc closed
2025-10-21T14:15:42.766050Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 21 sessionId: sid_rand_10|4abbf9ea-61dcc7cc-134f637c-383c16d9_0 is DEAD
2025-10-21T14:15:42.767740Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:42.772085Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:42.772127Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 22
2025-10-21T14:15:42.772519Z 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-10-21T14:15:42.772715Z 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]:47692
2025-10-21T14:15:42.772743Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=22 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:42.772758Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:42.775259Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 22 sessionId:  describe result for acl check
2025-10-21T14:15:42.777025Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:42.777057Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:42.777079Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:42.777103Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678537114367873:2650] (SourceId=sid_rand_11, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:42.781445Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678537114367873:2650] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:42.790967Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678537114367873:2650] (SourceId=sid_rand_11, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:42.792300Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367889:2650] connected; active server actors: 1
2025-10-21T14:15:42.792873Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678537114367873:2650] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_11
2025-10-21T14:15:42.792911Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678537114367873:2650] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:42.793588Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367889:2650] disconnected; active server actors: 1
2025-10-21T14:15:42.793621Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367889:2650] disconnected no session
2025-10-21T14:15:42.803051Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678537114367873:2650] (SourceId=sid_rand_11, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:42.803097Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678537114367873:2650] (SourceId=sid_rand_11, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-21T14:15:42.803121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678537114367873:2650] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:42.803163Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 22 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-21T14:15:42.805020Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:42.805126Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_11|e14322ef-44a1f786-14659bff-cbf0925c_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_11
Init result: { status: SUCCESS init_response { session_id: "sid_rand_11|e14322ef-44a1f786-14659bff-cbf0925c_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:42.805673Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 22 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_11|e14322ef-44a1f786-14659bff-cbf0925c_0
2025-10-21T14:15:42.808040Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:42.808039Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId: sid_rand_11|e14322ef-44a1f786-14659bff-cbf0925c_0 grpc read done: success: 0 data: 
2025-10-21T14:15:42.808060Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 22 sessionId: sid_rand_11|e14322ef-44a1f786-14659bff-cbf0925c_0 grpc read failed
2025-10-21T14:15:42.808070Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 23
2025-10-21T14:15:42.808093Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 22 sessionId: sid_rand_11|e14322ef-44a1f786-14659bff-cbf0925c_0 grpc closed
2025-10-21T14:15:42.808120Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 22 sessionId: sid_rand_11|e14322ef-44a1f786-14659bff-cbf0925c_0 is DEAD
2025-10-21T14:15:42.808610Z 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-10-21T14:15:42.808772Z 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]:47692
2025-10-21T14:15:42.808798Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=23 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:42.808811Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:42.809263Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:42.810705Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 23 sessionId:  describe result for acl check
2025-10-21T14:15:42.810868Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:42.810889Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:42.810909Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:42.810926Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678537114367902:2654] (SourceId=sid_rand_12, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:42.815427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678537114367902:2654] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:42.830352Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678537114367902:2654] (SourceId=sid_rand_12, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:42.831949Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367919:2654] connected; active server actors: 1
2025-10-21T14:15:42.832571Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678537114367902:2654] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_12
2025-10-21T14:15:42.832610Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678537114367902:2654] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:42.834413Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367919:2654] disconnected; active server actors: 1
2025-10-21T14:15:42.834459Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367919:2654] disconnected no session
Init result: { status: SUCCESS init_response { session_id: "sid_rand_12|ad6c89a3-ee615c84-4c479b82-17856fbc_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:42.846959Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678537114367902:2654] (SourceId=sid_rand_12, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:42.847009Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678537114367902:2654] (SourceId=sid_rand_12, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-21T14:15:42.847036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678537114367902:2654] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:42.847078Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 23 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-21T14:15:42.847927Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:42.848086Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_12|ad6c89a3-ee615c84-4c479b82-17856fbc_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_12
2025-10-21T14:15:42.848590Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 23 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_12|ad6c89a3-ee615c84-4c479b82-17856fbc_0
2025-10-21T14:15:42.850684Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId: sid_rand_12|ad6c89a3-ee615c84-4c479b82-17856fbc_0 grpc read done: success: 0 data: 
2025-10-21T14:15:42.850707Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 23 sessionId: sid_rand_12|ad6c89a3-ee615c84-4c479b82-17856fbc_0 grpc read failed
2025-10-21T14:15:42.850743Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 23 sessionId: sid_rand_12|ad6c89a3-ee615c84-4c479b82-17856fbc_0 grpc closed
2025-10-21T14:15:42.850766Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 23 sessionId: sid_rand_12|ad6c89a3-ee615c84-4c479b82-17856fbc_0 is DEAD
2025-10-21T14:15:42.850816Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:42.850833Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 24
2025-10-21T14:15:42.851130Z 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-10-21T14:15:42.851244Z 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]:47692
2025-10-21T14:15:42.851258Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=24 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:42.851268Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:42.851885Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:42.852737Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 24 sessionId:  describe result for acl check
2025-10-21T14:15:42.852882Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:42.852901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:42.852917Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:42.852930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678537114367933:2658] (SourceId=sid_rand_13, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:42.857655Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678537114367933:2658] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:42.867782Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678537114367933:2658] (SourceId=sid_rand_13, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:42.876670Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367952:2658] connected; active server actors: 1
2025-10-21T14:15:42.877362Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678537114367933:2658] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_13
2025-10-21T14:15:42.877405Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678537114367933:2658] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:42.878995Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367952:2658] disconnected; active server actors: 1
2025-10-21T14:15:42.879022Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367952:2658] disconnected no session
2025-10-21T14:15:42.888524Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678537114367933:2658] (SourceId=sid_rand_13, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:42.888568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678537114367933:2658] (SourceId=sid_rand_13, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-21T14:15:42.888594Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678537114367933:2658] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:42.888637Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 24 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-21T14:15:42.890927Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:42.891216Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_13|ebe2a1a9-a3697226-fa0cb5e0-c767796f_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_13
2025-10-21T14:15:42.891776Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 24 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_13|ebe2a1a9-a3697226-fa0cb5e0-c767796f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_13|ebe2a1a9-a3697226-fa0cb5e0-c767796f_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:42.894052Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId: sid_rand_13|ebe2a1a9-a3697226-fa0cb5e0-c767796f_0 grpc read done: success: 0 data: 
2025-10-21T14:15:42.894081Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 24 sessionId: sid_rand_13|ebe2a1a9-a3697226-fa0cb5e0-c767796f_0 grpc read failed
2025-10-21T14:15:42.894417Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 24 sessionId: sid_rand_13|ebe2a1a9-a3697226-fa0cb5e0-c767796f_0
2025-10-21T14:15:42.894445Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 24 sessionId: sid_rand_13|ebe2a1a9-a3697226-fa0cb5e0-c767796f_0 is DEAD
2025-10-21T14:15:42.894856Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:42.895716Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:42.895744Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 25
2025-10-21T14:15:42.900113Z 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-10-21T14:15:42.900299Z 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]:47692
2025-10-21T14:15:42.900318Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=25 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:42.900333Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:42.902056Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 25 sessionId:  describe result for acl check
2025-10-21T14:15:42.902245Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:42.902267Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:42.902293Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:42.902313Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678537114367965:2662] (SourceId=sid_rand_14, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:42.910294Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678537114367965:2662] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:42.933828Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678537114367965:2662] (SourceId=sid_rand_14, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:42.940457Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367993:2662] connected; active server actors: 1
2025-10-21T14:15:42.947542Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678537114367965:2662] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_14
2025-10-21T14:15:42.947589Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678537114367965:2662] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:42.952222Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367993:2662] disconnected; active server actors: 1
2025-10-21T14:15:42.952267Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678537114367993:2662] disconnected no session
2025-10-21T14:15:43.055691Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678537114367965:2662] (SourceId=sid_rand_14, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:43.055725Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678537114367965:2662] (SourceId=sid_rand_14, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-21T14:15:43.055744Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678537114367965:2662] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:43.055777Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 25 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-21T14:15:43.059790Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:43.059969Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_14|3f2912d0-51211909-d4184a4-756396b9_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_14
2025-10-21T14:15:43.060671Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 25 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_14|3f2912d0-51211909-d4184a4-756396b9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_14|3f2912d0-51211909-d4184a4-756396b9_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:43.063429Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId: sid_rand_14|3f2912d0-51211909-d4184a4-756396b9_0 grpc read done: success: 0 data: 
2025-10-21T14:15:43.063458Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 25 sessionId: sid_rand_14|3f2912d0-51211909-d4184a4-756396b9_0 grpc read failed
2025-10-21T14:15:43.063496Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 25 sessionId: sid_rand_14|3f2912d0-51211909-d4184a4-756396b9_0 grpc closed
2025-10-21T14:15:43.063521Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 25 sessionId: sid_rand_14|3f2912d0-51211909-d4184a4-756396b9_0 is DEAD
2025-10-21T14:15:43.064447Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:43.064573Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:43.064592Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 26
2025-10-21T14:15:43.065841Z 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-10-21T14:15:43.065999Z 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]:47692
2025-10-21T14:15:43.066018Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=26 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:43.066034Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:43.068171Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 26 sessionId:  describe result for acl check
2025-10-21T14:15:43.068615Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:43.068638Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:43.068657Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:43.068676Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678541409335308:2667] (SourceId=sid_rand_15, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:43.075629Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678541409335308:2667] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:43.089988Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678541409335308:2667] (SourceId=sid_rand_15, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:43.091470Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335327:2667] connected; active server actors: 1
2025-10-21T14:15:43.092595Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678541409335308:2667] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_15
2025-10-21T14:15:43.092634Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678541409335308:2667] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:43.093912Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335327:2667] disconnected; active server actors: 1
2025-10-21T14:15:43.093947Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335327:2667] disconnected no session
Init result: 2025-10-21T14:15:43.109059Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678541409335308:2667] (SourceId=sid_rand_15, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:43.109108Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678541409335308:2667] (SourceId=sid_rand_15, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-21T14:15:43.109135Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678541409335308:2667] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:43.109182Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 26 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-21T14:15:43.111438Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:43.111688Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_15|89cd077b-c486948c-14261920-1d201906_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_15
2025-10-21T14:15:43.112172Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 26 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_15|89cd077b-c486948c-14261920-1d201906_0
{ status: SUCCESS init_response { session_id: "sid_rand_15|89cd077b-c486948c-14261920-1d201906_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:43.115163Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId: sid_rand_15|89cd077b-c486948c-14261920-1d201906_0 grpc read done: success: 0 data: 
2025-10-21T14:15:43.115196Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 26 sessionId: sid_rand_15|89cd077b-c486948c-14261920-1d201906_0 grpc read failed
2025-10-21T14:15:43.115239Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 26 sessionId: sid_rand_15|89cd077b-c486948c-14261920-1d201906_0 grpc closed
2025-10-21T14:15:43.115265Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 26 sessionId: sid_rand_15|89cd077b-c486948c-14261920-1d201906_0 is DEAD
2025-10-21T14:15:43.116190Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:43.116312Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:43.116332Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 27
2025-10-21T14:15:43.117288Z 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-10-21T14:15:43.117460Z 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]:47692
2025-10-21T14:15:43.117488Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=27 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:43.117501Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:43.119444Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 27 sessionId:  describe result for acl check
2025-10-21T14:15:43.119607Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:43.119625Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:43.119642Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:43.119662Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678541409335340:2671] (SourceId=sid_rand_16, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:43.131602Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678541409335340:2671] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:43.143898Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678541409335340:2671] (SourceId=sid_rand_16, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:43.145485Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335356:2671] connected; active server actors: 1
2025-10-21T14:15:43.146190Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678541409335340:2671] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_16
2025-10-21T14:15:43.146226Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678541409335340:2671] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:43.147350Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335356:2671] disconnected; active server actors: 1
2025-10-21T14:15:43.147396Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335356:2671] disconnected no session
2025-10-21T14:15:43.171519Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678541409335340:2671] (SourceId=sid_rand_16, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:43.171566Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678541409335340:2671] (SourceId=sid_rand_16, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-21T14:15:43.171594Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678541409335340:2671] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:43.171639Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 27 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-21T14:15:43.177794Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:43.179571Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_16|4b85c53a-97a120ce-f2d389f5-b5df76ac_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_16
2025-10-21T14:15:43.180152Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 27 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_16|4b85c53a-97a120ce-f2d389f5-b5df76ac_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_16|4b85c53a-97a120ce-f2d389f5-b5df76ac_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:43.186465Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId: sid_rand_16|4b85c53a-97a120ce-f2d389f5-b5df76ac_0 grpc read done: success: 0 data: 
2025-10-21T14:15:43.186499Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 27 sessionId: sid_rand_16|4b85c53a-97a120ce-f2d389f5-b5df76ac_0 grpc read failed
2025-10-21T14:15:43.186533Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 27 sessionId: sid_rand_16|4b85c53a-97a120ce-f2d389f5-b5df76ac_0 grpc closed
2025-10-21T14:15:43.186559Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 27 sessionId: sid_rand_16|4b85c53a-97a120ce-f2d389f5-b5df76ac_0 is DEAD
2025-10-21T14:15:43.187561Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:43.187750Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:43.187774Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 28
2025-10-21T14:15:43.189557Z 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-10-21T14:15:43.189725Z 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]:47692
2025-10-21T14:15:43.189743Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=28 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:43.189756Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:43.191910Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 28 sessionId:  describe result for acl check
2025-10-21T14:15:43.192070Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:43.192085Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:43.192102Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:43.192120Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678541409335371:2675] (SourceId=sid_rand_17, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:43.196492Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678541409335371:2675] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:43.212793Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678541409335371:2675] (SourceId=sid_rand_17, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:43.214467Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335390:2675] connected; active server actors: 1
2025-10-21T14:15:43.215074Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678541409335371:2675] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_17
2025-10-21T14:15:43.215107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678541409335371:2675] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:43.216399Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335390:2675] disconnected; active server actors: 1
2025-10-21T14:15:43.216429Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335390:2675] disconnected no session
2025-10-21T14:15:43.233407Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678541409335371:2675] (SourceId=sid_rand_17, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:43.233459Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678541409335371:2675] (SourceId=sid_rand_17, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-21T14:15:43.233486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678541409335371:2675] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:43.233531Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 28 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-21T14:15:43.236603Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:43.237134Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_17|721a973c-ff180717-5945f81c-e711365a_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_17
2025-10-21T14:15:43.257038Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 28 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_17|721a973c-ff180717-5945f81c-e711365a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_17|721a973c-ff180717-5945f81c-e711365a_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:43.261497Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId: sid_rand_17|721a973c-ff180717-5945f81c-e711365a_0 grpc read done: success: 0 data: 
2025-10-21T14:15:43.261528Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 28 sessionId: sid_rand_17|721a973c-ff180717-5945f81c-e711365a_0 grpc read failed
2025-10-21T14:15:43.261563Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 28 sessionId: sid_rand_17|721a973c-ff180717-5945f81c-e711365a_0 grpc closed
2025-10-21T14:15:43.261589Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 28 sessionId: sid_rand_17|721a973c-ff180717-5945f81c-e711365a_0 is DEAD
2025-10-21T14:15:43.262517Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:43.262666Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:43.262688Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 29
2025-10-21T14:15:43.263535Z 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-10-21T14:15:43.263712Z 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]:47692
2025-10-21T14:15:43.263734Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=29 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:43.263747Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:43.265804Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 29 sessionId:  describe result for acl check
2025-10-21T14:15:43.265976Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:43.265993Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:43.266012Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:43.266032Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678541409335402:2679] (SourceId=sid_rand_18, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:43.272383Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678541409335402:2679] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:43.308448Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678541409335402:2679] (SourceId=sid_rand_18, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:43.322517Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678541409335402:2679] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_18
2025-10-21T14:15:43.322558Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678541409335402:2679] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:43.321529Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335420:2679] connected; active server actors: 1
2025-10-21T14:15:43.323791Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335420:2679] disconnected; active server actors: 1
2025-10-21T14:15:43.323822Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335420:2679] disconnected no session
2025-10-21T14:15:43.342542Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_18|d72a537f-2264cad8-97f00582-e5bb44ec_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_18
2025-10-21T14:15:43.339653Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678541409335402:2679] (SourceId=sid_rand_18, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:43.339696Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678541409335402:2679] (SourceId=sid_rand_18, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-21T14:15:43.339719Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678541409335402:2679] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:43.339760Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 29 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-21T14:15:43.342183Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
Init result: { status: SUCCESS init_response { session_id: "sid_rand_18|d72a537f-2264cad8-97f00582-e5bb44ec_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:43.343788Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 29 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_18|d72a537f-2264cad8-97f00582-e5bb44ec_0
2025-10-21T14:15:43.348216Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId: sid_rand_18|d72a537f-2264cad8-97f00582-e5bb44ec_0 grpc read done: success: 0 data: 
2025-10-21T14:15:43.348250Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 29 sessionId: sid_rand_18|d72a537f-2264cad8-97f00582-e5bb44ec_0 grpc read failed
2025-10-21T14:15:43.348283Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 29 sessionId: sid_rand_18|d72a537f-2264cad8-97f00582-e5bb44ec_0 grpc closed
2025-10-21T14:15:43.348305Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 29 sessionId: sid_rand_18|d72a537f-2264cad8-97f00582-e5bb44ec_0 is DEAD
2025-10-21T14:15:43.349418Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:43.349724Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:43.349752Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 30
2025-10-21T14:15:43.350459Z 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-10-21T14:15:43.350677Z 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]:47692
2025-10-21T14:15:43.350701Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=30 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:43.350714Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:43.352631Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 30 sessionId:  describe result for acl check
2025-10-21T14:15:43.352803Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:43.352819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:43.352836Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:43.352857Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678541409335435:2685] (SourceId=sid_rand_19, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:43.365119Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678541409335435:2685] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:43.389250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678541409335435:2685] (SourceId=sid_rand_19, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:43.397092Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335458:2685] connected; active server actors: 1
2025-10-21T14:15:43.408341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678541409335435:2685] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_19
2025-10-21T14:15:43.408380Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678541409335435:2685] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:43.409733Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335458:2685] disconnected; active server actors: 1
2025-10-21T14:15:43.409768Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335458:2685] disconnected no session
2025-10-21T14:15:43.428447Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678541409335435:2685] (SourceId=sid_rand_19, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:43.428491Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678541409335435:2685] (SourceId=sid_rand_19, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-21T14:15:43.428517Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678541409335435:2685] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:43.428558Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 30 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-21T14:15:43.435220Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:43.435625Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_19|49ea1ba3-e58492bd-1995395b-86634621_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_19
2025-10-21T14:15:43.436902Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 30 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_19|49ea1ba3-e58492bd-1995395b-86634621_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_19|49ea1ba3-e58492bd-1995395b-86634621_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:43.447561Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId: sid_rand_19|49ea1ba3-e58492bd-1995395b-86634621_0 grpc read done: success: 0 data: 
2025-10-21T14:15:43.447596Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 30 sessionId: sid_rand_19|49ea1ba3-e58492bd-1995395b-86634621_0 grpc read failed
2025-10-21T14:15:43.447634Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 30 sessionId: sid_rand_19|49ea1ba3-e58492bd-1995395b-86634621_0 grpc closed
2025-10-21T14:15:43.447655Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 30 sessionId: sid_rand_19|49ea1ba3-e58492bd-1995395b-86634621_0 is DEAD
2025-10-21T14:15:43.449194Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:43.449348Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:43.449369Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 31
2025-10-21T14:15:43.450222Z 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-10-21T14:15:43.450384Z 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]:47692
2025-10-21T14:15:43.450404Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=31 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:43.450418Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:43.452623Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 31 sessionId:  describe result for acl check
2025-10-21T14:15:43.452802Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:43.452822Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:43.452843Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:43.452864Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678541409335478:2693] (SourceId=sid_rand_20, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:43.457222Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678541409335478:2693] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:43.498867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678541409335478:2693] (SourceId=sid_rand_20, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:43.501154Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678541409335478:2693] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_20
2025-10-21T14:15:43.501190Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678541409335478:2693] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:43.500222Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335497:2693] connected; active server actors: 1
2025-10-21T14:15:43.502562Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335497:2693] disconnected; active server actors: 1
2025-10-21T14:15:43.502586Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335497:2693] disconnected no session
2025-10-21T14:15:43.518304Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678541409335478:2693] (SourceId=sid_rand_20, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:43.518348Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678541409335478:2693] (SourceId=sid_rand_20, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-21T14:15:43.518386Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678541409335478:2693] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:43.518434Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 31 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-21T14:15:43.528295Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:43.528749Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_20|f5784719-58d70619-965b0053-39dd86f0_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_20
2025-10-21T14:15:43.529777Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 31 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_20|f5784719-58d70619-965b0053-39dd86f0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_20|f5784719-58d70619-965b0053-39dd86f0_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:43.533780Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId: sid_rand_20|f5784719-58d70619-965b0053-39dd86f0_0 grpc read done: success: 0 data: 
2025-10-21T14:15:43.533811Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 31 sessionId: sid_rand_20|f5784719-58d70619-965b0053-39dd86f0_0 grpc read failed
2025-10-21T14:15:43.533848Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 31 sessionId: sid_rand_20|f5784719-58d70619-965b0053-39dd86f0_0 grpc closed
2025-10-21T14:15:43.533870Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 31 sessionId: sid_rand_20|f5784719-58d70619-965b0053-39dd86f0_0 is DEAD
2025-10-21T14:15:43.534751Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:43.534885Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:43.534905Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 32
2025-10-21T14:15:43.537876Z 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-10-21T14:15:43.538045Z 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]:47692
2025-10-21T14:15:43.538064Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=32 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:43.538078Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:43.540091Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 32 sessionId:  describe result for acl check
2025-10-21T14:15:43.540269Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:43.540288Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:43.540308Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:43.540328Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678541409335509:2698] (SourceId=sid_rand_21, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:43.544718Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678541409335509:2698] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:43.555467Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678541409335509:2698] (SourceId=sid_rand_21, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:43.564062Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335528:2698] connected; active server actors: 1
2025-10-21T14:15:43.564663Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678541409335509:2698] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_21
2025-10-21T14:15:43.564705Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678541409335509:2698] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:43.567941Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335528:2698] disconnected; active server actors: 1
2025-10-21T14:15:43.567982Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335528:2698] disconnected no session
2025-10-21T14:15:43.583250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678541409335509:2698] (SourceId=sid_rand_21, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:43.583301Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678541409335509:2698] (SourceId=sid_rand_21, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-21T14:15:43.583327Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678541409335509:2698] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:43.583393Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 32 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-21T14:15:43.586043Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:43.586373Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_21|c981c160-cbea6dd6-c40c8bd9-80ab7682_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_21
2025-10-21T14:15:43.587022Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 32 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_21|c981c160-cbea6dd6-c40c8bd9-80ab7682_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_21|c981c160-cbea6dd6-c40c8bd9-80ab7682_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:43.595777Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId: sid_rand_21|c981c160-cbea6dd6-c40c8bd9-80ab7682_0 grpc read done: success: 0 data: 
2025-10-21T14:15:43.595815Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 32 sessionId: sid_rand_21|c981c160-cbea6dd6-c40c8bd9-80ab7682_0 grpc read failed
2025-10-21T14:15:43.595863Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 32 sessionId: sid_rand_21|c981c160-cbea6dd6-c40c8bd9-80ab7682_0 grpc closed
2025-10-21T14:15:43.595891Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 32 sessionId: sid_rand_21|c981c160-cbea6dd6-c40c8bd9-80ab7682_0 is DEAD
2025-10-21T14:15:43.597016Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:43.597154Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:43.597175Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 33
2025-10-21T14:15:43.599590Z 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-10-21T14:15:43.599775Z 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]:47692
2025-10-21T14:15:43.599798Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=33 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:43.599813Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:43.605970Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 33 sessionId:  describe result for acl check
2025-10-21T14:15:43.606180Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:43.606201Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:43.606223Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:43.606246Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678541409335544:2702] (SourceId=sid_rand_22, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:43.615238Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678541409335544:2702] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:43.631877Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678541409335544:2702] (SourceId=sid_rand_22, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:43.633634Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335562:2702] connected; active server actors: 1
2025-10-21T14:15:43.634291Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678541409335544:2702] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_22
2025-10-21T14:15:43.634327Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678541409335544:2702] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:43.635795Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335562:2702] disconnected; active server actors: 1
2025-10-21T14:15:43.635840Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335562:2702] disconnected no session
2025-10-21T14:15:43.658424Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678541409335544:2702] (SourceId=sid_rand_22, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:43.658473Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678541409335544:2702] (SourceId=sid_rand_22, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-21T14:15:43.658498Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678541409335544:2702] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:43.658542Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 33 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-21T14:15:43.660826Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:43.661062Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_22|79e08848-cdd96dfb-72e8139b-5faa78d_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_22
2025-10-21T14:15:43.661645Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 33 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_22|79e08848-cdd96dfb-72e8139b-5faa78d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_22|79e08848-cdd96dfb-72e8139b-5faa78d_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:43.666238Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId: sid_rand_22|79e08848-cdd96dfb-72e8139b-5faa78d_0 grpc read done: success: 0 data: 
2025-10-21T14:15:43.666274Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 33 sessionId: sid_rand_22|79e08848-cdd96dfb-72e8139b-5faa78d_0 grpc read failed
2025-10-21T14:15:43.666317Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 33 sessionId: sid_rand_22|79e08848-cdd96dfb-72e8139b-5faa78d_0 grpc closed
2025-10-21T14:15:43.666344Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 33 sessionId: sid_rand_22|79e08848-cdd96dfb-72e8139b-5faa78d_0 is DEAD
2025-10-21T14:15:43.667320Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:43.667462Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:43.667483Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 34
2025-10-21T14:15:43.668503Z 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-10-21T14:15:43.668679Z 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]:47692
2025-10-21T14:15:43.668701Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=34 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:43.668717Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:43.670927Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 34 sessionId:  describe result for acl check
2025-10-21T14:15:43.671105Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:43.671124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:43.671143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:43.671166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678541409335576:2707] (SourceId=sid_rand_23, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:43.683807Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678541409335576:2707] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:43.711392Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678541409335576:2707] (SourceId=sid_rand_23, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:43.719942Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335595:2707] connected; active server actors: 1
2025-10-21T14:15:43.720643Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678541409335576:2707] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_23
2025-10-21T14:15:43.720685Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678541409335576:2707] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:43.722086Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335595:2707] disconnected; active server actors: 1
2025-10-21T14:15:43.722120Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335595:2707] disconnected no session
2025-10-21T14:15:43.752736Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678541409335576:2707] (SourceId=sid_rand_23, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:43.752789Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678541409335576:2707] (SourceId=sid_rand_23, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-21T14:15:43.752813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678541409335576:2707] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:43.752858Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 34 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-21T14:15:43.755248Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:43.759787Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_23|a2b0032a-900d248f-4ecdcae3-302d1e95_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_23
2025-10-21T14:15:43.760494Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 34 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_23|a2b0032a-900d248f-4ecdcae3-302d1e95_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_23|a2b0032a-900d248f-4ecdcae3-302d1e95_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:43.765866Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId: sid_rand_23|a2b0032a-900d248f-4ecdcae3-302d1e95_0 grpc read done: success: 0 data: 
2025-10-21T14:15:43.765900Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 34 sessionId: sid_rand_23|a2b0032a-900d248f-4ecdcae3-302d1e95_0 grpc read failed
2025-10-21T14:15:43.765939Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 34 sessionId: sid_rand_23|a2b0032a-900d248f-4ecdcae3-302d1e95_0 grpc closed
2025-10-21T14:15:43.765963Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 34 sessionId: sid_rand_23|a2b0032a-900d248f-4ecdcae3-302d1e95_0 is DEAD
2025-10-21T14:15:43.766841Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:43.766985Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:43.767005Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 35
2025-10-21T14:15:43.768112Z 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-10-21T14:15:43.768291Z 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]:47692
2025-10-21T14:15:43.768309Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=35 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:43.768326Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:43.773102Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 35 sessionId:  describe result for acl check
2025-10-21T14:15:43.773304Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:43.773324Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:43.773344Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:43.773366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678541409335608:2711] (SourceId=sid_rand_24, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:43.787319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678541409335608:2711] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:43.804412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678541409335608:2711] (SourceId=sid_rand_24, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:43.811228Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335624:2711] connected; active server actors: 1
2025-10-21T14:15:43.811988Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678541409335608:2711] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_24
2025-10-21T14:15:43.812034Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678541409335608:2711] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:43.813674Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335624:2711] disconnected; active server actors: 1
2025-10-21T14:15:43.813711Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335624:2711] disconnected no session
2025-10-21T14:15:43.844752Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678541409335608:2711] (SourceId=sid_rand_24, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:43.844806Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678541409335608:2711] (SourceId=sid_rand_24, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-21T14:15:43.844833Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678541409335608:2711] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:43.844879Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 35 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-21T14:15:43.855906Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:43.856656Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_24|e3d7fe01-874469bc-1a6df107-9031cb83_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_24
2025-10-21T14:15:43.858997Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 35 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_24|e3d7fe01-874469bc-1a6df107-9031cb83_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_24|e3d7fe01-874469bc-1a6df107-9031cb83_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:43.866108Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId: sid_rand_24|e3d7fe01-874469bc-1a6df107-9031cb83_0 grpc read done: success: 0 data: 
2025-10-21T14:15:43.866141Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 35 sessionId: sid_rand_24|e3d7fe01-874469bc-1a6df107-9031cb83_0 grpc read failed
2025-10-21T14:15:43.866176Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 35 sessionId: sid_rand_24|e3d7fe01-874469bc-1a6df107-9031cb83_0 grpc closed
2025-10-21T14:15:43.866197Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 35 sessionId: sid_rand_24|e3d7fe01-874469bc-1a6df107-9031cb83_0 is DEAD
2025-10-21T14:15:43.867055Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:43.867187Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:43.867207Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 36
2025-10-21T14:15:43.868503Z 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-10-21T14:15:43.868653Z 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]:47692
2025-10-21T14:15:43.868673Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=36 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:43.868686Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:43.870576Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 36 sessionId:  describe result for acl check
2025-10-21T14:15:43.870739Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:43.870755Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:43.870773Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:43.870792Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678541409335638:2715] (SourceId=sid_rand_25, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:43.886095Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678541409335638:2715] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:43.896931Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678541409335638:2715] (SourceId=sid_rand_25, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:43.904209Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335657:2715] connected; active server actors: 1
2025-10-21T14:15:43.905077Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678541409335638:2715] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_25
2025-10-21T14:15:43.905134Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678541409335638:2715] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:43.906682Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335657:2715] disconnected; active server actors: 1
2025-10-21T14:15:43.906719Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678541409335657:2715] disconnected no session
2025-10-21T14:15:43.950801Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678541409335638:2715] (SourceId=sid_rand_25, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:43.950852Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678541409335638:2715] (SourceId=sid_rand_25, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-21T14:15:43.950874Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678541409335638:2715] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:43.950913Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 36 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-21T14:15:43.980343Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:43.980783Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_25|9bd1b96a-95acff8b-8b12c4b4-8a678337_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_25
Init result: { status: SUCCESS init_response { session_id: "sid_rand_25|9bd1b96a-95acff8b-8b12c4b4-8a678337_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:43.982177Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 36 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_25|9bd1b96a-95acff8b-8b12c4b4-8a678337_0
2025-10-21T14:15:43.989526Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId: sid_rand_25|9bd1b96a-95acff8b-8b12c4b4-8a678337_0 grpc read done: success: 0 data: 
2025-10-21T14:15:43.989559Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 36 sessionId: sid_rand_25|9bd1b96a-95acff8b-8b12c4b4-8a678337_0 grpc read failed
2025-10-21T14:15:43.989596Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 36 sessionId: sid_rand_25|9bd1b96a-95acff8b-8b12c4b4-8a678337_0 grpc closed
2025-10-21T14:15:43.989621Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 36 sessionId: sid_rand_25|9bd1b96a-95acff8b-8b12c4b4-8a678337_0 is DEAD
2025-10-21T14:15:43.990508Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:43.990655Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:43.990677Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 37
2025-10-21T14:15:43.991644Z 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-10-21T14:15:43.991801Z 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]:47692
2025-10-21T14:15:43.991820Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=37 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:43.991831Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:43.997054Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 37 sessionId:  describe result for acl check
2025-10-21T14:15:43.997229Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:43.997262Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:43.997280Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:43.997301Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678541409335681:2720] (SourceId=sid_rand_26, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:44.001882Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678541409335681:2720] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:44.015258Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678541409335681:2720] (SourceId=sid_rand_26, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:44.020581Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704302994:2720] connected; active server actors: 1
2025-10-21T14:15:44.021375Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678541409335681:2720] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_26
2025-10-21T14:15:44.021421Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678541409335681:2720] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:44.022885Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704302994:2720] disconnected; active server actors: 1
2025-10-21T14:15:44.022921Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704302994:2720] disconnected no session
2025-10-21T14:15:44.054265Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678541409335681:2720] (SourceId=sid_rand_26, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:44.054313Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678541409335681:2720] (SourceId=sid_rand_26, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-21T14:15:44.054339Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678541409335681:2720] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:44.054382Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 37 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-21T14:15:44.056469Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:44.056677Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_26|2ec695f4-cef1d2d4-6da2700c-9ed3aa32_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_26
2025-10-21T14:15:44.057141Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 37 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_26|2ec695f4-cef1d2d4-6da2700c-9ed3aa32_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_26|2ec695f4-cef1d2d4-6da2700c-9ed3aa32_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:44.058934Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId: sid_rand_26|2ec695f4-cef1d2d4-6da2700c-9ed3aa32_0 grpc read done: success: 0 data: 
2025-10-21T14:15:44.058961Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 37 sessionId: sid_rand_26|2ec695f4-cef1d2d4-6da2700c-9ed3aa32_0 grpc read failed
2025-10-21T14:15:44.059306Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 37 sessionId: sid_rand_26|2ec695f4-cef1d2d4-6da2700c-9ed3aa32_0
2025-10-21T14:15:44.059331Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 37 sessionId: sid_rand_26|2ec695f4-cef1d2d4-6da2700c-9ed3aa32_0 is DEAD
2025-10-21T14:15:44.059721Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:44.061940Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:44.061972Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 38
2025-10-21T14:15:44.062644Z 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-10-21T14:15:44.062807Z 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]:47692
2025-10-21T14:15:44.062827Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=38 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:44.062840Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:44.065033Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 38 sessionId:  describe result for acl check
2025-10-21T14:15:44.065217Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:44.065234Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:44.065270Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:44.065290Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678545704303014:2724] (SourceId=sid_rand_27, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:44.070736Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678545704303014:2724] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:44.092301Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678545704303014:2724] (SourceId=sid_rand_27, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:44.093959Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303038:2724] connected; active server actors: 1
2025-10-21T14:15:44.095656Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303038:2724] disconnected; active server actors: 1
2025-10-21T14:15:44.095680Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303038:2724] disconnected no session
2025-10-21T14:15:44.094465Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678545704303014:2724] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_27
2025-10-21T14:15:44.094499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678545704303014:2724] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:44.114300Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678545704303014:2724] (SourceId=sid_rand_27, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:44.114352Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678545704303014:2724] (SourceId=sid_rand_27, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-21T14:15:44.114377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678545704303014:2724] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:44.114430Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 38 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-21T14:15:44.117217Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:44.117630Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_27|80061406-d7c44ab7-6e955390-6da717a1_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_27
2025-10-21T14:15:44.118893Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 38 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_27|80061406-d7c44ab7-6e955390-6da717a1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_27|80061406-d7c44ab7-6e955390-6da717a1_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:44.126186Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId: sid_rand_27|80061406-d7c44ab7-6e955390-6da717a1_0 grpc read done: success: 0 data: 
2025-10-21T14:15:44.126226Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 38 sessionId: sid_rand_27|80061406-d7c44ab7-6e955390-6da717a1_0 grpc read failed
2025-10-21T14:15:44.126563Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 38 sessionId: sid_rand_27|80061406-d7c44ab7-6e955390-6da717a1_0
2025-10-21T14:15:44.126589Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 38 sessionId: sid_rand_27|80061406-d7c44ab7-6e955390-6da717a1_0 is DEAD
2025-10-21T14:15:44.126956Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:44.127100Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:44.127121Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 39
2025-10-21T14:15:44.127814Z 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-10-21T14:15:44.127948Z 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]:47692
2025-10-21T14:15:44.127967Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=39 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:44.127979Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:44.129890Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 39 sessionId:  describe result for acl check
2025-10-21T14:15:44.130046Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:44.130064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:44.130082Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:44.130111Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678545704303050:2730] (SourceId=sid_rand_28, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:44.133569Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678545704303050:2730] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:44.155164Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678545704303050:2730] (SourceId=sid_rand_28, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:44.160687Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678545704303050:2730] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_28
2025-10-21T14:15:44.160728Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678545704303050:2730] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:44.159970Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303066:2730] connected; active server actors: 1
2025-10-21T14:15:44.162025Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303066:2730] disconnected; active server actors: 1
2025-10-21T14:15:44.162049Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303066:2730] disconnected no session
2025-10-21T14:15:44.177847Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678545704303050:2730] (SourceId=sid_rand_28, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:44.177891Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678545704303050:2730] (SourceId=sid_rand_28, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-21T14:15:44.177916Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678545704303050:2730] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:44.177956Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 39 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-21T14:15:44.182035Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:44.182996Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_28|d03df814-98648d52-3fbe57e6-a4dcdf09_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_28
2025-10-21T14:15:44.183565Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 39 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_28|d03df814-98648d52-3fbe57e6-a4dcdf09_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_28|d03df814-98648d52-3fbe57e6-a4dcdf09_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:44.188858Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId: sid_rand_28|d03df814-98648d52-3fbe57e6-a4dcdf09_0 grpc read done: success: 0 data: 
2025-10-21T14:15:44.188889Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 39 sessionId: sid_rand_28|d03df814-98648d52-3fbe57e6-a4dcdf09_0 grpc read failed
2025-10-21T14:15:44.189207Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 39 sessionId: sid_rand_28|d03df814-98648d52-3fbe57e6-a4dcdf09_0
2025-10-21T14:15:44.189232Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 39 sessionId: sid_rand_28|d03df814-98648d52-3fbe57e6-a4dcdf09_0 is DEAD
2025-10-21T14:15:44.190239Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:44.190368Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:44.190389Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 40
2025-10-21T14:15:44.195924Z 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-10-21T14:15:44.196109Z 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]:47692
2025-10-21T14:15:44.196137Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=40 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:44.196155Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:44.199341Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 40 sessionId:  describe result for acl check
2025-10-21T14:15:44.199532Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:44.199558Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:44.199578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:44.199598Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678545704303080:2734] (SourceId=sid_rand_29, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:44.204550Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678545704303080:2734] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:44.235530Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678545704303080:2734] (SourceId=sid_rand_29, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:44.244861Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303099:2734] connected; active server actors: 1
2025-10-21T14:15:44.246902Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303099:2734] disconnected; active server actors: 1
2025-10-21T14:15:44.245533Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678545704303080:2734] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_29
2025-10-21T14:15:44.246931Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303099:2734] disconnected no session
2025-10-21T14:15:44.245581Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678545704303080:2734] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:44.265643Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678545704303080:2734] (SourceId=sid_rand_29, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:44.265701Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678545704303080:2734] (SourceId=sid_rand_29, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-21T14:15:44.265731Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678545704303080:2734] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:44.265780Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 40 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-21T14:15:44.267694Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:44.268257Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_29|5832b38-cf32c6be-ad88f3c6-8afc0551_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_29
2025-10-21T14:15:44.268869Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 40 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_29|5832b38-cf32c6be-ad88f3c6-8afc0551_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_29|5832b38-cf32c6be-ad88f3c6-8afc0551_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:44.274159Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId: sid_rand_29|5832b38-cf32c6be-ad88f3c6-8afc0551_0 grpc read done: success: 0 data: 
2025-10-21T14:15:44.274191Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 40 sessionId: sid_rand_29|5832b38-cf32c6be-ad88f3c6-8afc0551_0 grpc read failed
2025-10-21T14:15:44.274238Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 40 sessionId: sid_rand_29|5832b38-cf32c6be-ad88f3c6-8afc0551_0 grpc closed
2025-10-21T14:15:44.274274Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 40 sessionId: sid_rand_29|5832b38-cf32c6be-ad88f3c6-8afc0551_0 is DEAD
2025-10-21T14:15:44.275352Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:44.275499Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:44.275520Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 41
2025-10-21T14:15:44.285027Z 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-10-21T14:15:44.285287Z 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]:47692
2025-10-21T14:15:44.285309Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=41 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:44.285327Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:44.287958Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 41 sessionId:  describe result for acl check
2025-10-21T14:15:44.288138Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:44.288158Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:44.288178Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:44.288199Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678545704303113:2738] (SourceId=sid_rand_30, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:44.296592Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678545704303113:2738] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:44.308051Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678545704303113:2738] (SourceId=sid_rand_30, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:44.311880Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678545704303113:2738] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_30
2025-10-21T14:15:44.311921Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678545704303113:2738] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:44.310727Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303129:2738] connected; active server actors: 1
2025-10-21T14:15:44.313843Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303129:2738] disconnected; active server actors: 1
2025-10-21T14:15:44.313871Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303129:2738] disconnected no session
2025-10-21T14:15:44.333039Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678545704303113:2738] (SourceId=sid_rand_30, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:44.333090Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678545704303113:2738] (SourceId=sid_rand_30, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-21T14:15:44.333117Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678545704303113:2738] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:44.333164Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 41 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-21T14:15:44.336313Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:44.338002Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 41 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_30|ea64acc6-eef82f7e-e9c10217-273c7b71_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_30|ea64acc6-eef82f7e-e9c10217-273c7b71_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:44.336776Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_30|ea64acc6-eef82f7e-e9c10217-273c7b71_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_30
2025-10-21T14:15:44.347545Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId: sid_rand_30|ea64acc6-eef82f7e-e9c10217-273c7b71_0 grpc read done: success: 0 data: 
2025-10-21T14:15:44.347586Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 41 sessionId: sid_rand_30|ea64acc6-eef82f7e-e9c10217-273c7b71_0 grpc read failed
2025-10-21T14:15:44.347624Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 41 sessionId: sid_rand_30|ea64acc6-eef82f7e-e9c10217-273c7b71_0 grpc closed
2025-10-21T14:15:44.347649Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 41 sessionId: sid_rand_30|ea64acc6-eef82f7e-e9c10217-273c7b71_0 is DEAD
2025-10-21T14:15:44.348717Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:44.348890Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:44.348912Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 42
2025-10-21T14:15:44.352021Z 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-10-21T14:15:44.352197Z 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]:47692
2025-10-21T14:15:44.352216Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=42 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:44.352230Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:44.354014Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 42 sessionId:  describe result for acl check
2025-10-21T14:15:44.354183Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:44.354200Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:44.354217Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:44.354237Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678545704303142:2742] (SourceId=sid_rand_31, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:44.358646Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678545704303142:2742] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:44.390667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678545704303142:2742] (SourceId=sid_rand_31, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:44.404759Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678545704303142:2742] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_31
2025-10-21T14:15:44.404810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678545704303142:2742] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:44.404143Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303161:2742] connected; active server actors: 1
2025-10-21T14:15:44.406198Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303161:2742] disconnected; active server actors: 1
2025-10-21T14:15:44.406228Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303161:2742] disconnected no session
2025-10-21T14:15:44.427138Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678545704303142:2742] (SourceId=sid_rand_31, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:44.427200Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678545704303142:2742] (SourceId=sid_rand_31, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-21T14:15:44.427226Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678545704303142:2742] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:44.427272Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 42 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-21T14:15:44.429873Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:44.430186Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_31|35516ef6-dc9c23dc-47225130-c8d4f577_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_31
2025-10-21T14:15:44.430799Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 42 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_31|35516ef6-dc9c23dc-47225130-c8d4f577_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_31|35516ef6-dc9c23dc-47225130-c8d4f577_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:44.433900Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId: sid_rand_31|35516ef6-dc9c23dc-47225130-c8d4f577_0 grpc read done: success: 0 data: 
2025-10-21T14:15:44.433934Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 42 sessionId: sid_rand_31|35516ef6-dc9c23dc-47225130-c8d4f577_0 grpc read failed
2025-10-21T14:15:44.434334Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 42 sessionId: sid_rand_31|35516ef6-dc9c23dc-47225130-c8d4f577_0
2025-10-21T14:15:44.434360Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 42 sessionId: sid_rand_31|35516ef6-dc9c23dc-47225130-c8d4f577_0 is DEAD
2025-10-21T14:15:44.434761Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:44.435621Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:44.435652Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 43
2025-10-21T14:15:44.436083Z 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-10-21T14:15:44.436235Z 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]:47692
2025-10-21T14:15:44.436253Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=43 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:44.436267Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:44.445183Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 43 sessionId:  describe result for acl check
2025-10-21T14:15:44.445408Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:44.445426Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:44.445445Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:44.445468Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678545704303175:2746] (SourceId=sid_rand_32, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:44.454281Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678545704303175:2746] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:44.476112Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678545704303175:2746] (SourceId=sid_rand_32, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:44.482917Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303194:2746] connected; active server actors: 1
2025-10-21T14:15:44.488944Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678545704303175:2746] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_32
2025-10-21T14:15:44.488997Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678545704303175:2746] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:44.490463Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303194:2746] disconnected; active server actors: 1
2025-10-21T14:15:44.490501Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303194:2746] disconnected no session
2025-10-21T14:15:44.508393Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678545704303175:2746] (SourceId=sid_rand_32, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:44.508438Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678545704303175:2746] (SourceId=sid_rand_32, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-21T14:15:44.508461Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678545704303175:2746] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:44.508501Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 43 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-21T14:15:44.515731Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:44.519988Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_32|87cfdbad-c249b96d-897b2e4b-153477bb_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_32
2025-10-21T14:15:44.528569Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 43 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_32|87cfdbad-c249b96d-897b2e4b-153477bb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_32|87cfdbad-c249b96d-897b2e4b-153477bb_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:44.537500Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId: sid_rand_32|87cfdbad-c249b96d-897b2e4b-153477bb_0 grpc read done: success: 0 data: 
2025-10-21T14:15:44.537546Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 43 sessionId: sid_rand_32|87cfdbad-c249b96d-897b2e4b-153477bb_0 grpc read failed
2025-10-21T14:15:44.537586Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 43 sessionId: sid_rand_32|87cfdbad-c249b96d-897b2e4b-153477bb_0 grpc closed
2025-10-21T14:15:44.537613Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 43 sessionId: sid_rand_32|87cfdbad-c249b96d-897b2e4b-153477bb_0 is DEAD
2025-10-21T14:15:44.538777Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:44.538933Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:44.538954Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 44
2025-10-21T14:15:44.544497Z 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-10-21T14:15:44.544683Z 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]:47692
2025-10-21T14:15:44.544710Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=44 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:44.544725Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:44.549007Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 44 sessionId:  describe result for acl check
2025-10-21T14:15:44.549182Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:44.549206Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:44.549222Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:44.549255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678545704303230:2751] (SourceId=sid_rand_33, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:44.560982Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678545704303230:2751] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:44.582561Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678545704303230:2751] (SourceId=sid_rand_33, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:44.584629Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303246:2751] connected; active server actors: 1
2025-10-21T14:15:44.585156Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678545704303230:2751] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_33
2025-10-21T14:15:44.585197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678545704303230:2751] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:44.588296Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303246:2751] disconnected; active server actors: 1
2025-10-21T14:15:44.588333Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303246:2751] disconnected no session
2025-10-21T14:15:44.611814Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678545704303230:2751] (SourceId=sid_rand_33, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:44.611866Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678545704303230:2751] (SourceId=sid_rand_33, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-21T14:15:44.611891Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678545704303230:2751] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:44.611941Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 44 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-21T14:15:44.615743Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:44.615903Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_33|f40c9cd-6fc7590a-9ab0c7e9-eef7156f_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_33
2025-10-21T14:15:44.616393Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 44 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_33|f40c9cd-6fc7590a-9ab0c7e9-eef7156f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_33|f40c9cd-6fc7590a-9ab0c7e9-eef7156f_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:44.619587Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId: sid_rand_33|f40c9cd-6fc7590a-9ab0c7e9-eef7156f_0 grpc read done: success: 0 data: 
2025-10-21T14:15:44.619623Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 44 sessionId: sid_rand_33|f40c9cd-6fc7590a-9ab0c7e9-eef7156f_0 grpc read failed
2025-10-21T14:15:44.619660Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 44 sessionId: sid_rand_33|f40c9cd-6fc7590a-9ab0c7e9-eef7156f_0 grpc closed
2025-10-21T14:15:44.619699Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 44 sessionId: sid_rand_33|f40c9cd-6fc7590a-9ab0c7e9-eef7156f_0 is DEAD
2025-10-21T14:15:44.619839Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:44.619866Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 45
2025-10-21T14:15:44.620226Z 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-10-21T14:15:44.620386Z 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]:47692
2025-10-21T14:15:44.620407Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=45 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:44.620424Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:44.620727Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:44.625444Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 45 sessionId:  describe result for acl check
2025-10-21T14:15:44.625641Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:44.625661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:44.625683Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:44.625707Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678545704303262:2760] (SourceId=sid_rand_34, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:44.630715Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678545704303262:2760] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:44.646784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678545704303262:2760] (SourceId=sid_rand_34, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:44.648541Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303282:2760] connected; active server actors: 1
2025-10-21T14:15:44.649060Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678545704303262:2760] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_34
2025-10-21T14:15:44.649094Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678545704303262:2760] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:44.650398Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303282:2760] disconnected; active server actors: 1
2025-10-21T14:15:44.650430Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303282:2760] disconnected no session
2025-10-21T14:15:44.677418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678545704303262:2760] (SourceId=sid_rand_34, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:44.677467Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678545704303262:2760] (SourceId=sid_rand_34, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-21T14:15:44.677494Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678545704303262:2760] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:44.677538Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 45 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-21T14:15:44.680064Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:44.680342Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_34|5a826d03-e40eade2-18287d59-7cca4d73_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_34
2025-10-21T14:15:44.680877Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 45 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_34|5a826d03-e40eade2-18287d59-7cca4d73_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_34|5a826d03-e40eade2-18287d59-7cca4d73_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:44.683743Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId: sid_rand_34|5a826d03-e40eade2-18287d59-7cca4d73_0 grpc read done: success: 0 data: 
2025-10-21T14:15:44.683774Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 45 sessionId: sid_rand_34|5a826d03-e40eade2-18287d59-7cca4d73_0 grpc read failed
2025-10-21T14:15:44.683810Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 45 sessionId: sid_rand_34|5a826d03-e40eade2-18287d59-7cca4d73_0 grpc closed
2025-10-21T14:15:44.683834Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 45 sessionId: sid_rand_34|5a826d03-e40eade2-18287d59-7cca4d73_0 is DEAD
2025-10-21T14:15:44.684798Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:44.684923Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:44.684944Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 46
2025-10-21T14:15:44.685637Z 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-10-21T14:15:44.685789Z 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]:47692
2025-10-21T14:15:44.685809Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=46 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:44.685822Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:44.689790Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 46 sessionId:  describe result for acl check
2025-10-21T14:15:44.689965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:44.689984Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:44.690005Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:44.690026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678545704303295:2765] (SourceId=sid_rand_35, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:44.694972Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678545704303295:2765] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:44.710862Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678545704303295:2765] (SourceId=sid_rand_35, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:44.712736Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303315:2765] connected; active server actors: 1
2025-10-21T14:15:44.713392Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678545704303295:2765] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_35
2025-10-21T14:15:44.713432Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678545704303295:2765] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:44.714880Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303315:2765] disconnected; active server actors: 1
2025-10-21T14:15:44.714916Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303315:2765] disconnected no session
2025-10-21T14:15:44.736536Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678545704303295:2765] (SourceId=sid_rand_35, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:44.736584Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678545704303295:2765] (SourceId=sid_rand_35, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-21T14:15:44.736610Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678545704303295:2765] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:44.736657Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 46 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-21T14:15:44.738933Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:44.739220Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_35|a0d1870a-b10e074-4511618f-a7d8fe76_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_35
2025-10-21T14:15:44.739808Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 46 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_35|a0d1870a-b10e074-4511618f-a7d8fe76_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_35|a0d1870a-b10e074-4511618f-a7d8fe76_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:44.747510Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId: sid_rand_35|a0d1870a-b10e074-4511618f-a7d8fe76_0 grpc read done: success: 0 data: 
2025-10-21T14:15:44.747551Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 46 sessionId: sid_rand_35|a0d1870a-b10e074-4511618f-a7d8fe76_0 grpc read failed
2025-10-21T14:15:44.747593Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 46 sessionId: sid_rand_35|a0d1870a-b10e074-4511618f-a7d8fe76_0 grpc closed
2025-10-21T14:15:44.747622Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 46 sessionId: sid_rand_35|a0d1870a-b10e074-4511618f-a7d8fe76_0 is DEAD
2025-10-21T14:15:44.748710Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:44.748845Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:44.748868Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 47
2025-10-21T14:15:44.755583Z 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-10-21T14:15:44.755808Z 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]:47692
2025-10-21T14:15:44.755830Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=47 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:44.755848Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:44.758339Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 47 sessionId:  describe result for acl check
2025-10-21T14:15:44.758541Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:44.758560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:44.758582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:44.758606Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678545704303328:2769] (SourceId=sid_rand_36, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:44.770721Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678545704303328:2769] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:44.794094Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678545704303328:2769] (SourceId=sid_rand_36, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:44.796287Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303344:2769] connected; active server actors: 1
2025-10-21T14:15:44.807527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678545704303328:2769] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_36
2025-10-21T14:15:44.807586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678545704303328:2769] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:44.811730Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303344:2769] disconnected; active server actors: 1
2025-10-21T14:15:44.811769Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303344:2769] disconnected no session
2025-10-21T14:15:44.841093Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678545704303328:2769] (SourceId=sid_rand_36, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:44.841145Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678545704303328:2769] (SourceId=sid_rand_36, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-21T14:15:44.841173Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678545704303328:2769] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:44.841219Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 47 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-21T14:15:44.843571Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:44.843833Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_36|90e888c2-2525e213-d9604688-eefad812_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_36
Init result: { status: SUCCESS init_response { session_id: "sid_rand_36|90e888c2-2525e213-d9604688-eefad812_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:44.844357Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 47 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_36|90e888c2-2525e213-d9604688-eefad812_0
2025-10-21T14:15:44.847652Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId: sid_rand_36|90e888c2-2525e213-d9604688-eefad812_0 grpc read done: success: 0 data: 
2025-10-21T14:15:44.847683Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 47 sessionId: sid_rand_36|90e888c2-2525e213-d9604688-eefad812_0 grpc read failed
2025-10-21T14:15:44.847720Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 47 sessionId: sid_rand_36|90e888c2-2525e213-d9604688-eefad812_0 grpc closed
2025-10-21T14:15:44.847748Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 47 sessionId: sid_rand_36|90e888c2-2525e213-d9604688-eefad812_0 is DEAD
2025-10-21T14:15:44.848820Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:44.848957Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:44.848982Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 48
2025-10-21T14:15:44.851250Z 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-10-21T14:15:44.851469Z 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]:47692
2025-10-21T14:15:44.851493Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=48 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:44.851511Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:44.853969Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 48 sessionId:  describe result for acl check
2025-10-21T14:15:44.854173Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:44.854194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:44.854216Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:44.854239Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678545704303358:2773] (SourceId=sid_rand_37, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:44.863908Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678545704303358:2773] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:44.894912Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678545704303358:2773] (SourceId=sid_rand_37, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:44.899909Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303381:2773] connected; active server actors: 1
2025-10-21T14:15:44.904372Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678545704303358:2773] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_37
2025-10-21T14:15:44.904415Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678545704303358:2773] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:44.905853Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303381:2773] disconnected; active server actors: 1
2025-10-21T14:15:44.905890Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303381:2773] disconnected no session
2025-10-21T14:15:44.926965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678545704303358:2773] (SourceId=sid_rand_37, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:44.927012Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678545704303358:2773] (SourceId=sid_rand_37, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-21T14:15:44.927038Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678545704303358:2773] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:44.927080Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 48 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-21T14:15:44.929805Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:44.930125Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_37|1b4b0fac-5ed6ad05-2abefec2-e8f1629f_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_37
Init result: { status: SUCCESS init_response { session_id: "sid_rand_37|1b4b0fac-5ed6ad05-2abefec2-e8f1629f_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:44.930684Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 48 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_37|1b4b0fac-5ed6ad05-2abefec2-e8f1629f_0
2025-10-21T14:15:44.933443Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId: sid_rand_37|1b4b0fac-5ed6ad05-2abefec2-e8f1629f_0 grpc read done: success: 0 data: 
2025-10-21T14:15:44.933468Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 48 sessionId: sid_rand_37|1b4b0fac-5ed6ad05-2abefec2-e8f1629f_0 grpc read failed
2025-10-21T14:15:44.933502Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 48 sessionId: sid_rand_37|1b4b0fac-5ed6ad05-2abefec2-e8f1629f_0 grpc closed
2025-10-21T14:15:44.933527Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 48 sessionId: sid_rand_37|1b4b0fac-5ed6ad05-2abefec2-e8f1629f_0 is DEAD
2025-10-21T14:15:44.934497Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:44.934617Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:44.934636Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 49
2025-10-21T14:15:44.935771Z 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-10-21T14:15:44.935963Z 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]:47692
2025-10-21T14:15:44.935986Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=49 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:44.936002Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:44.938795Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 49 sessionId:  describe result for acl check
2025-10-21T14:15:44.939015Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:44.939041Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:44.939063Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:44.939092Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678545704303394:2777] (SourceId=sid_rand_38, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:44.955538Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678545704303394:2777] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:44.983132Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678545704303394:2777] (SourceId=sid_rand_38, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:44.984888Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303423:2777] connected; active server actors: 1
2025-10-21T14:15:44.985574Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678545704303394:2777] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_38
2025-10-21T14:15:44.985620Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678545704303394:2777] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:44.989274Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303423:2777] disconnected; active server actors: 1
2025-10-21T14:15:44.989309Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678545704303423:2777] disconnected no session
2025-10-21T14:15:45.005845Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678545704303394:2777] (SourceId=sid_rand_38, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:45.005898Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678545704303394:2777] (SourceId=sid_rand_38, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-21T14:15:45.005925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678545704303394:2777] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:45.005970Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 49 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-21T14:15:45.008466Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:45.008736Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_38|7ac19bd5-d637e740-c6ba264c-98d97ca2_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_38
Init result: { status: SUCCESS init_response { session_id: "sid_rand_38|7ac19bd5-d637e740-c6ba264c-98d97ca2_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:45.009456Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 49 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_38|7ac19bd5-d637e740-c6ba264c-98d97ca2_0
2025-10-21T14:15:45.012437Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId: sid_rand_38|7ac19bd5-d637e740-c6ba264c-98d97ca2_0 grpc read done: success: 0 data: 
2025-10-21T14:15:45.012466Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 49 sessionId: sid_rand_38|7ac19bd5-d637e740-c6ba264c-98d97ca2_0 grpc read failed
2025-10-21T14:15:45.012499Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 49 sessionId: sid_rand_38|7ac19bd5-d637e740-c6ba264c-98d97ca2_0 grpc closed
2025-10-21T14:15:45.012527Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 49 sessionId: sid_rand_38|7ac19bd5-d637e740-c6ba264c-98d97ca2_0 is DEAD
2025-10-21T14:15:45.013508Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:45.013640Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:45.013662Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 50
2025-10-21T14:15:45.016538Z 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-10-21T14:15:45.016745Z 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]:47692
2025-10-21T14:15:45.016769Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=50 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:45.016789Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:45.025510Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 50 sessionId:  describe result for acl check
2025-10-21T14:15:45.025766Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:45.025788Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:45.025810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:45.025835Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678549999270732:2782] (SourceId=sid_rand_39, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:45.035075Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678549999270732:2782] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:45.055416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678549999270732:2782] (SourceId=sid_rand_39, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:45.064017Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270755:2782] connected; active server actors: 1
2025-10-21T14:15:45.066187Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270755:2782] disconnected; active server actors: 1
2025-10-21T14:15:45.066244Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270755:2782] disconnected no session
2025-10-21T14:15:45.064720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678549999270732:2782] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_39
2025-10-21T14:15:45.064762Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678549999270732:2782] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:45.104618Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678549999270732:2782] (SourceId=sid_rand_39, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:45.104671Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678549999270732:2782] (SourceId=sid_rand_39, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-21T14:15:45.104696Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678549999270732:2782] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:45.104742Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 50 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-21T14:15:45.108057Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_39|eef0260b-846b7a33-e6f07311-a0a7caf9_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_39
2025-10-21T14:15:45.107714Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:45.109233Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 50 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_39|eef0260b-846b7a33-e6f07311-a0a7caf9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_39|eef0260b-846b7a33-e6f07311-a0a7caf9_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:45.111961Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId: sid_rand_39|eef0260b-846b7a33-e6f07311-a0a7caf9_0 grpc read done: success: 0 data: 
2025-10-21T14:15:45.111991Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 50 sessionId: sid_rand_39|eef0260b-846b7a33-e6f07311-a0a7caf9_0 grpc read failed
2025-10-21T14:15:45.112028Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 50 sessionId: sid_rand_39|eef0260b-846b7a33-e6f07311-a0a7caf9_0 grpc closed
2025-10-21T14:15:45.112052Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 50 sessionId: sid_rand_39|eef0260b-846b7a33-e6f07311-a0a7caf9_0 is DEAD
2025-10-21T14:15:45.113026Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:45.113161Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:45.113182Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 51
2025-10-21T14:15:45.114228Z 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-10-21T14:15:45.114423Z 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]:47692
2025-10-21T14:15:45.114468Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=51 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:45.114486Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:45.118156Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 51 sessionId:  describe result for acl check
2025-10-21T14:15:45.118357Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:45.118377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:45.118395Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:45.118419Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678549999270767:2786] (SourceId=sid_rand_40, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:45.137234Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678549999270767:2786] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:45.163743Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678549999270767:2786] (SourceId=sid_rand_40, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:45.172404Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270784:2786] connected; active server actors: 1
2025-10-21T14:15:45.177096Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678549999270767:2786] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_40
2025-10-21T14:15:45.177143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678549999270767:2786] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:45.178733Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270784:2786] disconnected; active server actors: 1
2025-10-21T14:15:45.178770Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270784:2786] disconnected no session
2025-10-21T14:15:45.200669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678549999270767:2786] (SourceId=sid_rand_40, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:45.200726Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678549999270767:2786] (SourceId=sid_rand_40, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-21T14:15:45.200753Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678549999270767:2786] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:45.200799Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 51 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-21T14:15:45.203738Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:45.211562Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_40|70863ad9-8c3dd2fa-ca6f9333-12d21fa_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_40
2025-10-21T14:15:45.231681Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 51 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_40|70863ad9-8c3dd2fa-ca6f9333-12d21fa_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_40|70863ad9-8c3dd2fa-ca6f9333-12d21fa_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:45.238498Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:45.238539Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 52
2025-10-21T14:15:45.238782Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId: sid_rand_40|70863ad9-8c3dd2fa-ca6f9333-12d21fa_0 grpc read done: success: 0 data: 
2025-10-21T14:15:45.238807Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 51 sessionId: sid_rand_40|70863ad9-8c3dd2fa-ca6f9333-12d21fa_0 grpc read failed
2025-10-21T14:15:45.238843Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 51 sessionId: sid_rand_40|70863ad9-8c3dd2fa-ca6f9333-12d21fa_0 grpc closed
2025-10-21T14:15:45.238866Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 51 sessionId: sid_rand_40|70863ad9-8c3dd2fa-ca6f9333-12d21fa_0 is DEAD
2025-10-21T14:15:45.239897Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:45.240910Z 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-10-21T14:15:45.241120Z 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]:47692
2025-10-21T14:15:45.241152Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=52 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:45.241170Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:45.244032Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 52 sessionId:  describe result for acl check
2025-10-21T14:15:45.244225Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:45.244244Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:45.244265Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:45.244287Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678549999270798:2790] (SourceId=sid_rand_41, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:45.249450Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678549999270798:2790] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:45.266511Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678549999270798:2790] (SourceId=sid_rand_41, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:45.269150Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270817:2790] connected; active server actors: 1
2025-10-21T14:15:45.270761Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678549999270798:2790] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_41
2025-10-21T14:15:45.270804Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678549999270798:2790] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:45.272376Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270817:2790] disconnected; active server actors: 1
2025-10-21T14:15:45.272420Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270817:2790] disconnected no session
2025-10-21T14:15:45.290124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678549999270798:2790] (SourceId=sid_rand_41, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:45.290180Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678549999270798:2790] (SourceId=sid_rand_41, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-21T14:15:45.290205Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678549999270798:2790] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:45.290256Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 52 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-21T14:15:45.292065Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
Init result: { status: SUCCESS init_response { session_id: "sid_rand_41|a62ac8a9-4f0d8ad4-b3cb3ee6-d545f144_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:45.293677Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_41|a62ac8a9-4f0d8ad4-b3cb3ee6-d545f144_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_41
2025-10-21T14:15:45.294263Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 52 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_41|a62ac8a9-4f0d8ad4-b3cb3ee6-d545f144_0
2025-10-21T14:15:45.297447Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId: sid_rand_41|a62ac8a9-4f0d8ad4-b3cb3ee6-d545f144_0 grpc read done: success: 0 data: 
2025-10-21T14:15:45.297473Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 52 sessionId: sid_rand_41|a62ac8a9-4f0d8ad4-b3cb3ee6-d545f144_0 grpc read failed
2025-10-21T14:15:45.297510Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 52 sessionId: sid_rand_41|a62ac8a9-4f0d8ad4-b3cb3ee6-d545f144_0 grpc closed
2025-10-21T14:15:45.297539Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 52 sessionId: sid_rand_41|a62ac8a9-4f0d8ad4-b3cb3ee6-d545f144_0 is DEAD
2025-10-21T14:15:45.298611Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:45.298771Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:45.298792Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 53
2025-10-21T14:15:45.309663Z 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-10-21T14:15:45.309886Z 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]:47692
2025-10-21T14:15:45.309910Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=53 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:45.309929Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:45.313019Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 53 sessionId:  describe result for acl check
2025-10-21T14:15:45.313222Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:45.313259Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:45.313278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:45.313299Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678549999270831:2794] (SourceId=sid_rand_42, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:45.319683Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678549999270831:2794] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:45.334035Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678549999270831:2794] (SourceId=sid_rand_42, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:45.336759Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678549999270831:2794] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_42
2025-10-21T14:15:45.336800Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678549999270831:2794] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:45.336150Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270847:2794] connected; active server actors: 1
2025-10-21T14:15:45.338464Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270847:2794] disconnected; active server actors: 1
2025-10-21T14:15:45.338494Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270847:2794] disconnected no session
2025-10-21T14:15:45.358477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678549999270831:2794] (SourceId=sid_rand_42, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:45.358526Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678549999270831:2794] (SourceId=sid_rand_42, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-21T14:15:45.358552Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678549999270831:2794] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:45.358598Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 53 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-21T14:15:45.361798Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:45.362152Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_42|901b1ec2-eae378e-93101cba-6be6b57f_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_42
2025-10-21T14:15:45.363222Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 53 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_42|901b1ec2-eae378e-93101cba-6be6b57f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_42|901b1ec2-eae378e-93101cba-6be6b57f_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:45.370873Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId: sid_rand_42|901b1ec2-eae378e-93101cba-6be6b57f_0 grpc read done: success: 0 data: 
2025-10-21T14:15:45.370910Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 53 sessionId: sid_rand_42|901b1ec2-eae378e-93101cba-6be6b57f_0 grpc read failed
2025-10-21T14:15:45.370948Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 53 sessionId: sid_rand_42|901b1ec2-eae378e-93101cba-6be6b57f_0 grpc closed
2025-10-21T14:15:45.370984Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 53 sessionId: sid_rand_42|901b1ec2-eae378e-93101cba-6be6b57f_0 is DEAD
2025-10-21T14:15:45.371933Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:45.372029Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:45.372052Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 54
2025-10-21T14:15:45.372869Z 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-10-21T14:15:45.373033Z 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]:47692
2025-10-21T14:15:45.373059Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=54 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:45.373073Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:45.375105Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 54 sessionId:  describe result for acl check
2025-10-21T14:15:45.375292Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:45.375313Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:45.375332Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:45.375354Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678549999270860:2798] (SourceId=sid_rand_43, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:45.387473Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678549999270860:2798] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:45.413069Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678549999270860:2798] (SourceId=sid_rand_43, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:45.421020Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270879:2798] connected; active server actors: 1
2025-10-21T14:15:45.423060Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270879:2798] disconnected; active server actors: 1
2025-10-21T14:15:45.423088Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270879:2798] disconnected no session
2025-10-21T14:15:45.421666Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678549999270860:2798] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_43
2025-10-21T14:15:45.421715Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678549999270860:2798] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:45.508694Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678549999270860:2798] (SourceId=sid_rand_43, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:45.508758Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678549999270860:2798] (SourceId=sid_rand_43, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-21T14:15:45.508783Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678549999270860:2798] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:45.508831Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 54 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-21T14:15:45.511242Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:45.511470Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_43|1075e0cd-59232223-52d92504-956c06ec_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_43
2025-10-21T14:15:45.511966Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 54 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_43|1075e0cd-59232223-52d92504-956c06ec_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_43|1075e0cd-59232223-52d92504-956c06ec_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:45.515798Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId: sid_rand_43|1075e0cd-59232223-52d92504-956c06ec_0 grpc read done: success: 0 data: 
2025-10-21T14:15:45.515837Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 54 sessionId: sid_rand_43|1075e0cd-59232223-52d92504-956c06ec_0 grpc read failed
2025-10-21T14:15:45.515873Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 54 sessionId: sid_rand_43|1075e0cd-59232223-52d92504-956c06ec_0 grpc closed
2025-10-21T14:15:45.515898Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 54 sessionId: sid_rand_43|1075e0cd-59232223-52d92504-956c06ec_0 is DEAD
2025-10-21T14:15:45.516965Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:45.517090Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:45.517112Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 55
2025-10-21T14:15:45.518298Z 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-10-21T14:15:45.518465Z 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]:47692
2025-10-21T14:15:45.518488Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=55 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:45.518511Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:45.520733Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 55 sessionId:  describe result for acl check
2025-10-21T14:15:45.520917Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:45.520936Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:45.520955Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:45.520978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678549999270895:2803] (SourceId=sid_rand_44, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:45.529821Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678549999270895:2803] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:45.576295Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678549999270895:2803] (SourceId=sid_rand_44, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:45.592040Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270919:2803] connected; active server actors: 1
2025-10-21T14:15:45.595936Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678549999270895:2803] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_44
2025-10-21T14:15:45.595981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678549999270895:2803] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:45.597461Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270919:2803] disconnected; active server actors: 1
2025-10-21T14:15:45.597497Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270919:2803] disconnected no session
2025-10-21T14:15:45.635771Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678549999270895:2803] (SourceId=sid_rand_44, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:45.635827Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678549999270895:2803] (SourceId=sid_rand_44, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-21T14:15:45.635855Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678549999270895:2803] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:45.635903Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 55 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-21T14:15:45.643347Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
Init result: { status: SUCCESS init_response { session_id: "sid_rand_44|6b23f695-b3e6fcd8-74a3912e-9491d006_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:45.649890Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_44|6b23f695-b3e6fcd8-74a3912e-9491d006_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_44
2025-10-21T14:15:45.650469Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 55 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_44|6b23f695-b3e6fcd8-74a3912e-9491d006_0
2025-10-21T14:15:45.658676Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId: sid_rand_44|6b23f695-b3e6fcd8-74a3912e-9491d006_0 grpc read done: success: 0 data: 
2025-10-21T14:15:45.658714Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 55 sessionId: sid_rand_44|6b23f695-b3e6fcd8-74a3912e-9491d006_0 grpc read failed
2025-10-21T14:15:45.658750Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 55 sessionId: sid_rand_44|6b23f695-b3e6fcd8-74a3912e-9491d006_0 grpc closed
2025-10-21T14:15:45.658778Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 55 sessionId: sid_rand_44|6b23f695-b3e6fcd8-74a3912e-9491d006_0 is DEAD
2025-10-21T14:15:45.663402Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:45.663558Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:45.663577Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 56
2025-10-21T14:15:45.667687Z 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-10-21T14:15:45.667884Z 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]:47692
2025-10-21T14:15:45.667904Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=56 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:45.667920Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:45.670268Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 56 sessionId:  describe result for acl check
2025-10-21T14:15:45.670457Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:45.670479Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:45.670497Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:45.670521Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678549999270946:2814] (SourceId=sid_rand_45, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:45.680029Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678549999270946:2814] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:45.719122Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678549999270946:2814] (SourceId=sid_rand_45, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:45.734164Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270966:2814] connected; active server actors: 1
2025-10-21T14:15:45.743656Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678549999270946:2814] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_45
2025-10-21T14:15:45.743703Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678549999270946:2814] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:45.745178Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270966:2814] disconnected; active server actors: 1
2025-10-21T14:15:45.745218Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270966:2814] disconnected no session
2025-10-21T14:15:45.766365Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678549999270946:2814] (SourceId=sid_rand_45, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:45.766420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678549999270946:2814] (SourceId=sid_rand_45, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-21T14:15:45.766447Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678549999270946:2814] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:45.766491Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 56 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-21T14:15:45.772078Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:45.772726Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_45|d81750d0-a6bd1b55-47f75ec4-158b2273_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_45
2025-10-21T14:15:45.773893Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 56 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_45|d81750d0-a6bd1b55-47f75ec4-158b2273_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_45|d81750d0-a6bd1b55-47f75ec4-158b2273_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:45.791505Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId: sid_rand_45|d81750d0-a6bd1b55-47f75ec4-158b2273_0 grpc read done: success: 0 data: 
2025-10-21T14:15:45.791553Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 56 sessionId: sid_rand_45|d81750d0-a6bd1b55-47f75ec4-158b2273_0 grpc read failed
2025-10-21T14:15:45.791605Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 56 sessionId: sid_rand_45|d81750d0-a6bd1b55-47f75ec4-158b2273_0 grpc closed
2025-10-21T14:15:45.791633Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 56 sessionId: sid_rand_45|d81750d0-a6bd1b55-47f75ec4-158b2273_0 is DEAD
2025-10-21T14:15:45.792819Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:45.793006Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:45.793028Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 57
2025-10-21T14:15:45.799613Z 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-10-21T14:15:45.799833Z 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]:47692
2025-10-21T14:15:45.799856Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=57 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:45.799874Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:45.806085Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 57 sessionId:  describe result for acl check
2025-10-21T14:15:45.806295Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:45.806314Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:45.806332Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:45.806353Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678549999270978:2818] (SourceId=sid_rand_46, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:45.810997Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678549999270978:2818] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:45.841847Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678549999270978:2818] (SourceId=sid_rand_46, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:45.843391Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270997:2818] connected; active server actors: 1
2025-10-21T14:15:45.844239Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678549999270978:2818] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_46
2025-10-21T14:15:45.844278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678549999270978:2818] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:45.845745Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270997:2818] disconnected; active server actors: 1
2025-10-21T14:15:45.845782Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999270997:2818] disconnected no session
2025-10-21T14:15:45.883784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678549999270978:2818] (SourceId=sid_rand_46, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:45.883839Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678549999270978:2818] (SourceId=sid_rand_46, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-21T14:15:45.883870Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678549999270978:2818] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:45.883918Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 57 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-21T14:15:45.887738Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:45.887992Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_46|cd48a6d2-b9161e17-fd378fa3-e76f1e4a_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_46
Init result: { status: SUCCESS init_response { session_id: "sid_rand_46|cd48a6d2-b9161e17-fd378fa3-e76f1e4a_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:45.892694Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 57 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_46|cd48a6d2-b9161e17-fd378fa3-e76f1e4a_0
2025-10-21T14:15:45.895572Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId: sid_rand_46|cd48a6d2-b9161e17-fd378fa3-e76f1e4a_0 grpc read done: success: 0 data: 
2025-10-21T14:15:45.895607Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 57 sessionId: sid_rand_46|cd48a6d2-b9161e17-fd378fa3-e76f1e4a_0 grpc read failed
2025-10-21T14:15:45.895647Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 57 sessionId: sid_rand_46|cd48a6d2-b9161e17-fd378fa3-e76f1e4a_0 grpc closed
2025-10-21T14:15:45.895675Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 57 sessionId: sid_rand_46|cd48a6d2-b9161e17-fd378fa3-e76f1e4a_0 is DEAD
2025-10-21T14:15:45.896690Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:45.896830Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:45.896855Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 58
2025-10-21T14:15:45.898044Z 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-10-21T14:15:45.898222Z 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]:47692
2025-10-21T14:15:45.898244Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=58 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:45.898261Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:45.900565Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 58 sessionId:  describe result for acl check
2025-10-21T14:15:45.900753Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:45.900772Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:45.900792Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:45.900816Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678549999271011:2822] (SourceId=sid_rand_47, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:45.909162Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678549999271011:2822] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:45.932291Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678549999271011:2822] (SourceId=sid_rand_47, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:45.939544Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999271027:2822] connected; active server actors: 1
2025-10-21T14:15:45.944144Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678549999271011:2822] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_47
2025-10-21T14:15:45.944197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678549999271011:2822] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:45.945710Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999271027:2822] disconnected; active server actors: 1
2025-10-21T14:15:45.945754Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678549999271027:2822] disconnected no session
2025-10-21T14:15:45.991447Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678549999271011:2822] (SourceId=sid_rand_47, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:45.991501Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678549999271011:2822] (SourceId=sid_rand_47, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-21T14:15:45.991528Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678549999271011:2822] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:45.991575Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 58 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-21T14:15:46.015628Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:46.021215Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 58 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_47|cabbd3a8-22883fbc-48604474-22cf7fd1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_47|cabbd3a8-22883fbc-48604474-22cf7fd1_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:46.019908Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_47|cabbd3a8-22883fbc-48604474-22cf7fd1_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_47
2025-10-21T14:15:46.024078Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId: sid_rand_47|cabbd3a8-22883fbc-48604474-22cf7fd1_0 grpc read done: success: 0 data: 
2025-10-21T14:15:46.024111Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 58 sessionId: sid_rand_47|cabbd3a8-22883fbc-48604474-22cf7fd1_0 grpc read failed
2025-10-21T14:15:46.024145Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 58 sessionId: sid_rand_47|cabbd3a8-22883fbc-48604474-22cf7fd1_0 grpc closed
2025-10-21T14:15:46.024171Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 58 sessionId: sid_rand_47|cabbd3a8-22883fbc-48604474-22cf7fd1_0 is DEAD
2025-10-21T14:15:46.025116Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:46.025268Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:46.025291Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 59
2025-10-21T14:15:46.031670Z 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-10-21T14:15:46.031868Z 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]:47692
2025-10-21T14:15:46.031888Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=59 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:46.031905Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:46.034192Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 59 sessionId:  describe result for acl check
2025-10-21T14:15:46.034378Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:46.034398Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:46.034417Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:46.034439Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678554294238348:2827] (SourceId=sid_rand_48, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:46.050845Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678554294238348:2827] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:46.070652Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678554294238348:2827] (SourceId=sid_rand_48, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:46.072914Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678554294238348:2827] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_48
2025-10-21T14:15:46.072951Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678554294238348:2827] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:46.072370Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238371:2827] connected; active server actors: 1
2025-10-21T14:15:46.074336Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238371:2827] disconnected; active server actors: 1
2025-10-21T14:15:46.074362Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238371:2827] disconnected no session
2025-10-21T14:15:46.109401Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678554294238348:2827] (SourceId=sid_rand_48, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:46.109452Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678554294238348:2827] (SourceId=sid_rand_48, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-21T14:15:46.109478Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678554294238348:2827] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:46.109525Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 59 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-21T14:15:46.111986Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:46.112248Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_48|6c0c3085-aea6a8b1-99d2e31-8c6f9c50_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_48
2025-10-21T14:15:46.112787Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 59 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_48|6c0c3085-aea6a8b1-99d2e31-8c6f9c50_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_48|6c0c3085-aea6a8b1-99d2e31-8c6f9c50_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:46.115832Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId: sid_rand_48|6c0c3085-aea6a8b1-99d2e31-8c6f9c50_0 grpc read done: success: 0 data: 
2025-10-21T14:15:46.115865Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 59 sessionId: sid_rand_48|6c0c3085-aea6a8b1-99d2e31-8c6f9c50_0 grpc read failed
2025-10-21T14:15:46.115901Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 59 sessionId: sid_rand_48|6c0c3085-aea6a8b1-99d2e31-8c6f9c50_0 grpc closed
2025-10-21T14:15:46.115926Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 59 sessionId: sid_rand_48|6c0c3085-aea6a8b1-99d2e31-8c6f9c50_0 is DEAD
2025-10-21T14:15:46.117440Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:46.117587Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:46.117610Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 60
2025-10-21T14:15:46.117996Z 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-10-21T14:15:46.118154Z 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]:47692
2025-10-21T14:15:46.118173Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=60 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:46.118189Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:46.120144Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 60 sessionId:  describe result for acl check
2025-10-21T14:15:46.120328Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:46.120347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:46.120366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:46.120388Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678554294238384:2831] (SourceId=sid_rand_49, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:46.134545Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678554294238384:2831] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:46.165714Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678554294238384:2831] (SourceId=sid_rand_49, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:46.167932Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238408:2831] connected; active server actors: 1
2025-10-21T14:15:46.172115Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678554294238384:2831] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_49
2025-10-21T14:15:46.172155Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678554294238384:2831] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:46.174924Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238408:2831] disconnected; active server actors: 1
2025-10-21T14:15:46.174961Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238408:2831] disconnected no session
2025-10-21T14:15:46.198905Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678554294238384:2831] (SourceId=sid_rand_49, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:46.198955Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678554294238384:2831] (SourceId=sid_rand_49, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-21T14:15:46.198978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678554294238384:2831] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:46.199021Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 60 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-21T14:15:46.201082Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:46.201472Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_49|ef5cf9a3-64f5a0b6-9f038c21-dec15b3_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_49
2025-10-21T14:15:46.202175Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 60 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_49|ef5cf9a3-64f5a0b6-9f038c21-dec15b3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_49|ef5cf9a3-64f5a0b6-9f038c21-dec15b3_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:46.205354Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId: sid_rand_49|ef5cf9a3-64f5a0b6-9f038c21-dec15b3_0 grpc read done: success: 0 data: 
2025-10-21T14:15:46.205383Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 60 sessionId: sid_rand_49|ef5cf9a3-64f5a0b6-9f038c21-dec15b3_0 grpc read failed
2025-10-21T14:15:46.205417Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 60 sessionId: sid_rand_49|ef5cf9a3-64f5a0b6-9f038c21-dec15b3_0 grpc closed
2025-10-21T14:15:46.205440Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 60 sessionId: sid_rand_49|ef5cf9a3-64f5a0b6-9f038c21-dec15b3_0 is DEAD
2025-10-21T14:15:46.206299Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:46.206415Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:46.206434Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 61
2025-10-21T14:15:46.207482Z 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-10-21T14:15:46.207634Z 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]:47692
2025-10-21T14:15:46.207653Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=61 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:46.207669Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:46.213112Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 61 sessionId:  describe result for acl check
2025-10-21T14:15:46.213328Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:46.213347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:46.213367Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:46.213391Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678554294238421:2837] (SourceId=sid_rand_50, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:46.217821Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678554294238421:2837] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:46.237965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678554294238421:2837] (SourceId=sid_rand_50, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:46.239693Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238442:2837] connected; active server actors: 1
2025-10-21T14:15:46.240527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678554294238421:2837] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_50
2025-10-21T14:15:46.240567Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678554294238421:2837] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:46.242124Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238442:2837] disconnected; active server actors: 1
2025-10-21T14:15:46.242157Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238442:2837] disconnected no session
2025-10-21T14:15:46.254801Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678554294238421:2837] (SourceId=sid_rand_50, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:46.254849Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678554294238421:2837] (SourceId=sid_rand_50, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-21T14:15:46.254873Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678554294238421:2837] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:46.254915Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 61 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-21T14:15:46.257323Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:46.257619Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_50|125794ae-662e2707-dc40dd8-9b7190aa_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_50
2025-10-21T14:15:46.258306Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 61 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_50|125794ae-662e2707-dc40dd8-9b7190aa_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_50|125794ae-662e2707-dc40dd8-9b7190aa_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:46.261195Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId: sid_rand_50|125794ae-662e2707-dc40dd8-9b7190aa_0 grpc read done: success: 0 data: 
2025-10-21T14:15:46.261257Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 61 sessionId: sid_rand_50|125794ae-662e2707-dc40dd8-9b7190aa_0 grpc read failed
2025-10-21T14:15:46.261297Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 61 sessionId: sid_rand_50|125794ae-662e2707-dc40dd8-9b7190aa_0 grpc closed
2025-10-21T14:15:46.261321Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 61 sessionId: sid_rand_50|125794ae-662e2707-dc40dd8-9b7190aa_0 is DEAD
2025-10-21T14:15:46.262199Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:46.262319Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:46.262340Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 62
2025-10-21T14:15:46.263277Z 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-10-21T14:15:46.263465Z 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]:47692
2025-10-21T14:15:46.263484Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=62 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:46.263498Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:46.265518Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 62 sessionId:  describe result for acl check
2025-10-21T14:15:46.265704Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:46.265722Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:46.265742Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:46.265763Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678554294238455:2841] (SourceId=sid_rand_51, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:46.270141Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678554294238455:2841] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:46.280072Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678554294238455:2841] (SourceId=sid_rand_51, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:46.281034Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238471:2841] connected; active server actors: 1
2025-10-21T14:15:46.282878Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238471:2841] disconnected; active server actors: 1
2025-10-21T14:15:46.282914Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238471:2841] disconnected no session
2025-10-21T14:15:46.281598Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678554294238455:2841] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_51
2025-10-21T14:15:46.281634Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678554294238455:2841] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:46.305565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678554294238455:2841] (SourceId=sid_rand_51, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:46.305616Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678554294238455:2841] (SourceId=sid_rand_51, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-21T14:15:46.305640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678554294238455:2841] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:46.305681Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 62 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-21T14:15:46.308067Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:46.308282Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_51|42563ab8-c4e0015d-d0dd9ea2-35a448e_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_51
2025-10-21T14:15:46.308761Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 62 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_51|42563ab8-c4e0015d-d0dd9ea2-35a448e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_51|42563ab8-c4e0015d-d0dd9ea2-35a448e_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:46.312501Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId: sid_rand_51|42563ab8-c4e0015d-d0dd9ea2-35a448e_0 grpc read done: success: 0 data: 
2025-10-21T14:15:46.312533Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 62 sessionId: sid_rand_51|42563ab8-c4e0015d-d0dd9ea2-35a448e_0 grpc read failed
2025-10-21T14:15:46.312574Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 62 sessionId: sid_rand_51|42563ab8-c4e0015d-d0dd9ea2-35a448e_0 grpc closed
2025-10-21T14:15:46.312598Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 62 sessionId: sid_rand_51|42563ab8-c4e0015d-d0dd9ea2-35a448e_0 is DEAD
2025-10-21T14:15:46.313466Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:46.317710Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:46.317746Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 63
2025-10-21T14:15:46.318243Z 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-10-21T14:15:46.318399Z 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]:47692
2025-10-21T14:15:46.318419Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=63 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:46.318434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:46.320434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 63 sessionId:  describe result for acl check
2025-10-21T14:15:46.320612Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:46.320628Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:46.320645Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:46.320664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678554294238485:2845] (SourceId=sid_rand_52, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:46.328875Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678554294238485:2845] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:46.337126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678554294238485:2845] (SourceId=sid_rand_52, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:46.339182Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678554294238485:2845] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_52
2025-10-21T14:15:46.339216Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678554294238485:2845] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:46.338693Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238501:2845] connected; active server actors: 1
2025-10-21T14:15:46.340529Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238501:2845] disconnected; active server actors: 1
2025-10-21T14:15:46.340556Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238501:2845] disconnected no session
2025-10-21T14:15:46.373579Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678554294238485:2845] (SourceId=sid_rand_52, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:46.373626Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678554294238485:2845] (SourceId=sid_rand_52, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-21T14:15:46.373651Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678554294238485:2845] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:46.373695Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 63 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-21T14:15:46.381150Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:46.381648Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_52|b7946c18-d8dc5495-b5633434-52ab7627_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_52
2025-10-21T14:15:46.396267Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 63 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_52|b7946c18-d8dc5495-b5633434-52ab7627_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_52|b7946c18-d8dc5495-b5633434-52ab7627_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:46.400986Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId: sid_rand_52|b7946c18-d8dc5495-b5633434-52ab7627_0 grpc read done: success: 0 data: 
2025-10-21T14:15:46.401015Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 63 sessionId: sid_rand_52|b7946c18-d8dc5495-b5633434-52ab7627_0 grpc read failed
2025-10-21T14:15:46.401048Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 63 sessionId: sid_rand_52|b7946c18-d8dc5495-b5633434-52ab7627_0 grpc closed
2025-10-21T14:15:46.401071Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 63 sessionId: sid_rand_52|b7946c18-d8dc5495-b5633434-52ab7627_0 is DEAD
2025-10-21T14:15:46.401960Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:46.402106Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:46.402127Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 64
2025-10-21T14:15:46.403661Z 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-10-21T14:15:46.403836Z 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]:47692
2025-10-21T14:15:46.403857Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=64 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:46.403871Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:46.406170Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 64 sessionId:  describe result for acl check
2025-10-21T14:15:46.406344Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:46.406362Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:46.406381Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:46.406403Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678554294238515:2849] (SourceId=sid_rand_53, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:46.411028Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678554294238515:2849] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:46.430102Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678554294238515:2849] (SourceId=sid_rand_53, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:46.431798Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238534:2849] connected; active server actors: 1
2025-10-21T14:15:46.432424Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678554294238515:2849] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_53
2025-10-21T14:15:46.432460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678554294238515:2849] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:46.433806Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238534:2849] disconnected; active server actors: 1
2025-10-21T14:15:46.433841Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238534:2849] disconnected no session
2025-10-21T14:15:46.455548Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678554294238515:2849] (SourceId=sid_rand_53, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:46.455598Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678554294238515:2849] (SourceId=sid_rand_53, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-21T14:15:46.455626Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678554294238515:2849] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:46.456816Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 64 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-21T14:15:46.459321Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:46.459615Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_53|bc9a6ffe-88c890c1-d17fa7ef-1695cb87_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_53
2025-10-21T14:15:46.463900Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 64 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_53|bc9a6ffe-88c890c1-d17fa7ef-1695cb87_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_53|bc9a6ffe-88c890c1-d17fa7ef-1695cb87_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:46.469986Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId: sid_rand_53|bc9a6ffe-88c890c1-d17fa7ef-1695cb87_0 grpc read done: success: 0 data: 
2025-10-21T14:15:46.470019Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 64 sessionId: sid_rand_53|bc9a6ffe-88c890c1-d17fa7ef-1695cb87_0 grpc read failed
2025-10-21T14:15:46.470055Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 64 sessionId: sid_rand_53|bc9a6ffe-88c890c1-d17fa7ef-1695cb87_0 grpc closed
2025-10-21T14:15:46.470079Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 64 sessionId: sid_rand_53|bc9a6ffe-88c890c1-d17fa7ef-1695cb87_0 is DEAD
2025-10-21T14:15:46.540402Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:46.540434Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 65
2025-10-21T14:15:46.540601Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:46.540982Z 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-10-21T14:15:46.541126Z 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]:47692
2025-10-21T14:15:46.541144Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=65 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:46.541158Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:46.545679Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 65 sessionId:  describe result for acl check
2025-10-21T14:15:46.545850Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:46.545867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:46.545884Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:46.545904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678554294238554:2854] (SourceId=sid_rand_54, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:46.550176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678554294238554:2854] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:46.575717Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678554294238554:2854] (SourceId=sid_rand_54, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:46.576520Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238590:2854] connected; active server actors: 1
2025-10-21T14:15:46.579344Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238590:2854] disconnected; active server actors: 1
2025-10-21T14:15:46.579397Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238590:2854] disconnected no session
2025-10-21T14:15:46.578575Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678554294238554:2854] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_54
2025-10-21T14:15:46.578617Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678554294238554:2854] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:46.588312Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678554294238554:2854] (SourceId=sid_rand_54, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:46.588346Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678554294238554:2854] (SourceId=sid_rand_54, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-21T14:15:46.588365Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678554294238554:2854] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:46.588397Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 65 sessionId:  partition: 5 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_54|800a0f88-22ddfb24-c8163a42-df6afd69_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:46.589386Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:46.589552Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_54|800a0f88-22ddfb24-c8163a42-df6afd69_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_54
2025-10-21T14:15:46.591676Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 65 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_54|800a0f88-22ddfb24-c8163a42-df6afd69_0
2025-10-21T14:15:46.594274Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId: sid_rand_54|800a0f88-22ddfb24-c8163a42-df6afd69_0 grpc read done: success: 0 data: 
2025-10-21T14:15:46.594307Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 65 sessionId: sid_rand_54|800a0f88-22ddfb24-c8163a42-df6afd69_0 grpc read failed
2025-10-21T14:15:46.594344Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 65 sessionId: sid_rand_54|800a0f88-22ddfb24-c8163a42-df6afd69_0 grpc closed
2025-10-21T14:15:46.594368Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 65 sessionId: sid_rand_54|800a0f88-22ddfb24-c8163a42-df6afd69_0 is DEAD
2025-10-21T14:15:46.594964Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:46.594988Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 66
2025-10-21T14:15:46.595435Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:46.595802Z 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-10-21T14:15:46.595951Z 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]:47692
2025-10-21T14:15:46.595979Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=66 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:46.595993Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:46.597720Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 66 sessionId:  describe result for acl check
2025-10-21T14:15:46.597866Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:46.597888Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:46.597901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:46.597916Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678554294238606:2863] (SourceId=sid_rand_55, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:46.601826Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678554294238606:2863] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:46.614767Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678554294238606:2863] (SourceId=sid_rand_55, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:46.620413Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238622:2863] connected; active server actors: 1
2025-10-21T14:15:46.621361Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678554294238606:2863] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_55
2025-10-21T14:15:46.621407Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678554294238606:2863] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:46.622037Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238622:2863] disconnected; active server actors: 1
2025-10-21T14:15:46.622073Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238622:2863] disconnected no session
2025-10-21T14:15:46.636207Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678554294238606:2863] (SourceId=sid_rand_55, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:46.636258Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678554294238606:2863] (SourceId=sid_rand_55, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-21T14:15:46.636284Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678554294238606:2863] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:46.636329Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 66 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-21T14:15:46.638825Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_55|c7e7d349-534f6184-e04fe59b-55737a79_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_55
2025-10-21T14:15:46.638527Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:46.640145Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 66 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_55|c7e7d349-534f6184-e04fe59b-55737a79_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_55|c7e7d349-534f6184-e04fe59b-55737a79_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:46.645187Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId: sid_rand_55|c7e7d349-534f6184-e04fe59b-55737a79_0 grpc read done: success: 0 data: 
2025-10-21T14:15:46.645219Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 66 sessionId: sid_rand_55|c7e7d349-534f6184-e04fe59b-55737a79_0 grpc read failed
2025-10-21T14:15:46.645268Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 66 sessionId: sid_rand_55|c7e7d349-534f6184-e04fe59b-55737a79_0 grpc closed
2025-10-21T14:15:46.645306Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 66 sessionId: sid_rand_55|c7e7d349-534f6184-e04fe59b-55737a79_0 is DEAD
2025-10-21T14:15:46.645480Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:46.645504Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 67
2025-10-21T14:15:46.646025Z 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-10-21T14:15:46.646185Z 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]:47692
2025-10-21T14:15:46.646211Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=67 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:46.646226Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:46.646576Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:46.648272Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 67 sessionId:  describe result for acl check
2025-10-21T14:15:46.648419Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:46.648431Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:46.648445Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:46.648466Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678554294238636:2868] (SourceId=sid_rand_56, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:46.653363Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678554294238636:2868] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:46.672147Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678554294238636:2868] (SourceId=sid_rand_56, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:46.679149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678554294238636:2868] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_56
2025-10-21T14:15:46.679197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678554294238636:2868] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:46.675928Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238652:2868] connected; active server actors: 1
2025-10-21T14:15:46.680156Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238652:2868] disconnected; active server actors: 1
2025-10-21T14:15:46.680191Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238652:2868] disconnected no session
2025-10-21T14:15:46.704051Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678554294238636:2868] (SourceId=sid_rand_56, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:46.704098Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678554294238636:2868] (SourceId=sid_rand_56, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-21T14:15:46.704125Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678554294238636:2868] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:46.704168Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 67 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-21T14:15:46.705691Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:46.705816Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_56|66cdd4a5-871beb2-fbd3ec21-570914f7_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_56
2025-10-21T14:15:46.706167Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 67 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_56|66cdd4a5-871beb2-fbd3ec21-570914f7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_56|66cdd4a5-871beb2-fbd3ec21-570914f7_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:46.711472Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId: sid_rand_56|66cdd4a5-871beb2-fbd3ec21-570914f7_0 grpc read done: success: 0 data: 
2025-10-21T14:15:46.711511Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 67 sessionId: sid_rand_56|66cdd4a5-871beb2-fbd3ec21-570914f7_0 grpc read failed
2025-10-21T14:15:46.711546Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 67 sessionId: sid_rand_56|66cdd4a5-871beb2-fbd3ec21-570914f7_0 grpc closed
2025-10-21T14:15:46.711572Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 67 sessionId: sid_rand_56|66cdd4a5-871beb2-fbd3ec21-570914f7_0 is DEAD
2025-10-21T14:15:46.712570Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:46.712741Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:46.712768Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 68
2025-10-21T14:15:46.716318Z 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-10-21T14:15:46.716497Z 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]:47692
2025-10-21T14:15:46.716523Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=68 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:46.716539Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:46.718425Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 68 sessionId:  describe result for acl check
2025-10-21T14:15:46.718604Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:46.718626Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:46.718646Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:46.718667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678554294238666:2872] (SourceId=sid_rand_57, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:46.723198Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678554294238666:2872] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:46.732523Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678554294238666:2872] (SourceId=sid_rand_57, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:46.735917Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238687:2872] connected; active server actors: 1
2025-10-21T14:15:46.736307Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678554294238666:2872] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_57
2025-10-21T14:15:46.736347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678554294238666:2872] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:46.737681Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238687:2872] disconnected; active server actors: 1
2025-10-21T14:15:46.737718Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238687:2872] disconnected no session
2025-10-21T14:15:46.751225Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678554294238666:2872] (SourceId=sid_rand_57, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:46.751260Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678554294238666:2872] (SourceId=sid_rand_57, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-21T14:15:46.751279Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678554294238666:2872] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:46.751314Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 68 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-21T14:15:46.755525Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:46.755917Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_57|ebd211f9-3a8328d3-5cf04811-237c3391_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_57
Init result: { status: SUCCESS init_response { session_id: "sid_rand_57|ebd211f9-3a8328d3-5cf04811-237c3391_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:46.757152Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 68 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_57|ebd211f9-3a8328d3-5cf04811-237c3391_0
2025-10-21T14:15:46.764455Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId: sid_rand_57|ebd211f9-3a8328d3-5cf04811-237c3391_0 grpc read done: success: 0 data: 
2025-10-21T14:15:46.764489Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 68 sessionId: sid_rand_57|ebd211f9-3a8328d3-5cf04811-237c3391_0 grpc read failed
2025-10-21T14:15:46.764530Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 68 sessionId: sid_rand_57|ebd211f9-3a8328d3-5cf04811-237c3391_0 grpc closed
2025-10-21T14:15:46.764554Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 68 sessionId: sid_rand_57|ebd211f9-3a8328d3-5cf04811-237c3391_0 is DEAD
2025-10-21T14:15:46.764628Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:46.764654Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 69
2025-10-21T14:15:46.765524Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:46.772224Z 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-10-21T14:15:46.772428Z 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]:47692
2025-10-21T14:15:46.772458Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=69 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:46.772475Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:46.774551Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 69 sessionId:  describe result for acl check
2025-10-21T14:15:46.774731Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:46.774750Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:46.774769Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:46.774789Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678554294238699:2876] (SourceId=sid_rand_58, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:46.780637Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678554294238699:2876] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:46.801768Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678554294238699:2876] (SourceId=sid_rand_58, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:46.804294Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678554294238699:2876] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_58
2025-10-21T14:15:46.804336Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678554294238699:2876] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:46.803610Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238715:2876] connected; active server actors: 1
2025-10-21T14:15:46.805752Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238715:2876] disconnected; active server actors: 1
2025-10-21T14:15:46.805780Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238715:2876] disconnected no session
2025-10-21T14:15:46.830888Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678554294238699:2876] (SourceId=sid_rand_58, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:46.830940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678554294238699:2876] (SourceId=sid_rand_58, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-21T14:15:46.830966Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678554294238699:2876] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:46.831009Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 69 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-21T14:15:46.832345Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:46.834611Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_58|d83e3d80-c16d578-e7a272ae-5922e0f9_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_58
2025-10-21T14:15:46.839864Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 69 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_58|d83e3d80-c16d578-e7a272ae-5922e0f9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_58|d83e3d80-c16d578-e7a272ae-5922e0f9_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:46.848377Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId: sid_rand_58|d83e3d80-c16d578-e7a272ae-5922e0f9_0 grpc read done: success: 0 data: 
2025-10-21T14:15:46.848413Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 69 sessionId: sid_rand_58|d83e3d80-c16d578-e7a272ae-5922e0f9_0 grpc read failed
2025-10-21T14:15:46.848454Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 69 sessionId: sid_rand_58|d83e3d80-c16d578-e7a272ae-5922e0f9_0 grpc closed
2025-10-21T14:15:46.848480Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 69 sessionId: sid_rand_58|d83e3d80-c16d578-e7a272ae-5922e0f9_0 is DEAD
2025-10-21T14:15:46.848850Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:46.848872Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 70
2025-10-21T14:15:46.849794Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:46.849973Z 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-10-21T14:15:46.850124Z 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]:47692
2025-10-21T14:15:46.850142Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=70 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:46.850157Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:46.852297Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 70 sessionId:  describe result for acl check
2025-10-21T14:15:46.852460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:46.852478Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:46.852500Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:46.852521Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678554294238728:2880] (SourceId=sid_rand_59, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:46.857922Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678554294238728:2880] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:46.870213Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678554294238728:2880] (SourceId=sid_rand_59, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:46.872782Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238747:2880] connected; active server actors: 1
2025-10-21T14:15:46.873290Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678554294238728:2880] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_59
2025-10-21T14:15:46.873327Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678554294238728:2880] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:46.874553Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238747:2880] disconnected; active server actors: 1
2025-10-21T14:15:46.874592Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238747:2880] disconnected no session
2025-10-21T14:15:46.886560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678554294238728:2880] (SourceId=sid_rand_59, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:46.886605Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678554294238728:2880] (SourceId=sid_rand_59, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-21T14:15:46.886631Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678554294238728:2880] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:46.886675Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 70 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-21T14:15:46.890198Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:46.890641Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_59|8a58c8cb-a674d2d3-778c0755-722e465e_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_59
2025-10-21T14:15:46.891207Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 70 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_59|8a58c8cb-a674d2d3-778c0755-722e465e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_59|8a58c8cb-a674d2d3-778c0755-722e465e_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:46.893572Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId: sid_rand_59|8a58c8cb-a674d2d3-778c0755-722e465e_0 grpc read done: success: 0 data: 
2025-10-21T14:15:46.893602Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 70 sessionId: sid_rand_59|8a58c8cb-a674d2d3-778c0755-722e465e_0 grpc read failed
2025-10-21T14:15:46.893637Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 70 sessionId: sid_rand_59|8a58c8cb-a674d2d3-778c0755-722e465e_0 grpc closed
2025-10-21T14:15:46.893663Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 70 sessionId: sid_rand_59|8a58c8cb-a674d2d3-778c0755-722e465e_0 is DEAD
2025-10-21T14:15:46.894572Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:46.894698Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:46.894720Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 71
2025-10-21T14:15:46.899578Z 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-10-21T14:15:46.899784Z 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]:47692
2025-10-21T14:15:46.899807Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=71 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:46.899824Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:46.901927Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 71 sessionId:  describe result for acl check
2025-10-21T14:15:46.902116Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:46.902135Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:46.902155Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:46.902178Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678554294238762:2884] (SourceId=sid_rand_60, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:46.906723Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678554294238762:2884] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:46.921452Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238778:2884] connected; active server actors: 1
2025-10-21T14:15:46.920028Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678554294238762:2884] (SourceId=sid_rand_60, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:46.922113Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678554294238762:2884] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_60
2025-10-21T14:15:46.922144Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678554294238762:2884] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:46.923358Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238778:2884] disconnected; active server actors: 1
2025-10-21T14:15:46.923411Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238778:2884] disconnected no session
2025-10-21T14:15:46.940745Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678554294238762:2884] (SourceId=sid_rand_60, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:46.940808Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678554294238762:2884] (SourceId=sid_rand_60, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-21T14:15:46.940836Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678554294238762:2884] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:46.940881Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 71 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-21T14:15:46.949522Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:46.949781Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_60|6e00e4f1-1a3630f6-ce999347-698221e5_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_60
2025-10-21T14:15:46.950469Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 71 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_60|6e00e4f1-1a3630f6-ce999347-698221e5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_60|6e00e4f1-1a3630f6-ce999347-698221e5_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:46.955454Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId: sid_rand_60|6e00e4f1-1a3630f6-ce999347-698221e5_0 grpc read done: success: 0 data: 
2025-10-21T14:15:46.955490Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 71 sessionId: sid_rand_60|6e00e4f1-1a3630f6-ce999347-698221e5_0 grpc read failed
2025-10-21T14:15:46.955529Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 71 sessionId: sid_rand_60|6e00e4f1-1a3630f6-ce999347-698221e5_0 grpc closed
2025-10-21T14:15:46.955554Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 71 sessionId: sid_rand_60|6e00e4f1-1a3630f6-ce999347-698221e5_0 is DEAD
2025-10-21T14:15:46.956554Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:46.956683Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:46.956704Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 72
2025-10-21T14:15:46.958889Z 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-10-21T14:15:46.959055Z 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]:47692
2025-10-21T14:15:46.959077Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=72 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:46.959091Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:46.963235Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 72 sessionId:  describe result for acl check
2025-10-21T14:15:46.963463Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:46.963487Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:46.963509Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:46.963532Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678554294238791:2888] (SourceId=sid_rand_61, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:46.970587Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678554294238791:2888] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:46.983658Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678554294238791:2888] (SourceId=sid_rand_61, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:46.985085Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238807:2888] connected; active server actors: 1
2025-10-21T14:15:46.985594Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678554294238791:2888] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_61
2025-10-21T14:15:46.985635Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678554294238791:2888] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:46.986633Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238807:2888] disconnected; active server actors: 1
2025-10-21T14:15:46.986668Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678554294238807:2888] disconnected no session
2025-10-21T14:15:47.004902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678554294238791:2888] (SourceId=sid_rand_61, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:47.004951Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678554294238791:2888] (SourceId=sid_rand_61, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-21T14:15:47.004981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678554294238791:2888] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:47.005026Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 72 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-21T14:15:47.006919Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:47.007053Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_61|b84daaa9-a6a9bb20-563465cb-6b64350a_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_61
Init result: { status: SUCCESS init_response { session_id: "sid_rand_61|b84daaa9-a6a9bb20-563465cb-6b64350a_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:47.011953Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 72 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_61|b84daaa9-a6a9bb20-563465cb-6b64350a_0
2025-10-21T14:15:47.015640Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId: sid_rand_61|b84daaa9-a6a9bb20-563465cb-6b64350a_0 grpc read done: success: 0 data: 
2025-10-21T14:15:47.015671Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 72 sessionId: sid_rand_61|b84daaa9-a6a9bb20-563465cb-6b64350a_0 grpc read failed
2025-10-21T14:15:47.015711Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 72 sessionId: sid_rand_61|b84daaa9-a6a9bb20-563465cb-6b64350a_0 grpc closed
2025-10-21T14:15:47.015739Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 72 sessionId: sid_rand_61|b84daaa9-a6a9bb20-563465cb-6b64350a_0 is DEAD
2025-10-21T14:15:47.016764Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:47.016891Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:47.016916Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 73
2025-10-21T14:15:47.017776Z 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-10-21T14:15:47.017934Z 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]:47692
2025-10-21T14:15:47.017954Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=73 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:47.017969Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:47.024931Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 73 sessionId:  describe result for acl check
2025-10-21T14:15:47.025130Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:47.025150Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:47.025171Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:47.025195Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678558589206119:2892] (SourceId=sid_rand_62, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:47.039166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678558589206119:2892] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:47.052306Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678558589206119:2892] (SourceId=sid_rand_62, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:47.052890Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206152:2892] connected; active server actors: 1
2025-10-21T14:15:47.053220Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678558589206119:2892] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_62
2025-10-21T14:15:47.053268Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678558589206119:2892] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:47.053782Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206152:2892] disconnected; active server actors: 1
2025-10-21T14:15:47.053813Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206152:2892] disconnected no session
2025-10-21T14:15:47.075389Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678558589206119:2892] (SourceId=sid_rand_62, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:47.075445Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678558589206119:2892] (SourceId=sid_rand_62, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-21T14:15:47.075470Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678558589206119:2892] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:47.075516Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 73 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-21T14:15:47.077165Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:47.077322Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_62|da7a0cbe-f1fe2ce-41eb6ac6-3bbab55d_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_62
2025-10-21T14:15:47.077788Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 73 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_62|da7a0cbe-f1fe2ce-41eb6ac6-3bbab55d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_62|da7a0cbe-f1fe2ce-41eb6ac6-3bbab55d_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:47.081697Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId: sid_rand_62|da7a0cbe-f1fe2ce-41eb6ac6-3bbab55d_0 grpc read done: success: 0 data: 
2025-10-21T14:15:47.081739Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 73 sessionId: sid_rand_62|da7a0cbe-f1fe2ce-41eb6ac6-3bbab55d_0 grpc read failed
2025-10-21T14:15:47.081782Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 73 sessionId: sid_rand_62|da7a0cbe-f1fe2ce-41eb6ac6-3bbab55d_0 grpc closed
2025-10-21T14:15:47.081811Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 73 sessionId: sid_rand_62|da7a0cbe-f1fe2ce-41eb6ac6-3bbab55d_0 is DEAD
2025-10-21T14:15:47.081820Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:47.081843Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 74
2025-10-21T14:15:47.082138Z 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-10-21T14:15:47.082305Z 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]:47692
2025-10-21T14:15:47.082325Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=74 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:47.082339Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:47.082788Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:47.084511Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 74 sessionId:  describe result for acl check
2025-10-21T14:15:47.084692Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:47.084718Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:47.084737Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:47.084760Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678558589206166:2897] (SourceId=sid_rand_63, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:47.091508Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678558589206166:2897] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:47.103177Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678558589206166:2897] (SourceId=sid_rand_63, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:47.104501Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206182:2897] connected; active server actors: 1
2025-10-21T14:15:47.104984Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678558589206166:2897] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_63
2025-10-21T14:15:47.105016Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678558589206166:2897] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:47.105521Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206182:2897] disconnected; active server actors: 1
2025-10-21T14:15:47.105557Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206182:2897] disconnected no session
2025-10-21T14:15:47.115858Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678558589206166:2897] (SourceId=sid_rand_63, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:47.115905Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678558589206166:2897] (SourceId=sid_rand_63, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-21T14:15:47.115931Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678558589206166:2897] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Start idle
Init result: { 2025-10-21T14:15:47.115975Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 74 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-21T14:15:47.117515Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:47.117664Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_63|16d63685-bcea65cb-cd937c51-ebcdc12b_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_63
status: SUCCESS init_response { session_id: "sid_rand_63|16d63685-bcea65cb-cd937c51-ebcdc12b_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:47.118095Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 74 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_63|16d63685-bcea65cb-cd937c51-ebcdc12b_0
2025-10-21T14:15:47.120029Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId: sid_rand_63|16d63685-bcea65cb-cd937c51-ebcdc12b_0 grpc read done: success: 0 data: 
2025-10-21T14:15:47.120060Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 74 sessionId: sid_rand_63|16d63685-bcea65cb-cd937c51-ebcdc12b_0 grpc read failed
2025-10-21T14:15:47.120415Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 74 sessionId: sid_rand_63|16d63685-bcea65cb-cd937c51-ebcdc12b_0
2025-10-21T14:15:47.120455Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 74 sessionId: sid_rand_63|16d63685-bcea65cb-cd937c51-ebcdc12b_0 is DEAD
2025-10-21T14:15:47.120876Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:47.121798Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:47.121825Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 75
2025-10-21T14:15:47.122203Z 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-10-21T14:15:47.122369Z 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]:47692
2025-10-21T14:15:47.122396Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=75 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:47.122411Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:47.124388Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 75 sessionId:  describe result for acl check
2025-10-21T14:15:47.124567Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:47.124585Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:47.124605Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:47.124624Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678558589206195:2901] (SourceId=sid_rand_64, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:47.128533Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678558589206195:2901] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:47.146055Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678558589206195:2901] (SourceId=sid_rand_64, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:47.148315Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206211:2901] connected; active server actors: 1
2025-10-21T14:15:47.149215Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678558589206195:2901] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_64
2025-10-21T14:15:47.149269Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678558589206195:2901] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:47.150113Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206211:2901] disconnected; active server actors: 1
2025-10-21T14:15:47.150147Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206211:2901] disconnected no session
2025-10-21T14:15:47.166008Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678558589206195:2901] (SourceId=sid_rand_64, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:47.166048Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678558589206195:2901] (SourceId=sid_rand_64, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-21T14:15:47.166069Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678558589206195:2901] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:47.166110Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 75 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-21T14:15:47.178314Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:47.179707Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_64|dd79e182-91c580fa-9dd36909-f0fcc4e5_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_64
2025-10-21T14:15:47.185058Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 75 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_64|dd79e182-91c580fa-9dd36909-f0fcc4e5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_64|dd79e182-91c580fa-9dd36909-f0fcc4e5_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:47.186812Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId: sid_rand_64|dd79e182-91c580fa-9dd36909-f0fcc4e5_0 grpc read done: success: 0 data: 
2025-10-21T14:15:47.186839Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 75 sessionId: sid_rand_64|dd79e182-91c580fa-9dd36909-f0fcc4e5_0 grpc read failed
2025-10-21T14:15:47.187159Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 75 sessionId: sid_rand_64|dd79e182-91c580fa-9dd36909-f0fcc4e5_0
2025-10-21T14:15:47.187186Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 75 sessionId: sid_rand_64|dd79e182-91c580fa-9dd36909-f0fcc4e5_0 is DEAD
2025-10-21T14:15:47.187624Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:47.190639Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:47.190676Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 76
2025-10-21T14:15:47.191774Z 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-10-21T14:15:47.191942Z 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]:47692
2025-10-21T14:15:47.191971Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=76 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:47.191988Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:47.195439Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 76 sessionId:  describe result for acl check
2025-10-21T14:15:47.195649Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:47.195667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:47.195686Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:47.195708Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678558589206223:2905] (SourceId=sid_rand_65, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:47.199938Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678558589206223:2905] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:47.209078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678558589206223:2905] (SourceId=sid_rand_65, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:47.209671Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206242:2905] connected; active server actors: 1
2025-10-21T14:15:47.209994Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678558589206223:2905] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_65
2025-10-21T14:15:47.210035Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678558589206223:2905] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:47.211352Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206242:2905] disconnected; active server actors: 1
2025-10-21T14:15:47.211399Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206242:2905] disconnected no session
2025-10-21T14:15:47.222657Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678558589206223:2905] (SourceId=sid_rand_65, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:47.222708Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678558589206223:2905] (SourceId=sid_rand_65, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-21T14:15:47.222732Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678558589206223:2905] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:47.222772Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 76 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-21T14:15:47.224635Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:47.224964Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_65|fb3f18e3-e63750fa-599dbf29-d4842cd1_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_65
2025-10-21T14:15:47.226022Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 76 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_65|fb3f18e3-e63750fa-599dbf29-d4842cd1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_65|fb3f18e3-e63750fa-599dbf29-d4842cd1_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:47.228171Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId: sid_rand_65|fb3f18e3-e63750fa-599dbf29-d4842cd1_0 grpc read done: success: 0 data: 
2025-10-21T14:15:47.228203Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 76 sessionId: sid_rand_65|fb3f18e3-e63750fa-599dbf29-d4842cd1_0 grpc read failed
2025-10-21T14:15:47.228239Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 76 sessionId: sid_rand_65|fb3f18e3-e63750fa-599dbf29-d4842cd1_0 grpc closed
2025-10-21T14:15:47.228263Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 76 sessionId: sid_rand_65|fb3f18e3-e63750fa-599dbf29-d4842cd1_0 is DEAD
2025-10-21T14:15:47.228426Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:47.228461Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 77
2025-10-21T14:15:47.228827Z 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-10-21T14:15:47.228974Z 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]:47692
2025-10-21T14:15:47.228998Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=77 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:47.229010Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:47.229363Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:47.230932Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 77 sessionId:  describe result for acl check
2025-10-21T14:15:47.231088Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:47.231107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:47.231126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:47.231149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678558589206255:2909] (SourceId=sid_rand_66, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:47.236093Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678558589206255:2909] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:47.252925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678558589206255:2909] (SourceId=sid_rand_66, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:47.254065Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206272:2909] connected; active server actors: 1
2025-10-21T14:15:47.256422Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678558589206255:2909] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_66
2025-10-21T14:15:47.256465Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678558589206255:2909] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:47.256954Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206272:2909] disconnected; active server actors: 1
2025-10-21T14:15:47.256987Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206272:2909] disconnected no session
2025-10-21T14:15:47.272493Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678558589206255:2909] (SourceId=sid_rand_66, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:47.272563Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678558589206255:2909] (SourceId=sid_rand_66, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-21T14:15:47.272587Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678558589206255:2909] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:47.272626Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 77 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-21T14:15:47.274992Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:47.275134Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_66|ee504de4-1c72766-29cac476-a9ab0d81_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_66
2025-10-21T14:15:47.275603Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 77 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_66|ee504de4-1c72766-29cac476-a9ab0d81_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_66|ee504de4-1c72766-29cac476-a9ab0d81_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:47.279561Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId: sid_rand_66|ee504de4-1c72766-29cac476-a9ab0d81_0 grpc read done: success: 0 data: 
2025-10-21T14:15:47.279601Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 77 sessionId: sid_rand_66|ee504de4-1c72766-29cac476-a9ab0d81_0 grpc read failed
2025-10-21T14:15:47.279644Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 77 sessionId: sid_rand_66|ee504de4-1c72766-29cac476-a9ab0d81_0 grpc closed
2025-10-21T14:15:47.279669Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 77 sessionId: sid_rand_66|ee504de4-1c72766-29cac476-a9ab0d81_0 is DEAD
2025-10-21T14:15:47.279714Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:47.279735Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 78
2025-10-21T14:15:47.280193Z 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-10-21T14:15:47.280366Z 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]:47692
2025-10-21T14:15:47.280389Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=78 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:47.280402Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:47.281311Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:47.282929Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 78 sessionId:  describe result for acl check
2025-10-21T14:15:47.283091Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:47.283109Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:47.283126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:47.283146Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678558589206285:2913] (SourceId=sid_rand_67, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:47.288015Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678558589206285:2913] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:47.297748Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206301:2913] connected; active server actors: 1
2025-10-21T14:15:47.296295Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678558589206285:2913] (SourceId=sid_rand_67, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:47.298573Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678558589206285:2913] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_67
2025-10-21T14:15:47.298603Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678558589206285:2913] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:47.299646Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206301:2913] disconnected; active server actors: 1
2025-10-21T14:15:47.299679Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206301:2913] disconnected no session
2025-10-21T14:15:47.310621Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678558589206285:2913] (SourceId=sid_rand_67, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:47.310666Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678558589206285:2913] (SourceId=sid_rand_67, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-21T14:15:47.310688Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678558589206285:2913] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:47.310751Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 78 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-21T14:15:47.312772Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:47.314246Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 78 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_67|2d7707a7-a405875e-8a3c8519-dd154bf0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_67|2d7707a7-a405875e-8a3c8519-dd154bf0_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:47.313164Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_67|2d7707a7-a405875e-8a3c8519-dd154bf0_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_67
2025-10-21T14:15:47.316355Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId: sid_rand_67|2d7707a7-a405875e-8a3c8519-dd154bf0_0 grpc read done: success: 0 data: 
2025-10-21T14:15:47.316382Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 78 sessionId: sid_rand_67|2d7707a7-a405875e-8a3c8519-dd154bf0_0 grpc read failed
2025-10-21T14:15:47.316414Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 78 sessionId: sid_rand_67|2d7707a7-a405875e-8a3c8519-dd154bf0_0 grpc closed
2025-10-21T14:15:47.316435Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 78 sessionId: sid_rand_67|2d7707a7-a405875e-8a3c8519-dd154bf0_0 is DEAD
2025-10-21T14:15:47.317283Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:47.319660Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:47.319695Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 79
2025-10-21T14:15:47.320203Z 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-10-21T14:15:47.320361Z 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]:47692
2025-10-21T14:15:47.320389Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=79 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:47.320404Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:47.322606Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 79 sessionId:  describe result for acl check
2025-10-21T14:15:47.322778Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:47.322793Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:47.322810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:47.322828Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678558589206313:2917] (SourceId=sid_rand_68, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:47.326988Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678558589206313:2917] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:47.340653Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678558589206313:2917] (SourceId=sid_rand_68, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:47.341278Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206332:2917] connected; active server actors: 1
2025-10-21T14:15:47.341747Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678558589206313:2917] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_68
2025-10-21T14:15:47.341792Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678558589206313:2917] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:47.342433Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206332:2917] disconnected; active server actors: 1
2025-10-21T14:15:47.342477Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206332:2917] disconnected no session
2025-10-21T14:15:47.370828Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678558589206313:2917] (SourceId=sid_rand_68, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:47.370875Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678558589206313:2917] (SourceId=sid_rand_68, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-21T14:15:47.370900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678558589206313:2917] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:47.370941Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 79 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-21T14:15:47.372312Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:47.372521Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_68|4d1124e3-761be32-1df40a23-7f299f2f_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_68
2025-10-21T14:15:47.373015Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 79 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_68|4d1124e3-761be32-1df40a23-7f299f2f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_68|4d1124e3-761be32-1df40a23-7f299f2f_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:47.377523Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId: sid_rand_68|4d1124e3-761be32-1df40a23-7f299f2f_0 grpc read done: success: 0 data: 
2025-10-21T14:15:47.377562Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 79 sessionId: sid_rand_68|4d1124e3-761be32-1df40a23-7f299f2f_0 grpc read failed
2025-10-21T14:15:47.377601Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 79 sessionId: sid_rand_68|4d1124e3-761be32-1df40a23-7f299f2f_0 grpc closed
2025-10-21T14:15:47.377624Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 79 sessionId: sid_rand_68|4d1124e3-761be32-1df40a23-7f299f2f_0 is DEAD
2025-10-21T14:15:47.378514Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:47.378647Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:47.378668Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 80
2025-10-21T14:15:47.383661Z 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-10-21T14:15:47.383839Z 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]:47692
2025-10-21T14:15:47.383858Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=80 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:47.383874Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:47.385686Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 80 sessionId:  describe result for acl check
2025-10-21T14:15:47.385856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:47.385874Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:47.385892Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:47.385915Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678558589206346:2921] (SourceId=sid_rand_69, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:47.394821Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678558589206346:2921] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:47.423348Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678558589206346:2921] (SourceId=sid_rand_69, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:47.424348Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206363:2921] connected; active server actors: 1
2025-10-21T14:15:47.432159Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678558589206346:2921] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_69
2025-10-21T14:15:47.432202Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678558589206346:2921] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:47.433557Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206363:2921] disconnected; active server actors: 1
2025-10-21T14:15:47.433607Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206363:2921] disconnected no session
2025-10-21T14:15:47.450653Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678558589206346:2921] (SourceId=sid_rand_69, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:47.450700Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678558589206346:2921] (SourceId=sid_rand_69, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-21T14:15:47.450725Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678558589206346:2921] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:47.450766Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 80 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-21T14:15:47.452157Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:47.452298Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_69|ce1f9d50-b8202a38-ba64a463-6d0d2e9f_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_69
2025-10-21T14:15:47.452700Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 80 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_69|ce1f9d50-b8202a38-ba64a463-6d0d2e9f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_69|ce1f9d50-b8202a38-ba64a463-6d0d2e9f_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:47.459951Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId: sid_rand_69|ce1f9d50-b8202a38-ba64a463-6d0d2e9f_0 grpc read done: success: 0 data: 
2025-10-21T14:15:47.459992Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 80 sessionId: sid_rand_69|ce1f9d50-b8202a38-ba64a463-6d0d2e9f_0 grpc read failed
2025-10-21T14:15:47.460024Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 80 sessionId: sid_rand_69|ce1f9d50-b8202a38-ba64a463-6d0d2e9f_0 grpc closed
2025-10-21T14:15:47.460037Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:47.460049Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 80 sessionId: sid_rand_69|ce1f9d50-b8202a38-ba64a463-6d0d2e9f_0 is DEAD
2025-10-21T14:15:47.460062Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 81
2025-10-21T14:15:47.461262Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:47.464161Z 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-10-21T14:15:47.464329Z 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]:47692
2025-10-21T14:15:47.464347Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=81 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:47.464361Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:47.466769Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 81 sessionId:  describe result for acl check
2025-10-21T14:15:47.466933Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:47.466950Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:47.466967Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:47.466985Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678558589206376:2925] (SourceId=sid_rand_70, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:47.471348Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678558589206376:2925] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:47.493060Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678558589206376:2925] (SourceId=sid_rand_70, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:47.495792Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206395:2925] connected; active server actors: 1
2025-10-21T14:15:47.496486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678558589206376:2925] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_70
2025-10-21T14:15:47.496519Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678558589206376:2925] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:47.497825Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206395:2925] disconnected; active server actors: 1
2025-10-21T14:15:47.497855Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206395:2925] disconnected no session
2025-10-21T14:15:47.524214Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678558589206376:2925] (SourceId=sid_rand_70, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:47.524262Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678558589206376:2925] (SourceId=sid_rand_70, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-21T14:15:47.524287Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678558589206376:2925] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:47.524335Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 81 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-21T14:15:47.529691Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:47.531755Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_70|86361ba7-3114b666-9af90ac3-14896198_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_70
2025-10-21T14:15:47.532885Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 81 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_70|86361ba7-3114b666-9af90ac3-14896198_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_70|86361ba7-3114b666-9af90ac3-14896198_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:47.537694Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId: sid_rand_70|86361ba7-3114b666-9af90ac3-14896198_0 grpc read done: success: 0 data: 
2025-10-21T14:15:47.537732Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 81 sessionId: sid_rand_70|86361ba7-3114b666-9af90ac3-14896198_0 grpc read failed
2025-10-21T14:15:47.537764Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 81 sessionId: sid_rand_70|86361ba7-3114b666-9af90ac3-14896198_0 grpc closed
2025-10-21T14:15:47.537789Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 81 sessionId: sid_rand_70|86361ba7-3114b666-9af90ac3-14896198_0 is DEAD
2025-10-21T14:15:47.538707Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:47.538845Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:47.538866Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 82
2025-10-21T14:15:47.540763Z 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-10-21T14:15:47.540937Z 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]:47692
2025-10-21T14:15:47.540957Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=82 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:47.540969Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:47.543056Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 82 sessionId:  describe result for acl check
2025-10-21T14:15:47.543232Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:47.543248Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:47.543269Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:47.543290Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678558589206407:2929] (SourceId=sid_rand_71, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:47.548913Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678558589206407:2929] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:47.562695Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678558589206407:2929] (SourceId=sid_rand_71, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:47.566421Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206426:2929] connected; active server actors: 1
2025-10-21T14:15:47.567057Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678558589206407:2929] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_71
2025-10-21T14:15:47.567089Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678558589206407:2929] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:47.567601Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206426:2929] disconnected; active server actors: 1
2025-10-21T14:15:47.567630Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206426:2929] disconnected no session
2025-10-21T14:15:47.607320Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678558589206407:2929] (SourceId=sid_rand_71, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:47.607382Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678558589206407:2929] (SourceId=sid_rand_71, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-21T14:15:47.607407Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678558589206407:2929] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:47.607449Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 82 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-21T14:15:47.611249Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:47.611637Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_71|e5838301-4584c1de-6ced4948-599299cb_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_71
2025-10-21T14:15:47.615871Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 82 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_71|e5838301-4584c1de-6ced4948-599299cb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_71|e5838301-4584c1de-6ced4948-599299cb_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:47.625301Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId: sid_rand_71|e5838301-4584c1de-6ced4948-599299cb_0 grpc read done: success: 0 data: 
2025-10-21T14:15:47.625333Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 82 sessionId: sid_rand_71|e5838301-4584c1de-6ced4948-599299cb_0 grpc read failed
2025-10-21T14:15:47.625381Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 82 sessionId: sid_rand_71|e5838301-4584c1de-6ced4948-599299cb_0
2025-10-21T14:15:47.625403Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 82 sessionId: sid_rand_71|e5838301-4584c1de-6ced4948-599299cb_0 is DEAD
2025-10-21T14:15:47.625771Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:47.627174Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:47.627201Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 83
2025-10-21T14:15:47.627606Z 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-10-21T14:15:47.627746Z 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]:47692
2025-10-21T14:15:47.627765Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=83 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:47.627778Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:47.629687Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 83 sessionId:  describe result for acl check
2025-10-21T14:15:47.629852Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:47.629868Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:47.629885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:47.629904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678558589206447:2936] (SourceId=sid_rand_72, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:47.639801Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678558589206447:2936] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:47.668996Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678558589206447:2936] (SourceId=sid_rand_72, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:47.675479Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206478:2936] connected; active server actors: 1
2025-10-21T14:15:47.680875Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206478:2936] disconnected; active server actors: 1
2025-10-21T14:15:47.680911Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206478:2936] disconnected no session
2025-10-21T14:15:47.679499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678558589206447:2936] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_72
2025-10-21T14:15:47.679539Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678558589206447:2936] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:47.705034Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678558589206447:2936] (SourceId=sid_rand_72, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:47.705077Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678558589206447:2936] (SourceId=sid_rand_72, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-21T14:15:47.705103Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678558589206447:2936] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:47.705142Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 83 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-21T14:15:47.715712Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-21T14:15:47.716444Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_72|29267802-e091d872-62cac321-f973f9a8_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_72
2025-10-21T14:15:47.726185Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 83 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_72|29267802-e091d872-62cac321-f973f9a8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_72|29267802-e091d872-62cac321-f973f9a8_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:47.728970Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId: sid_rand_72|29267802-e091d872-62cac321-f973f9a8_0 grpc read done: success: 0 data: 
2025-10-21T14:15:47.729002Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 83 sessionId: sid_rand_72|29267802-e091d872-62cac321-f973f9a8_0 grpc read failed
2025-10-21T14:15:47.729038Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 83 sessionId: sid_rand_72|29267802-e091d872-62cac321-f973f9a8_0 grpc closed
2025-10-21T14:15:47.729062Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 83 sessionId: sid_rand_72|29267802-e091d872-62cac321-f973f9a8_0 is DEAD
2025-10-21T14:15:47.729995Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:47.730131Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:47.730153Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 84
2025-10-21T14:15:47.736238Z 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-10-21T14:15:47.736433Z 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]:47692
2025-10-21T14:15:47.736453Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=84 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:47.736469Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:47.738641Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 84 sessionId:  describe result for acl check
2025-10-21T14:15:47.738818Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:47.738836Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:47.738856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:47.738878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678558589206490:2945] (SourceId=sid_rand_73, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:47.747826Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678558589206490:2945] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:47.769783Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678558589206490:2945] (SourceId=sid_rand_73, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:47.772996Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206514:2945] connected; active server actors: 1
2025-10-21T14:15:47.783901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678558589206490:2945] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_73
2025-10-21T14:15:47.783944Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678558589206490:2945] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:47.785122Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206514:2945] disconnected; active server actors: 1
2025-10-21T14:15:47.785161Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206514:2945] disconnected no session
2025-10-21T14:15:47.826210Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678558589206490:2945] (SourceId=sid_rand_73, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:47.826255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678558589206490:2945] (SourceId=sid_rand_73, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-21T14:15:47.826280Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678558589206490:2945] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:47.826320Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 84 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-21T14:15:47.828867Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-21T14:15:47.829135Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_73|d4c6079e-4790e6f3-28c76c3a-a682cad0_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_73
2025-10-21T14:15:47.829683Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 84 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_73|d4c6079e-4790e6f3-28c76c3a-a682cad0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_73|d4c6079e-4790e6f3-28c76c3a-a682cad0_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-21T14:15:47.832309Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId: sid_rand_73|d4c6079e-4790e6f3-28c76c3a-a682cad0_0 grpc read done: success: 0 data: 
2025-10-21T14:15:47.832338Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 84 sessionId: sid_rand_73|d4c6079e-4790e6f3-28c76c3a-a682cad0_0 grpc read failed
2025-10-21T14:15:47.832370Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 84 sessionId: sid_rand_73|d4c6079e-4790e6f3-28c76c3a-a682cad0_0 grpc closed
2025-10-21T14:15:47.832392Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 84 sessionId: sid_rand_73|d4c6079e-4790e6f3-28c76c3a-a682cad0_0 is DEAD
2025-10-21T14:15:47.833288Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-21T14:15:47.833406Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-21T14:15:47.833427Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 85
2025-10-21T14:15:47.839552Z 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-10-21T14:15:47.839748Z 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]:47692
2025-10-21T14:15:47.839769Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=85 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:47692 proto=v1  topic=topic1 durationSec=0
2025-10-21T14:15:47.839783Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-21T14:15:47.844261Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 85 sessionId:  describe result for acl check
2025-10-21T14:15:47.844473Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-21T14:15:47.844490Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-21T14:15:47.844509Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-21T14:15:47.844529Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7563678558589206528:2951] (SourceId=sid_rand_74, PreferedPartition=(NULL)) StartKqpSession
2025-10-21T14:15:47.848660Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7563678558589206528:2951] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Select from the table
2025-10-21T14:15:47.878921Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7563678558589206528:2951] (SourceId=sid_rand_74, PreferedPartition=(NULL)) RequestPQRB
2025-10-21T14:15:47.887822Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206547:2951] connected; active server actors: 1
2025-10-21T14:15:47.899593Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7563678558589206528:2951] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_74
2025-10-21T14:15:47.899643Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7563678558589206528:2951] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Update the table
2025-10-21T14:15:47.903702Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206547:2951] disconnected; active server actors: 1
2025-10-21T14:15:47.903736Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7563678558589206547:2951] disconnected no session
2025-10-21T14:15:47.920522Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7563678558589206528:2951] (SourceId=sid_rand_74, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-21T14:15:47.920573Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7563678558589206528:2951] (SourceId=sid_rand_74, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-21T14:15:47.920597Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7563678558589206528:2951] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Start idle
2025-10-21T14:15:47.920636Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 85 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-21T14:15:47.922838Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-21T14:15:47.923175Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_74|a61c6e45-8104f8c8-c4edd607-eb8cabde_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_74
2025-10-21T14:15:47.923812Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 85 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_74|a61c6e45-8104f8c8-c4edd607-eb8cabde_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_74|a61c6e45-8104f8c8-c4edd607-eb8cabde_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
Round robin check: 0:4
Round robin check: 1:4
Round robin check: 2:5
Round robin check: 3:6
Round robin check: 4:6
Round robin check: 5:6
Round robin check: 6:6
Round robin check: 7:6
Round robin check: 8:6
Round robin check: 9:5
Round robin check: 10:5
Round robin check: 11:4
Round robin check: 12:4
Round robin check: 13:4
Round robin check: 14:4
2025-10-21T14:15:47.926854Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId: sid_rand_74|a61c6e45-8104f8c8-c4edd607-eb8cabde_0 grpc read done: success: 0 data: 
2025-10-21T14:15:47.926882Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 85 sessionId: sid_rand_74|a61c6e45-8104f8c8-c4edd607-eb8cabde_0 grpc read failed
2025-10-21T14:15:47.927230Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 85 sessionId: sid_rand_74|a61c6e45-8104f8c8-c4edd607-eb8cabde_0
2025-10-21T14:15:47.927255Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 85 sessionId: sid_rand_74|a61c6e45-8104f8c8-c4edd607-eb8cabde_0 is DEAD
2025-10-21T14:15:47.927698Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
