2025-10-16T16:38:11.814362Z node 17 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[17:7561859831991881918:2154];send_to=[0:7307199536658146131:7762515];
2025-10-16T16:38:11.814442Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2025-10-16T16:38:11.815257Z node 18 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[18:7561859829530166852:2085];send_to=[0:7307199536658146131:7762515];
2025-10-16T16:38:11.815421Z 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-16T16:38:11.815811Z node 17 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/7v33/001faa/r3tmp/tmpAMT90Q/pdisk_1.dat
2025-10-16T16:38:11.816270Z 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-16T16:38:11.817322Z node 18 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-10-16T16:38:11.817458Z 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-16T16:38:11.828443Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-10-16T16:38:11.832728Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-16T16:38:11.832748Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-16T16:38:11.834009Z node 17 :HIVE WARN: hive_impl.cpp:811: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 18 Cookie 18
2025-10-16T16:38:11.834225Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 3037, node 17
2025-10-16T16:38:11.840364Z 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/7v33/001faa/r3tmp/yandexIwEujb.tmp
2025-10-16T16:38:11.840375Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/7v33/001faa/r3tmp/yandexIwEujb.tmp
2025-10-16T16:38:11.840430Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/7v33/001faa/r3tmp/yandexIwEujb.tmp
2025-10-16T16:38:11.840480Z node 17 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-10-16T16:38:11.842862Z INFO: TTestServer started on Port 61833 GrpcPort 3037
TClient is connected to server localhost:61833
PQClient connected to localhost:3037
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-16T16:38:11.855527Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976710657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
waiting...
waiting...
2025-10-16T16:38:11.869498Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710659:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:684)
waiting...
waiting...
waiting...
2025-10-16T16:38:11.915759Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-16T16:38:11.915792Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-16T16:38:11.917416Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-10-16T16:38:11.975479Z 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-16T16:38:11.995068Z 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-16T16:38:12.124912Z node 18 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [18:7561859833825134533:2303], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-16T16:38:12.124934Z node 18 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [18:7561859833825134521:2300], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-16T16:38:12.124952Z node 18 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-16T16:38:12.125114Z node 18 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [18:7561859833825134542:2305], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-16T16:38:12.125133Z node 18 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-16T16:38:12.125207Z node 18 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [18:7561859833825134557:2306], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-16T16:38:12.125219Z node 18 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-16T16:38:12.126166Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateResourcePool, opId: 281474976720657:3, 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_resource_pool.cpp:179)
2025-10-16T16:38:12.129806Z node 18 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [18:7561859833825134539:2304], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976720657 completed, doublechecking }
2025-10-16T16:38:12.140258Z node 17 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:570: Compilation failed, self: [17:7561859836286850237:2331], 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-16T16:38:12.140499Z node 17 :KQP_SESSION WARN: kqp_session_actor.cpp:2408: SessionId: ydb://session/3?node_id=17&id=MjBiYjE3OTAtOWQxZTUxYjgtYjc3ZTRlZjUtZDdhN2U2NjQ=, ActorId: [17:7561859836286850195:2323], ActorState: ExecuteState, TraceId: 01k7py5qd8ft95njzkfr50mgk6, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-10-16T16:38:12.140696Z 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-16T16:38:12.141289Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710662:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:684)
2025-10-16T16:38:12.154189Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710663:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:684)
2025-10-16T16:38:12.173062Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710664:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp: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-16T16:38:12.195751Z node 18 :TX_PROXY ERROR: schemereq.cpp:590: Actor# [18:7561859833825134611:2206] txid# 281474976720658, issues: { message: "Check failed: path: \'/Root/.metadata/workload_manager/pools/default\', error: path exist, request accepts it (id: [OwnerId: 72057594046644480, LocalPathId: 9], type: EPathTypeResourcePool, state: EPathStateNoChanges), source_location: ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:92" severity: 1 }
2025-10-16T16:38:12.202898Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976710665. Ctx: { TraceId: 01k7py5qexbx69n38r5ay75jgy, Database: , SessionId: ydb://session/3?node_id=17&id=Nzc1OGU0YzctNzE5ZDFjMjEtOGM0ZDk0NDEtNmU1MzA5MGY=, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [17:7561859836286850668:3046] 
2025-10-16T16:38:12.815796Z node 17 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-10-16T16:38:12.817307Z node 18 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-10-16T16:38:16.814520Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[17:7561859831991881918:2154];send_to=[0:7307199536658146131:7762515];
2025-10-16T16:38:16.814558Z 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-16T16:38:16.815546Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[18:7561859829530166852:2085];send_to=[0:7307199536658146131:7762515];
2025-10-16T16:38:16.815580Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
=== CheckClustersList. Ok
PQ Client: create topic: rt3.dc1--topic1 with 10 partitions
CallPersQueueGRPC request to localhost:3037
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-16T16:38:17.331377Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 128
ErrorReason: "the following topics are not created: rt3.dc1--topic1, Marker# PQ95"
ErrorCode: UNKNOWN_TOPIC
CallPersQueueGRPC request to localhost:3037
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: 281474976710671
  SchemeShardTabletId: 72057594046644480
  PathId: 13
}
ErrorCode: OK
AddTopic: rt3.dc1--topic1
===Run query:``DECLARE $version as Int64; DECLARE $path AS Utf8; DECLARE $cluster as Utf8; UPSERT INTO `/Root/PQ/Config/V2/Topics` (path, dc) VALUES ($path, $cluster); UPSERT INTO `/Root/PQ/Config/V2/Versions` (name, version) VALUES ("Topics", $version);`` with topic = topic1, dc = dc1
2025-10-16T16:38:17.337145Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][] pipe [17:7561859857761687547:3274] connected; active server actors: 1
2025-10-16T16:38:17.337298Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1517: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [3, 0, 1, 6, 8, 9, 2, 5, 7, 4]
2025-10-16T16:38:17.337474Z node 17 :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-16T16:38:17.338317Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:138: [72075186224037894][rt3.dc1--topic1] BALANCER INIT DONE for rt3.dc1--topic1: (0, 72075186224037892) (1, 72075186224037892) (2, 72075186224037893) (3, 72075186224037892) (4, 72075186224037893) (5, 72075186224037893) (6, 72075186224037892) (7, 72075186224037893) (8, 72075186224037892) (9, 72075186224037893) 
2025-10-16T16:38:17.338470Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-16T16:38:17.338481Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037892] doesn't have tx writes info
2025-10-16T16:38:17.338561Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:402: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037892, NodeId 17, Generation 1
2025-10-16T16:38:17.338954Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-16T16:38:17.338974Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037893] doesn't have tx writes info
2025-10-16T16:38:17.339156Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:402: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037893, NodeId 18, Generation 1
2025-10-16T16:38:17.342375Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][3][StateInit] bootstrapping 3 [17:7561859857761687650:2445]
2025-10-16T16:38:17.343038Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][9][StateInit] bootstrapping 9 [18:7561859855299971398:2375]
2025-10-16T16:38:17.343116Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037892][Partition][3][StateInit] init complete for topic 'rt3.dc1--topic1' partition 3 generation 1 [17:7561859857761687650:2445]
2025-10-16T16:38:17.343579Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [17:7561859857761687651:2445]
2025-10-16T16:38:17.343760Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037893][Partition][9][StateInit] init complete for topic 'rt3.dc1--topic1' partition 9 generation 1 [18:7561859855299971398:2375]
2025-10-16T16:38:17.344146Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037892][Partition][0][StateInit] init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [17:7561859857761687651:2445]
2025-10-16T16:38:17.344210Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][2][StateInit] bootstrapping 2 [18:7561859855299971399:2375]
2025-10-16T16:38:17.344507Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][1][StateInit] bootstrapping 1 [17:7561859857761687652:2445]
2025-10-16T16:38:17.344749Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037893][Partition][2][StateInit] init complete for topic 'rt3.dc1--topic1' partition 2 generation 1 [18:7561859855299971399:2375]
2025-10-16T16:38:17.345030Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037892][Partition][1][StateInit] init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [17:7561859857761687652:2445]
2025-10-16T16:38:17.345094Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][5][StateInit] bootstrapping 5 [18:7561859855299971400:2375]
2025-10-16T16:38:17.345427Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][6][StateInit] bootstrapping 6 [17:7561859857761687653:2445]
2025-10-16T16:38:17.345627Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037893][Partition][5][StateInit] init complete for topic 'rt3.dc1--topic1' partition 5 generation 1 [18:7561859855299971400:2375]
2025-10-16T16:38:17.345954Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][7][StateInit] bootstrapping 7 [18:7561859855299971401:2375]
2025-10-16T16:38:17.345969Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037892][Partition][6][StateInit] init complete for topic 'rt3.dc1--topic1' partition 6 generation 1 [17:7561859857761687653:2445]
2025-10-16T16:38:17.346382Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][8][StateInit] bootstrapping 8 [17:7561859857761687654:2445]
2025-10-16T16:38:17.346449Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037893][Partition][7][StateInit] init complete for topic 'rt3.dc1--topic1' partition 7 generation 1 [18:7561859855299971401:2375]
2025-10-16T16:38:17.346729Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][4][StateInit] bootstrapping 4 [18:7561859855299971402:2375]
2025-10-16T16:38:17.346747Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976710672. Ctx: { TraceId: 01k7py5wfq9qjjkz89jza4ghjq, Database: , SessionId: ydb://session/3?node_id=17&id=OThkNzkzYTYtNmM3Yjg2OTMtMzc3NTJkZjEtZDU5ZGRiNQ==, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
2025-10-16T16:38:17.346896Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037892][Partition][8][StateInit] init complete for topic 'rt3.dc1--topic1' partition 8 generation 1 [17:7561859857761687654:2445]
2025-10-16T16:38:17.347242Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037893][Partition][4][StateInit] init complete for topic 'rt3.dc1--topic1' partition 4 generation 1 [18:7561859855299971402:2375]
2025-10-16T16:38:17.349738Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-16T16:38:17.350254Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
===Query complete
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976710671
    CreateStep: 1760632697390
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 1
    }
    ChildrenExist: false
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 13
    TotalGroupCount: 10
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 60000...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976710671
    CreateStep: 1760632697390
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 1
    }
    ChildrenExist: false
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 13
    TotalGroupCount: 10
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000
      }
      LocalDC: true
      Codecs {
        Ids: 0
        Ids: 1
        Ids: 2
        Codecs: "raw"
        Codecs: "gzip"
        Codecs: "lzop"
      }
      YdbDatabasePath: "/Root"
      Consumers {
        Name: "user"
        ReadFromTimestampsMs: 0
        FormatVersion: 0
        Version: 0
      }
    }
    Partitions {
      PartitionId: 0
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 1
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 2
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 3
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 4
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 5
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 6
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 7
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 8
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 9
      TabletId: 72075186224037893
      Status: Active
    }
    AlterVersion: 1
    BalancerTabletID: 72075186224037894
    NextPartitionId: 10
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 1
      PlanResolution: 7
      Coordinators: 72057594046316545
      TimeCastBucketsPerMediator: 2
      Mediators: 72057594046382081
    }
    DomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    PathsInside: 12
    PathsLimit: 10000
    ShardsInside: 7
    ShardsLimit: 200000
    ResourcesDomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    DiskSpaceUsage {
      Tables {
        TotalSize: 0
        DataSize: 0
        IndexSize: 0
      }
      Topics {
        ReserveSize: 0
        AccountSize: 0
        DataSize: 0
        UsedReserveSize: 0
      }
    }
    PQPartitionsInside: 10
    PQPartitionsLimit: 1000000
    SchemeLimits {
      MaxDepth: 32
      MaxPaths: 10000
      MaxChildrenInDir: 100000
      MaxAclBytesSize: 10240
      MaxTableColumns: 200
      MaxTableColumnNameLength: 255
      MaxTableKeyColumns: 30
      MaxTableIndices: 20
      MaxShards: 200000
      MaxShardsInPath: 35000
      MaxConsistentCopyTargets: 10000
      MaxPathElementLength: 255
      ExtraPathSymbolsAllowed: "!\"#$%&\'()*+,-.:;<=>?@[\\]^_`{|}~"
      MaxPQPartitions: 1000000
      MaxTableCdcStreams: 5
      MaxExports: 10
      MaxImports: 10
      MaxColumnTableColumns: 10000
    }
  }
}
Path: "/Root/PQ/rt3.dc1--topic1"
 name rt3.dc1--topic1 version1
CallPersQueueGRPC request to localhost:3037
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-16T16:38:17.353223Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 1
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 1
2025-10-16T16:38:17.354299Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.354309Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-10-16T16:38:17.354420Z 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-16T16:38:17.354447Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:52854
2025-10-16T16:38:17.354450Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.354453Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.354802Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-10-16T16:38:17.354830Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.354836Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.354838Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.354842Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761687776:2459] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.355383Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761687776:2459] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.372790Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761687776:2459] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.372853Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761687807:2459] connected; active server actors: 1
2025-10-16T16:38:17.372861Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761687776:2459] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=12345678
2025-10-16T16:38:17.372864Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761687776:2459] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.372933Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761687807:2459] disconnected.
2025-10-16T16:38:17.372940Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761687807:2459] disconnected; active server actors: 1
2025-10-16T16:38:17.372942Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761687807:2459] disconnected no session
2025-10-16T16:38:17.386830Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761687776:2459] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.386843Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761687776:2459] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-16T16:38:17.386845Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761687776:2459] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.386850Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-16T16:38:17.386970Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.386998Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 12345678|75b8bfb1-5bf6eda7-9b09b59-dda2b206_0 generated for partition 1 topic 'rt3.dc1--topic1' owner 12345678
2025-10-16T16:38:17.387101Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 1 MaxSeqNo: 0 sessionId: 12345678|75b8bfb1-5bf6eda7-9b09b59-dda2b206_0
2025-10-16T16:38:17.387535Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: 12345678|75b8bfb1-5bf6eda7-9b09b59-dda2b206_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.387543Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: 12345678|75b8bfb1-5bf6eda7-9b09b59-dda2b206_0 grpc read failed
2025-10-16T16:38:17.387614Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 1 sessionId: 12345678|75b8bfb1-5bf6eda7-9b09b59-dda2b206_0
2025-10-16T16:38:17.387622Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: 12345678|75b8bfb1-5bf6eda7-9b09b59-dda2b206_0 is DEAD
2025-10-16T16:38:17.387722Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
Finish: 0 
2025-10-16T16:38:17.388184Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.388192Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-10-16T16:38:17.388394Z 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-16T16:38:17.388426Z 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]:52854
2025-10-16T16:38:17.388434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.388438Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.388803Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-10-16T16:38:17.388831Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.388837Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.388838Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.388842Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761687832:2469] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.389311Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761687832:2469] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.391090Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761687832:2469] (SourceId=source, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.391149Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761687848:2469] connected; active server actors: 1
2025-10-16T16:38:17.391166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761687832:2469] (SourceId=source, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=source
2025-10-16T16:38:17.391176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761687832:2469] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.391241Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761687848:2469] disconnected.
2025-10-16T16:38:17.391248Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761687848:2469] disconnected; active server actors: 1
2025-10-16T16:38:17.391252Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761687848:2469] disconnected no session
2025-10-16T16:38:17.393997Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761687832:2469] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.394008Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761687832:2469] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-16T16:38:17.394011Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761687832:2469] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.394018Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-16T16:38:17.394236Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.394313Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|952da9ec-460fd741-32887ca3-1f294e2_0 generated for partition 2 topic 'rt3.dc1--topic1' owner source
2025-10-16T16:38:17.394555Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 2 MaxSeqNo: 0 sessionId: source|952da9ec-460fd741-32887ca3-1f294e2_0
request: { write_request { sequence_numbers: 2 created_at_ms: 1760632697394 sent_at_ms: 1760632697394 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-16T16:38:17.394973Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|952da9ec-460fd741-32887ca3-1f294e2_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-16T16:38:17.395033Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-16T16:38:17.395221Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-10-16T16:38:17.396315Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 3 created_at_ms: 1760632697396 sent_at_ms: 1760632697396 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-16T16:38:17.396680Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|952da9ec-460fd741-32887ca3-1f294e2_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-16T16:38:17.396743Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-16T16:38:17.396952Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-10-16T16:38:17.397930Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 4 created_at_ms: 1760632697398 sent_at_ms: 1760632697398 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-16T16:38:17.398214Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|952da9ec-460fd741-32887ca3-1f294e2_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-16T16:38:17.398274Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-16T16:38:17.398454Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-10-16T16:38:17.399291Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 5 created_at_ms: 1760632697399 sent_at_ms: 1760632697399 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-16T16:38:17.399608Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|952da9ec-460fd741-32887ca3-1f294e2_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-16T16:38:17.399674Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-16T16:38:17.399821Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-10-16T16:38:17.400591Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-10-16T16:38:17.400837Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|952da9ec-460fd741-32887ca3-1f294e2_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.400843Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: source|952da9ec-460fd741-32887ca3-1f294e2_0 grpc read failed
2025-10-16T16:38:17.400903Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 2 sessionId: source|952da9ec-460fd741-32887ca3-1f294e2_0
2025-10-16T16:38:17.400911Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: source|952da9ec-460fd741-32887ca3-1f294e2_0 is DEAD
1 0 
CallPersQueueGRPC request to localhost:3037
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-16T16:38:17.401008Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.401575Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 1
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 1
CallPersQueueGRPC request to localhost:3037
MetaRequest {
  CmdChangeTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 15
  }
}
2025-10-16T16:38:17.402508Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterPersQueueGroup, opId: 281474976710677: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: 281474976710677
  SchemeShardTabletId: 72057594046644480
}
ErrorCode: OK
Alter got 1
2025-10-16T16:38:17.405625Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1517: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [11, 13, 14, 12, 10]
2025-10-16T16:38:17.407452Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-16T16:38:17.407474Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037895] doesn't have tx writes info
2025-10-16T16:38:17.411662Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][11][StateInit] bootstrapping 11 [18:7561859855299971548:2387]
2025-10-16T16:38:17.412296Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037895][Partition][11][StateInit] init complete for topic 'rt3.dc1--topic1' partition 11 generation 1 [18:7561859855299971548:2387]
2025-10-16T16:38:17.412690Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][13][StateInit] bootstrapping 13 [18:7561859855299971549:2387]
2025-10-16T16:38:17.412758Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-16T16:38:17.413229Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037895][Partition][13][StateInit] init complete for topic 'rt3.dc1--topic1' partition 13 generation 1 [18:7561859855299971549:2387]
2025-10-16T16:38:17.413568Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][14][StateInit] bootstrapping 14 [18:7561859855299971550:2387]
2025-10-16T16:38:17.413973Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976710678. Ctx: { TraceId: 01k7py5whx8fv21qk0eq9p7tqa, Database: , SessionId: ydb://session/3?node_id=17&id=N2MyZjU2ZmEtNTA3MjYzMzQtZmQ4MTZiYjMtNmUwMWVhYjU=, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
2025-10-16T16:38:17.414078Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037895][Partition][14][StateInit] init complete for topic 'rt3.dc1--topic1' partition 14 generation 1 [18:7561859855299971550:2387]
2025-10-16T16:38:17.414308Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][12][StateInit] bootstrapping 12 [18:7561859855299971551:2387]
2025-10-16T16:38:17.414760Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037895][Partition][12][StateInit] init complete for topic 'rt3.dc1--topic1' partition 12 generation 1 [18:7561859855299971551:2387]
2025-10-16T16:38:17.415076Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][10][StateInit] bootstrapping 10 [18:7561859855299971552:2387]
2025-10-16T16:38:17.415385Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037895][Partition][10][StateInit] init complete for topic 'rt3.dc1--topic1' partition 10 generation 1 [18:7561859855299971552:2387]
2025-10-16T16:38:17.418651Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-16T16:38:17.418957Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
CallPersQueueGRPC request to localhost:3037
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-16T16:38:17.419793Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 15
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 2
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 2
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976710671
    CreateStep: 1760632697390
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 3
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 3
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 2
    }
    ChildrenExist: false
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 13
    TotalGroupCount: 15
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 60000...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976710671
    CreateStep: 1760632697390
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 3
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 3
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 2
    }
    ChildrenExist: false
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 13
    TotalGroupCount: 15
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000
      }
      LocalDC: true
      Codecs {
        Ids: 0
        Ids: 1
        Ids: 2
        Codecs: "raw"
        Codecs: "gzip"
        Codecs: "lzop"
      }
      YdbDatabasePath: "/Root"
      Consumers {
        Name: "user"
        ReadFromTimestampsMs: 0
        FormatVersion: 0
        Version: 0
      }
    }
    Partitions {
      PartitionId: 0
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 1
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 2
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 3
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 4
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 5
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 6
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 7
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 8
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 9
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 10
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 11
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 12
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 13
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 14
      TabletId: 72075186224037895
      Status: Active
    }
    AlterVersion: 2
    BalancerTabletID: 72075186224037894
    NextPartitionId: 15
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 1
      PlanResolution: 7
      Coordinators: 72057594046316545
      TimeCastBucketsPerMediator: 2
      Mediators: 72057594046382081
    }
    DomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    PathsInside: 12
    PathsLimit: 10000
    ShardsInside: 8
    ShardsLimit: 200000
    ResourcesDomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    DiskSpaceUsage {
      Tables {
        TotalSize: 0
        DataSize: 0
        IndexSize: 0
      }
      Topics {
        ReserveSize: 0
        AccountSize: 0
        DataSize: 0
        UsedReserveSize: 0
      }
    }
    PQPartitionsInside: 15
    PQPartitionsLimit: 1000000
    SchemeLimits {
      MaxDepth: 32
      MaxPaths: 10000
      MaxChildrenInDir: 100000
      MaxAclBytesSize: 10240
      MaxTableColumns: 200
      MaxTableColumnNameLength: 255
      MaxTableKeyColumns: 30
      MaxTableIndices: 20
      MaxShards: 200000
      MaxShardsInPath: 35000
      MaxConsistentCopyTargets: 10000
      MaxPathElementLength: 255
      ExtraPathSymbolsAllowed: "!\"#$%&\'()*+,-.:;<=>?@[\\]^_`{|}~"
      MaxPQPartitions: 1000000
      MaxTableCdcStreams: 5
      MaxExports: 10
      MaxImports: 10
      MaxColumnTableColumns: 10000
    }
  }
}
Path: "/Root/PQ/rt3.dc1--topic1"
 name rt3.dc1--topic1 version2
2025-10-16T16:38:17.421162Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.421172Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-10-16T16:38:17.421329Z 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-16T16:38:17.421357Z 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]:52854
2025-10-16T16:38:17.421365Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.421368Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.421616Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-10-16T16:38:17.421636Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.421637Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.421639Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.421642Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688073:2489] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.422064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688073:2489] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.423792Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688073:2489] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.426019Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688073:2489] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.426030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688073:2489] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=0
2025-10-16T16:38:17.426032Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688073:2489] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.426037Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-16T16:38:17.426242Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.426338Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|6a72adf8-b0e2c3a4-e4813bd1-7b43507_0 generated for partition 2 topic 'rt3.dc1--topic1' owner source
2025-10-16T16:38:17.426673Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 2 MaxSeqNo: 5 sessionId: source|6a72adf8-b0e2c3a4-e4813bd1-7b43507_0
request: { write_request { sequence_numbers: 6 created_at_ms: 1760632697426 sent_at_ms: 1760632697426 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-16T16:38:17.427074Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|6a72adf8-b0e2c3a4-e4813bd1-7b43507_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-16T16:38:17.427172Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-16T16:38:17.427326Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-10-16T16:38:17.428406Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 7 created_at_ms: 1760632697428 sent_at_ms: 1760632697428 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-16T16:38:17.428738Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|6a72adf8-b0e2c3a4-e4813bd1-7b43507_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-16T16:38:17.428777Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-16T16:38:17.428952Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-10-16T16:38:17.429855Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 8 created_at_ms: 1760632697430 sent_at_ms: 1760632697430 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-16T16:38:17.430136Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|6a72adf8-b0e2c3a4-e4813bd1-7b43507_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-16T16:38:17.430175Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-16T16:38:17.430345Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-10-16T16:38:17.431116Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 9 created_at_ms: 1760632697431 sent_at_ms: 1760632697431 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-16T16:38:17.431376Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|6a72adf8-b0e2c3a4-e4813bd1-7b43507_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-16T16:38:17.431409Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-16T16:38:17.431578Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-10-16T16:38:17.432355Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-10-16T16:38:17.432661Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|6a72adf8-b0e2c3a4-e4813bd1-7b43507_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.432670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: source|6a72adf8-b0e2c3a4-e4813bd1-7b43507_0 grpc read failed
2025-10-16T16:38:17.432754Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 3 sessionId: source|6a72adf8-b0e2c3a4-e4813bd1-7b43507_0
2025-10-16T16:38:17.432764Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: source|6a72adf8-b0e2c3a4-e4813bd1-7b43507_0 is DEAD
1 0 
2025-10-16T16:38:17.432898Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.433090Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.433101Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 4
2025-10-16T16:38:17.433213Z 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-16T16:38:17.433241Z 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]:52854
2025-10-16T16:38:17.433249Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.433251Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.433581Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 4 sessionId:  describe result for acl check
2025-10-16T16:38:17.433605Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.433606Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.433607Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.433610Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688113:2494] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.434028Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688113:2494] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.435835Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688113:2494] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.438521Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688113:2494] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.438540Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688113:2494] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=0
2025-10-16T16:38:17.438543Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688113:2494] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.438551Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 4 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-16T16:38:17.438806Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.438898Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|2c038bae-d90304e4-fea90f4b-ea8d4d0e_0 generated for partition 2 topic 'rt3.dc1--topic1' owner source
2025-10-16T16:38:17.439235Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 4 partition: 2 MaxSeqNo: 9 sessionId: source|2c038bae-d90304e4-fea90f4b-ea8d4d0e_0
request: { write_request { sequence_numbers: 10 sequence_numbers: 11 sequence_numbers: 12 sequence_numbers: 13 sequence_numbers: 14 created_at_ms: 1760632697439 created_at_ms: 1760632697439 created_at_ms: 1760632697439 created_at_ms: 1760632697439 created_at_ms: 1760632697439 sent_at_ms: 1760632697439 sent_at_ms: 1760632697439 sent_at_ms: 1760632697439 sent_at_ms: 1760632697439 sent_at_ms: 1760632697439 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-16T16:38:17.439782Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|2c038bae-d90304e4-fea90f4b-ea8d4d0e_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-16T16:38:17.439879Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-16T16:38:17.440093Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-10-16T16:38:17.441198Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 15 sequence_numbers: 16 sequence_numbers: 17 sequence_numbers: 18 sequence_numbers: 19 created_at_ms: 1760632697441 created_at_ms: 1760632697441 created_at_ms: 1760632697441 created_at_ms: 1760632697441 created_at_ms: 1760632697441 sent_at_ms: 1760632697441 sent_at_ms: 1760632697441 sent_at_ms: 1760632697441 sent_at_ms: 1760632697441 sent_at_ms: 1760632697441 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-16T16:38:17.441596Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|2c038bae-d90304e4-fea90f4b-ea8d4d0e_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-16T16:38:17.441669Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-16T16:38:17.441838Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-10-16T16:38:17.442675Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 20 sequence_numbers: 21 sequence_numbers: 22 sequence_numbers: 23 sequence_numbers: 24 created_at_ms: 1760632697442 created_at_ms: 1760632697442 created_at_ms: 1760632697442 created_at_ms: 1760632697442 created_at_ms: 1760632697442 sent_at_ms: 1760632697442 sent_at_ms: 1760632697442 sent_at_ms: 1760632697442 sent_at_ms: 1760632697442 sent_at_ms: 1760632697442 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-16T16:38:17.443052Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|2c038bae-d90304e4-fea90f4b-ea8d4d0e_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-16T16:38:17.443135Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-16T16:38:17.443345Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-10-16T16:38:17.444277Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 25 sequence_numbers: 26 sequence_numbers: 27 sequence_numbers: 28 sequence_numbers: 29 created_at_ms: 1760632697444 created_at_ms: 1760632697444 created_at_ms: 1760632697444 created_at_ms: 1760632697444 created_at_ms: 1760632697444 sent_at_ms: 1760632697444 sent_at_ms: 1760632697444 sent_at_ms: 1760632697444 sent_at_ms: 1760632697444 sent_at_ms: 1760632697444 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-16T16:38:17.444656Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|2c038bae-d90304e4-fea90f4b-ea8d4d0e_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-16T16:38:17.444725Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-16T16:38:17.444910Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-10-16T16:38:17.445856Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::IEventHandle
2025-10-16T16:38:17.446140Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|2c038bae-d90304e4-fea90f4b-ea8d4d0e_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.446147Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 4 sessionId: source|2c038bae-d90304e4-fea90f4b-ea8d4d0e_0 grpc read failed
2025-10-16T16:38:17.446208Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 4 sessionId: source|2c038bae-d90304e4-fea90f4b-ea8d4d0e_0
2025-10-16T16:38:17.446230Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 4 sessionId: source|2c038bae-d90304e4-fea90f4b-ea8d4d0e_0 is DEAD
1 0 
2025-10-16T16:38:17.446338Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.446625Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.446633Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 5
2025-10-16T16:38:17.446758Z 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-16T16:38:17.446789Z 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]:52854
2025-10-16T16:38:17.446798Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic2 durationSec=0
2025-10-16T16:38:17.446801Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.447090Z 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-16T16:38:17.447188Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 5 sessionId:  is DEAD
{ status: SCHEME_ERROR issues { message: "no path \'Root/PQ/rt3.dc1--topic2\', Marker# PQ15" issue_code: 500017 severity: 1 } }
2025-10-16T16:38:17.447572Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.447581Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 6
2025-10-16T16:38:17.447649Z 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-16T16:38:17.447668Z 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]:52854
2025-10-16T16:38:17.447675Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.447677Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.448030Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 6 sessionId:  describe result for acl check
2025-10-16T16:38:17.448062Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.448069Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.448072Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.448077Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688158:2501] (SourceId=sid1, PreferedPartition=1) StartKqpSession
2025-10-16T16:38:17.448678Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688158:2501] (SourceId=sid1, PreferedPartition=1) Select from the table
2025-10-16T16:38:17.450637Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688158:2501] (SourceId=sid1, PreferedPartition=1) Update the table
2025-10-16T16:38:17.453481Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688158:2501] (SourceId=sid1, PreferedPartition=1) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.453495Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688158:2501] (SourceId=sid1, PreferedPartition=1) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-16T16:38:17.453498Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688158:2501] (SourceId=sid1, PreferedPartition=1) Start idle
2025-10-16T16:38:17.453505Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 6 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-16T16:38:17.453631Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.453677Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|2f738b99-5b3b480a-cb62c387-b7ea70e_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-10-16T16:38:17.453807Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 6 partition: 1 MaxSeqNo: 0 sessionId: sid1|2f738b99-5b3b480a-cb62c387-b7ea70e_0
Init result: { status: SUCCESS init_response { session_id: "sid1|2f738b99-5b3b480a-cb62c387-b7ea70e_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.454453Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId: sid1|2f738b99-5b3b480a-cb62c387-b7ea70e_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.454464Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 6 sessionId: sid1|2f738b99-5b3b480a-cb62c387-b7ea70e_0 grpc read failed
2025-10-16T16:38:17.454470Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 6 sessionId: sid1|2f738b99-5b3b480a-cb62c387-b7ea70e_0 grpc closed
2025-10-16T16:38:17.454474Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 6 sessionId: sid1|2f738b99-5b3b480a-cb62c387-b7ea70e_0 is DEAD
2025-10-16T16:38:17.454489Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.454497Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 7
2025-10-16T16:38:17.454562Z 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-16T16:38:17.454580Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 7 topic: "topic1" message_group_id: "sid1" from ipv6:[::1]:52854
2025-10-16T16:38:17.454586Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.454588Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.454740Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.454866Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 7 sessionId:  describe result for acl check
2025-10-16T16:38:17.454887Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.454891Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.454893Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.454896Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688191:2505] (SourceId=sid1, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.455271Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688191:2505] (SourceId=sid1, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.456572Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688191:2505] (SourceId=sid1, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.458954Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688191:2505] (SourceId=sid1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.458963Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688191:2505] (SourceId=sid1, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2025-10-16T16:38:17.458965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688191:2505] (SourceId=sid1, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.458969Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-16T16:38:17.459067Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.459097Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|ff05f63e-e1523866-b44af058-d03723ef_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-10-16T16:38:17.459190Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: sid1|ff05f63e-e1523866-b44af058-d03723ef_0
Init result: { status: SUCCESS init_response { session_id: "sid1|ff05f63e-e1523866-b44af058-d03723ef_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.459676Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId: sid1|ff05f63e-e1523866-b44af058-d03723ef_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.459686Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 7 sessionId: sid1|ff05f63e-e1523866-b44af058-d03723ef_0 grpc read failed
2025-10-16T16:38:17.459691Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 7 sessionId: sid1|ff05f63e-e1523866-b44af058-d03723ef_0 grpc closed
2025-10-16T16:38:17.459695Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 7 sessionId: sid1|ff05f63e-e1523866-b44af058-d03723ef_0 is DEAD
2025-10-16T16:38:17.459776Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.459786Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 8
2025-10-16T16:38:17.459897Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.459911Z 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-16T16:38:17.459927Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 8 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:52854
2025-10-16T16:38:17.459932Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.459934Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.460233Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 8 sessionId:  describe result for acl check
2025-10-16T16:38:17.460253Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.460255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.460256Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.460258Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688224:2509] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.460623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688224:2509] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.462065Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688224:2509] (SourceId=sidx, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.462120Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688240:2509] connected; active server actors: 1
2025-10-16T16:38:17.462137Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688224:2509] (SourceId=sidx, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sidx
2025-10-16T16:38:17.462147Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688224:2509] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.462206Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688240:2509] disconnected.
2025-10-16T16:38:17.462214Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688240:2509] disconnected; active server actors: 1
2025-10-16T16:38:17.462216Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688240:2509] disconnected no session
2025-10-16T16:38:17.464599Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688224:2509] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.464609Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688224:2509] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-16T16:38:17.464611Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688224:2509] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.464616Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 8 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-16T16:38:17.464716Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.464756Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|13b5c60f-b727f4d6-541b1e0d-f63b0e43_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sidx
2025-10-16T16:38:17.464851Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 8 partition: 3 MaxSeqNo: 0 sessionId: sidx|13b5c60f-b727f4d6-541b1e0d-f63b0e43_0
Init result: { status: SUCCESS init_response { session_id: "sidx|13b5c60f-b727f4d6-541b1e0d-f63b0e43_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.465388Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId: sidx|13b5c60f-b727f4d6-541b1e0d-f63b0e43_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.465394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 8 sessionId: sidx|13b5c60f-b727f4d6-541b1e0d-f63b0e43_0 grpc read failed
2025-10-16T16:38:17.465398Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 8 sessionId: sidx|13b5c60f-b727f4d6-541b1e0d-f63b0e43_0 grpc closed
2025-10-16T16:38:17.465402Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 8 sessionId: sidx|13b5c60f-b727f4d6-541b1e0d-f63b0e43_0 is DEAD
2025-10-16T16:38:17.465510Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.465520Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 9
2025-10-16T16:38:17.465589Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.465621Z 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-16T16:38:17.465648Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 9 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:52854
2025-10-16T16:38:17.465651Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.465654Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.465968Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 9 sessionId:  describe result for acl check
2025-10-16T16:38:17.465994Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.466001Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.466003Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.466007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688259:2513] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.466522Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688259:2513] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.467694Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688259:2513] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.470364Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688259:2513] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.470377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688259:2513] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=0
2025-10-16T16:38:17.470380Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688259:2513] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.470386Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 9 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-16T16:38:17.470511Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.470550Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|5d48aee3-c0e749f3-2692d1e4-e1bcd471_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sidx
2025-10-16T16:38:17.470656Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 9 partition: 3 MaxSeqNo: 0 sessionId: sidx|5d48aee3-c0e749f3-2692d1e4-e1bcd471_0
Init result: { status: SUCCESS init_response { session_id: "sidx|5d48aee3-c0e749f3-2692d1e4-e1bcd471_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.471184Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId: sidx|5d48aee3-c0e749f3-2692d1e4-e1bcd471_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.471195Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 9 sessionId: sidx|5d48aee3-c0e749f3-2692d1e4-e1bcd471_0 grpc read failed
2025-10-16T16:38:17.471200Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 9 sessionId: sidx|5d48aee3-c0e749f3-2692d1e4-e1bcd471_0 grpc closed
2025-10-16T16:38:17.471205Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 9 sessionId: sidx|5d48aee3-c0e749f3-2692d1e4-e1bcd471_0 is DEAD
2025-10-16T16:38:17.471301Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.471312Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 10
2025-10-16T16:38:17.471442Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.471473Z 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-16T16:38:17.471507Z 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]:52854
2025-10-16T16:38:17.471516Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.471521Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.471802Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 10 sessionId:  describe result for acl check
2025-10-16T16:38:17.471822Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.471824Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.471825Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.471827Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688292:2517] (SourceId=sid1, PreferedPartition=2) StartKqpSession
2025-10-16T16:38:17.472207Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688292:2517] (SourceId=sid1, PreferedPartition=2) Select from the table
2025-10-16T16:38:17.473863Z node 17 :PQ_PARTITION_CHOOSER INFO: partition_chooser_impl__abstract_chooser_actor.h:312: TPartitionChooser [17:7561859857761688292:2517] (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-16T16:38:17.473877Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:815: session v1 error cookie: 10 reason: MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all. sessionId: 
2025-10-16T16:38:17.473959Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 10 sessionId:  is DEAD
Init result: { status: BAD_REQUEST issues { message: "MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all." issue_code: 500003 severity: 1 } }
2025-10-16T16:38:17.474394Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.474401Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 11
2025-10-16T16:38:17.474498Z 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-16T16:38:17.474519Z 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]:52854
2025-10-16T16:38:17.474526Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=11 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.474529Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.474829Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 11 sessionId:  describe result for acl check
2025-10-16T16:38:17.474856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.474862Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.474863Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.474867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688314:2521] (SourceId=sid_rand_0, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.475293Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688314:2521] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.476982Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688314:2521] (SourceId=sid_rand_0, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.477045Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688330:2521] connected; active server actors: 1
2025-10-16T16:38:17.477063Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688314:2521] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_0
2025-10-16T16:38:17.477072Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688314:2521] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.477121Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688330:2521] disconnected.
2025-10-16T16:38:17.477130Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688330:2521] disconnected; active server actors: 1
2025-10-16T16:38:17.477132Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688330:2521] disconnected no session
2025-10-16T16:38:17.479744Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688314:2521] (SourceId=sid_rand_0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.479754Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688314:2521] (SourceId=sid_rand_0, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-16T16:38:17.479758Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688314:2521] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.479763Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 11 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-16T16:38:17.479951Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.480018Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_0|5d6d801c-fa91d6aa-f0a7907c-2a995e_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_0
2025-10-16T16:38:17.480269Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 11 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_0|5d6d801c-fa91d6aa-f0a7907c-2a995e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_0|5d6d801c-fa91d6aa-f0a7907c-2a995e_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.480787Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId: sid_rand_0|5d6d801c-fa91d6aa-f0a7907c-2a995e_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.480796Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 11 sessionId: sid_rand_0|5d6d801c-fa91d6aa-f0a7907c-2a995e_0 grpc read failed
2025-10-16T16:38:17.480802Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 11 sessionId: sid_rand_0|5d6d801c-fa91d6aa-f0a7907c-2a995e_0 grpc closed
2025-10-16T16:38:17.480806Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 11 sessionId: sid_rand_0|5d6d801c-fa91d6aa-f0a7907c-2a995e_0 is DEAD
2025-10-16T16:38:17.480885Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.480895Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 12
2025-10-16T16:38:17.481004Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.481026Z 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-16T16:38:17.481045Z 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]:52854
2025-10-16T16:38:17.481054Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=12 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.481056Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.481376Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 12 sessionId:  describe result for acl check
2025-10-16T16:38:17.481404Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.481405Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.481407Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.481410Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688348:2525] (SourceId=sid_rand_1, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.481907Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688348:2525] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.483503Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688348:2525] (SourceId=sid_rand_1, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.483549Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688364:2525] connected; active server actors: 1
2025-10-16T16:38:17.483564Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688348:2525] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_1
2025-10-16T16:38:17.483568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688348:2525] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.483611Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688364:2525] disconnected.
2025-10-16T16:38:17.483620Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688364:2525] disconnected; active server actors: 1
2025-10-16T16:38:17.483622Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688364:2525] disconnected no session
2025-10-16T16:38:17.486283Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688348:2525] (SourceId=sid_rand_1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.486292Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688348:2525] (SourceId=sid_rand_1, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-16T16:38:17.486295Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688348:2525] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.486299Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 12 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-16T16:38:17.486465Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.486518Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_1|c6fef440-74057b59-a49bf36c-10beee69_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_1
2025-10-16T16:38:17.486719Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 12 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_1|c6fef440-74057b59-a49bf36c-10beee69_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_1|c6fef440-74057b59-a49bf36c-10beee69_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.487276Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId: sid_rand_1|c6fef440-74057b59-a49bf36c-10beee69_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.487282Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 12 sessionId: sid_rand_1|c6fef440-74057b59-a49bf36c-10beee69_0 grpc read failed
2025-10-16T16:38:17.487286Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 12 sessionId: sid_rand_1|c6fef440-74057b59-a49bf36c-10beee69_0 grpc closed
2025-10-16T16:38:17.487290Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 12 sessionId: sid_rand_1|c6fef440-74057b59-a49bf36c-10beee69_0 is DEAD
2025-10-16T16:38:17.487408Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.487420Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 13
2025-10-16T16:38:17.487455Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.487517Z 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-16T16:38:17.487540Z 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]:52854
2025-10-16T16:38:17.487545Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=13 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.487548Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.487805Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 13 sessionId:  describe result for acl check
2025-10-16T16:38:17.487822Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.487823Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.487824Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.487826Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688382:2529] (SourceId=sid_rand_2, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.488248Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688382:2529] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.489717Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688382:2529] (SourceId=sid_rand_2, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.489766Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688398:2529] connected; active server actors: 1
2025-10-16T16:38:17.489773Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688382:2529] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_2
2025-10-16T16:38:17.489775Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688382:2529] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.489810Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688398:2529] disconnected.
2025-10-16T16:38:17.489815Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688398:2529] disconnected; active server actors: 1
2025-10-16T16:38:17.489817Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688398:2529] disconnected no session
2025-10-16T16:38:17.492420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688382:2529] (SourceId=sid_rand_2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.492430Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688382:2529] (SourceId=sid_rand_2, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-16T16:38:17.492434Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688382:2529] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.492440Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 13 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-16T16:38:17.492544Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.492581Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_2|b5b721a4-b38475d4-3f75dbfa-7fea66c8_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_2
2025-10-16T16:38:17.492684Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 13 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_2|b5b721a4-b38475d4-3f75dbfa-7fea66c8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_2|b5b721a4-b38475d4-3f75dbfa-7fea66c8_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.493247Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId: sid_rand_2|b5b721a4-b38475d4-3f75dbfa-7fea66c8_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.493259Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 13 sessionId: sid_rand_2|b5b721a4-b38475d4-3f75dbfa-7fea66c8_0 grpc read failed
2025-10-16T16:38:17.493264Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 13 sessionId: sid_rand_2|b5b721a4-b38475d4-3f75dbfa-7fea66c8_0 grpc closed
2025-10-16T16:38:17.493268Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 13 sessionId: sid_rand_2|b5b721a4-b38475d4-3f75dbfa-7fea66c8_0 is DEAD
2025-10-16T16:38:17.493391Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.493402Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 14
2025-10-16T16:38:17.493513Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.493532Z 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-16T16:38:17.493552Z 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]:52854
2025-10-16T16:38:17.493562Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=14 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.493565Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.493937Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 14 sessionId:  describe result for acl check
2025-10-16T16:38:17.493963Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.493967Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.493969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.493973Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688418:2533] (SourceId=sid_rand_3, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.494503Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688418:2533] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.495981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688418:2533] (SourceId=sid_rand_3, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.496021Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688434:2533] connected; active server actors: 1
2025-10-16T16:38:17.496036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688418:2533] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_3
2025-10-16T16:38:17.496038Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688418:2533] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.496064Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688434:2533] disconnected.
2025-10-16T16:38:17.496070Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688434:2533] disconnected; active server actors: 1
2025-10-16T16:38:17.496072Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688434:2533] disconnected no session
2025-10-16T16:38:17.498618Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688418:2533] (SourceId=sid_rand_3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.498632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688418:2533] (SourceId=sid_rand_3, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-16T16:38:17.498634Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688418:2533] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.498639Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 14 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-16T16:38:17.498786Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.498844Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_3|b97d0d23-7a1ff59f-a5925759-92db07de_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_3
2025-10-16T16:38:17.499126Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 14 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_3|b97d0d23-7a1ff59f-a5925759-92db07de_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_3|b97d0d23-7a1ff59f-a5925759-92db07de_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.499704Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId: sid_rand_3|b97d0d23-7a1ff59f-a5925759-92db07de_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.499712Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 14 sessionId: sid_rand_3|b97d0d23-7a1ff59f-a5925759-92db07de_0 grpc read failed
2025-10-16T16:38:17.499717Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 14 sessionId: sid_rand_3|b97d0d23-7a1ff59f-a5925759-92db07de_0 grpc closed
2025-10-16T16:38:17.499720Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 14 sessionId: sid_rand_3|b97d0d23-7a1ff59f-a5925759-92db07de_0 is DEAD
2025-10-16T16:38:17.499755Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.499764Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 15
2025-10-16T16:38:17.499849Z 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-16T16:38:17.499876Z 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]:52854
2025-10-16T16:38:17.499879Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=15 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.499883Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.499930Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.500223Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 15 sessionId:  describe result for acl check
2025-10-16T16:38:17.500246Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.500251Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.500253Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.500255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688452:2537] (SourceId=sid_rand_4, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.500622Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688452:2537] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.502054Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688452:2537] (SourceId=sid_rand_4, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.502109Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688468:2537] connected; active server actors: 1
2025-10-16T16:38:17.502126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688452:2537] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_4
2025-10-16T16:38:17.502130Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688452:2537] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.502173Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688468:2537] disconnected.
2025-10-16T16:38:17.502182Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688468:2537] disconnected; active server actors: 1
2025-10-16T16:38:17.502184Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688468:2537] disconnected no session
2025-10-16T16:38:17.504647Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688452:2537] (SourceId=sid_rand_4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.504659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688452:2537] (SourceId=sid_rand_4, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-16T16:38:17.504662Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688452:2537] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.504668Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 15 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-16T16:38:17.504776Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.504817Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_4|2c71a75d-5c8bd541-910a7767-846905e6_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_4
2025-10-16T16:38:17.504976Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 15 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_4|2c71a75d-5c8bd541-910a7767-846905e6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_4|2c71a75d-5c8bd541-910a7767-846905e6_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.505543Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId: sid_rand_4|2c71a75d-5c8bd541-910a7767-846905e6_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.505550Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 15 sessionId: sid_rand_4|2c71a75d-5c8bd541-910a7767-846905e6_0 grpc read failed
2025-10-16T16:38:17.505555Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 15 sessionId: sid_rand_4|2c71a75d-5c8bd541-910a7767-846905e6_0 grpc closed
2025-10-16T16:38:17.505560Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 15 sessionId: sid_rand_4|2c71a75d-5c8bd541-910a7767-846905e6_0 is DEAD
2025-10-16T16:38:17.505661Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.505672Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 16
2025-10-16T16:38:17.505801Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.505802Z 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-16T16:38:17.505822Z 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]:52854
2025-10-16T16:38:17.505825Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=16 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.505828Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.506134Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 16 sessionId:  describe result for acl check
2025-10-16T16:38:17.506159Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.506164Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.506165Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.506169Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688487:2541] (SourceId=sid_rand_5, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.506695Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688487:2541] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.508106Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688487:2541] (SourceId=sid_rand_5, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.508159Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688503:2541] connected; active server actors: 1
2025-10-16T16:38:17.508176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688487:2541] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_5
2025-10-16T16:38:17.508185Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688487:2541] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.508235Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688503:2541] disconnected.
2025-10-16T16:38:17.508243Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688503:2541] disconnected; active server actors: 1
2025-10-16T16:38:17.508245Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688503:2541] disconnected no session
2025-10-16T16:38:17.510552Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688487:2541] (SourceId=sid_rand_5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.510565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688487:2541] (SourceId=sid_rand_5, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-16T16:38:17.510568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688487:2541] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.510573Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 16 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-16T16:38:17.510798Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.510903Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_5|b9e4fb5a-8170527-8cbcb9cf-85a2f859_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_5
2025-10-16T16:38:17.511217Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 16 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_5|b9e4fb5a-8170527-8cbcb9cf-85a2f859_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_5|b9e4fb5a-8170527-8cbcb9cf-85a2f859_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.511717Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId: sid_rand_5|b9e4fb5a-8170527-8cbcb9cf-85a2f859_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.511726Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 16 sessionId: sid_rand_5|b9e4fb5a-8170527-8cbcb9cf-85a2f859_0 grpc read failed
2025-10-16T16:38:17.511730Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 16 sessionId: sid_rand_5|b9e4fb5a-8170527-8cbcb9cf-85a2f859_0 grpc closed
2025-10-16T16:38:17.511734Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 16 sessionId: sid_rand_5|b9e4fb5a-8170527-8cbcb9cf-85a2f859_0 is DEAD
2025-10-16T16:38:17.511821Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.511832Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 17
2025-10-16T16:38:17.511925Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.511945Z 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-16T16:38:17.511966Z 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]:52854
2025-10-16T16:38:17.511976Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=17 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.511980Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.512330Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 17 sessionId:  describe result for acl check
2025-10-16T16:38:17.512361Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.512368Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.512370Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.512373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688521:2545] (SourceId=sid_rand_6, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.512790Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688521:2545] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.514259Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688521:2545] (SourceId=sid_rand_6, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.514313Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688537:2545] connected; active server actors: 1
2025-10-16T16:38:17.514329Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688521:2545] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_6
2025-10-16T16:38:17.514337Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688521:2545] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.514375Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688537:2545] disconnected.
2025-10-16T16:38:17.514382Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688537:2545] disconnected; active server actors: 1
2025-10-16T16:38:17.514384Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688537:2545] disconnected no session
2025-10-16T16:38:17.516656Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688521:2545] (SourceId=sid_rand_6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.516669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688521:2545] (SourceId=sid_rand_6, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-16T16:38:17.516672Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688521:2545] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.516677Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 17 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-16T16:38:17.516874Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.516948Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_6|cc6328d8-5e8dff48-8e0d431e-ffe0e28d_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_6
2025-10-16T16:38:17.517153Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 17 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_6|cc6328d8-5e8dff48-8e0d431e-ffe0e28d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_6|cc6328d8-5e8dff48-8e0d431e-ffe0e28d_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.517607Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId: sid_rand_6|cc6328d8-5e8dff48-8e0d431e-ffe0e28d_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.517612Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 17 sessionId: sid_rand_6|cc6328d8-5e8dff48-8e0d431e-ffe0e28d_0 grpc read failed
2025-10-16T16:38:17.517616Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 17 sessionId: sid_rand_6|cc6328d8-5e8dff48-8e0d431e-ffe0e28d_0 grpc closed
2025-10-16T16:38:17.517619Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 17 sessionId: sid_rand_6|cc6328d8-5e8dff48-8e0d431e-ffe0e28d_0 is DEAD
2025-10-16T16:38:17.517677Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.517687Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 18
2025-10-16T16:38:17.517770Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.517798Z 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-16T16:38:17.517820Z 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]:52854
2025-10-16T16:38:17.517826Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=18 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.517829Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.518120Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 18 sessionId:  describe result for acl check
2025-10-16T16:38:17.518140Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.518144Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.518145Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.518147Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688556:2549] (SourceId=sid_rand_7, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.518475Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688556:2549] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.519831Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688556:2549] (SourceId=sid_rand_7, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.519887Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688572:2549] connected; active server actors: 1
2025-10-16T16:38:17.519899Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688556:2549] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_7
2025-10-16T16:38:17.519901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688556:2549] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.519931Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688572:2549] disconnected.
2025-10-16T16:38:17.519936Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688572:2549] disconnected; active server actors: 1
2025-10-16T16:38:17.519937Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688572:2549] disconnected no session
2025-10-16T16:38:17.522503Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688556:2549] (SourceId=sid_rand_7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.522515Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688556:2549] (SourceId=sid_rand_7, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-16T16:38:17.522518Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688556:2549] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.522524Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 18 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-16T16:38:17.522722Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.522788Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_7|cf69e636-ec50ab6c-56fcecdc-a559549b_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_7
2025-10-16T16:38:17.523013Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 18 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_7|cf69e636-ec50ab6c-56fcecdc-a559549b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_7|cf69e636-ec50ab6c-56fcecdc-a559549b_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.523516Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId: sid_rand_7|cf69e636-ec50ab6c-56fcecdc-a559549b_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.523521Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 18 sessionId: sid_rand_7|cf69e636-ec50ab6c-56fcecdc-a559549b_0 grpc read failed
2025-10-16T16:38:17.523598Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 18 sessionId: sid_rand_7|cf69e636-ec50ab6c-56fcecdc-a559549b_0
2025-10-16T16:38:17.523610Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 18 sessionId: sid_rand_7|cf69e636-ec50ab6c-56fcecdc-a559549b_0 is DEAD
2025-10-16T16:38:17.523617Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.523621Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 19
2025-10-16T16:38:17.523678Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.523701Z 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-16T16:38:17.523736Z 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]:52854
2025-10-16T16:38:17.523744Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=19 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.523747Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.524043Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 19 sessionId:  describe result for acl check
2025-10-16T16:38:17.524065Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.524070Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.524071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.524073Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688590:2553] (SourceId=sid_rand_8, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.524502Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688590:2553] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.525977Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688590:2553] (SourceId=sid_rand_8, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.526016Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688606:2553] connected; active server actors: 1
2025-10-16T16:38:17.526029Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688590:2553] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_8
2025-10-16T16:38:17.526037Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688590:2553] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.526083Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688606:2553] disconnected.
2025-10-16T16:38:17.526090Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688606:2553] disconnected; active server actors: 1
2025-10-16T16:38:17.526092Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688606:2553] disconnected no session
2025-10-16T16:38:17.528516Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688590:2553] (SourceId=sid_rand_8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.528527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688590:2553] (SourceId=sid_rand_8, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-16T16:38:17.528530Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688590:2553] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.528536Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 19 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-16T16:38:17.528721Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.528785Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_8|8308f965-499e30a8-492a3f6e-a2d9347a_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_8
2025-10-16T16:38:17.528975Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 19 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_8|8308f965-499e30a8-492a3f6e-a2d9347a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_8|8308f965-499e30a8-492a3f6e-a2d9347a_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.529514Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId: sid_rand_8|8308f965-499e30a8-492a3f6e-a2d9347a_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.529523Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 19 sessionId: sid_rand_8|8308f965-499e30a8-492a3f6e-a2d9347a_0 grpc read failed
2025-10-16T16:38:17.529528Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 19 sessionId: sid_rand_8|8308f965-499e30a8-492a3f6e-a2d9347a_0 grpc closed
2025-10-16T16:38:17.529532Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 19 sessionId: sid_rand_8|8308f965-499e30a8-492a3f6e-a2d9347a_0 is DEAD
2025-10-16T16:38:17.529641Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.529652Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 20
2025-10-16T16:38:17.529721Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.529722Z 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-16T16:38:17.529740Z 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]:52854
2025-10-16T16:38:17.529747Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=20 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.529750Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.529984Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 20 sessionId:  describe result for acl check
2025-10-16T16:38:17.530006Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.530011Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.530012Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.530015Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688627:2557] (SourceId=sid_rand_9, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.530517Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688627:2557] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.531738Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688627:2557] (SourceId=sid_rand_9, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.531815Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688643:2557] connected; active server actors: 1
2025-10-16T16:38:17.531829Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688627:2557] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_9
2025-10-16T16:38:17.531832Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688627:2557] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.531868Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688643:2557] disconnected.
2025-10-16T16:38:17.531876Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688643:2557] disconnected; active server actors: 1
2025-10-16T16:38:17.531879Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688643:2557] disconnected no session
2025-10-16T16:38:17.534249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688627:2557] (SourceId=sid_rand_9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.534259Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688627:2557] (SourceId=sid_rand_9, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-16T16:38:17.534262Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688627:2557] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.534268Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 20 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-16T16:38:17.534445Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.534492Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_9|f40d65ad-16fafa71-862e79d1-40288126_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_9
2025-10-16T16:38:17.534736Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 20 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_9|f40d65ad-16fafa71-862e79d1-40288126_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_9|f40d65ad-16fafa71-862e79d1-40288126_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.535218Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId: sid_rand_9|f40d65ad-16fafa71-862e79d1-40288126_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.535231Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 20 sessionId: sid_rand_9|f40d65ad-16fafa71-862e79d1-40288126_0 grpc read failed
2025-10-16T16:38:17.535237Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 20 sessionId: sid_rand_9|f40d65ad-16fafa71-862e79d1-40288126_0 grpc closed
2025-10-16T16:38:17.535242Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 20 sessionId: sid_rand_9|f40d65ad-16fafa71-862e79d1-40288126_0 is DEAD
2025-10-16T16:38:17.535276Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.535283Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 21
2025-10-16T16:38:17.535354Z 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-16T16:38:17.535371Z 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]:52854
2025-10-16T16:38:17.535375Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=21 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.535378Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.535453Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.535680Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 21 sessionId:  describe result for acl check
2025-10-16T16:38:17.535712Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.535718Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.535720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.535723Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688661:2561] (SourceId=sid_rand_10, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.536263Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688661:2561] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.537989Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688661:2561] (SourceId=sid_rand_10, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.538040Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688677:2561] connected; active server actors: 1
2025-10-16T16:38:17.538059Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688661:2561] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_10
2025-10-16T16:38:17.538062Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688661:2561] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.538105Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688677:2561] disconnected.
2025-10-16T16:38:17.538114Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688677:2561] disconnected; active server actors: 1
2025-10-16T16:38:17.538116Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688677:2561] disconnected no session
2025-10-16T16:38:17.540336Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688661:2561] (SourceId=sid_rand_10, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.540353Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688661:2561] (SourceId=sid_rand_10, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-16T16:38:17.540357Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688661:2561] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.540363Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 21 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-16T16:38:17.540564Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.540632Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_10|2a6b8833-151cf8db-3ca65380-b57258a7_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_10
2025-10-16T16:38:17.540841Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 21 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_10|2a6b8833-151cf8db-3ca65380-b57258a7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_10|2a6b8833-151cf8db-3ca65380-b57258a7_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.541398Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId: sid_rand_10|2a6b8833-151cf8db-3ca65380-b57258a7_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.541408Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 21 sessionId: sid_rand_10|2a6b8833-151cf8db-3ca65380-b57258a7_0 grpc read failed
2025-10-16T16:38:17.541413Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 21 sessionId: sid_rand_10|2a6b8833-151cf8db-3ca65380-b57258a7_0 grpc closed
2025-10-16T16:38:17.541418Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 21 sessionId: sid_rand_10|2a6b8833-151cf8db-3ca65380-b57258a7_0 is DEAD
2025-10-16T16:38:17.541455Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.541465Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 22
2025-10-16T16:38:17.541540Z 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-16T16:38:17.541564Z 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]:52854
2025-10-16T16:38:17.541572Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=22 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.541575Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.541646Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.541920Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 22 sessionId:  describe result for acl check
2025-10-16T16:38:17.541944Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.541946Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.541947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.541952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688695:2565] (SourceId=sid_rand_11, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.542426Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688695:2565] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.544049Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688695:2565] (SourceId=sid_rand_11, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.544119Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688711:2565] connected; active server actors: 1
2025-10-16T16:38:17.544136Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688695:2565] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_11
2025-10-16T16:38:17.544146Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688695:2565] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.544189Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688711:2565] disconnected.
2025-10-16T16:38:17.544197Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688711:2565] disconnected; active server actors: 1
2025-10-16T16:38:17.544198Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688711:2565] disconnected no session
2025-10-16T16:38:17.546474Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688695:2565] (SourceId=sid_rand_11, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.546486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688695:2565] (SourceId=sid_rand_11, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-16T16:38:17.546489Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688695:2565] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.546495Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 22 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-16T16:38:17.546603Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.546636Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_11|c6568e82-6e16c6bf-599093ae-2f898b9c_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_11
2025-10-16T16:38:17.546737Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 22 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_11|c6568e82-6e16c6bf-599093ae-2f898b9c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_11|c6568e82-6e16c6bf-599093ae-2f898b9c_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.547280Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId: sid_rand_11|c6568e82-6e16c6bf-599093ae-2f898b9c_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.547289Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 22 sessionId: sid_rand_11|c6568e82-6e16c6bf-599093ae-2f898b9c_0 grpc read failed
2025-10-16T16:38:17.547295Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 22 sessionId: sid_rand_11|c6568e82-6e16c6bf-599093ae-2f898b9c_0 grpc closed
2025-10-16T16:38:17.547300Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 22 sessionId: sid_rand_11|c6568e82-6e16c6bf-599093ae-2f898b9c_0 is DEAD
2025-10-16T16:38:17.547342Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.547350Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 23
2025-10-16T16:38:17.547416Z 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-16T16:38:17.547440Z 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]:52854
2025-10-16T16:38:17.547448Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=23 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.547450Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.547525Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.547748Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 23 sessionId:  describe result for acl check
2025-10-16T16:38:17.547773Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.547779Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.547781Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.547784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688730:2569] (SourceId=sid_rand_12, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.548273Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688730:2569] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.549751Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688730:2569] (SourceId=sid_rand_12, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.549805Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688746:2569] connected; active server actors: 1
2025-10-16T16:38:17.549824Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688730:2569] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_12
2025-10-16T16:38:17.549836Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688730:2569] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.549883Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688746:2569] disconnected.
2025-10-16T16:38:17.549891Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688746:2569] disconnected; active server actors: 1
2025-10-16T16:38:17.549895Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688746:2569] disconnected no session
2025-10-16T16:38:17.552659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688730:2569] (SourceId=sid_rand_12, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.552669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688730:2569] (SourceId=sid_rand_12, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-16T16:38:17.552671Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688730:2569] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.552676Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 23 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-16T16:38:17.552884Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.552963Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_12|15b5a139-9efc1198-50be797d-63404790_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_12
2025-10-16T16:38:17.553221Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 23 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_12|15b5a139-9efc1198-50be797d-63404790_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_12|15b5a139-9efc1198-50be797d-63404790_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.553795Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId: sid_rand_12|15b5a139-9efc1198-50be797d-63404790_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.553805Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 23 sessionId: sid_rand_12|15b5a139-9efc1198-50be797d-63404790_0 grpc read failed
2025-10-16T16:38:17.553812Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 23 sessionId: sid_rand_12|15b5a139-9efc1198-50be797d-63404790_0 grpc closed
2025-10-16T16:38:17.553817Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 23 sessionId: sid_rand_12|15b5a139-9efc1198-50be797d-63404790_0 is DEAD
2025-10-16T16:38:17.553894Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.553903Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 24
2025-10-16T16:38:17.553996Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.554028Z 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-16T16:38:17.554054Z 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]:52854
2025-10-16T16:38:17.554061Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=24 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.554064Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.554375Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 24 sessionId:  describe result for acl check
2025-10-16T16:38:17.554400Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.554401Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.554403Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.554406Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688764:2573] (SourceId=sid_rand_13, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.554793Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688764:2573] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.556349Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688764:2573] (SourceId=sid_rand_13, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.556400Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688780:2573] connected; active server actors: 1
2025-10-16T16:38:17.556413Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688764:2573] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_13
2025-10-16T16:38:17.556416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688764:2573] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.556452Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688780:2573] disconnected.
2025-10-16T16:38:17.556462Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688780:2573] disconnected; active server actors: 1
2025-10-16T16:38:17.556464Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688780:2573] disconnected no session
2025-10-16T16:38:17.558709Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688764:2573] (SourceId=sid_rand_13, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.558720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688764:2573] (SourceId=sid_rand_13, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-16T16:38:17.558723Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688764:2573] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.558728Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 24 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-16T16:38:17.558829Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.558859Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_13|da43388-6ec919ac-512a544f-3d178a3b_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_13
2025-10-16T16:38:17.558958Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 24 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_13|da43388-6ec919ac-512a544f-3d178a3b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_13|da43388-6ec919ac-512a544f-3d178a3b_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.559438Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId: sid_rand_13|da43388-6ec919ac-512a544f-3d178a3b_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.559446Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 24 sessionId: sid_rand_13|da43388-6ec919ac-512a544f-3d178a3b_0 grpc read failed
2025-10-16T16:38:17.559507Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 24 sessionId: sid_rand_13|da43388-6ec919ac-512a544f-3d178a3b_0
2025-10-16T16:38:17.559514Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 24 sessionId: sid_rand_13|da43388-6ec919ac-512a544f-3d178a3b_0 is DEAD
2025-10-16T16:38:17.559554Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.559564Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 25
2025-10-16T16:38:17.559595Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.559638Z 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-16T16:38:17.559662Z 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]:52854
2025-10-16T16:38:17.559670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=25 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.559672Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.559946Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 25 sessionId:  describe result for acl check
2025-10-16T16:38:17.559966Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.559967Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.559968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.559971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688799:2577] (SourceId=sid_rand_14, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.560434Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688799:2577] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.561962Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688799:2577] (SourceId=sid_rand_14, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.562018Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688815:2577] connected; active server actors: 1
2025-10-16T16:38:17.562035Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688799:2577] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_14
2025-10-16T16:38:17.562039Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688799:2577] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.562084Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688815:2577] disconnected.
2025-10-16T16:38:17.562093Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688815:2577] disconnected; active server actors: 1
2025-10-16T16:38:17.562096Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688815:2577] disconnected no session
2025-10-16T16:38:17.564549Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688799:2577] (SourceId=sid_rand_14, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.564561Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688799:2577] (SourceId=sid_rand_14, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-16T16:38:17.564564Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688799:2577] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.564570Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 25 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-16T16:38:17.564781Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.564859Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_14|3ffd9492-1421b0fc-dc5aad28-d63878c0_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_14
2025-10-16T16:38:17.565095Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 25 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_14|3ffd9492-1421b0fc-dc5aad28-d63878c0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_14|3ffd9492-1421b0fc-dc5aad28-d63878c0_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.565677Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId: sid_rand_14|3ffd9492-1421b0fc-dc5aad28-d63878c0_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.565687Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 25 sessionId: sid_rand_14|3ffd9492-1421b0fc-dc5aad28-d63878c0_0 grpc read failed
2025-10-16T16:38:17.565695Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 25 sessionId: sid_rand_14|3ffd9492-1421b0fc-dc5aad28-d63878c0_0 grpc closed
2025-10-16T16:38:17.565700Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 25 sessionId: sid_rand_14|3ffd9492-1421b0fc-dc5aad28-d63878c0_0 is DEAD
2025-10-16T16:38:17.565742Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.565750Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 26
2025-10-16T16:38:17.565820Z 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-16T16:38:17.565847Z 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]:52854
2025-10-16T16:38:17.565855Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=26 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.565857Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.565904Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.566139Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 26 sessionId:  describe result for acl check
2025-10-16T16:38:17.566159Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.566160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.566161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.566164Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688833:2581] (SourceId=sid_rand_15, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.566586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688833:2581] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.568049Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688833:2581] (SourceId=sid_rand_15, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.568122Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688849:2581] connected; active server actors: 1
2025-10-16T16:38:17.568138Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688833:2581] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_15
2025-10-16T16:38:17.568142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688833:2581] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.568189Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688849:2581] disconnected.
2025-10-16T16:38:17.568197Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688849:2581] disconnected; active server actors: 1
2025-10-16T16:38:17.568200Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688849:2581] disconnected no session
2025-10-16T16:38:17.570583Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688833:2581] (SourceId=sid_rand_15, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.570591Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688833:2581] (SourceId=sid_rand_15, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-16T16:38:17.570594Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688833:2581] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.570597Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 26 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-16T16:38:17.570750Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.570802Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_15|95ead219-138c6e-b9c37863-d929a41f_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_15
2025-10-16T16:38:17.571022Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 26 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_15|95ead219-138c6e-b9c37863-d929a41f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_15|95ead219-138c6e-b9c37863-d929a41f_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.571514Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId: sid_rand_15|95ead219-138c6e-b9c37863-d929a41f_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.571521Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 26 sessionId: sid_rand_15|95ead219-138c6e-b9c37863-d929a41f_0 grpc read failed
2025-10-16T16:38:17.571525Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 26 sessionId: sid_rand_15|95ead219-138c6e-b9c37863-d929a41f_0 grpc closed
2025-10-16T16:38:17.571529Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 26 sessionId: sid_rand_15|95ead219-138c6e-b9c37863-d929a41f_0 is DEAD
2025-10-16T16:38:17.571613Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.571625Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 27
2025-10-16T16:38:17.571685Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.571712Z 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-16T16:38:17.571740Z 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]:52854
2025-10-16T16:38:17.571748Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=27 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.571751Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.572133Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 27 sessionId:  describe result for acl check
2025-10-16T16:38:17.572157Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.572158Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.572160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.572163Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688867:2585] (SourceId=sid_rand_16, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.572549Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688867:2585] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.574154Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688867:2585] (SourceId=sid_rand_16, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.574193Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688883:2585] connected; active server actors: 1
2025-10-16T16:38:17.574208Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688867:2585] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_16
2025-10-16T16:38:17.574211Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688867:2585] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.574253Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688883:2585] disconnected.
2025-10-16T16:38:17.574260Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688883:2585] disconnected; active server actors: 1
2025-10-16T16:38:17.574263Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688883:2585] disconnected no session
2025-10-16T16:38:17.576865Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688867:2585] (SourceId=sid_rand_16, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.576876Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688867:2585] (SourceId=sid_rand_16, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-16T16:38:17.576880Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688867:2585] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.576887Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 27 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-16T16:38:17.577064Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.577142Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_16|8d7539af-ab652a81-8773551c-aa58e9ce_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_16
2025-10-16T16:38:17.577410Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 27 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_16|8d7539af-ab652a81-8773551c-aa58e9ce_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_16|8d7539af-ab652a81-8773551c-aa58e9ce_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.578004Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId: sid_rand_16|8d7539af-ab652a81-8773551c-aa58e9ce_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.578009Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 27 sessionId: sid_rand_16|8d7539af-ab652a81-8773551c-aa58e9ce_0 grpc read failed
2025-10-16T16:38:17.578036Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 27 sessionId: sid_rand_16|8d7539af-ab652a81-8773551c-aa58e9ce_0
2025-10-16T16:38:17.578045Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 27 sessionId: sid_rand_16|8d7539af-ab652a81-8773551c-aa58e9ce_0 is DEAD
2025-10-16T16:38:17.578126Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.578156Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.578165Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 28
2025-10-16T16:38:17.578256Z 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-16T16:38:17.578285Z 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]:52854
2025-10-16T16:38:17.578294Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=28 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.578297Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.578631Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 28 sessionId:  describe result for acl check
2025-10-16T16:38:17.578659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.578665Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.578667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.578671Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688901:2589] (SourceId=sid_rand_17, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.579126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688901:2589] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.580481Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688901:2589] (SourceId=sid_rand_17, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.580532Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688917:2589] connected; active server actors: 1
2025-10-16T16:38:17.580543Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688901:2589] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_17
2025-10-16T16:38:17.580546Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688901:2589] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.580576Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688917:2589] disconnected.
2025-10-16T16:38:17.580584Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688917:2589] disconnected; active server actors: 1
2025-10-16T16:38:17.580586Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688917:2589] disconnected no session
2025-10-16T16:38:17.582962Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688901:2589] (SourceId=sid_rand_17, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.582972Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688901:2589] (SourceId=sid_rand_17, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-16T16:38:17.582975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688901:2589] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.582982Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 28 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-16T16:38:17.583164Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.583223Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_17|7cc81691-fb9564d3-600fd1ca-647cb898_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_17
2025-10-16T16:38:17.583418Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 28 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_17|7cc81691-fb9564d3-600fd1ca-647cb898_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_17|7cc81691-fb9564d3-600fd1ca-647cb898_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.583908Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId: sid_rand_17|7cc81691-fb9564d3-600fd1ca-647cb898_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.583915Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 28 sessionId: sid_rand_17|7cc81691-fb9564d3-600fd1ca-647cb898_0 grpc read failed
2025-10-16T16:38:17.583920Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 28 sessionId: sid_rand_17|7cc81691-fb9564d3-600fd1ca-647cb898_0 grpc closed
2025-10-16T16:38:17.583924Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 28 sessionId: sid_rand_17|7cc81691-fb9564d3-600fd1ca-647cb898_0 is DEAD
2025-10-16T16:38:17.584035Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.584046Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.584049Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 29
2025-10-16T16:38:17.584133Z 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-16T16:38:17.584158Z 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]:52854
2025-10-16T16:38:17.584163Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=29 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.584167Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.584476Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 29 sessionId:  describe result for acl check
2025-10-16T16:38:17.584502Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.584507Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.584509Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.584512Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688935:2593] (SourceId=sid_rand_18, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.584988Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688935:2593] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.586377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688935:2593] (SourceId=sid_rand_18, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.586424Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688951:2593] connected; active server actors: 1
2025-10-16T16:38:17.586440Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688935:2593] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_18
2025-10-16T16:38:17.586449Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688935:2593] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.586493Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688951:2593] disconnected.
2025-10-16T16:38:17.586501Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688951:2593] disconnected; active server actors: 1
2025-10-16T16:38:17.586503Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688951:2593] disconnected no session
2025-10-16T16:38:17.589283Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688935:2593] (SourceId=sid_rand_18, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.589295Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688935:2593] (SourceId=sid_rand_18, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-16T16:38:17.589298Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688935:2593] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.589304Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 29 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-16T16:38:17.589487Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.589595Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_18|50b68173-77f08b46-577103ec-a8227781_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_18
2025-10-16T16:38:17.589898Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 29 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_18|50b68173-77f08b46-577103ec-a8227781_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_18|50b68173-77f08b46-577103ec-a8227781_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.590490Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId: sid_rand_18|50b68173-77f08b46-577103ec-a8227781_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.590501Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 29 sessionId: sid_rand_18|50b68173-77f08b46-577103ec-a8227781_0 grpc read failed
2025-10-16T16:38:17.590506Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 29 sessionId: sid_rand_18|50b68173-77f08b46-577103ec-a8227781_0 grpc closed
2025-10-16T16:38:17.590510Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 29 sessionId: sid_rand_18|50b68173-77f08b46-577103ec-a8227781_0 is DEAD
2025-10-16T16:38:17.590664Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.590674Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 30
2025-10-16T16:38:17.590687Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.590765Z 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-16T16:38:17.590792Z 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]:52854
2025-10-16T16:38:17.590806Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=30 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.590809Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.591154Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 30 sessionId:  describe result for acl check
2025-10-16T16:38:17.591182Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.591189Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.591200Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.591203Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761688969:2597] (SourceId=sid_rand_19, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.591645Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761688969:2597] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.593320Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761688969:2597] (SourceId=sid_rand_19, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.593377Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688985:2597] connected; active server actors: 1
2025-10-16T16:38:17.593392Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761688969:2597] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_19
2025-10-16T16:38:17.593396Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761688969:2597] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.593438Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688985:2597] disconnected.
2025-10-16T16:38:17.593447Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688985:2597] disconnected; active server actors: 1
2025-10-16T16:38:17.593449Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761688985:2597] disconnected no session
2025-10-16T16:38:17.596471Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761688969:2597] (SourceId=sid_rand_19, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.596483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761688969:2597] (SourceId=sid_rand_19, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-16T16:38:17.596486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761688969:2597] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.596493Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 30 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-16T16:38:17.596697Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.596769Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_19|47bb061a-d89c0d40-5e9f74ee-c16f184f_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_19
2025-10-16T16:38:17.597037Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 30 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_19|47bb061a-d89c0d40-5e9f74ee-c16f184f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_19|47bb061a-d89c0d40-5e9f74ee-c16f184f_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.597572Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId: sid_rand_19|47bb061a-d89c0d40-5e9f74ee-c16f184f_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.597582Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 30 sessionId: sid_rand_19|47bb061a-d89c0d40-5e9f74ee-c16f184f_0 grpc read failed
2025-10-16T16:38:17.597587Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 30 sessionId: sid_rand_19|47bb061a-d89c0d40-5e9f74ee-c16f184f_0 grpc closed
2025-10-16T16:38:17.597591Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 30 sessionId: sid_rand_19|47bb061a-d89c0d40-5e9f74ee-c16f184f_0 is DEAD
2025-10-16T16:38:17.597683Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.597694Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 31
2025-10-16T16:38:17.597775Z 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-16T16:38:17.597776Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.597803Z 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]:52854
2025-10-16T16:38:17.597806Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=31 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.597810Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.598121Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 31 sessionId:  describe result for acl check
2025-10-16T16:38:17.598150Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.598157Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.598159Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.598163Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689003:2601] (SourceId=sid_rand_20, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.598665Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689003:2601] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.600366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689003:2601] (SourceId=sid_rand_20, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.600432Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689019:2601] connected; active server actors: 1
2025-10-16T16:38:17.600455Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689003:2601] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_20
2025-10-16T16:38:17.600458Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689003:2601] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.600495Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689019:2601] disconnected.
2025-10-16T16:38:17.600502Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689019:2601] disconnected; active server actors: 1
2025-10-16T16:38:17.600505Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689019:2601] disconnected no session
2025-10-16T16:38:17.603082Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689003:2601] (SourceId=sid_rand_20, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.603097Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689003:2601] (SourceId=sid_rand_20, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-16T16:38:17.603100Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689003:2601] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.603107Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 31 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-16T16:38:17.603222Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.603244Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_20|5d5ec0a3-abf304ea-d30e2a2b-1988fb7d_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_20
2025-10-16T16:38:17.603361Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 31 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_20|5d5ec0a3-abf304ea-d30e2a2b-1988fb7d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_20|5d5ec0a3-abf304ea-d30e2a2b-1988fb7d_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.603899Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId: sid_rand_20|5d5ec0a3-abf304ea-d30e2a2b-1988fb7d_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.603906Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 31 sessionId: sid_rand_20|5d5ec0a3-abf304ea-d30e2a2b-1988fb7d_0 grpc read failed
2025-10-16T16:38:17.603911Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 31 sessionId: sid_rand_20|5d5ec0a3-abf304ea-d30e2a2b-1988fb7d_0 grpc closed
2025-10-16T16:38:17.603914Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 31 sessionId: sid_rand_20|5d5ec0a3-abf304ea-d30e2a2b-1988fb7d_0 is DEAD
2025-10-16T16:38:17.603989Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.603997Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 32
2025-10-16T16:38:17.604117Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.604122Z 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-16T16:38:17.604137Z 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]:52854
2025-10-16T16:38:17.604139Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=32 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.604141Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.604389Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 32 sessionId:  describe result for acl check
2025-10-16T16:38:17.604417Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.604418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.604419Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.604422Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689038:2605] (SourceId=sid_rand_21, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.604786Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689038:2605] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.606049Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689038:2605] (SourceId=sid_rand_21, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.606109Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689054:2605] connected; active server actors: 1
2025-10-16T16:38:17.606125Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689038:2605] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_21
2025-10-16T16:38:17.606129Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689038:2605] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.606174Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689054:2605] disconnected.
2025-10-16T16:38:17.606181Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689054:2605] disconnected; active server actors: 1
2025-10-16T16:38:17.606183Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689054:2605] disconnected no session
2025-10-16T16:38:17.608401Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689038:2605] (SourceId=sid_rand_21, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.608413Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689038:2605] (SourceId=sid_rand_21, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-16T16:38:17.608416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689038:2605] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.608422Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 32 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-16T16:38:17.608512Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.608548Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_21|ad4aca1d-85586bca-d1b9e57c-c968fd7c_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_21
2025-10-16T16:38:17.608636Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 32 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_21|ad4aca1d-85586bca-d1b9e57c-c968fd7c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_21|ad4aca1d-85586bca-d1b9e57c-c968fd7c_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.609144Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId: sid_rand_21|ad4aca1d-85586bca-d1b9e57c-c968fd7c_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.609151Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 32 sessionId: sid_rand_21|ad4aca1d-85586bca-d1b9e57c-c968fd7c_0 grpc read failed
2025-10-16T16:38:17.609155Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 32 sessionId: sid_rand_21|ad4aca1d-85586bca-d1b9e57c-c968fd7c_0 grpc closed
2025-10-16T16:38:17.609160Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 32 sessionId: sid_rand_21|ad4aca1d-85586bca-d1b9e57c-c968fd7c_0 is DEAD
2025-10-16T16:38:17.609251Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.609259Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 33
2025-10-16T16:38:17.609368Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.609398Z 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-16T16:38:17.609424Z 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]:52854
2025-10-16T16:38:17.609433Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=33 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.609436Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.609731Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 33 sessionId:  describe result for acl check
2025-10-16T16:38:17.609751Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.609754Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.609755Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.609758Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689073:2609] (SourceId=sid_rand_22, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.610153Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689073:2609] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.611559Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689073:2609] (SourceId=sid_rand_22, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.611607Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689089:2609] connected; active server actors: 1
2025-10-16T16:38:17.611620Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689073:2609] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_22
2025-10-16T16:38:17.611623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689073:2609] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.611660Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689089:2609] disconnected.
2025-10-16T16:38:17.611669Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689089:2609] disconnected; active server actors: 1
2025-10-16T16:38:17.611672Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689089:2609] disconnected no session
2025-10-16T16:38:17.614064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689073:2609] (SourceId=sid_rand_22, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.614075Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689073:2609] (SourceId=sid_rand_22, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-16T16:38:17.614078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689073:2609] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.614084Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 33 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-16T16:38:17.614278Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.614354Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_22|427441d2-901b2793-6c364f2c-dfde516f_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_22
2025-10-16T16:38:17.614585Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 33 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_22|427441d2-901b2793-6c364f2c-dfde516f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_22|427441d2-901b2793-6c364f2c-dfde516f_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.615118Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId: sid_rand_22|427441d2-901b2793-6c364f2c-dfde516f_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.615124Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 33 sessionId: sid_rand_22|427441d2-901b2793-6c364f2c-dfde516f_0 grpc read failed
2025-10-16T16:38:17.615127Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 33 sessionId: sid_rand_22|427441d2-901b2793-6c364f2c-dfde516f_0 grpc closed
2025-10-16T16:38:17.615131Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 33 sessionId: sid_rand_22|427441d2-901b2793-6c364f2c-dfde516f_0 is DEAD
2025-10-16T16:38:17.615161Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.615170Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 34
2025-10-16T16:38:17.615238Z 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-16T16:38:17.615263Z 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]:52854
2025-10-16T16:38:17.615271Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=34 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.615274Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.615318Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.615591Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 34 sessionId:  describe result for acl check
2025-10-16T16:38:17.615616Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.615623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.615625Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.615628Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689107:2613] (SourceId=sid_rand_23, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.616067Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689107:2613] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.617143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689107:2613] (SourceId=sid_rand_23, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.617190Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689123:2613] connected; active server actors: 1
2025-10-16T16:38:17.617205Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689107:2613] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_23
2025-10-16T16:38:17.617208Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689107:2613] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.617244Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689123:2613] disconnected.
2025-10-16T16:38:17.617253Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689123:2613] disconnected; active server actors: 1
2025-10-16T16:38:17.617256Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689123:2613] disconnected no session
2025-10-16T16:38:17.619802Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689107:2613] (SourceId=sid_rand_23, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.619812Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689107:2613] (SourceId=sid_rand_23, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-16T16:38:17.619815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689107:2613] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.619821Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 34 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-16T16:38:17.619915Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.619939Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_23|60761883-3f517977-2cf31966-1837543c_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_23
2025-10-16T16:38:17.620042Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 34 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_23|60761883-3f517977-2cf31966-1837543c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_23|60761883-3f517977-2cf31966-1837543c_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.620577Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId: sid_rand_23|60761883-3f517977-2cf31966-1837543c_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.620586Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 34 sessionId: sid_rand_23|60761883-3f517977-2cf31966-1837543c_0 grpc read failed
2025-10-16T16:38:17.620591Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 34 sessionId: sid_rand_23|60761883-3f517977-2cf31966-1837543c_0 grpc closed
2025-10-16T16:38:17.620608Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 34 sessionId: sid_rand_23|60761883-3f517977-2cf31966-1837543c_0 is DEAD
2025-10-16T16:38:17.620656Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.620664Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 35
2025-10-16T16:38:17.620730Z 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-16T16:38:17.620751Z 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]:52854
2025-10-16T16:38:17.620759Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=35 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.620762Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.620808Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.621071Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 35 sessionId:  describe result for acl check
2025-10-16T16:38:17.621095Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.621101Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.621102Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.621106Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689142:2617] (SourceId=sid_rand_24, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.621547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689142:2617] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.622842Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689142:2617] (SourceId=sid_rand_24, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.622886Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689158:2617] connected; active server actors: 1
2025-10-16T16:38:17.622899Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689142:2617] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_24
2025-10-16T16:38:17.622903Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689142:2617] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.622936Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689158:2617] disconnected.
2025-10-16T16:38:17.622943Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689158:2617] disconnected; active server actors: 1
2025-10-16T16:38:17.622944Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689158:2617] disconnected no session
2025-10-16T16:38:17.625466Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689142:2617] (SourceId=sid_rand_24, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.625476Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689142:2617] (SourceId=sid_rand_24, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-16T16:38:17.625479Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689142:2617] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.625486Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 35 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-16T16:38:17.625694Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.625785Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_24|ee3b7980-a4fc2970-b4666ef-a4975237_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_24
2025-10-16T16:38:17.625996Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 35 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_24|ee3b7980-a4fc2970-b4666ef-a4975237_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_24|ee3b7980-a4fc2970-b4666ef-a4975237_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.626544Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId: sid_rand_24|ee3b7980-a4fc2970-b4666ef-a4975237_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.626558Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 35 sessionId: sid_rand_24|ee3b7980-a4fc2970-b4666ef-a4975237_0 grpc read failed
2025-10-16T16:38:17.626562Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 35 sessionId: sid_rand_24|ee3b7980-a4fc2970-b4666ef-a4975237_0 grpc closed
2025-10-16T16:38:17.626567Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 35 sessionId: sid_rand_24|ee3b7980-a4fc2970-b4666ef-a4975237_0 is DEAD
2025-10-16T16:38:17.626692Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.626700Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 36
2025-10-16T16:38:17.626784Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.626789Z 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-16T16:38:17.626808Z 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]:52854
2025-10-16T16:38:17.626814Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=36 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.626816Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.627091Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 36 sessionId:  describe result for acl check
2025-10-16T16:38:17.627124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.627130Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.627132Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.627136Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689176:2621] (SourceId=sid_rand_25, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.627533Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689176:2621] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.629044Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689176:2621] (SourceId=sid_rand_25, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.629092Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689192:2621] connected; active server actors: 1
2025-10-16T16:38:17.629105Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689176:2621] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_25
2025-10-16T16:38:17.629113Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689176:2621] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.629154Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689192:2621] disconnected.
2025-10-16T16:38:17.629159Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689192:2621] disconnected; active server actors: 1
2025-10-16T16:38:17.629161Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689192:2621] disconnected no session
2025-10-16T16:38:17.631586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689176:2621] (SourceId=sid_rand_25, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.631595Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689176:2621] (SourceId=sid_rand_25, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-16T16:38:17.631598Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689176:2621] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.631603Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 36 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-16T16:38:17.631851Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.631927Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_25|e6bf39d7-49eeec68-b19b84a3-56df8fcd_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_25
2025-10-16T16:38:17.632216Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 36 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_25|e6bf39d7-49eeec68-b19b84a3-56df8fcd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_25|e6bf39d7-49eeec68-b19b84a3-56df8fcd_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.632662Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId: sid_rand_25|e6bf39d7-49eeec68-b19b84a3-56df8fcd_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.632673Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 36 sessionId: sid_rand_25|e6bf39d7-49eeec68-b19b84a3-56df8fcd_0 grpc read failed
2025-10-16T16:38:17.632678Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 36 sessionId: sid_rand_25|e6bf39d7-49eeec68-b19b84a3-56df8fcd_0 grpc closed
2025-10-16T16:38:17.632682Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 36 sessionId: sid_rand_25|e6bf39d7-49eeec68-b19b84a3-56df8fcd_0 is DEAD
2025-10-16T16:38:17.632768Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.632775Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 37
2025-10-16T16:38:17.632878Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.632895Z 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-16T16:38:17.632915Z 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]:52854
2025-10-16T16:38:17.632923Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=37 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.632926Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.633247Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 37 sessionId:  describe result for acl check
2025-10-16T16:38:17.633270Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.633272Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.633273Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.633277Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689210:2625] (SourceId=sid_rand_26, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.633774Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689210:2625] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.635159Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689210:2625] (SourceId=sid_rand_26, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.635212Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689226:2625] connected; active server actors: 1
2025-10-16T16:38:17.635227Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689210:2625] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_26
2025-10-16T16:38:17.635237Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689210:2625] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.635274Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689226:2625] disconnected.
2025-10-16T16:38:17.635281Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689226:2625] disconnected; active server actors: 1
2025-10-16T16:38:17.635283Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689226:2625] disconnected no session
2025-10-16T16:38:17.637764Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689210:2625] (SourceId=sid_rand_26, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.637774Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689210:2625] (SourceId=sid_rand_26, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-16T16:38:17.637777Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689210:2625] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.637782Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 37 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-16T16:38:17.637884Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.637920Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_26|aa5e08e0-989d8bc0-4886017a-be9eb71d_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_26
2025-10-16T16:38:17.638029Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 37 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_26|aa5e08e0-989d8bc0-4886017a-be9eb71d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_26|aa5e08e0-989d8bc0-4886017a-be9eb71d_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.638592Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId: sid_rand_26|aa5e08e0-989d8bc0-4886017a-be9eb71d_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.638601Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 37 sessionId: sid_rand_26|aa5e08e0-989d8bc0-4886017a-be9eb71d_0 grpc read failed
2025-10-16T16:38:17.638606Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 37 sessionId: sid_rand_26|aa5e08e0-989d8bc0-4886017a-be9eb71d_0 grpc closed
2025-10-16T16:38:17.638609Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 37 sessionId: sid_rand_26|aa5e08e0-989d8bc0-4886017a-be9eb71d_0 is DEAD
2025-10-16T16:38:17.638698Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.638712Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 38
2025-10-16T16:38:17.638817Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.638818Z 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-16T16:38:17.638833Z 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]:52854
2025-10-16T16:38:17.638836Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=38 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.638838Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.639133Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 38 sessionId:  describe result for acl check
2025-10-16T16:38:17.639157Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.639158Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.639160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.639163Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689245:2629] (SourceId=sid_rand_27, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.639653Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689245:2629] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.641242Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689245:2629] (SourceId=sid_rand_27, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.641323Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689261:2629] connected; active server actors: 1
2025-10-16T16:38:17.641347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689245:2629] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_27
2025-10-16T16:38:17.641356Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689245:2629] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.641395Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689261:2629] disconnected.
2025-10-16T16:38:17.641403Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689261:2629] disconnected; active server actors: 1
2025-10-16T16:38:17.641405Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689261:2629] disconnected no session
2025-10-16T16:38:17.643696Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689245:2629] (SourceId=sid_rand_27, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.643707Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689245:2629] (SourceId=sid_rand_27, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-16T16:38:17.643710Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689245:2629] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.643715Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 38 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-16T16:38:17.643810Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.643847Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_27|4de4f6c5-fe877335-8a3b3018-97ef22d_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_27
2025-10-16T16:38:17.643944Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 38 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_27|4de4f6c5-fe877335-8a3b3018-97ef22d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_27|4de4f6c5-fe877335-8a3b3018-97ef22d_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.644458Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId: sid_rand_27|4de4f6c5-fe877335-8a3b3018-97ef22d_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.644467Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 38 sessionId: sid_rand_27|4de4f6c5-fe877335-8a3b3018-97ef22d_0 grpc read failed
2025-10-16T16:38:17.644473Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 38 sessionId: sid_rand_27|4de4f6c5-fe877335-8a3b3018-97ef22d_0 grpc closed
2025-10-16T16:38:17.644477Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 38 sessionId: sid_rand_27|4de4f6c5-fe877335-8a3b3018-97ef22d_0 is DEAD
2025-10-16T16:38:17.644599Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.644609Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 39
2025-10-16T16:38:17.644661Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.644684Z 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-16T16:38:17.644709Z 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]:52854
2025-10-16T16:38:17.644717Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=39 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.644721Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.645027Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 39 sessionId:  describe result for acl check
2025-10-16T16:38:17.645056Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.645057Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.645059Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.645063Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689280:2633] (SourceId=sid_rand_28, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.645569Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689280:2633] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.646816Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689280:2633] (SourceId=sid_rand_28, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.646868Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689296:2633] connected; active server actors: 1
2025-10-16T16:38:17.646883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689280:2633] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_28
2025-10-16T16:38:17.646891Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689280:2633] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.646926Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689296:2633] disconnected.
2025-10-16T16:38:17.646933Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689296:2633] disconnected; active server actors: 1
2025-10-16T16:38:17.646935Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689296:2633] disconnected no session
2025-10-16T16:38:17.649341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689280:2633] (SourceId=sid_rand_28, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.649352Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689280:2633] (SourceId=sid_rand_28, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-16T16:38:17.649355Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689280:2633] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.649361Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 39 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-16T16:38:17.649548Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.649606Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_28|95653378-14eee757-8558ea6-286f3da2_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_28
2025-10-16T16:38:17.649798Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 39 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_28|95653378-14eee757-8558ea6-286f3da2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_28|95653378-14eee757-8558ea6-286f3da2_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.650293Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId: sid_rand_28|95653378-14eee757-8558ea6-286f3da2_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.650303Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 39 sessionId: sid_rand_28|95653378-14eee757-8558ea6-286f3da2_0 grpc read failed
2025-10-16T16:38:17.650308Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 39 sessionId: sid_rand_28|95653378-14eee757-8558ea6-286f3da2_0 grpc closed
2025-10-16T16:38:17.650312Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 39 sessionId: sid_rand_28|95653378-14eee757-8558ea6-286f3da2_0 is DEAD
2025-10-16T16:38:17.650448Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.650464Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 40
2025-10-16T16:38:17.650482Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.650584Z 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-16T16:38:17.650609Z 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]:52854
2025-10-16T16:38:17.650616Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=40 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.650620Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.650935Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 40 sessionId:  describe result for acl check
2025-10-16T16:38:17.650958Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.650959Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.650961Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.650964Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689314:2637] (SourceId=sid_rand_29, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.651429Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689314:2637] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.653061Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689314:2637] (SourceId=sid_rand_29, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.653107Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689330:2637] connected; active server actors: 1
2025-10-16T16:38:17.653123Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689314:2637] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_29
2025-10-16T16:38:17.653134Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689314:2637] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.653175Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689330:2637] disconnected.
2025-10-16T16:38:17.653184Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689330:2637] disconnected; active server actors: 1
2025-10-16T16:38:17.653186Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689330:2637] disconnected no session
2025-10-16T16:38:17.655429Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689314:2637] (SourceId=sid_rand_29, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.655441Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689314:2637] (SourceId=sid_rand_29, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-16T16:38:17.655444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689314:2637] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.655449Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 40 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-16T16:38:17.655629Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.655706Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_29|657b5a4c-82e25046-42cc2092-3dc6bb0f_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_29
2025-10-16T16:38:17.655898Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 40 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_29|657b5a4c-82e25046-42cc2092-3dc6bb0f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_29|657b5a4c-82e25046-42cc2092-3dc6bb0f_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.656352Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId: sid_rand_29|657b5a4c-82e25046-42cc2092-3dc6bb0f_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.656360Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 40 sessionId: sid_rand_29|657b5a4c-82e25046-42cc2092-3dc6bb0f_0 grpc read failed
2025-10-16T16:38:17.656365Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 40 sessionId: sid_rand_29|657b5a4c-82e25046-42cc2092-3dc6bb0f_0 grpc closed
2025-10-16T16:38:17.656368Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 40 sessionId: sid_rand_29|657b5a4c-82e25046-42cc2092-3dc6bb0f_0 is DEAD
2025-10-16T16:38:17.656527Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.656535Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 41
2025-10-16T16:38:17.656579Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.656607Z 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-16T16:38:17.656631Z 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]:52854
2025-10-16T16:38:17.656639Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=41 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.656642Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.656950Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 41 sessionId:  describe result for acl check
2025-10-16T16:38:17.656974Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.656976Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.656978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.656981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689351:2641] (SourceId=sid_rand_30, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.657343Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689351:2641] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.658569Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689351:2641] (SourceId=sid_rand_30, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.658607Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689367:2641] connected; active server actors: 1
2025-10-16T16:38:17.658614Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689351:2641] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_30
2025-10-16T16:38:17.658617Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689351:2641] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.658657Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689367:2641] disconnected.
2025-10-16T16:38:17.658665Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689367:2641] disconnected; active server actors: 1
2025-10-16T16:38:17.658667Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689367:2641] disconnected no session
2025-10-16T16:38:17.661305Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689351:2641] (SourceId=sid_rand_30, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.661316Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689351:2641] (SourceId=sid_rand_30, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-16T16:38:17.661319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689351:2641] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.661325Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 41 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-16T16:38:17.661519Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.661583Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_30|6b167c0e-10baee73-f24fb487-c9339957_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_30
2025-10-16T16:38:17.661794Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 41 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_30|6b167c0e-10baee73-f24fb487-c9339957_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_30|6b167c0e-10baee73-f24fb487-c9339957_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.662424Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId: sid_rand_30|6b167c0e-10baee73-f24fb487-c9339957_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.662432Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 41 sessionId: sid_rand_30|6b167c0e-10baee73-f24fb487-c9339957_0 grpc read failed
2025-10-16T16:38:17.662438Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 41 sessionId: sid_rand_30|6b167c0e-10baee73-f24fb487-c9339957_0 grpc closed
2025-10-16T16:38:17.662443Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 41 sessionId: sid_rand_30|6b167c0e-10baee73-f24fb487-c9339957_0 is DEAD
2025-10-16T16:38:17.662473Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.662484Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 42
2025-10-16T16:38:17.662566Z 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-16T16:38:17.662591Z 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]:52854
2025-10-16T16:38:17.662600Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=42 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.662603Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.662640Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.662940Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 42 sessionId:  describe result for acl check
2025-10-16T16:38:17.662975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.662980Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.662982Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.662986Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689386:2645] (SourceId=sid_rand_31, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.663486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689386:2645] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.664796Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689386:2645] (SourceId=sid_rand_31, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.664844Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689402:2645] connected; active server actors: 1
2025-10-16T16:38:17.664859Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689386:2645] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_31
2025-10-16T16:38:17.664868Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689386:2645] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.664906Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689402:2645] disconnected.
2025-10-16T16:38:17.664912Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689402:2645] disconnected; active server actors: 1
2025-10-16T16:38:17.664913Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689402:2645] disconnected no session
2025-10-16T16:38:17.667627Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689386:2645] (SourceId=sid_rand_31, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.667639Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689386:2645] (SourceId=sid_rand_31, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-16T16:38:17.667642Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689386:2645] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.667648Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 42 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-16T16:38:17.667868Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.667949Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_31|28a169f6-848d824b-d05d2305-4136d09e_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_31
2025-10-16T16:38:17.668181Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 42 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_31|28a169f6-848d824b-d05d2305-4136d09e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_31|28a169f6-848d824b-d05d2305-4136d09e_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.668682Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId: sid_rand_31|28a169f6-848d824b-d05d2305-4136d09e_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.668692Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 42 sessionId: sid_rand_31|28a169f6-848d824b-d05d2305-4136d09e_0 grpc read failed
2025-10-16T16:38:17.668696Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 42 sessionId: sid_rand_31|28a169f6-848d824b-d05d2305-4136d09e_0 grpc closed
2025-10-16T16:38:17.668700Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 42 sessionId: sid_rand_31|28a169f6-848d824b-d05d2305-4136d09e_0 is DEAD
2025-10-16T16:38:17.668805Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.668814Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 43
2025-10-16T16:38:17.668882Z 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-16T16:38:17.668890Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.668900Z 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]:52854
2025-10-16T16:38:17.668903Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=43 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.668905Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.669168Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 43 sessionId:  describe result for acl check
2025-10-16T16:38:17.669192Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.669194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.669195Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.669199Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689420:2649] (SourceId=sid_rand_32, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.669571Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689420:2649] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.671001Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689420:2649] (SourceId=sid_rand_32, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.671052Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689436:2649] connected; active server actors: 1
2025-10-16T16:38:17.671068Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689420:2649] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_32
2025-10-16T16:38:17.671078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689420:2649] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.671123Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689436:2649] disconnected.
2025-10-16T16:38:17.671131Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689436:2649] disconnected; active server actors: 1
2025-10-16T16:38:17.671134Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689436:2649] disconnected no session
2025-10-16T16:38:17.673530Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689420:2649] (SourceId=sid_rand_32, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.673542Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689420:2649] (SourceId=sid_rand_32, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-16T16:38:17.673545Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689420:2649] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.673551Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 43 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-16T16:38:17.673730Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.673794Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_32|a5ef4fb2-eb902206-298219c1-897b7956_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_32
2025-10-16T16:38:17.674001Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 43 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_32|a5ef4fb2-eb902206-298219c1-897b7956_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_32|a5ef4fb2-eb902206-298219c1-897b7956_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.674536Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId: sid_rand_32|a5ef4fb2-eb902206-298219c1-897b7956_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.674546Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 43 sessionId: sid_rand_32|a5ef4fb2-eb902206-298219c1-897b7956_0 grpc read failed
2025-10-16T16:38:17.674551Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 43 sessionId: sid_rand_32|a5ef4fb2-eb902206-298219c1-897b7956_0 grpc closed
2025-10-16T16:38:17.674555Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 43 sessionId: sid_rand_32|a5ef4fb2-eb902206-298219c1-897b7956_0 is DEAD
2025-10-16T16:38:17.674627Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.674634Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 44
2025-10-16T16:38:17.674725Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.674744Z 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-16T16:38:17.674759Z 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]:52854
2025-10-16T16:38:17.674765Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=44 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.674768Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.675026Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 44 sessionId:  describe result for acl check
2025-10-16T16:38:17.675047Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.675048Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.675049Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.675052Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689454:2653] (SourceId=sid_rand_33, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.675435Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689454:2653] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.676555Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689454:2653] (SourceId=sid_rand_33, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.676596Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689470:2653] connected; active server actors: 1
2025-10-16T16:38:17.676609Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689454:2653] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_33
2025-10-16T16:38:17.676619Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689454:2653] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.676658Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689470:2653] disconnected.
2025-10-16T16:38:17.676667Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689470:2653] disconnected; active server actors: 1
2025-10-16T16:38:17.676669Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689470:2653] disconnected no session
2025-10-16T16:38:17.678970Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689454:2653] (SourceId=sid_rand_33, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.678982Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689454:2653] (SourceId=sid_rand_33, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-16T16:38:17.678984Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689454:2653] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.678990Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 44 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-16T16:38:17.679185Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.679249Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_33|b22edecc-a354801f-1ce6539a-39228cb_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_33
2025-10-16T16:38:17.679496Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 44 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_33|b22edecc-a354801f-1ce6539a-39228cb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_33|b22edecc-a354801f-1ce6539a-39228cb_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.680058Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId: sid_rand_33|b22edecc-a354801f-1ce6539a-39228cb_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.680067Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 44 sessionId: sid_rand_33|b22edecc-a354801f-1ce6539a-39228cb_0 grpc read failed
2025-10-16T16:38:17.680072Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 44 sessionId: sid_rand_33|b22edecc-a354801f-1ce6539a-39228cb_0 grpc closed
2025-10-16T16:38:17.680075Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 44 sessionId: sid_rand_33|b22edecc-a354801f-1ce6539a-39228cb_0 is DEAD
2025-10-16T16:38:17.680101Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.680109Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 45
2025-10-16T16:38:17.680178Z 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-16T16:38:17.680196Z 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]:52854
2025-10-16T16:38:17.680198Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=45 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.680200Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.680251Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.680426Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 45 sessionId:  describe result for acl check
2025-10-16T16:38:17.680445Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.680451Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.680452Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.680454Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689488:2657] (SourceId=sid_rand_34, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.680785Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689488:2657] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.682232Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689488:2657] (SourceId=sid_rand_34, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.682284Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689505:2657] connected; active server actors: 1
2025-10-16T16:38:17.682300Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689488:2657] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_34
2025-10-16T16:38:17.682306Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689488:2657] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.682340Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689505:2657] disconnected.
2025-10-16T16:38:17.682347Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689505:2657] disconnected; active server actors: 1
2025-10-16T16:38:17.682348Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689505:2657] disconnected no session
2025-10-16T16:38:17.684672Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689488:2657] (SourceId=sid_rand_34, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.684683Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689488:2657] (SourceId=sid_rand_34, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-16T16:38:17.684687Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689488:2657] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.684693Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 45 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-16T16:38:17.684790Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.684814Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_34|72c66092-80994e2e-bdb8cd94-e5d57310_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_34
2025-10-16T16:38:17.684927Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 45 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_34|72c66092-80994e2e-bdb8cd94-e5d57310_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_34|72c66092-80994e2e-bdb8cd94-e5d57310_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.685435Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId: sid_rand_34|72c66092-80994e2e-bdb8cd94-e5d57310_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.685443Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 45 sessionId: sid_rand_34|72c66092-80994e2e-bdb8cd94-e5d57310_0 grpc read failed
2025-10-16T16:38:17.685448Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 45 sessionId: sid_rand_34|72c66092-80994e2e-bdb8cd94-e5d57310_0 grpc closed
2025-10-16T16:38:17.685453Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 45 sessionId: sid_rand_34|72c66092-80994e2e-bdb8cd94-e5d57310_0 is DEAD
2025-10-16T16:38:17.685559Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.685567Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 46
2025-10-16T16:38:17.685681Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.685688Z 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-16T16:38:17.685703Z 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]:52854
2025-10-16T16:38:17.685705Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=46 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.685708Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.686020Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 46 sessionId:  describe result for acl check
2025-10-16T16:38:17.686045Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.686051Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.686053Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.686057Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689524:2661] (SourceId=sid_rand_35, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.686555Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689524:2661] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.687807Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689524:2661] (SourceId=sid_rand_35, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.687856Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689540:2661] connected; active server actors: 1
2025-10-16T16:38:17.687873Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689524:2661] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_35
2025-10-16T16:38:17.687878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689524:2661] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.687915Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689540:2661] disconnected.
2025-10-16T16:38:17.687922Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689540:2661] disconnected; active server actors: 1
2025-10-16T16:38:17.687923Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689540:2661] disconnected no session
2025-10-16T16:38:17.690441Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689524:2661] (SourceId=sid_rand_35, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.690453Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689524:2661] (SourceId=sid_rand_35, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-16T16:38:17.690456Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689524:2661] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.690462Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 46 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-16T16:38:17.690562Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.690599Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_35|5af2aee1-ceff46d4-368a09d9-de24509_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_35
2025-10-16T16:38:17.690690Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 46 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_35|5af2aee1-ceff46d4-368a09d9-de24509_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_35|5af2aee1-ceff46d4-368a09d9-de24509_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.691153Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId: sid_rand_35|5af2aee1-ceff46d4-368a09d9-de24509_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.691165Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 46 sessionId: sid_rand_35|5af2aee1-ceff46d4-368a09d9-de24509_0 grpc read failed
2025-10-16T16:38:17.691170Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 46 sessionId: sid_rand_35|5af2aee1-ceff46d4-368a09d9-de24509_0 grpc closed
2025-10-16T16:38:17.691175Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 46 sessionId: sid_rand_35|5af2aee1-ceff46d4-368a09d9-de24509_0 is DEAD
2025-10-16T16:38:17.691223Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.691231Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 47
2025-10-16T16:38:17.691313Z 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-16T16:38:17.691332Z 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]:52854
2025-10-16T16:38:17.691336Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=47 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.691338Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.691393Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.691688Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 47 sessionId:  describe result for acl check
2025-10-16T16:38:17.691718Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.691725Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.691727Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.691731Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689559:2665] (SourceId=sid_rand_36, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.692273Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689559:2665] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.693473Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689559:2665] (SourceId=sid_rand_36, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.693537Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689575:2665] connected; active server actors: 1
2025-10-16T16:38:17.693554Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689559:2665] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_36
2025-10-16T16:38:17.693564Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689559:2665] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.693609Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689575:2665] disconnected.
2025-10-16T16:38:17.693617Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689575:2665] disconnected; active server actors: 1
2025-10-16T16:38:17.693620Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689575:2665] disconnected no session
2025-10-16T16:38:17.696126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689559:2665] (SourceId=sid_rand_36, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.696138Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689559:2665] (SourceId=sid_rand_36, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-16T16:38:17.696141Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689559:2665] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.696148Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 47 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-16T16:38:17.696329Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.696387Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_36|47cdb62f-cf67851-3ea7b68-98132c64_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_36
2025-10-16T16:38:17.696573Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 47 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_36|47cdb62f-cf67851-3ea7b68-98132c64_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_36|47cdb62f-cf67851-3ea7b68-98132c64_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.697086Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId: sid_rand_36|47cdb62f-cf67851-3ea7b68-98132c64_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.697094Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 47 sessionId: sid_rand_36|47cdb62f-cf67851-3ea7b68-98132c64_0 grpc read failed
2025-10-16T16:38:17.697170Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 47 sessionId: sid_rand_36|47cdb62f-cf67851-3ea7b68-98132c64_0
2025-10-16T16:38:17.697180Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 47 sessionId: sid_rand_36|47cdb62f-cf67851-3ea7b68-98132c64_0 is DEAD
2025-10-16T16:38:17.697199Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.697203Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 48
2025-10-16T16:38:17.697267Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.697291Z 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-16T16:38:17.697310Z 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]:52854
2025-10-16T16:38:17.697319Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=48 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.697322Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.697661Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 48 sessionId:  describe result for acl check
2025-10-16T16:38:17.697686Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.697691Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.697693Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.697697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689593:2669] (SourceId=sid_rand_37, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.698234Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689593:2669] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.699595Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689593:2669] (SourceId=sid_rand_37, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.699651Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689609:2669] connected; active server actors: 1
2025-10-16T16:38:17.699670Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689593:2669] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_37
2025-10-16T16:38:17.699680Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689593:2669] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.699724Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689609:2669] disconnected.
2025-10-16T16:38:17.699732Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689609:2669] disconnected; active server actors: 1
2025-10-16T16:38:17.699735Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689609:2669] disconnected no session
2025-10-16T16:38:17.702157Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689593:2669] (SourceId=sid_rand_37, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.702168Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689593:2669] (SourceId=sid_rand_37, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-16T16:38:17.702172Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689593:2669] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.702178Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 48 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-16T16:38:17.702288Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.702324Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_37|3fe046b1-b583b75d-93c22ead-fe691486_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_37
2025-10-16T16:38:17.702439Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 48 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_37|3fe046b1-b583b75d-93c22ead-fe691486_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_37|3fe046b1-b583b75d-93c22ead-fe691486_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.702854Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId: sid_rand_37|3fe046b1-b583b75d-93c22ead-fe691486_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.702867Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 48 sessionId: sid_rand_37|3fe046b1-b583b75d-93c22ead-fe691486_0 grpc read failed
2025-10-16T16:38:17.702949Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.702966Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 49
2025-10-16T16:38:17.702983Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 48 sessionId: sid_rand_37|3fe046b1-b583b75d-93c22ead-fe691486_0
2025-10-16T16:38:17.702992Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 48 sessionId: sid_rand_37|3fe046b1-b583b75d-93c22ead-fe691486_0 is DEAD
2025-10-16T16:38:17.703026Z 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-16T16:38:17.703044Z 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]:52854
2025-10-16T16:38:17.703051Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=49 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.703054Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.703072Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.703313Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 49 sessionId:  describe result for acl check
2025-10-16T16:38:17.703333Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.703338Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.703339Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.703343Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689628:2673] (SourceId=sid_rand_38, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.703681Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689628:2673] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.705186Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689628:2673] (SourceId=sid_rand_38, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.705231Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689644:2673] connected; active server actors: 1
2025-10-16T16:38:17.705245Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689628:2673] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_38
2025-10-16T16:38:17.705251Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689628:2673] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.705283Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689644:2673] disconnected.
2025-10-16T16:38:17.705289Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689644:2673] disconnected; active server actors: 1
2025-10-16T16:38:17.705290Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689644:2673] disconnected no session
2025-10-16T16:38:17.707775Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689628:2673] (SourceId=sid_rand_38, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.707786Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689628:2673] (SourceId=sid_rand_38, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-16T16:38:17.707789Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689628:2673] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.707795Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 49 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-16T16:38:17.707973Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.708047Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_38|37fe697c-7d569348-6f614515-c222e70_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_38
2025-10-16T16:38:17.708245Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 49 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_38|37fe697c-7d569348-6f614515-c222e70_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_38|37fe697c-7d569348-6f614515-c222e70_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.708699Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId: sid_rand_38|37fe697c-7d569348-6f614515-c222e70_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.708706Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 49 sessionId: sid_rand_38|37fe697c-7d569348-6f614515-c222e70_0 grpc read failed
2025-10-16T16:38:17.708711Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 49 sessionId: sid_rand_38|37fe697c-7d569348-6f614515-c222e70_0 grpc closed
2025-10-16T16:38:17.708714Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 49 sessionId: sid_rand_38|37fe697c-7d569348-6f614515-c222e70_0 is DEAD
2025-10-16T16:38:17.708787Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.708797Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 50
2025-10-16T16:38:17.708889Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.708895Z 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-16T16:38:17.708909Z 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]:52854
2025-10-16T16:38:17.708915Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=50 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.708917Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.709197Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 50 sessionId:  describe result for acl check
2025-10-16T16:38:17.709221Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.709227Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.709229Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.709233Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689662:2677] (SourceId=sid_rand_39, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.709732Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689662:2677] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.711418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689662:2677] (SourceId=sid_rand_39, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.711477Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689678:2677] connected; active server actors: 1
2025-10-16T16:38:17.711490Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689662:2677] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_39
2025-10-16T16:38:17.711492Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689662:2677] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.711531Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689678:2677] disconnected.
2025-10-16T16:38:17.711538Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689678:2677] disconnected; active server actors: 1
2025-10-16T16:38:17.711541Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689678:2677] disconnected no session
2025-10-16T16:38:17.713762Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689662:2677] (SourceId=sid_rand_39, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.713773Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689662:2677] (SourceId=sid_rand_39, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-16T16:38:17.713776Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689662:2677] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.713782Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 50 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-16T16:38:17.713953Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.714012Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_39|31674bb7-dec873e2-9447606f-716fe92a_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_39
2025-10-16T16:38:17.714215Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 50 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_39|31674bb7-dec873e2-9447606f-716fe92a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_39|31674bb7-dec873e2-9447606f-716fe92a_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.714670Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId: sid_rand_39|31674bb7-dec873e2-9447606f-716fe92a_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.714677Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 50 sessionId: sid_rand_39|31674bb7-dec873e2-9447606f-716fe92a_0 grpc read failed
2025-10-16T16:38:17.714681Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 50 sessionId: sid_rand_39|31674bb7-dec873e2-9447606f-716fe92a_0 grpc closed
2025-10-16T16:38:17.714685Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 50 sessionId: sid_rand_39|31674bb7-dec873e2-9447606f-716fe92a_0 is DEAD
2025-10-16T16:38:17.714740Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.714748Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 51
2025-10-16T16:38:17.714858Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.714875Z 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-16T16:38:17.714895Z 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]:52854
2025-10-16T16:38:17.714903Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=51 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.714905Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.715237Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 51 sessionId:  describe result for acl check
2025-10-16T16:38:17.715266Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.715272Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.715274Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.715279Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689696:2681] (SourceId=sid_rand_40, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.715874Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689696:2681] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.717023Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689696:2681] (SourceId=sid_rand_40, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.717088Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689712:2681] connected; active server actors: 1
2025-10-16T16:38:17.717108Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689696:2681] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_40
2025-10-16T16:38:17.717116Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689696:2681] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.717151Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689712:2681] disconnected.
2025-10-16T16:38:17.717158Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689712:2681] disconnected; active server actors: 1
2025-10-16T16:38:17.717161Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689712:2681] disconnected no session
2025-10-16T16:38:17.719385Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689696:2681] (SourceId=sid_rand_40, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.719399Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689696:2681] (SourceId=sid_rand_40, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-16T16:38:17.719401Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689696:2681] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.719407Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 51 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-16T16:38:17.719502Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.719538Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_40|cfb73ea6-24fb997d-606a636f-b98a8f5a_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_40
2025-10-16T16:38:17.719629Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 51 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_40|cfb73ea6-24fb997d-606a636f-b98a8f5a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_40|cfb73ea6-24fb997d-606a636f-b98a8f5a_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.720043Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId: sid_rand_40|cfb73ea6-24fb997d-606a636f-b98a8f5a_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.720053Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 51 sessionId: sid_rand_40|cfb73ea6-24fb997d-606a636f-b98a8f5a_0 grpc read failed
2025-10-16T16:38:17.720058Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 51 sessionId: sid_rand_40|cfb73ea6-24fb997d-606a636f-b98a8f5a_0 grpc closed
2025-10-16T16:38:17.720062Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 51 sessionId: sid_rand_40|cfb73ea6-24fb997d-606a636f-b98a8f5a_0 is DEAD
2025-10-16T16:38:17.720177Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.720184Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 52
2025-10-16T16:38:17.720301Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.720324Z 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-16T16:38:17.720365Z 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]:52854
2025-10-16T16:38:17.720375Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=52 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.720377Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.720703Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 52 sessionId:  describe result for acl check
2025-10-16T16:38:17.720731Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.720736Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.720738Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.720741Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689731:2685] (SourceId=sid_rand_41, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.721235Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689731:2685] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.722752Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689731:2685] (SourceId=sid_rand_41, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.722795Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689747:2685] connected; active server actors: 1
2025-10-16T16:38:17.722810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689731:2685] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_41
2025-10-16T16:38:17.722817Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689731:2685] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.722854Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689747:2685] disconnected.
2025-10-16T16:38:17.722861Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689747:2685] disconnected; active server actors: 1
2025-10-16T16:38:17.722864Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689747:2685] disconnected no session
2025-10-16T16:38:17.725162Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689731:2685] (SourceId=sid_rand_41, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.725174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689731:2685] (SourceId=sid_rand_41, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-16T16:38:17.725177Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689731:2685] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.725183Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 52 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-16T16:38:17.725347Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.725414Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_41|dff8322c-1e4e6895-5453fbae-d1704931_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_41
2025-10-16T16:38:17.725622Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 52 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_41|dff8322c-1e4e6895-5453fbae-d1704931_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_41|dff8322c-1e4e6895-5453fbae-d1704931_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.726092Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId: sid_rand_41|dff8322c-1e4e6895-5453fbae-d1704931_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.726103Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 52 sessionId: sid_rand_41|dff8322c-1e4e6895-5453fbae-d1704931_0 grpc read failed
2025-10-16T16:38:17.726108Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 52 sessionId: sid_rand_41|dff8322c-1e4e6895-5453fbae-d1704931_0 grpc closed
2025-10-16T16:38:17.726112Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 52 sessionId: sid_rand_41|dff8322c-1e4e6895-5453fbae-d1704931_0 is DEAD
2025-10-16T16:38:17.726166Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.726175Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 53
2025-10-16T16:38:17.726274Z 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-16T16:38:17.726298Z 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]:52854
2025-10-16T16:38:17.726304Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=53 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.726307Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.726346Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.726607Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 53 sessionId:  describe result for acl check
2025-10-16T16:38:17.726632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.726640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.726642Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.726645Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689765:2689] (SourceId=sid_rand_42, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.727116Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689765:2689] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.728282Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689765:2689] (SourceId=sid_rand_42, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.728331Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689781:2689] connected; active server actors: 1
2025-10-16T16:38:17.728347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689765:2689] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_42
2025-10-16T16:38:17.728354Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689765:2689] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.728396Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689781:2689] disconnected.
2025-10-16T16:38:17.728404Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689781:2689] disconnected; active server actors: 1
2025-10-16T16:38:17.728406Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689781:2689] disconnected no session
2025-10-16T16:38:17.730807Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689765:2689] (SourceId=sid_rand_42, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.730820Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689765:2689] (SourceId=sid_rand_42, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-16T16:38:17.730823Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689765:2689] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.730829Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 53 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-16T16:38:17.731000Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.731061Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_42|43e1ffe4-175b9973-18bf715-195cc6a8_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_42
2025-10-16T16:38:17.731253Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 53 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_42|43e1ffe4-175b9973-18bf715-195cc6a8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_42|43e1ffe4-175b9973-18bf715-195cc6a8_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.731637Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId: sid_rand_42|43e1ffe4-175b9973-18bf715-195cc6a8_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.731645Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 53 sessionId: sid_rand_42|43e1ffe4-175b9973-18bf715-195cc6a8_0 grpc read failed
2025-10-16T16:38:17.731649Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 53 sessionId: sid_rand_42|43e1ffe4-175b9973-18bf715-195cc6a8_0 grpc closed
2025-10-16T16:38:17.731653Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 53 sessionId: sid_rand_42|43e1ffe4-175b9973-18bf715-195cc6a8_0 is DEAD
2025-10-16T16:38:17.731728Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.731735Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 54
2025-10-16T16:38:17.731817Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.731822Z 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-16T16:38:17.731844Z 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]:52854
2025-10-16T16:38:17.731849Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=54 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.731851Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.732075Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 54 sessionId:  describe result for acl check
2025-10-16T16:38:17.732112Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.732118Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.732119Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.732123Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689799:2693] (SourceId=sid_rand_43, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.732549Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689799:2693] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.734020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689799:2693] (SourceId=sid_rand_43, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.734069Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689815:2693] connected; active server actors: 1
2025-10-16T16:38:17.734086Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689799:2693] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_43
2025-10-16T16:38:17.734089Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689799:2693] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.734121Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689815:2693] disconnected.
2025-10-16T16:38:17.734130Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689815:2693] disconnected; active server actors: 1
2025-10-16T16:38:17.734131Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689815:2693] disconnected no session
2025-10-16T16:38:17.736467Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689799:2693] (SourceId=sid_rand_43, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.736479Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689799:2693] (SourceId=sid_rand_43, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-16T16:38:17.736482Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689799:2693] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.736488Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 54 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-16T16:38:17.736660Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.736716Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_43|41f68f5-301bce48-540b3a51-539d579c_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_43
2025-10-16T16:38:17.736914Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 54 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_43|41f68f5-301bce48-540b3a51-539d579c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_43|41f68f5-301bce48-540b3a51-539d579c_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.737382Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId: sid_rand_43|41f68f5-301bce48-540b3a51-539d579c_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.737389Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 54 sessionId: sid_rand_43|41f68f5-301bce48-540b3a51-539d579c_0 grpc read failed
2025-10-16T16:38:17.737394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 54 sessionId: sid_rand_43|41f68f5-301bce48-540b3a51-539d579c_0 grpc closed
2025-10-16T16:38:17.737397Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 54 sessionId: sid_rand_43|41f68f5-301bce48-540b3a51-539d579c_0 is DEAD
2025-10-16T16:38:17.737488Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.737496Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 55
2025-10-16T16:38:17.737589Z 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-16T16:38:17.737599Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.737606Z 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]:52854
2025-10-16T16:38:17.737608Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=55 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.737610Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.737835Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 55 sessionId:  describe result for acl check
2025-10-16T16:38:17.737861Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.737866Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.737868Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.737871Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689833:2697] (SourceId=sid_rand_44, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.738227Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689833:2697] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.739421Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689833:2697] (SourceId=sid_rand_44, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.739472Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689849:2697] connected; active server actors: 1
2025-10-16T16:38:17.739489Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689833:2697] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_44
2025-10-16T16:38:17.739499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689833:2697] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.739541Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689849:2697] disconnected.
2025-10-16T16:38:17.739549Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689849:2697] disconnected; active server actors: 1
2025-10-16T16:38:17.739551Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689849:2697] disconnected no session
2025-10-16T16:38:17.741979Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689833:2697] (SourceId=sid_rand_44, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.741993Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689833:2697] (SourceId=sid_rand_44, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-16T16:38:17.741996Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689833:2697] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.742001Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 55 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-16T16:38:17.742180Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.742259Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_44|4db8d959-3d2cca6f-e2d8afc7-b827d1ad_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_44
2025-10-16T16:38:17.742462Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 55 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_44|4db8d959-3d2cca6f-e2d8afc7-b827d1ad_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_44|4db8d959-3d2cca6f-e2d8afc7-b827d1ad_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.742930Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId: sid_rand_44|4db8d959-3d2cca6f-e2d8afc7-b827d1ad_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.742938Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 55 sessionId: sid_rand_44|4db8d959-3d2cca6f-e2d8afc7-b827d1ad_0 grpc read failed
2025-10-16T16:38:17.742942Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 55 sessionId: sid_rand_44|4db8d959-3d2cca6f-e2d8afc7-b827d1ad_0 grpc closed
2025-10-16T16:38:17.742946Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 55 sessionId: sid_rand_44|4db8d959-3d2cca6f-e2d8afc7-b827d1ad_0 is DEAD
2025-10-16T16:38:17.742957Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.742964Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 56
2025-10-16T16:38:17.743023Z 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-16T16:38:17.743040Z 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]:52854
2025-10-16T16:38:17.743046Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=56 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.743047Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.743123Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.743256Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 56 sessionId:  describe result for acl check
2025-10-16T16:38:17.743273Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.743277Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.743279Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.743282Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689867:2701] (SourceId=sid_rand_45, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.743636Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689867:2701] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.745147Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689867:2701] (SourceId=sid_rand_45, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.745193Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689883:2701] connected; active server actors: 1
2025-10-16T16:38:17.745207Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689867:2701] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_45
2025-10-16T16:38:17.745214Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689867:2701] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.745246Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689883:2701] disconnected.
2025-10-16T16:38:17.745252Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689883:2701] disconnected; active server actors: 1
2025-10-16T16:38:17.745253Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689883:2701] disconnected no session
2025-10-16T16:38:17.747488Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689867:2701] (SourceId=sid_rand_45, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.747501Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689867:2701] (SourceId=sid_rand_45, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-16T16:38:17.747504Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689867:2701] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.747509Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 56 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-16T16:38:17.747730Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.747806Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_45|858fc4b0-62f72d3c-ed09a886-fc552340_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_45
2025-10-16T16:38:17.748091Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 56 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_45|858fc4b0-62f72d3c-ed09a886-fc552340_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_45|858fc4b0-62f72d3c-ed09a886-fc552340_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.748560Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId: sid_rand_45|858fc4b0-62f72d3c-ed09a886-fc552340_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.748570Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 56 sessionId: sid_rand_45|858fc4b0-62f72d3c-ed09a886-fc552340_0 grpc read failed
2025-10-16T16:38:17.748575Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 56 sessionId: sid_rand_45|858fc4b0-62f72d3c-ed09a886-fc552340_0 grpc closed
2025-10-16T16:38:17.748579Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 56 sessionId: sid_rand_45|858fc4b0-62f72d3c-ed09a886-fc552340_0 is DEAD
2025-10-16T16:38:17.748651Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.748658Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 57
2025-10-16T16:38:17.748770Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.748786Z 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-16T16:38:17.748802Z 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]:52854
2025-10-16T16:38:17.748808Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=57 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.748810Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.749281Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 57 sessionId:  describe result for acl check
2025-10-16T16:38:17.749304Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.749306Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.749307Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.749310Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689901:2705] (SourceId=sid_rand_46, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.749709Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689901:2705] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.751359Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689901:2705] (SourceId=sid_rand_46, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.751406Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689917:2705] connected; active server actors: 1
2025-10-16T16:38:17.751419Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689901:2705] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_46
2025-10-16T16:38:17.751422Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689901:2705] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.751457Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689917:2705] disconnected.
2025-10-16T16:38:17.751466Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689917:2705] disconnected; active server actors: 1
2025-10-16T16:38:17.751468Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689917:2705] disconnected no session
2025-10-16T16:38:17.753759Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689901:2705] (SourceId=sid_rand_46, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.753769Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689901:2705] (SourceId=sid_rand_46, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-16T16:38:17.753772Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689901:2705] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.753777Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 57 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-16T16:38:17.753869Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.753897Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_46|fc35d234-7cfa24c9-d5262b1f-151bfc5f_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_46
2025-10-16T16:38:17.754007Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 57 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_46|fc35d234-7cfa24c9-d5262b1f-151bfc5f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_46|fc35d234-7cfa24c9-d5262b1f-151bfc5f_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.754496Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId: sid_rand_46|fc35d234-7cfa24c9-d5262b1f-151bfc5f_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.754503Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 57 sessionId: sid_rand_46|fc35d234-7cfa24c9-d5262b1f-151bfc5f_0 grpc read failed
2025-10-16T16:38:17.754571Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 57 sessionId: sid_rand_46|fc35d234-7cfa24c9-d5262b1f-151bfc5f_0
2025-10-16T16:38:17.754580Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 57 sessionId: sid_rand_46|fc35d234-7cfa24c9-d5262b1f-151bfc5f_0 is DEAD
2025-10-16T16:38:17.754593Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.754596Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 58
2025-10-16T16:38:17.754647Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.754691Z 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-16T16:38:17.754716Z 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]:52854
2025-10-16T16:38:17.754723Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=58 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.754726Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.755040Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 58 sessionId:  describe result for acl check
2025-10-16T16:38:17.755067Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.755069Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.755071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.755075Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689936:2709] (SourceId=sid_rand_47, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.755531Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689936:2709] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.756882Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689936:2709] (SourceId=sid_rand_47, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.756927Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689952:2709] connected; active server actors: 1
2025-10-16T16:38:17.756940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689936:2709] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_47
2025-10-16T16:38:17.756947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689936:2709] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.756981Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689952:2709] disconnected.
2025-10-16T16:38:17.756988Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689952:2709] disconnected; active server actors: 1
2025-10-16T16:38:17.756990Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689952:2709] disconnected no session
2025-10-16T16:38:17.759521Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689936:2709] (SourceId=sid_rand_47, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.759532Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689936:2709] (SourceId=sid_rand_47, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-16T16:38:17.759535Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689936:2709] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.759540Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 58 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-16T16:38:17.759643Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.759670Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_47|cfe7090c-c338c5f7-8ffd9f70-3e2c2b0d_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_47
2025-10-16T16:38:17.759775Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 58 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_47|cfe7090c-c338c5f7-8ffd9f70-3e2c2b0d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_47|cfe7090c-c338c5f7-8ffd9f70-3e2c2b0d_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.760362Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId: sid_rand_47|cfe7090c-c338c5f7-8ffd9f70-3e2c2b0d_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.760373Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 58 sessionId: sid_rand_47|cfe7090c-c338c5f7-8ffd9f70-3e2c2b0d_0 grpc read failed
2025-10-16T16:38:17.760378Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 58 sessionId: sid_rand_47|cfe7090c-c338c5f7-8ffd9f70-3e2c2b0d_0 grpc closed
2025-10-16T16:38:17.760382Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 58 sessionId: sid_rand_47|cfe7090c-c338c5f7-8ffd9f70-3e2c2b0d_0 is DEAD
2025-10-16T16:38:17.760441Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.760448Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 59
2025-10-16T16:38:17.760507Z 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-16T16:38:17.760532Z 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]:52854
2025-10-16T16:38:17.760538Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=59 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.760540Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.760606Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.760855Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 59 sessionId:  describe result for acl check
2025-10-16T16:38:17.760875Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.760880Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.760881Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.760883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761689971:2713] (SourceId=sid_rand_48, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.761213Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761689971:2713] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.762599Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761689971:2713] (SourceId=sid_rand_48, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.762647Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689987:2713] connected; active server actors: 1
2025-10-16T16:38:17.762664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761689971:2713] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_48
2025-10-16T16:38:17.762675Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761689971:2713] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.762743Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689987:2713] disconnected.
2025-10-16T16:38:17.762751Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689987:2713] disconnected; active server actors: 1
2025-10-16T16:38:17.762753Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761689987:2713] disconnected no session
2025-10-16T16:38:17.765103Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761689971:2713] (SourceId=sid_rand_48, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.765117Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761689971:2713] (SourceId=sid_rand_48, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-16T16:38:17.765120Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761689971:2713] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.765125Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 59 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-16T16:38:17.765290Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.765344Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_48|d9eca06b-a4b5727e-88b4663-99c3f58a_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_48
2025-10-16T16:38:17.765533Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 59 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_48|d9eca06b-a4b5727e-88b4663-99c3f58a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_48|d9eca06b-a4b5727e-88b4663-99c3f58a_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.766075Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId: sid_rand_48|d9eca06b-a4b5727e-88b4663-99c3f58a_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.766085Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 59 sessionId: sid_rand_48|d9eca06b-a4b5727e-88b4663-99c3f58a_0 grpc read failed
2025-10-16T16:38:17.766089Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 59 sessionId: sid_rand_48|d9eca06b-a4b5727e-88b4663-99c3f58a_0 grpc closed
2025-10-16T16:38:17.766093Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 59 sessionId: sid_rand_48|d9eca06b-a4b5727e-88b4663-99c3f58a_0 is DEAD
2025-10-16T16:38:17.766182Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.766190Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 60
2025-10-16T16:38:17.766327Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.766366Z 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-16T16:38:17.766397Z 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]:52854
2025-10-16T16:38:17.766400Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=60 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.766403Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.766690Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 60 sessionId:  describe result for acl check
2025-10-16T16:38:17.766716Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.766723Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.766725Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.766728Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690005:2717] (SourceId=sid_rand_49, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.767143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690005:2717] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.768705Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690005:2717] (SourceId=sid_rand_49, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.768771Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690021:2717] connected; active server actors: 1
2025-10-16T16:38:17.768790Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690005:2717] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_49
2025-10-16T16:38:17.768802Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690005:2717] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.768851Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690021:2717] disconnected.
2025-10-16T16:38:17.768860Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690021:2717] disconnected; active server actors: 1
2025-10-16T16:38:17.768862Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690021:2717] disconnected no session
2025-10-16T16:38:17.771152Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690005:2717] (SourceId=sid_rand_49, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.771161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690005:2717] (SourceId=sid_rand_49, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-16T16:38:17.771163Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690005:2717] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.771167Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 60 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-16T16:38:17.771263Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.771292Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_49|c87239b0-bca593a-b6e13b3c-7c17db0f_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_49
2025-10-16T16:38:17.771372Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 60 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_49|c87239b0-bca593a-b6e13b3c-7c17db0f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_49|c87239b0-bca593a-b6e13b3c-7c17db0f_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.771840Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId: sid_rand_49|c87239b0-bca593a-b6e13b3c-7c17db0f_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.771845Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 60 sessionId: sid_rand_49|c87239b0-bca593a-b6e13b3c-7c17db0f_0 grpc read failed
2025-10-16T16:38:17.771849Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 60 sessionId: sid_rand_49|c87239b0-bca593a-b6e13b3c-7c17db0f_0 grpc closed
2025-10-16T16:38:17.771851Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 60 sessionId: sid_rand_49|c87239b0-bca593a-b6e13b3c-7c17db0f_0 is DEAD
2025-10-16T16:38:17.771959Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.771971Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 61
2025-10-16T16:38:17.772015Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.772048Z 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-16T16:38:17.772065Z 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]:52854
2025-10-16T16:38:17.772070Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=61 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.772072Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.772377Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 61 sessionId:  describe result for acl check
2025-10-16T16:38:17.772410Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.772416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.772417Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.772421Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690040:2721] (SourceId=sid_rand_50, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.772891Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690040:2721] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.774143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690040:2721] (SourceId=sid_rand_50, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.774180Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690056:2721] connected; active server actors: 1
2025-10-16T16:38:17.774202Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690040:2721] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_50
2025-10-16T16:38:17.774209Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690040:2721] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.774253Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690056:2721] disconnected.
2025-10-16T16:38:17.774260Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690056:2721] disconnected; active server actors: 1
2025-10-16T16:38:17.774262Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690056:2721] disconnected no session
2025-10-16T16:38:17.776129Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690040:2721] (SourceId=sid_rand_50, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.776137Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690040:2721] (SourceId=sid_rand_50, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-16T16:38:17.776140Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690040:2721] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.776144Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 61 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-16T16:38:17.776272Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.776325Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_50|7a5f70ae-2d992475-94f61cc3-9a1bdfce_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_50
2025-10-16T16:38:17.776580Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 61 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_50|7a5f70ae-2d992475-94f61cc3-9a1bdfce_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_50|7a5f70ae-2d992475-94f61cc3-9a1bdfce_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.777054Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId: sid_rand_50|7a5f70ae-2d992475-94f61cc3-9a1bdfce_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.777062Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 61 sessionId: sid_rand_50|7a5f70ae-2d992475-94f61cc3-9a1bdfce_0 grpc read failed
2025-10-16T16:38:17.777066Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 61 sessionId: sid_rand_50|7a5f70ae-2d992475-94f61cc3-9a1bdfce_0 grpc closed
2025-10-16T16:38:17.777070Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 61 sessionId: sid_rand_50|7a5f70ae-2d992475-94f61cc3-9a1bdfce_0 is DEAD
2025-10-16T16:38:17.777201Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.777211Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 62
2025-10-16T16:38:17.777271Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.777292Z 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-16T16:38:17.777313Z 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]:52854
2025-10-16T16:38:17.777320Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=62 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.777322Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.777604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 62 sessionId:  describe result for acl check
2025-10-16T16:38:17.777635Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.777641Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.777643Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.777646Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690074:2725] (SourceId=sid_rand_51, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.778077Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690074:2725] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.779519Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690074:2725] (SourceId=sid_rand_51, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.779564Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690090:2725] connected; active server actors: 1
2025-10-16T16:38:17.779581Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690074:2725] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_51
2025-10-16T16:38:17.779591Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690074:2725] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.779635Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690090:2725] disconnected.
2025-10-16T16:38:17.779643Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690090:2725] disconnected; active server actors: 1
2025-10-16T16:38:17.779645Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690090:2725] disconnected no session
2025-10-16T16:38:17.781870Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690074:2725] (SourceId=sid_rand_51, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.781882Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690074:2725] (SourceId=sid_rand_51, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-16T16:38:17.781885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690074:2725] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.781891Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 62 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-16T16:38:17.782080Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.782141Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_51|de3d0a83-4f3d164d-bdeca51e-c5254672_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_51
2025-10-16T16:38:17.782348Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 62 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_51|de3d0a83-4f3d164d-bdeca51e-c5254672_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_51|de3d0a83-4f3d164d-bdeca51e-c5254672_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.782804Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId: sid_rand_51|de3d0a83-4f3d164d-bdeca51e-c5254672_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.782813Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 62 sessionId: sid_rand_51|de3d0a83-4f3d164d-bdeca51e-c5254672_0 grpc read failed
2025-10-16T16:38:17.782817Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 62 sessionId: sid_rand_51|de3d0a83-4f3d164d-bdeca51e-c5254672_0 grpc closed
2025-10-16T16:38:17.782821Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 62 sessionId: sid_rand_51|de3d0a83-4f3d164d-bdeca51e-c5254672_0 is DEAD
2025-10-16T16:38:17.782977Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.782988Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 63
2025-10-16T16:38:17.782997Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.783082Z 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-16T16:38:17.783110Z 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]:52854
2025-10-16T16:38:17.783118Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=63 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.783121Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.783422Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 63 sessionId:  describe result for acl check
2025-10-16T16:38:17.783454Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.783460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.783461Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.783464Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690111:2729] (SourceId=sid_rand_52, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.783880Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690111:2729] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.785099Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690111:2729] (SourceId=sid_rand_52, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.785144Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690127:2729] connected; active server actors: 1
2025-10-16T16:38:17.785160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690111:2729] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_52
2025-10-16T16:38:17.785169Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690111:2729] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.785210Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690127:2729] disconnected.
2025-10-16T16:38:17.785218Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690127:2729] disconnected; active server actors: 1
2025-10-16T16:38:17.785220Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690127:2729] disconnected no session
2025-10-16T16:38:17.787640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690111:2729] (SourceId=sid_rand_52, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.787651Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690111:2729] (SourceId=sid_rand_52, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-16T16:38:17.787654Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690111:2729] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.787660Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 63 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-16T16:38:17.787756Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.787781Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_52|536aa7b4-7b1c9933-3ef0d2b-7961c059_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_52
2025-10-16T16:38:17.787897Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 63 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_52|536aa7b4-7b1c9933-3ef0d2b-7961c059_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_52|536aa7b4-7b1c9933-3ef0d2b-7961c059_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.788425Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId: sid_rand_52|536aa7b4-7b1c9933-3ef0d2b-7961c059_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.788434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 63 sessionId: sid_rand_52|536aa7b4-7b1c9933-3ef0d2b-7961c059_0 grpc read failed
2025-10-16T16:38:17.788439Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 63 sessionId: sid_rand_52|536aa7b4-7b1c9933-3ef0d2b-7961c059_0 grpc closed
2025-10-16T16:38:17.788443Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 63 sessionId: sid_rand_52|536aa7b4-7b1c9933-3ef0d2b-7961c059_0 is DEAD
2025-10-16T16:38:17.788495Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.788506Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 64
2025-10-16T16:38:17.788632Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.788665Z 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-16T16:38:17.788696Z 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]:52854
2025-10-16T16:38:17.788703Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=64 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.788706Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.789013Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 64 sessionId:  describe result for acl check
2025-10-16T16:38:17.789040Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.789046Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.789048Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.789051Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690146:2733] (SourceId=sid_rand_53, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.789510Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690146:2733] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.790716Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690146:2733] (SourceId=sid_rand_53, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.790766Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690162:2733] connected; active server actors: 1
2025-10-16T16:38:17.790796Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690146:2733] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_53
2025-10-16T16:38:17.790805Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690146:2733] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.790859Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690162:2733] disconnected.
2025-10-16T16:38:17.790867Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690162:2733] disconnected; active server actors: 1
2025-10-16T16:38:17.790869Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690162:2733] disconnected no session
2025-10-16T16:38:17.793300Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690146:2733] (SourceId=sid_rand_53, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.793313Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690146:2733] (SourceId=sid_rand_53, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-16T16:38:17.793316Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690146:2733] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.793322Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 64 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-16T16:38:17.793496Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.793567Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_53|928d70a5-6f9c3411-ab50a451-b1483f43_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_53
2025-10-16T16:38:17.793792Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 64 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_53|928d70a5-6f9c3411-ab50a451-b1483f43_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_53|928d70a5-6f9c3411-ab50a451-b1483f43_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.794276Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId: sid_rand_53|928d70a5-6f9c3411-ab50a451-b1483f43_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.794285Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 64 sessionId: sid_rand_53|928d70a5-6f9c3411-ab50a451-b1483f43_0 grpc read failed
2025-10-16T16:38:17.794290Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 64 sessionId: sid_rand_53|928d70a5-6f9c3411-ab50a451-b1483f43_0 grpc closed
2025-10-16T16:38:17.794294Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 64 sessionId: sid_rand_53|928d70a5-6f9c3411-ab50a451-b1483f43_0 is DEAD
2025-10-16T16:38:17.794342Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.794353Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 65
2025-10-16T16:38:17.794470Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.794493Z 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-16T16:38:17.794520Z 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]:52854
2025-10-16T16:38:17.794528Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=65 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.794531Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.794854Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 65 sessionId:  describe result for acl check
2025-10-16T16:38:17.794882Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.794890Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.794892Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.794896Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690180:2737] (SourceId=sid_rand_54, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.795363Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690180:2737] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.796775Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690180:2737] (SourceId=sid_rand_54, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.796820Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690196:2737] connected; active server actors: 1
2025-10-16T16:38:17.796838Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690180:2737] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_54
2025-10-16T16:38:17.796845Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690180:2737] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.796879Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690196:2737] disconnected.
2025-10-16T16:38:17.796887Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690196:2737] disconnected; active server actors: 1
2025-10-16T16:38:17.796891Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690196:2737] disconnected no session
2025-10-16T16:38:17.799378Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690180:2737] (SourceId=sid_rand_54, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.799388Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690180:2737] (SourceId=sid_rand_54, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-16T16:38:17.799391Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690180:2737] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.799396Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 65 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-16T16:38:17.799486Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.799516Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_54|1cee3815-680572a7-4da3d541-9f2eb09b_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_54
2025-10-16T16:38:17.799606Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 65 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_54|1cee3815-680572a7-4da3d541-9f2eb09b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_54|1cee3815-680572a7-4da3d541-9f2eb09b_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.800024Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId: sid_rand_54|1cee3815-680572a7-4da3d541-9f2eb09b_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.800032Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 65 sessionId: sid_rand_54|1cee3815-680572a7-4da3d541-9f2eb09b_0 grpc read failed
2025-10-16T16:38:17.800037Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 65 sessionId: sid_rand_54|1cee3815-680572a7-4da3d541-9f2eb09b_0 grpc closed
2025-10-16T16:38:17.800041Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 65 sessionId: sid_rand_54|1cee3815-680572a7-4da3d541-9f2eb09b_0 is DEAD
2025-10-16T16:38:17.800108Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.800119Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 66
2025-10-16T16:38:17.800222Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.800260Z 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-16T16:38:17.800283Z 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]:52854
2025-10-16T16:38:17.800290Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=66 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.800292Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.800634Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 66 sessionId:  describe result for acl check
2025-10-16T16:38:17.800663Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.800669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.800671Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.800675Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690215:2741] (SourceId=sid_rand_55, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.801132Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690215:2741] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.802559Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690215:2741] (SourceId=sid_rand_55, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.802608Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690231:2741] connected; active server actors: 1
2025-10-16T16:38:17.802634Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690215:2741] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_55
2025-10-16T16:38:17.802638Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690215:2741] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.802702Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690231:2741] disconnected.
2025-10-16T16:38:17.802712Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690231:2741] disconnected; active server actors: 1
2025-10-16T16:38:17.802715Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690231:2741] disconnected no session
2025-10-16T16:38:17.805172Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690215:2741] (SourceId=sid_rand_55, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.805185Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690215:2741] (SourceId=sid_rand_55, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-16T16:38:17.805188Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690215:2741] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.805194Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 66 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-16T16:38:17.805403Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.805474Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_55|dd3ac7fe-c5247f3d-e909bf60-d2334cc3_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_55
2025-10-16T16:38:17.805758Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 66 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_55|dd3ac7fe-c5247f3d-e909bf60-d2334cc3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_55|dd3ac7fe-c5247f3d-e909bf60-d2334cc3_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.806381Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId: sid_rand_55|dd3ac7fe-c5247f3d-e909bf60-d2334cc3_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.806394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 66 sessionId: sid_rand_55|dd3ac7fe-c5247f3d-e909bf60-d2334cc3_0 grpc read failed
2025-10-16T16:38:17.806399Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 66 sessionId: sid_rand_55|dd3ac7fe-c5247f3d-e909bf60-d2334cc3_0 grpc closed
2025-10-16T16:38:17.806403Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 66 sessionId: sid_rand_55|dd3ac7fe-c5247f3d-e909bf60-d2334cc3_0 is DEAD
2025-10-16T16:38:17.806418Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.806422Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 67
2025-10-16T16:38:17.806519Z 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-16T16:38:17.806548Z 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]:52854
2025-10-16T16:38:17.806552Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=67 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.806556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.806627Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.806893Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 67 sessionId:  describe result for acl check
2025-10-16T16:38:17.806922Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.806923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.806925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.806929Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690249:2745] (SourceId=sid_rand_56, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.807449Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690249:2745] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.808791Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690249:2745] (SourceId=sid_rand_56, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.808849Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690265:2745] connected; active server actors: 1
2025-10-16T16:38:17.808865Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690249:2745] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_56
2025-10-16T16:38:17.808868Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690249:2745] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.808906Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690265:2745] disconnected.
2025-10-16T16:38:17.808914Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690265:2745] disconnected; active server actors: 1
2025-10-16T16:38:17.808917Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690265:2745] disconnected no session
2025-10-16T16:38:17.811127Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690249:2745] (SourceId=sid_rand_56, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.811138Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690249:2745] (SourceId=sid_rand_56, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-16T16:38:17.811141Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690249:2745] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.811147Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 67 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-16T16:38:17.811323Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.811379Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_56|e91fb9bd-a510cdd3-d4b552f6-7d2b73aa_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_56
2025-10-16T16:38:17.811610Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 67 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_56|e91fb9bd-a510cdd3-d4b552f6-7d2b73aa_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_56|e91fb9bd-a510cdd3-d4b552f6-7d2b73aa_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.812145Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId: sid_rand_56|e91fb9bd-a510cdd3-d4b552f6-7d2b73aa_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.812154Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 67 sessionId: sid_rand_56|e91fb9bd-a510cdd3-d4b552f6-7d2b73aa_0 grpc read failed
2025-10-16T16:38:17.812159Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 67 sessionId: sid_rand_56|e91fb9bd-a510cdd3-d4b552f6-7d2b73aa_0 grpc closed
2025-10-16T16:38:17.812163Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 67 sessionId: sid_rand_56|e91fb9bd-a510cdd3-d4b552f6-7d2b73aa_0 is DEAD
2025-10-16T16:38:17.812229Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.812240Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 68
2025-10-16T16:38:17.812348Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.812384Z 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-16T16:38:17.812411Z 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]:52854
2025-10-16T16:38:17.812418Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=68 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.812421Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.812741Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 68 sessionId:  describe result for acl check
2025-10-16T16:38:17.812774Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.812780Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.812782Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.812785Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690283:2749] (SourceId=sid_rand_57, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.813248Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690283:2749] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.814835Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690283:2749] (SourceId=sid_rand_57, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.814893Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690299:2749] connected; active server actors: 1
2025-10-16T16:38:17.814910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690283:2749] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_57
2025-10-16T16:38:17.814921Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690283:2749] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.814961Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690299:2749] disconnected.
2025-10-16T16:38:17.814968Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690299:2749] disconnected; active server actors: 1
2025-10-16T16:38:17.814972Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690299:2749] disconnected no session
2025-10-16T16:38:17.817260Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690283:2749] (SourceId=sid_rand_57, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.817274Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690283:2749] (SourceId=sid_rand_57, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-16T16:38:17.817277Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690283:2749] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.817284Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 68 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-16T16:38:17.817383Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.817412Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_57|21fb1b10-9376e737-92b80dae-6b60ffe1_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_57
2025-10-16T16:38:17.817515Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 68 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_57|21fb1b10-9376e737-92b80dae-6b60ffe1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_57|21fb1b10-9376e737-92b80dae-6b60ffe1_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.817952Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId: sid_rand_57|21fb1b10-9376e737-92b80dae-6b60ffe1_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.817959Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 68 sessionId: sid_rand_57|21fb1b10-9376e737-92b80dae-6b60ffe1_0 grpc read failed
2025-10-16T16:38:17.817974Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 68 sessionId: sid_rand_57|21fb1b10-9376e737-92b80dae-6b60ffe1_0 grpc closed
2025-10-16T16:38:17.817977Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 68 sessionId: sid_rand_57|21fb1b10-9376e737-92b80dae-6b60ffe1_0 is DEAD
2025-10-16T16:38:17.818033Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.818044Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 69
2025-10-16T16:38:17.818158Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.818178Z 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-16T16:38:17.818206Z 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]:52854
2025-10-16T16:38:17.818209Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=69 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.818212Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.818508Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 69 sessionId:  describe result for acl check
2025-10-16T16:38:17.818546Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.818552Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.818554Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.818557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690322:2755] (SourceId=sid_rand_58, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.818998Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690322:2755] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.820350Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690322:2755] (SourceId=sid_rand_58, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.820399Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690341:2755] connected; active server actors: 1
2025-10-16T16:38:17.820416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690322:2755] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_58
2025-10-16T16:38:17.820425Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690322:2755] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.820467Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690341:2755] disconnected.
2025-10-16T16:38:17.820477Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690341:2755] disconnected; active server actors: 1
2025-10-16T16:38:17.820484Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690341:2755] disconnected no session
2025-10-16T16:38:17.823022Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690322:2755] (SourceId=sid_rand_58, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.823030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690322:2755] (SourceId=sid_rand_58, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-16T16:38:17.823032Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690322:2755] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.823036Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 69 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-16T16:38:17.823174Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.823220Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_58|afce0c8a-39e38c83-5341b2a9-99e0392b_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_58
2025-10-16T16:38:17.823483Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 69 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_58|afce0c8a-39e38c83-5341b2a9-99e0392b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_58|afce0c8a-39e38c83-5341b2a9-99e0392b_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.823913Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId: sid_rand_58|afce0c8a-39e38c83-5341b2a9-99e0392b_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.823921Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 69 sessionId: sid_rand_58|afce0c8a-39e38c83-5341b2a9-99e0392b_0 grpc read failed
2025-10-16T16:38:17.823926Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 69 sessionId: sid_rand_58|afce0c8a-39e38c83-5341b2a9-99e0392b_0 grpc closed
2025-10-16T16:38:17.823931Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 69 sessionId: sid_rand_58|afce0c8a-39e38c83-5341b2a9-99e0392b_0 is DEAD
2025-10-16T16:38:17.824001Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.824011Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 70
2025-10-16T16:38:17.824137Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.824154Z 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-16T16:38:17.824180Z 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]:52854
2025-10-16T16:38:17.824188Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=70 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.824190Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.824528Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 70 sessionId:  describe result for acl check
2025-10-16T16:38:17.824555Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.824561Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.824563Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.824567Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690359:2759] (SourceId=sid_rand_59, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.825068Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690359:2759] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.826674Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690359:2759] (SourceId=sid_rand_59, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.826725Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690375:2759] connected; active server actors: 1
2025-10-16T16:38:17.826743Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690359:2759] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_59
2025-10-16T16:38:17.826747Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690359:2759] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.826779Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690375:2759] disconnected.
2025-10-16T16:38:17.826787Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690375:2759] disconnected; active server actors: 1
2025-10-16T16:38:17.826790Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690375:2759] disconnected no session
2025-10-16T16:38:17.829172Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690359:2759] (SourceId=sid_rand_59, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.829187Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690359:2759] (SourceId=sid_rand_59, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-16T16:38:17.829190Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690359:2759] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.829196Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 70 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-16T16:38:17.829307Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.829337Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_59|d2a4c770-1e04b6ec-84e9734b-6e840fd3_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_59
2025-10-16T16:38:17.829458Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 70 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_59|d2a4c770-1e04b6ec-84e9734b-6e840fd3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_59|d2a4c770-1e04b6ec-84e9734b-6e840fd3_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.829993Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 70 sessionId: sid_rand_59|d2a4c770-1e04b6ec-84e9734b-6e840fd3_0 grpc closed
2025-10-16T16:38:17.830003Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 70 sessionId: sid_rand_59|d2a4c770-1e04b6ec-84e9734b-6e840fd3_0 is DEAD
2025-10-16T16:38:17.830061Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.830072Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 71
2025-10-16T16:38:17.830145Z 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-16T16:38:17.830167Z 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]:52854
2025-10-16T16:38:17.830174Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=71 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.830176Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.830256Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.830500Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 71 sessionId:  describe result for acl check
2025-10-16T16:38:17.830527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.830534Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.830535Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.830539Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690395:2763] (SourceId=sid_rand_60, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.831153Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690395:2763] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.832981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690395:2763] (SourceId=sid_rand_60, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.833037Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690411:2763] connected; active server actors: 1
2025-10-16T16:38:17.833056Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690395:2763] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_60
2025-10-16T16:38:17.833066Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690395:2763] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.833122Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690411:2763] disconnected.
2025-10-16T16:38:17.833131Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690411:2763] disconnected; active server actors: 1
2025-10-16T16:38:17.833134Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690411:2763] disconnected no session
2025-10-16T16:38:17.835854Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690395:2763] (SourceId=sid_rand_60, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.835866Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690395:2763] (SourceId=sid_rand_60, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-16T16:38:17.835870Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690395:2763] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.835876Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 71 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-16T16:38:17.836059Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.836139Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_60|dff2c91e-48e38397-b3688b5a-215c04d0_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_60
2025-10-16T16:38:17.836404Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 71 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_60|dff2c91e-48e38397-b3688b5a-215c04d0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_60|dff2c91e-48e38397-b3688b5a-215c04d0_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.836868Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId: sid_rand_60|dff2c91e-48e38397-b3688b5a-215c04d0_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.836879Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 71 sessionId: sid_rand_60|dff2c91e-48e38397-b3688b5a-215c04d0_0 grpc read failed
2025-10-16T16:38:17.836884Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 71 sessionId: sid_rand_60|dff2c91e-48e38397-b3688b5a-215c04d0_0 grpc closed
2025-10-16T16:38:17.836888Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 71 sessionId: sid_rand_60|dff2c91e-48e38397-b3688b5a-215c04d0_0 is DEAD
2025-10-16T16:38:17.836944Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.836956Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 72
2025-10-16T16:38:17.837031Z 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-16T16:38:17.837053Z 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]:52854
2025-10-16T16:38:17.837060Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=72 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.837062Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.837129Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.837379Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 72 sessionId:  describe result for acl check
2025-10-16T16:38:17.837408Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.837414Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.837416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.837420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690429:2767] (SourceId=sid_rand_61, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.837923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690429:2767] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.839569Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690429:2767] (SourceId=sid_rand_61, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.839630Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690445:2767] connected; active server actors: 1
2025-10-16T16:38:17.839648Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690429:2767] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_61
2025-10-16T16:38:17.839657Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690429:2767] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.839702Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690445:2767] disconnected.
2025-10-16T16:38:17.839711Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690445:2767] disconnected; active server actors: 1
2025-10-16T16:38:17.839714Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690445:2767] disconnected no session
2025-10-16T16:38:17.842547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690429:2767] (SourceId=sid_rand_61, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.842561Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690429:2767] (SourceId=sid_rand_61, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-16T16:38:17.842564Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690429:2767] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.842570Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 72 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-16T16:38:17.842804Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.842904Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_61|4cc64f9c-5d7b2e3f-a7f73b70-6d3807cc_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_61
2025-10-16T16:38:17.843171Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 72 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_61|4cc64f9c-5d7b2e3f-a7f73b70-6d3807cc_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_61|4cc64f9c-5d7b2e3f-a7f73b70-6d3807cc_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.843724Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId: sid_rand_61|4cc64f9c-5d7b2e3f-a7f73b70-6d3807cc_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.843733Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 72 sessionId: sid_rand_61|4cc64f9c-5d7b2e3f-a7f73b70-6d3807cc_0 grpc read failed
2025-10-16T16:38:17.843738Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 72 sessionId: sid_rand_61|4cc64f9c-5d7b2e3f-a7f73b70-6d3807cc_0 grpc closed
2025-10-16T16:38:17.843742Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 72 sessionId: sid_rand_61|4cc64f9c-5d7b2e3f-a7f73b70-6d3807cc_0 is DEAD
2025-10-16T16:38:17.843785Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.843795Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 73
2025-10-16T16:38:17.843890Z 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-16T16:38:17.843914Z 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]:52854
2025-10-16T16:38:17.843924Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=73 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.843926Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.843996Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.844290Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 73 sessionId:  describe result for acl check
2025-10-16T16:38:17.844319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.844325Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.844327Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.844330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690466:2771] (SourceId=sid_rand_62, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.844871Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690466:2771] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.846111Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690466:2771] (SourceId=sid_rand_62, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.846173Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690482:2771] connected; active server actors: 1
2025-10-16T16:38:17.846191Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690466:2771] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_62
2025-10-16T16:38:17.846194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690466:2771] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.846245Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690482:2771] disconnected.
2025-10-16T16:38:17.846254Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690482:2771] disconnected; active server actors: 1
2025-10-16T16:38:17.846257Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690482:2771] disconnected no session
2025-10-16T16:38:17.848645Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690466:2771] (SourceId=sid_rand_62, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.848657Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690466:2771] (SourceId=sid_rand_62, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-16T16:38:17.848660Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690466:2771] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.848666Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 73 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-16T16:38:17.848886Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.848977Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_62|9eb6f198-f0921497-8da470ad-339b9e60_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_62
2025-10-16T16:38:17.849264Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 73 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_62|9eb6f198-f0921497-8da470ad-339b9e60_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_62|9eb6f198-f0921497-8da470ad-339b9e60_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.849769Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId: sid_rand_62|9eb6f198-f0921497-8da470ad-339b9e60_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.849779Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 73 sessionId: sid_rand_62|9eb6f198-f0921497-8da470ad-339b9e60_0 grpc read failed
2025-10-16T16:38:17.849783Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 73 sessionId: sid_rand_62|9eb6f198-f0921497-8da470ad-339b9e60_0 grpc closed
2025-10-16T16:38:17.849787Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 73 sessionId: sid_rand_62|9eb6f198-f0921497-8da470ad-339b9e60_0 is DEAD
2025-10-16T16:38:17.849866Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.849878Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 74
2025-10-16T16:38:17.850005Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.850019Z 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-16T16:38:17.850035Z 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]:52854
2025-10-16T16:38:17.850044Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=74 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.850047Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.850397Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 74 sessionId:  describe result for acl check
2025-10-16T16:38:17.850424Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.850430Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.850432Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.850436Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690501:2775] (SourceId=sid_rand_63, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.850911Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690501:2775] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.852163Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690501:2775] (SourceId=sid_rand_63, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.852208Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690517:2775] connected; active server actors: 1
2025-10-16T16:38:17.852226Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690501:2775] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_63
2025-10-16T16:38:17.852236Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690501:2775] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.852276Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690517:2775] disconnected.
2025-10-16T16:38:17.852284Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690517:2775] disconnected; active server actors: 1
2025-10-16T16:38:17.852286Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690517:2775] disconnected no session
2025-10-16T16:38:17.854794Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690501:2775] (SourceId=sid_rand_63, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.854802Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690501:2775] (SourceId=sid_rand_63, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-16T16:38:17.854805Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690501:2775] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.854809Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 74 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-16T16:38:17.855033Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.855100Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_63|81b58f68-dd9609ae-22c4e6a-cedd49b_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_63
2025-10-16T16:38:17.855300Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 74 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_63|81b58f68-dd9609ae-22c4e6a-cedd49b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_63|81b58f68-dd9609ae-22c4e6a-cedd49b_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.855803Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId: sid_rand_63|81b58f68-dd9609ae-22c4e6a-cedd49b_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.855814Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 74 sessionId: sid_rand_63|81b58f68-dd9609ae-22c4e6a-cedd49b_0 grpc read failed
2025-10-16T16:38:17.855819Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 74 sessionId: sid_rand_63|81b58f68-dd9609ae-22c4e6a-cedd49b_0 grpc closed
2025-10-16T16:38:17.855822Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 74 sessionId: sid_rand_63|81b58f68-dd9609ae-22c4e6a-cedd49b_0 is DEAD
2025-10-16T16:38:17.855879Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.855889Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 75
2025-10-16T16:38:17.856018Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.856031Z 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-16T16:38:17.856046Z 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]:52854
2025-10-16T16:38:17.856053Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=75 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.856055Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.856420Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 75 sessionId:  describe result for acl check
2025-10-16T16:38:17.856444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.856450Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.856451Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.856454Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690535:2779] (SourceId=sid_rand_64, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.856900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690535:2779] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.858305Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690535:2779] (SourceId=sid_rand_64, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.858350Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690551:2779] connected; active server actors: 1
2025-10-16T16:38:17.858364Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690535:2779] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_64
2025-10-16T16:38:17.858376Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690535:2779] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.858416Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690551:2779] disconnected.
2025-10-16T16:38:17.858423Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690551:2779] disconnected; active server actors: 1
2025-10-16T16:38:17.858425Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690551:2779] disconnected no session
2025-10-16T16:38:17.860718Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690535:2779] (SourceId=sid_rand_64, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.860727Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690535:2779] (SourceId=sid_rand_64, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-16T16:38:17.860730Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690535:2779] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.860735Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 75 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-16T16:38:17.860902Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.860983Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_64|1ae12904-19a3cb86-74a62c52-314f88b5_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_64
2025-10-16T16:38:17.861241Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 75 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_64|1ae12904-19a3cb86-74a62c52-314f88b5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_64|1ae12904-19a3cb86-74a62c52-314f88b5_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.861672Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId: sid_rand_64|1ae12904-19a3cb86-74a62c52-314f88b5_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.861683Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 75 sessionId: sid_rand_64|1ae12904-19a3cb86-74a62c52-314f88b5_0 grpc read failed
2025-10-16T16:38:17.861688Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 75 sessionId: sid_rand_64|1ae12904-19a3cb86-74a62c52-314f88b5_0 grpc closed
2025-10-16T16:38:17.861692Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 75 sessionId: sid_rand_64|1ae12904-19a3cb86-74a62c52-314f88b5_0 is DEAD
2025-10-16T16:38:17.861844Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.861854Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 76
2025-10-16T16:38:17.861887Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.861923Z 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-16T16:38:17.861944Z 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]:52854
2025-10-16T16:38:17.861949Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=76 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.861954Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.862263Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 76 sessionId:  describe result for acl check
2025-10-16T16:38:17.862286Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.862292Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.862294Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.862297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690569:2783] (SourceId=sid_rand_65, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.862707Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690569:2783] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.863893Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690569:2783] (SourceId=sid_rand_65, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.863943Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690585:2783] connected; active server actors: 1
2025-10-16T16:38:17.863964Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690569:2783] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_65
2025-10-16T16:38:17.863971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690569:2783] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.864006Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690585:2783] disconnected.
2025-10-16T16:38:17.864012Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690585:2783] disconnected; active server actors: 1
2025-10-16T16:38:17.864014Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690585:2783] disconnected no session
2025-10-16T16:38:17.866356Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690569:2783] (SourceId=sid_rand_65, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.866367Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690569:2783] (SourceId=sid_rand_65, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-16T16:38:17.866370Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690569:2783] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.866374Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 76 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-16T16:38:17.866536Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-16T16:38:17.866598Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_65|97cb5a58-205b9af9-35dccece-5ee8c1b5_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_65
2025-10-16T16:38:17.866822Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 76 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_65|97cb5a58-205b9af9-35dccece-5ee8c1b5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_65|97cb5a58-205b9af9-35dccece-5ee8c1b5_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.867320Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId: sid_rand_65|97cb5a58-205b9af9-35dccece-5ee8c1b5_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.867327Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 76 sessionId: sid_rand_65|97cb5a58-205b9af9-35dccece-5ee8c1b5_0 grpc read failed
2025-10-16T16:38:17.867331Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 76 sessionId: sid_rand_65|97cb5a58-205b9af9-35dccece-5ee8c1b5_0 grpc closed
2025-10-16T16:38:17.867334Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 76 sessionId: sid_rand_65|97cb5a58-205b9af9-35dccece-5ee8c1b5_0 is DEAD
2025-10-16T16:38:17.867414Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.867424Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 77
2025-10-16T16:38:17.867503Z 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-16T16:38:17.867510Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.867527Z 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]:52854
2025-10-16T16:38:17.867534Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=77 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.867537Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.867815Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 77 sessionId:  describe result for acl check
2025-10-16T16:38:17.867839Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.867845Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.867847Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.867849Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690603:2787] (SourceId=sid_rand_66, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.868292Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690603:2787] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.869441Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690603:2787] (SourceId=sid_rand_66, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.869480Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690619:2787] connected; active server actors: 1
2025-10-16T16:38:17.869494Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690603:2787] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_66
2025-10-16T16:38:17.869496Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690603:2787] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.869520Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690619:2787] disconnected.
2025-10-16T16:38:17.869526Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690619:2787] disconnected; active server actors: 1
2025-10-16T16:38:17.869528Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690619:2787] disconnected no session
2025-10-16T16:38:17.871619Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690603:2787] (SourceId=sid_rand_66, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.871629Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690603:2787] (SourceId=sid_rand_66, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-16T16:38:17.871632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690603:2787] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.871637Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 77 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-16T16:38:17.871720Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.871748Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_66|a77464eb-307d4cd4-9f30ac41-3d80d819_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_66
2025-10-16T16:38:17.871843Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 77 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_66|a77464eb-307d4cd4-9f30ac41-3d80d819_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_66|a77464eb-307d4cd4-9f30ac41-3d80d819_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.872247Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId: sid_rand_66|a77464eb-307d4cd4-9f30ac41-3d80d819_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.872255Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 77 sessionId: sid_rand_66|a77464eb-307d4cd4-9f30ac41-3d80d819_0 grpc read failed
2025-10-16T16:38:17.872259Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 77 sessionId: sid_rand_66|a77464eb-307d4cd4-9f30ac41-3d80d819_0 grpc closed
2025-10-16T16:38:17.872263Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 77 sessionId: sid_rand_66|a77464eb-307d4cd4-9f30ac41-3d80d819_0 is DEAD
2025-10-16T16:38:17.872399Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.872410Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 78
2025-10-16T16:38:17.872420Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.872481Z 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-16T16:38:17.872505Z 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]:52854
2025-10-16T16:38:17.872508Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=78 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.872511Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.872738Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 78 sessionId:  describe result for acl check
2025-10-16T16:38:17.872754Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.872755Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.872756Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.872758Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690638:2791] (SourceId=sid_rand_67, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.873118Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690638:2791] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.874592Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690638:2791] (SourceId=sid_rand_67, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.874642Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690654:2791] connected; active server actors: 1
2025-10-16T16:38:17.874652Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690638:2791] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_67
2025-10-16T16:38:17.874655Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690638:2791] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.874705Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690654:2791] disconnected.
2025-10-16T16:38:17.874712Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690654:2791] disconnected; active server actors: 1
2025-10-16T16:38:17.874714Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690654:2791] disconnected no session
2025-10-16T16:38:17.877221Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690638:2791] (SourceId=sid_rand_67, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.877231Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690638:2791] (SourceId=sid_rand_67, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-16T16:38:17.877234Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690638:2791] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.877248Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 78 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-16T16:38:17.877383Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.877416Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_67|a86c6cd4-3263add7-db20e8a1-402f6538_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_67
2025-10-16T16:38:17.877505Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 78 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_67|a86c6cd4-3263add7-db20e8a1-402f6538_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_67|a86c6cd4-3263add7-db20e8a1-402f6538_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.877960Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId: sid_rand_67|a86c6cd4-3263add7-db20e8a1-402f6538_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.877969Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 78 sessionId: sid_rand_67|a86c6cd4-3263add7-db20e8a1-402f6538_0 grpc read failed
2025-10-16T16:38:17.877974Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 78 sessionId: sid_rand_67|a86c6cd4-3263add7-db20e8a1-402f6538_0 grpc closed
2025-10-16T16:38:17.877978Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 78 sessionId: sid_rand_67|a86c6cd4-3263add7-db20e8a1-402f6538_0 is DEAD
2025-10-16T16:38:17.878043Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.878053Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 79
2025-10-16T16:38:17.878155Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.878189Z 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-16T16:38:17.878213Z 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]:52854
2025-10-16T16:38:17.878232Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=79 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.878235Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.878542Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 79 sessionId:  describe result for acl check
2025-10-16T16:38:17.878571Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.878575Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.878576Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.878580Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690673:2795] (SourceId=sid_rand_68, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.879040Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690673:2795] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.880402Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690673:2795] (SourceId=sid_rand_68, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.880467Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690689:2795] connected; active server actors: 1
2025-10-16T16:38:17.880475Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690673:2795] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_68
2025-10-16T16:38:17.880478Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690673:2795] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.880515Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690689:2795] disconnected.
2025-10-16T16:38:17.880525Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690689:2795] disconnected; active server actors: 1
2025-10-16T16:38:17.880528Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690689:2795] disconnected no session
2025-10-16T16:38:17.883010Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690673:2795] (SourceId=sid_rand_68, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.883022Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690673:2795] (SourceId=sid_rand_68, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-16T16:38:17.883026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690673:2795] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.883032Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 79 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-16T16:38:17.883221Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.883275Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_68|fc7cd9e3-20cc64db-718cae67-873f8924_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_68
2025-10-16T16:38:17.883497Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 79 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_68|fc7cd9e3-20cc64db-718cae67-873f8924_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_68|fc7cd9e3-20cc64db-718cae67-873f8924_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.883985Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId: sid_rand_68|fc7cd9e3-20cc64db-718cae67-873f8924_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.883993Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 79 sessionId: sid_rand_68|fc7cd9e3-20cc64db-718cae67-873f8924_0 grpc read failed
2025-10-16T16:38:17.883998Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 79 sessionId: sid_rand_68|fc7cd9e3-20cc64db-718cae67-873f8924_0 grpc closed
2025-10-16T16:38:17.884001Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 79 sessionId: sid_rand_68|fc7cd9e3-20cc64db-718cae67-873f8924_0 is DEAD
2025-10-16T16:38:17.884166Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.884177Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 80
2025-10-16T16:38:17.884194Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.884375Z 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-16T16:38:17.884405Z 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]:52854
2025-10-16T16:38:17.884413Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=80 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.884416Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.884783Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 80 sessionId:  describe result for acl check
2025-10-16T16:38:17.884809Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.884810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.884812Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.884816Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690707:2799] (SourceId=sid_rand_69, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.885303Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690707:2799] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.886573Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690707:2799] (SourceId=sid_rand_69, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.886628Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690723:2799] connected; active server actors: 1
2025-10-16T16:38:17.886646Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690707:2799] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_69
2025-10-16T16:38:17.886651Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690707:2799] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.886697Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690723:2799] disconnected.
2025-10-16T16:38:17.886704Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690723:2799] disconnected; active server actors: 1
2025-10-16T16:38:17.886707Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690723:2799] disconnected no session
2025-10-16T16:38:17.888899Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690707:2799] (SourceId=sid_rand_69, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.888908Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690707:2799] (SourceId=sid_rand_69, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-16T16:38:17.888910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690707:2799] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.888914Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 80 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-16T16:38:17.888992Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.889022Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_69|cec32cd5-975ce41f-4b122d5-996c3984_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_69
2025-10-16T16:38:17.889106Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 80 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_69|cec32cd5-975ce41f-4b122d5-996c3984_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_69|cec32cd5-975ce41f-4b122d5-996c3984_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.889689Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId: sid_rand_69|cec32cd5-975ce41f-4b122d5-996c3984_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.889697Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 80 sessionId: sid_rand_69|cec32cd5-975ce41f-4b122d5-996c3984_0 grpc read failed
2025-10-16T16:38:17.889703Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 80 sessionId: sid_rand_69|cec32cd5-975ce41f-4b122d5-996c3984_0 grpc closed
2025-10-16T16:38:17.889706Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 80 sessionId: sid_rand_69|cec32cd5-975ce41f-4b122d5-996c3984_0 is DEAD
2025-10-16T16:38:17.889785Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.889797Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 81
2025-10-16T16:38:17.889924Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.889963Z 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-16T16:38:17.889989Z 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]:52854
2025-10-16T16:38:17.889997Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=81 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.890000Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.890325Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 81 sessionId:  describe result for acl check
2025-10-16T16:38:17.890355Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.890361Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.890363Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.890366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690742:2803] (SourceId=sid_rand_70, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.890835Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690742:2803] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.892112Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690742:2803] (SourceId=sid_rand_70, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.892176Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690758:2803] connected; active server actors: 1
2025-10-16T16:38:17.892188Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690742:2803] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_70
2025-10-16T16:38:17.892191Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690742:2803] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.892233Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690758:2803] disconnected.
2025-10-16T16:38:17.892239Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690758:2803] disconnected; active server actors: 1
2025-10-16T16:38:17.892240Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690758:2803] disconnected no session
2025-10-16T16:38:17.894721Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690742:2803] (SourceId=sid_rand_70, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.894730Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690742:2803] (SourceId=sid_rand_70, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-16T16:38:17.894732Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690742:2803] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.894736Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 81 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-16T16:38:17.894906Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.894981Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_70|acfb7efa-6fda730d-39376882-7feeab91_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_70
2025-10-16T16:38:17.895215Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 81 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_70|acfb7efa-6fda730d-39376882-7feeab91_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_70|acfb7efa-6fda730d-39376882-7feeab91_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.895789Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId: sid_rand_70|acfb7efa-6fda730d-39376882-7feeab91_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.895797Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 81 sessionId: sid_rand_70|acfb7efa-6fda730d-39376882-7feeab91_0 grpc read failed
2025-10-16T16:38:17.895802Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 81 sessionId: sid_rand_70|acfb7efa-6fda730d-39376882-7feeab91_0 grpc closed
2025-10-16T16:38:17.895805Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 81 sessionId: sid_rand_70|acfb7efa-6fda730d-39376882-7feeab91_0 is DEAD
2025-10-16T16:38:17.895925Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.895936Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 82
2025-10-16T16:38:17.896021Z 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-16T16:38:17.896021Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.896045Z 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]:52854
2025-10-16T16:38:17.896053Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=82 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.896056Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.896460Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 82 sessionId:  describe result for acl check
2025-10-16T16:38:17.896481Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.896482Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.896483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.896486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690776:2807] (SourceId=sid_rand_71, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.896849Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690776:2807] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.898170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690776:2807] (SourceId=sid_rand_71, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.898230Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690792:2807] connected; active server actors: 1
2025-10-16T16:38:17.898247Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690776:2807] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_71
2025-10-16T16:38:17.898250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690776:2807] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.898298Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690792:2807] disconnected.
2025-10-16T16:38:17.898309Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690792:2807] disconnected; active server actors: 1
2025-10-16T16:38:17.898311Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690792:2807] disconnected no session
2025-10-16T16:38:17.900841Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690776:2807] (SourceId=sid_rand_71, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.900853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690776:2807] (SourceId=sid_rand_71, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-16T16:38:17.900856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690776:2807] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.900861Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 82 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-16T16:38:17.901035Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.901090Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_71|a44de4f5-c28f87be-27958406-fa7d41cc_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_71
2025-10-16T16:38:17.901314Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 82 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_71|a44de4f5-c28f87be-27958406-fa7d41cc_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_71|a44de4f5-c28f87be-27958406-fa7d41cc_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.901873Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId: sid_rand_71|a44de4f5-c28f87be-27958406-fa7d41cc_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.901882Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 82 sessionId: sid_rand_71|a44de4f5-c28f87be-27958406-fa7d41cc_0 grpc read failed
2025-10-16T16:38:17.901887Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 82 sessionId: sid_rand_71|a44de4f5-c28f87be-27958406-fa7d41cc_0 grpc closed
2025-10-16T16:38:17.901890Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 82 sessionId: sid_rand_71|a44de4f5-c28f87be-27958406-fa7d41cc_0 is DEAD
2025-10-16T16:38:17.901960Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.901971Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 83
2025-10-16T16:38:17.902072Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.902110Z 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-16T16:38:17.902135Z 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]:52854
2025-10-16T16:38:17.902143Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=83 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.902145Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.902472Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 83 sessionId:  describe result for acl check
2025-10-16T16:38:17.902498Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.902504Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.902506Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.902510Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690810:2811] (SourceId=sid_rand_72, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.902960Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690810:2811] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.904423Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690810:2811] (SourceId=sid_rand_72, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.904470Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690826:2811] connected; active server actors: 1
2025-10-16T16:38:17.904484Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690810:2811] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_72
2025-10-16T16:38:17.904487Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690810:2811] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.904529Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690826:2811] disconnected.
2025-10-16T16:38:17.904538Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690826:2811] disconnected; active server actors: 1
2025-10-16T16:38:17.904540Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690826:2811] disconnected no session
2025-10-16T16:38:17.907101Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690810:2811] (SourceId=sid_rand_72, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.907110Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690810:2811] (SourceId=sid_rand_72, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-16T16:38:17.907112Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690810:2811] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.907116Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 83 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-16T16:38:17.907212Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-16T16:38:17.907253Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_72|e359b979-274bb811-dd3db17a-bc4f922_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_72
2025-10-16T16:38:17.907346Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 83 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_72|e359b979-274bb811-dd3db17a-bc4f922_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_72|e359b979-274bb811-dd3db17a-bc4f922_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.907802Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId: sid_rand_72|e359b979-274bb811-dd3db17a-bc4f922_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.907814Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 83 sessionId: sid_rand_72|e359b979-274bb811-dd3db17a-bc4f922_0 grpc read failed
2025-10-16T16:38:17.907820Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 83 sessionId: sid_rand_72|e359b979-274bb811-dd3db17a-bc4f922_0 grpc closed
2025-10-16T16:38:17.907824Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 83 sessionId: sid_rand_72|e359b979-274bb811-dd3db17a-bc4f922_0 is DEAD
2025-10-16T16:38:17.907949Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.907960Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 84
2025-10-16T16:38:17.908053Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.908056Z 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-16T16:38:17.908074Z 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]:52854
2025-10-16T16:38:17.908090Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=84 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.908093Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.908432Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 84 sessionId:  describe result for acl check
2025-10-16T16:38:17.908460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.908467Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.908468Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.908472Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690848:2815] (SourceId=sid_rand_73, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.908967Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690848:2815] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.910575Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690848:2815] (SourceId=sid_rand_73, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.910619Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690864:2815] connected; active server actors: 1
2025-10-16T16:38:17.910644Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690848:2815] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_73
2025-10-16T16:38:17.910651Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690848:2815] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.910710Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690864:2815] disconnected.
2025-10-16T16:38:17.910718Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690864:2815] disconnected; active server actors: 1
2025-10-16T16:38:17.910721Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690864:2815] disconnected no session
2025-10-16T16:38:17.913220Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690848:2815] (SourceId=sid_rand_73, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.913230Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690848:2815] (SourceId=sid_rand_73, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-16T16:38:17.913232Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690848:2815] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.913236Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 84 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-16T16:38:17.913416Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.913482Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_73|de9d88de-1cbe54e2-38f540f9-93ba709b_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_73
2025-10-16T16:38:17.913684Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 84 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_73|de9d88de-1cbe54e2-38f540f9-93ba709b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_73|de9d88de-1cbe54e2-38f540f9-93ba709b_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-16T16:38:17.914101Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId: sid_rand_73|de9d88de-1cbe54e2-38f540f9-93ba709b_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.914110Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 84 sessionId: sid_rand_73|de9d88de-1cbe54e2-38f540f9-93ba709b_0 grpc read failed
2025-10-16T16:38:17.914115Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 84 sessionId: sid_rand_73|de9d88de-1cbe54e2-38f540f9-93ba709b_0 grpc closed
2025-10-16T16:38:17.914120Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 84 sessionId: sid_rand_73|de9d88de-1cbe54e2-38f540f9-93ba709b_0 is DEAD
2025-10-16T16:38:17.914201Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-16T16:38:17.914211Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 85
2025-10-16T16:38:17.914296Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-16T16:38:17.914301Z 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-16T16:38:17.914320Z 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]:52854
2025-10-16T16:38:17.914324Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=85 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52854 proto=v1  topic=topic1 durationSec=0
2025-10-16T16:38:17.914327Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-16T16:38:17.914595Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 85 sessionId:  describe result for acl check
2025-10-16T16:38:17.914620Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-16T16:38:17.914622Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-16T16:38:17.914623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-16T16:38:17.914626Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561859857761690882:2819] (SourceId=sid_rand_74, PreferedPartition=(NULL)) StartKqpSession
2025-10-16T16:38:17.915016Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561859857761690882:2819] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Select from the table
2025-10-16T16:38:17.916104Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561859857761690882:2819] (SourceId=sid_rand_74, PreferedPartition=(NULL)) RequestPQRB
2025-10-16T16:38:17.916160Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690898:2819] connected; active server actors: 1
2025-10-16T16:38:17.916184Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561859857761690882:2819] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_74
2025-10-16T16:38:17.916190Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561859857761690882:2819] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Update the table
2025-10-16T16:38:17.916216Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690898:2819] disconnected.
2025-10-16T16:38:17.916222Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690898:2819] disconnected; active server actors: 1
2025-10-16T16:38:17.916225Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561859857761690898:2819] disconnected no session
2025-10-16T16:38:17.918798Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561859857761690882:2819] (SourceId=sid_rand_74, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-16T16:38:17.918806Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561859857761690882:2819] (SourceId=sid_rand_74, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-16T16:38:17.918809Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561859857761690882:2819] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Start idle
2025-10-16T16:38:17.918822Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 85 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-16T16:38:17.918957Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-16T16:38:17.919019Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_74|fea5b4f8-1812d850-d3473fd0-d7a79204_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_74
2025-10-16T16:38:17.919224Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 85 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_74|fea5b4f8-1812d850-d3473fd0-d7a79204_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_74|fea5b4f8-1812d850-d3473fd0-d7a79204_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
Round robin check: 0:5
Round robin check: 1:4
Round robin check: 2:4
Round robin check: 3:5
Round robin check: 4:6
Round robin check: 5:6
Round robin check: 6:5
Round robin check: 7:5
Round robin check: 8:5
Round robin check: 9:5
Round robin check: 10:5
Round robin check: 11:5
Round robin check: 12:5
Round robin check: 13:5
Round robin check: 14:5
2025-10-16T16:38:17.919685Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId: sid_rand_74|fea5b4f8-1812d850-d3473fd0-d7a79204_0 grpc read done: success: 0 data: 
2025-10-16T16:38:17.919695Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 85 sessionId: sid_rand_74|fea5b4f8-1812d850-d3473fd0-d7a79204_0 grpc read failed
2025-10-16T16:38:17.919701Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 85 sessionId: sid_rand_74|fea5b4f8-1812d850-d3473fd0-d7a79204_0 grpc closed
2025-10-16T16:38:17.919705Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 85 sessionId: sid_rand_74|fea5b4f8-1812d850-d3473fd0-d7a79204_0 is DEAD
2025-10-16T16:38:17.919904Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
