2025-12-05T16:16:13.687713Z node 17 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[17:7580408429780227312:2083];send_to=[0:7307199536658146131:7762515];
2025-12-05T16:16:13.688022Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2025-12-05T16:16:13.689809Z node 18 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[18:7580408426862447164:2152];send_to=[0:7307199536658146131:7762515];
2025-12-05T16:16:13.689843Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2025-12-05T16:16:13.690192Z node 17 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/31bb/00241d/r3tmp/tmpL1yWKx/pdisk_1.dat
2025-12-05T16:16:13.690278Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-12-05T16:16:13.692022Z node 18 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-12-05T16:16:13.692822Z node 18 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-12-05T16:16:13.710953Z node 17 :IMPORT WARN: schemeshard_import.cpp:423: Table profiles were not loaded
2025-12-05T16:16:13.716514Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-12-05T16:16:13.716541Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-12-05T16:16:13.717779Z node 17 :HIVE WARN: hive_impl.cpp:811: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 18 Cookie 18
2025-12-05T16:16:13.718030Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 12564, node 17
2025-12-05T16:16:13.725230Z 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/31bb/00241d/r3tmp/yandext8f4xg.tmp
2025-12-05T16:16:13.725239Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/31bb/00241d/r3tmp/yandext8f4xg.tmp
2025-12-05T16:16:13.725290Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/31bb/00241d/r3tmp/yandext8f4xg.tmp
2025-12-05T16:16:13.725314Z node 17 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-12-05T16:16:13.728644Z INFO: TTestServer started on Port 28995 GrpcPort 12564
TClient is connected to server localhost:28995
PQClient connected to localhost:12564
WaitRootIsUp 'Root'...
TClient::Ls request: Root
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "Root"
    PathId: 1
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 1
    CreateStep: 0
    ParentPathId: 1
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 1
      SubDomainVersion: 0
      SecurityStateVersion: 0
    }
    ChildrenExist: false
  }
  Children {
    Name: ".sys"
    PathId: 18446744073709551615
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 0
    CreateStep: 0
    ParentPathId: 18446744073709551615
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 0
      Pl...
(TRUNCATED)
WaitRootIsUp 'Root' success.
2025-12-05T16:16:13.790321Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-12-05T16:16:13.790369Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-12-05T16:16:13.791676Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-12-05T16:16:13.791852Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976720657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
waiting...
waiting...
2025-12-05T16:16:13.803496Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720659:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
waiting...
waiting...
waiting...
2025-12-05T16:16:13.905662Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2025-12-05T16:16:13.917596Z node 18 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2025-12-05T16:16:14.053421Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7580408434075195714:2329], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-05T16:16:14.053442Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7580408434075195726:2333], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-05T16:16:14.053448Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-05T16:16:14.053524Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7580408434075195730:2335], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-05T16:16:14.053547Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-05T16:16:14.054243Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateResourcePool, opId: 281474976720662:3, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:179)
2025-12-05T16:16:14.054302Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7580408434075195760:2337], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-05T16:16:14.054323Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-05T16:16:14.054377Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7580408434075195762:2338], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-05T16:16:14.054388Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-05T16:16:14.058850Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720663:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
2025-12-05T16:16:14.059001Z node 17 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [17:7580408434075195729:2334], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976720662 completed, doublechecking }
2025-12-05T16:16:14.070413Z node 18 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:625: Compilation failed, self: [18:7580408431157414751:2304], status: SCHEME_ERROR, issues: <main>: Error: Type annotation, code: 1030
    <main>:3:16: Error: At function: KiReadTable!
        <main>:3:16: Error: Cannot find table 'db.[/Root/PQ/Config/V2/Cluster]' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions., code: 2003
2025-12-05T16:16:14.070492Z node 18 :KQP_SESSION WARN: kqp_session_actor.cpp:2544: SessionId: ydb://session/3?node_id=18&id=YjM2Y2UzOTQtYjAyMTkwZDUtZDFlZDQ2ZTktZjQxZGEyMjc=, ActorId: [18:7580408431157414723:2297], ActorState: ExecuteState, TraceId: 01kbqmse7ja6ytgg47amamv5v4, ReplyQueryCompileError, status: SCHEME_ERROR, issues: { 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 } } }, remove tx with tx_id: 
2025-12-05T16:16:14.070573Z node 18 :PERSQUEUE_CLUSTER_TRACKER ERROR: cluster_tracker.cpp:167: failed to list clusters: { Response { QueryIssues { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 3 column: 16 } message: "At function: KiReadTable!" end_position { row: 3 column: 16 } severity: 1 issues { position { row: 3 column: 16 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Cluster]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 3 column: 16 } issue_code: 2003 severity: 1 } } } TxMeta { } } YdbStatus: SCHEME_ERROR ConsumedRu: 1 }
2025-12-05T16:16:14.072760Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720664:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
2025-12-05T16:16:14.092765Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720665:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
=== Init DC: UPSERT INTO `/Root/PQ/Config/V2/Cluster` (name, balancer, local, enabled, weight) VALUES ("dc1", "localhost", true, true, 1000), ("dc2", "dc2.logbroker.yandex.net", false, true, 1000);
=== CheckClustersList. Subcribe to ClusterTracker from [17:7580408434075196173:3059] 
2025-12-05T16:16:14.150623Z node 17 :TX_PROXY ERROR: schemereq.cpp:593: Actor# [17:7580408434075196174:3060] txid# 281474976720667, issues: { message: "Check failed: path: \'/Root/.metadata/workload_manager/pools/default\', error: path exist, request accepts it (id: [OwnerId: 72057594046644480, LocalPathId: 9], type: EPathTypeResourcePool, state: EPathStateNoChanges), source_location: ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:92" severity: 1 }
2025-12-05T16:16:14.690114Z node 17 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-12-05T16:16:14.691681Z node 18 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-12-05T16:16:18.687836Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[17:7580408429780227312:2083];send_to=[0:7307199536658146131:7762515];
2025-12-05T16:16:18.687875Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
2025-12-05T16:16:18.689888Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[18:7580408426862447164:2152];send_to=[0:7307199536658146131:7762515];
2025-12-05T16:16:18.689959Z 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:12564
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-05T16:16:19.388478Z 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:12564
MetaRequest {
  CmdCreateTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 10
    Config {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000
      }
      LocalDC: true
      Codecs {
        Ids: 0
        Ids: 1
        Ids: 2
        Codecs: "raw"
        Codecs: "gzip"
        Codecs: "lzop"
      }
      Consumers {
        Name: "user"
        ReadFromTimestampsMs: 0
        FormatVersion: 0
        Version: 0
      }
    }
  }
}
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976720674
  SchemeShardTabletId: 72057594046644480
  PathId: 13
}
ErrorCode: OK
AddTopic: rt3.dc1--topic1
===Run query:``DECLARE $version as Int64; DECLARE $path AS Utf8; DECLARE $cluster as Utf8; UPSERT INTO `/Root/PQ/Config/V2/Topics` (path, dc) VALUES ($path, $cluster); UPSERT INTO `/Root/PQ/Config/V2/Versions` (name, version) VALUES ("Topics", $version);`` with topic = topic1, dc = dc1
2025-12-05T16:16:19.395841Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][] pipe [17:7580408455550033024:3276] connected; active server actors: 1
2025-12-05T16:16:19.396145Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1520: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [3, 0, 1, 6, 8, 9, 2, 5, 7, 4]
2025-12-05T16:16:19.396269Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T16:16:19.396272Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:942: [72075186224037894][rt3.dc1--topic1] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037894
2025-12-05T16:16:19.396288Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037892] doesn't have tx writes info
2025-12-05T16:16:19.396437Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T16:16:19.396465Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:404: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037892, NodeId 17, Generation 1
2025-12-05T16:16:19.396463Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037893] doesn't have tx writes info
2025-12-05T16:16:19.396657Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:404: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037893, NodeId 18, Generation 1
2025-12-05T16:16:19.396892Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:140: [72075186224037894][rt3.dc1--topic1] BALANCER INIT DONE for rt3.dc1--topic1: (0, 72075186224037892) (1, 72075186224037892) (2, 72075186224037893) (3, 72075186224037892) (4, 72075186224037893) (5, 72075186224037893) (6, 72075186224037892) (7, 72075186224037893) (8, 72075186224037892) (9, 72075186224037893) 
2025-12-05T16:16:19.399078Z node 17 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037892][Partition][3][StateInit] bootstrapping 3 [17:7580408455550033117:2439]
2025-12-05T16:16:19.399298Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037893][Partition][9][StateInit] bootstrapping 9 [18:7580408452632251666:2383]
2025-12-05T16:16:19.399567Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][3][StateInit] init complete for topic 'rt3.dc1--topic1' partition 3 generation 1 [17:7580408455550033117:2439]
2025-12-05T16:16:19.399762Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][9][StateInit] init complete for topic 'rt3.dc1--topic1' partition 9 generation 1 [18:7580408452632251666:2383]
2025-12-05T16:16:19.399817Z node 17 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [17:7580408455550033118:2439]
2025-12-05T16:16:19.400010Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037893][Partition][2][StateInit] bootstrapping 2 [18:7580408452632251667:2383]
2025-12-05T16:16:19.400118Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][0][StateInit] init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [17:7580408455550033118:2439]
2025-12-05T16:16:19.400313Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][2][StateInit] init complete for topic 'rt3.dc1--topic1' partition 2 generation 1 [18:7580408452632251667:2383]
2025-12-05T16:16:19.400326Z node 17 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037892][Partition][1][StateInit] bootstrapping 1 [17:7580408455550033119:2439]
2025-12-05T16:16:19.400527Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037893][Partition][5][StateInit] bootstrapping 5 [18:7580408452632251668:2383]
2025-12-05T16:16:19.400740Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][1][StateInit] init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [17:7580408455550033119:2439]
2025-12-05T16:16:19.400833Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][5][StateInit] init complete for topic 'rt3.dc1--topic1' partition 5 generation 1 [18:7580408452632251668:2383]
2025-12-05T16:16:19.401054Z node 17 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037892][Partition][6][StateInit] bootstrapping 6 [17:7580408455550033120:2439]
2025-12-05T16:16:19.401078Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037893][Partition][7][StateInit] bootstrapping 7 [18:7580408452632251669:2383]
2025-12-05T16:16:19.401378Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][7][StateInit] init complete for topic 'rt3.dc1--topic1' partition 7 generation 1 [18:7580408452632251669:2383]
2025-12-05T16:16:19.401552Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][6][StateInit] init complete for topic 'rt3.dc1--topic1' partition 6 generation 1 [17:7580408455550033120:2439]
2025-12-05T16:16:19.401565Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037893][Partition][4][StateInit] bootstrapping 4 [18:7580408452632251670:2383]
2025-12-05T16:16:19.401877Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][4][StateInit] init complete for topic 'rt3.dc1--topic1' partition 4 generation 1 [18:7580408452632251670:2383]
2025-12-05T16:16:19.401906Z node 17 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037892][Partition][8][StateInit] bootstrapping 8 [17:7580408455550033121:2439]
2025-12-05T16:16:19.402380Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][8][StateInit] init complete for topic 'rt3.dc1--topic1' partition 8 generation 1 [17:7580408455550033121:2439]
2025-12-05T16:16:19.404142Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T16:16:19.404507Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
===Query complete
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976720674
    CreateStep: 1764951379443
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 1
    }
    ChildrenExist: false
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 13
    TotalGroupCount: 10
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 60000...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976720674
    CreateStep: 1764951379443
    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:12564
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-05T16:16:19.411651Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 1
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 1
2025-12-05T16:16:19.413000Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.413012Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-12-05T16:16:19.413109Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "12345678" }
2025-12-05T16:16:19.413132Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:44842
2025-12-05T16:16:19.413139Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.413142Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.413428Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-12-05T16:16:19.413453Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.413454Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.413455Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.413459Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550033224:2450] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.413847Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550033224:2450] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.433010Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550033224:2450] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.433063Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033256:2450] connected; active server actors: 1
2025-12-05T16:16:19.433073Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550033224:2450] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=12345678
2025-12-05T16:16:19.433075Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550033224:2450] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.433126Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033256:2450] disconnected.
2025-12-05T16:16:19.433137Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033256:2450] disconnected; active server actors: 1
2025-12-05T16:16:19.433140Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033256:2450] disconnected no session
2025-12-05T16:16:19.449476Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550033224:2450] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.449492Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550033224:2450] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-05T16:16:19.449495Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550033224:2450] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.449503Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-05T16:16:19.449753Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.449820Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 12345678|a79998b4-27d61f02-c9bc12fa-746a5c4f_0 generated for partition 2 topic 'rt3.dc1--topic1' owner 12345678
2025-12-05T16:16:19.450065Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 2 MaxSeqNo: 0 sessionId: 12345678|a79998b4-27d61f02-c9bc12fa-746a5c4f_0
2025-12-05T16:16:19.450454Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: 12345678|a79998b4-27d61f02-c9bc12fa-746a5c4f_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.450459Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: 12345678|a79998b4-27d61f02-c9bc12fa-746a5c4f_0 grpc read failed
2025-12-05T16:16:19.450494Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 1 sessionId: 12345678|a79998b4-27d61f02-c9bc12fa-746a5c4f_0
2025-12-05T16:16:19.450501Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: 12345678|a79998b4-27d61f02-c9bc12fa-746a5c4f_0 is DEAD
Finish: 0 
2025-12-05T16:16:19.450591Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.450866Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.450873Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-12-05T16:16:19.451071Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-12-05T16:16:19.451115Z 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]:44842
2025-12-05T16:16:19.451125Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.451129Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.451518Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-12-05T16:16:19.451552Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.451554Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.451556Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.451560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550033282:2460] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.452068Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550033282:2460] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.453661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550033282:2460] (SourceId=source, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.453724Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033298:2460] connected; active server actors: 1
2025-12-05T16:16:19.453739Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550033282:2460] (SourceId=source, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=source
2025-12-05T16:16:19.453747Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550033282:2460] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.453789Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033298:2460] disconnected.
2025-12-05T16:16:19.453797Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033298:2460] disconnected; active server actors: 1
2025-12-05T16:16:19.453800Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033298:2460] disconnected no session
2025-12-05T16:16:19.455902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550033282:2460] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.455912Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550033282:2460] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-05T16:16:19.455914Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550033282:2460] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.455918Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T16:16:19.455998Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.456028Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|718a9baf-4110e993-54412dc-8447d2a6_0 generated for partition 3 topic 'rt3.dc1--topic1' owner source
2025-12-05T16:16:19.456111Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 3 MaxSeqNo: 0 sessionId: source|718a9baf-4110e993-54412dc-8447d2a6_0
request: { write_request { sequence_numbers: 2 created_at_ms: 1764951379456 sent_at_ms: 1764951379456 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-12-05T16:16:19.456485Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|718a9baf-4110e993-54412dc-8447d2a6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T16:16:19.456592Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T16:16:19.456644Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T16:16:19.457422Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 3 created_at_ms: 1764951379457 sent_at_ms: 1764951379457 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-12-05T16:16:19.457694Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|718a9baf-4110e993-54412dc-8447d2a6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T16:16:19.457750Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T16:16:19.457795Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T16:16:19.458408Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 4 created_at_ms: 1764951379458 sent_at_ms: 1764951379458 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-12-05T16:16:19.458689Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|718a9baf-4110e993-54412dc-8447d2a6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T16:16:19.458727Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T16:16:19.458766Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T16:16:19.459350Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 5 created_at_ms: 1764951379459 sent_at_ms: 1764951379459 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-12-05T16:16:19.459691Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|718a9baf-4110e993-54412dc-8447d2a6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T16:16:19.459753Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T16:16:19.459802Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T16:16:19.460466Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T16:16:19.460690Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|718a9baf-4110e993-54412dc-8447d2a6_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.460695Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: source|718a9baf-4110e993-54412dc-8447d2a6_0 grpc read failed
2025-12-05T16:16:19.460733Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 2 sessionId: source|718a9baf-4110e993-54412dc-8447d2a6_0
2025-12-05T16:16:19.460740Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: source|718a9baf-4110e993-54412dc-8447d2a6_0 is DEAD
1 0 
CallPersQueueGRPC request to localhost:12564
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-05T16:16:19.460816Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.461421Z 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:12564
MetaRequest {
  CmdChangeTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 15
  }
}
2025-12-05T16:16:19.462426Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterPersQueueGroup, opId: 281474976720680:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_alter_pq.cpp:311)
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976720680
  SchemeShardTabletId: 72057594046644480
}
ErrorCode: OK
Alter got 1
2025-12-05T16:16:19.465832Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1520: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [11, 13, 14, 12, 10]
2025-12-05T16:16:19.467127Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T16:16:19.467145Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037895] doesn't have tx writes info
2025-12-05T16:16:19.469771Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037895][Partition][11][StateInit] bootstrapping 11 [18:7580408452632251759:2385]
2025-12-05T16:16:19.470293Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T16:16:19.470328Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T16:16:19.470359Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][11][StateInit] init complete for topic 'rt3.dc1--topic1' partition 11 generation 1 [18:7580408452632251759:2385]
2025-12-05T16:16:19.470663Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037895][Partition][13][StateInit] bootstrapping 13 [18:7580408452632251761:2385]
2025-12-05T16:16:19.471000Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][13][StateInit] init complete for topic 'rt3.dc1--topic1' partition 13 generation 1 [18:7580408452632251761:2385]
2025-12-05T16:16:19.471253Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037895][Partition][14][StateInit] bootstrapping 14 [18:7580408452632251762:2385]
2025-12-05T16:16:19.471614Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][14][StateInit] init complete for topic 'rt3.dc1--topic1' partition 14 generation 1 [18:7580408452632251762:2385]
2025-12-05T16:16:19.471874Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037895][Partition][12][StateInit] bootstrapping 12 [18:7580408452632251763:2385]
2025-12-05T16:16:19.472279Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][12][StateInit] init complete for topic 'rt3.dc1--topic1' partition 12 generation 1 [18:7580408452632251763:2385]
2025-12-05T16:16:19.472503Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037895][Partition][10][StateInit] bootstrapping 10 [18:7580408452632251769:2385]
2025-12-05T16:16:19.472860Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][10][StateInit] init complete for topic 'rt3.dc1--topic1' partition 10 generation 1 [18:7580408452632251769:2385]
2025-12-05T16:16:19.475232Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
CallPersQueueGRPC request to localhost:12564
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-05T16:16:19.478362Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 15
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 2
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 2
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976720674
    CreateStep: 1764951379443
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 3
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 3
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 2
    }
    ChildrenExist: false
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 13
    TotalGroupCount: 15
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 60000...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976720674
    CreateStep: 1764951379443
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 3
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 3
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 2
    }
    ChildrenExist: false
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 13
    TotalGroupCount: 15
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000
      }
      LocalDC: true
      Codecs {
        Ids: 0
        Ids: 1
        Ids: 2
        Codecs: "raw"
        Codecs: "gzip"
        Codecs: "lzop"
      }
      YdbDatabasePath: "/Root"
      Consumers {
        Name: "user"
        ReadFromTimestampsMs: 0
        FormatVersion: 0
        Version: 0
      }
    }
    Partitions {
      PartitionId: 0
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 1
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 2
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 3
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 4
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 5
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 6
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 7
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 8
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 9
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 10
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 11
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 12
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 13
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 14
      TabletId: 72075186224037895
      Status: Active
    }
    AlterVersion: 2
    BalancerTabletID: 72075186224037894
    NextPartitionId: 15
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 1
      PlanResolution: 7
      Coordinators: 72057594046316545
      TimeCastBucketsPerMediator: 2
      Mediators: 72057594046382081
    }
    DomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    PathsInside: 12
    PathsLimit: 10000
    ShardsInside: 8
    ShardsLimit: 200000
    ResourcesDomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    DiskSpaceUsage {
      Tables {
        TotalSize: 0
        DataSize: 0
        IndexSize: 0
      }
      Topics {
        ReserveSize: 0
        AccountSize: 0
        DataSize: 0
        UsedReserveSize: 0
      }
    }
    PQPartitionsInside: 15
    PQPartitionsLimit: 1000000
    SchemeLimits {
      MaxDepth: 32
      MaxPaths: 10000
      MaxChildrenInDir: 100000
      MaxAclBytesSize: 10240
      MaxTableColumns: 200
      MaxTableColumnNameLength: 255
      MaxTableKeyColumns: 30
      MaxTableIndices: 20
      MaxShards: 200000
      MaxShardsInPath: 35000
      MaxConsistentCopyTargets: 10000
      MaxPathElementLength: 255
      ExtraPathSymbolsAllowed: "!\"#$%&\'()*+,-.:;<=>?@[\\]^_`{|}~"
      MaxPQPartitions: 1000000
      MaxTableCdcStreams: 5
      MaxExports: 10
      MaxImports: 10
      MaxColumnTableColumns: 10000
    }
  }
}
Path: "/Root/PQ/rt3.dc1--topic1"
 name rt3.dc1--topic1 version2
2025-12-05T16:16:19.479722Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.479732Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-12-05T16:16:19.479841Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-12-05T16:16:19.479882Z 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]:44842
2025-12-05T16:16:19.479886Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.479890Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.480253Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-12-05T16:16:19.480282Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.480284Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.480287Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.480291Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550033506:2476] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.480815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550033506:2476] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.482373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550033506:2476] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.485162Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550033506:2476] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.485171Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550033506:2476] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=0
2025-12-05T16:16:19.485174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550033506:2476] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.485191Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T16:16:19.485300Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.485328Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|a9d85f06-2982e7d-7c920de9-367c5bbd_0 generated for partition 3 topic 'rt3.dc1--topic1' owner source
2025-12-05T16:16:19.485428Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 3 MaxSeqNo: 5 sessionId: source|a9d85f06-2982e7d-7c920de9-367c5bbd_0
request: { write_request { sequence_numbers: 6 created_at_ms: 1764951379485 sent_at_ms: 1764951379485 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-12-05T16:16:19.485758Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|a9d85f06-2982e7d-7c920de9-367c5bbd_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T16:16:19.485821Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T16:16:19.485865Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T16:16:19.486590Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 7 created_at_ms: 1764951379486 sent_at_ms: 1764951379486 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-12-05T16:16:19.486839Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|a9d85f06-2982e7d-7c920de9-367c5bbd_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T16:16:19.486885Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T16:16:19.486930Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T16:16:19.487586Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 8 created_at_ms: 1764951379487 sent_at_ms: 1764951379487 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-12-05T16:16:19.487881Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|a9d85f06-2982e7d-7c920de9-367c5bbd_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T16:16:19.487960Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T16:16:19.488023Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T16:16:19.488611Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 9 created_at_ms: 1764951379488 sent_at_ms: 1764951379488 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-12-05T16:16:19.488908Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|a9d85f06-2982e7d-7c920de9-367c5bbd_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T16:16:19.488971Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T16:16:19.489020Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T16:16:19.489658Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T16:16:19.489972Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|a9d85f06-2982e7d-7c920de9-367c5bbd_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.489977Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: source|a9d85f06-2982e7d-7c920de9-367c5bbd_0 grpc read failed
2025-12-05T16:16:19.490022Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 3 sessionId: source|a9d85f06-2982e7d-7c920de9-367c5bbd_0
2025-12-05T16:16:19.490028Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: source|a9d85f06-2982e7d-7c920de9-367c5bbd_0 is DEAD
1 0 
2025-12-05T16:16:19.490103Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.490370Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.490380Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 4
2025-12-05T16:16:19.490507Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-12-05T16:16:19.490558Z 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]:44842
2025-12-05T16:16:19.490566Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.490569Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.490933Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 4 sessionId:  describe result for acl check
2025-12-05T16:16:19.490963Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.490969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.490972Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.490975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550033557:2480] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.491507Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550033557:2480] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.493214Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550033557:2480] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.495176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550033557:2480] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.495203Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550033557:2480] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=0
2025-12-05T16:16:19.495206Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550033557:2480] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.495214Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 4 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T16:16:19.495347Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.495362Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|135c93c8-965aae44-26db1859-66091373_0 generated for partition 3 topic 'rt3.dc1--topic1' owner source
2025-12-05T16:16:19.495452Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 4 partition: 3 MaxSeqNo: 9 sessionId: source|135c93c8-965aae44-26db1859-66091373_0
request: { write_request { sequence_numbers: 10 sequence_numbers: 11 sequence_numbers: 12 sequence_numbers: 13 sequence_numbers: 14 created_at_ms: 1764951379495 created_at_ms: 1764951379495 created_at_ms: 1764951379495 created_at_ms: 1764951379495 created_at_ms: 1764951379495 sent_at_ms: 1764951379495 sent_at_ms: 1764951379495 sent_at_ms: 1764951379495 sent_at_ms: 1764951379495 sent_at_ms: 1764951379495 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-12-05T16:16:19.495837Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|135c93c8-965aae44-26db1859-66091373_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T16:16:19.495900Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T16:16:19.495945Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T16:16:19.496620Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 15 sequence_numbers: 16 sequence_numbers: 17 sequence_numbers: 18 sequence_numbers: 19 created_at_ms: 1764951379496 created_at_ms: 1764951379496 created_at_ms: 1764951379496 created_at_ms: 1764951379496 created_at_ms: 1764951379496 sent_at_ms: 1764951379496 sent_at_ms: 1764951379496 sent_at_ms: 1764951379496 sent_at_ms: 1764951379496 sent_at_ms: 1764951379496 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-12-05T16:16:19.496895Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|135c93c8-965aae44-26db1859-66091373_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T16:16:19.496965Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T16:16:19.497013Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T16:16:19.497569Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 20 sequence_numbers: 21 sequence_numbers: 22 sequence_numbers: 23 sequence_numbers: 24 created_at_ms: 1764951379497 created_at_ms: 1764951379497 created_at_ms: 1764951379497 created_at_ms: 1764951379497 created_at_ms: 1764951379497 sent_at_ms: 1764951379497 sent_at_ms: 1764951379497 sent_at_ms: 1764951379497 sent_at_ms: 1764951379497 sent_at_ms: 1764951379497 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-12-05T16:16:19.497812Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|135c93c8-965aae44-26db1859-66091373_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T16:16:19.497872Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T16:16:19.497913Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T16:16:19.498489Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 25 sequence_numbers: 26 sequence_numbers: 27 sequence_numbers: 28 sequence_numbers: 29 created_at_ms: 1764951379498 created_at_ms: 1764951379498 created_at_ms: 1764951379498 created_at_ms: 1764951379498 created_at_ms: 1764951379498 sent_at_ms: 1764951379498 sent_at_ms: 1764951379498 sent_at_ms: 1764951379498 sent_at_ms: 1764951379498 sent_at_ms: 1764951379498 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-12-05T16:16:19.498719Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|135c93c8-965aae44-26db1859-66091373_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T16:16:19.498774Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-05T16:16:19.498817Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T16:16:19.499553Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T16:16:19.499846Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|135c93c8-965aae44-26db1859-66091373_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.499854Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 4 sessionId: source|135c93c8-965aae44-26db1859-66091373_0 grpc read failed
2025-12-05T16:16:19.499928Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 4 sessionId: source|135c93c8-965aae44-26db1859-66091373_0
2025-12-05T16:16:19.499935Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 4 sessionId: source|135c93c8-965aae44-26db1859-66091373_0 is DEAD
1 0 
2025-12-05T16:16:19.500014Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.500279Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.500291Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 5
2025-12-05T16:16:19.500411Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 5 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic2" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-12-05T16:16:19.500435Z 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]:44842
2025-12-05T16:16:19.500438Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic2 durationSec=0
2025-12-05T16:16:19.500441Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.500649Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:815: session v1 error cookie: 5 reason: no path 'Root/PQ/rt3.dc1--topic2', Marker# PQ15 sessionId: 
2025-12-05T16:16:19.500746Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 5 sessionId:  is DEAD
{ status: SCHEME_ERROR issues { message: "no path \'Root/PQ/rt3.dc1--topic2\', Marker# PQ15" issue_code: 500017 severity: 1 } }
2025-12-05T16:16:19.501135Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.501141Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 6
2025-12-05T16:16:19.501206Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" partition_group_id: 2 }
2025-12-05T16:16:19.501229Z 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]:44842
2025-12-05T16:16:19.501235Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.501237Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.501523Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 6 sessionId:  describe result for acl check
2025-12-05T16:16:19.501572Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.501576Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.501578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.501580Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550033617:2487] (SourceId=sid1, PreferedPartition=1) StartKqpSession
2025-12-05T16:16:19.501980Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550033617:2487] (SourceId=sid1, PreferedPartition=1) Select from the table
2025-12-05T16:16:19.503204Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550033617:2487] (SourceId=sid1, PreferedPartition=1) Update the table
2025-12-05T16:16:19.505057Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550033617:2487] (SourceId=sid1, PreferedPartition=1) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.505067Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550033617:2487] (SourceId=sid1, PreferedPartition=1) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T16:16:19.505069Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550033617:2487] (SourceId=sid1, PreferedPartition=1) Start idle
2025-12-05T16:16:19.505074Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 6 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T16:16:19.505176Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.505199Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|ecf07cea-bac0bf0b-6c7d3e0-77e93718_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-12-05T16:16:19.505273Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 6 partition: 1 MaxSeqNo: 0 sessionId: sid1|ecf07cea-bac0bf0b-6c7d3e0-77e93718_0
Init result: { status: SUCCESS init_response { session_id: "sid1|ecf07cea-bac0bf0b-6c7d3e0-77e93718_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.505688Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId: sid1|ecf07cea-bac0bf0b-6c7d3e0-77e93718_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.505695Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 6 sessionId: sid1|ecf07cea-bac0bf0b-6c7d3e0-77e93718_0 grpc read failed
2025-12-05T16:16:19.505699Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 6 sessionId: sid1|ecf07cea-bac0bf0b-6c7d3e0-77e93718_0 grpc closed
2025-12-05T16:16:19.505702Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 6 sessionId: sid1|ecf07cea-bac0bf0b-6c7d3e0-77e93718_0 is DEAD
2025-12-05T16:16:19.505754Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.505761Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 7
2025-12-05T16:16:19.505822Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" }
2025-12-05T16:16:19.505843Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 7 topic: "topic1" message_group_id: "sid1" from ipv6:[::1]:44842
2025-12-05T16:16:19.505850Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.505853Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.505914Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.506110Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 7 sessionId:  describe result for acl check
2025-12-05T16:16:19.506128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.506132Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.506133Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.506136Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550033652:2491] (SourceId=sid1, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.506458Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550033652:2491] (SourceId=sid1, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.507790Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550033652:2491] (SourceId=sid1, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.510186Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550033652:2491] (SourceId=sid1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.510195Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550033652:2491] (SourceId=sid1, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2025-12-05T16:16:19.510199Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550033652:2491] (SourceId=sid1, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.510204Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T16:16:19.510328Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.510341Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|4d03a702-773b248a-fc4114a3-d5bc9f30_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-12-05T16:16:19.510440Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: sid1|4d03a702-773b248a-fc4114a3-d5bc9f30_0
Init result: { status: SUCCESS init_response { session_id: "sid1|4d03a702-773b248a-fc4114a3-d5bc9f30_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.510922Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId: sid1|4d03a702-773b248a-fc4114a3-d5bc9f30_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.510930Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 7 sessionId: sid1|4d03a702-773b248a-fc4114a3-d5bc9f30_0 grpc read failed
2025-12-05T16:16:19.510934Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 7 sessionId: sid1|4d03a702-773b248a-fc4114a3-d5bc9f30_0 grpc closed
2025-12-05T16:16:19.510937Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 7 sessionId: sid1|4d03a702-773b248a-fc4114a3-d5bc9f30_0 is DEAD
2025-12-05T16:16:19.510983Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.510991Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 8
2025-12-05T16:16:19.511073Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sidx" }
2025-12-05T16:16:19.511095Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 8 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:44842
2025-12-05T16:16:19.511102Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.511105Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.511154Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.511415Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 8 sessionId:  describe result for acl check
2025-12-05T16:16:19.511441Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.511446Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.511448Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.511452Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550033687:2495] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.511944Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550033687:2495] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.513255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550033687:2495] (SourceId=sidx, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.513309Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033703:2495] connected; active server actors: 1
2025-12-05T16:16:19.513320Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550033687:2495] (SourceId=sidx, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sidx
2025-12-05T16:16:19.513322Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550033687:2495] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.513349Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033703:2495] disconnected.
2025-12-05T16:16:19.513356Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033703:2495] disconnected; active server actors: 1
2025-12-05T16:16:19.513358Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033703:2495] disconnected no session
2025-12-05T16:16:19.515254Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550033687:2495] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.515261Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550033687:2495] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-05T16:16:19.515263Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550033687:2495] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.515267Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 8 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-05T16:16:19.515452Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.515520Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|24e6afbb-ea16655-8b305bce-854f7fb3_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sidx
2025-12-05T16:16:19.515685Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 8 partition: 4 MaxSeqNo: 0 sessionId: sidx|24e6afbb-ea16655-8b305bce-854f7fb3_0
Init result: { status: SUCCESS init_response { session_id: "sidx|24e6afbb-ea16655-8b305bce-854f7fb3_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.516139Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId: sidx|24e6afbb-ea16655-8b305bce-854f7fb3_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.516145Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 8 sessionId: sidx|24e6afbb-ea16655-8b305bce-854f7fb3_0 grpc read failed
2025-12-05T16:16:19.516148Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 8 sessionId: sidx|24e6afbb-ea16655-8b305bce-854f7fb3_0 grpc closed
2025-12-05T16:16:19.516151Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 8 sessionId: sidx|24e6afbb-ea16655-8b305bce-854f7fb3_0 is DEAD
2025-12-05T16:16:19.516190Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.516207Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 9
2025-12-05T16:16:19.516283Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.516312Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sidx" }
2025-12-05T16:16:19.516331Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 9 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:44842
2025-12-05T16:16:19.516336Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.516338Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.516563Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 9 sessionId:  describe result for acl check
2025-12-05T16:16:19.516583Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.516585Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.516586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.516589Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550033723:2499] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.516930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550033723:2499] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.517841Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550033723:2499] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.519832Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550033723:2499] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.519841Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550033723:2499] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=0
2025-12-05T16:16:19.519843Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550033723:2499] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.519848Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 9 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-05T16:16:19.520021Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.520082Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|534e9c34-5ca73d72-17e8e72c-62efd344_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sidx
2025-12-05T16:16:19.520327Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 9 partition: 4 MaxSeqNo: 0 sessionId: sidx|534e9c34-5ca73d72-17e8e72c-62efd344_0
Init result: { status: SUCCESS init_response { session_id: "sidx|534e9c34-5ca73d72-17e8e72c-62efd344_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.520723Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId: sidx|534e9c34-5ca73d72-17e8e72c-62efd344_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.520729Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 9 sessionId: sidx|534e9c34-5ca73d72-17e8e72c-62efd344_0 grpc read failed
2025-12-05T16:16:19.520732Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 9 sessionId: sidx|534e9c34-5ca73d72-17e8e72c-62efd344_0 grpc closed
2025-12-05T16:16:19.520735Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 9 sessionId: sidx|534e9c34-5ca73d72-17e8e72c-62efd344_0 is DEAD
2025-12-05T16:16:19.520817Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.520824Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 10
2025-12-05T16:16:19.520889Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.520892Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 10 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" partition_group_id: 3 }
2025-12-05T16:16:19.520905Z 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]:44842
2025-12-05T16:16:19.520910Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.520912Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.521132Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 10 sessionId:  describe result for acl check
2025-12-05T16:16:19.521151Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.521157Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.521158Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.521160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550033757:2503] (SourceId=sid1, PreferedPartition=2) StartKqpSession
2025-12-05T16:16:19.521487Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550033757:2503] (SourceId=sid1, PreferedPartition=2) Select from the table
2025-12-05T16:16:19.522588Z node 17 :PQ_PARTITION_CHOOSER INFO: partition_chooser_impl__abstract_chooser_actor.h:312: TPartitionChooser [17:7580408455550033757:2503] (SourceId=sid1, PreferedPartition=2) ReplyError: MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all.
2025-12-05T16:16:19.522604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:815: session v1 error cookie: 10 reason: MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all. sessionId: 
2025-12-05T16:16:19.522690Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 10 sessionId:  is DEAD
Init result: { status: BAD_REQUEST issues { message: "MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all." issue_code: 500003 severity: 1 } }
2025-12-05T16:16:19.523098Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.523105Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 11
2025-12-05T16:16:19.523164Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_0" }
2025-12-05T16:16:19.523191Z 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]:44842
2025-12-05T16:16:19.523199Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=11 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.523201Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.523519Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 11 sessionId:  describe result for acl check
2025-12-05T16:16:19.523542Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.523548Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.523550Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.523554Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550033779:2507] (SourceId=sid_rand_0, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.523993Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550033779:2507] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.525004Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550033779:2507] (SourceId=sid_rand_0, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.525046Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033795:2507] connected; active server actors: 1
2025-12-05T16:16:19.525059Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550033779:2507] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_0
2025-12-05T16:16:19.525067Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550033779:2507] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.525102Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033795:2507] disconnected.
2025-12-05T16:16:19.525108Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033795:2507] disconnected; active server actors: 1
2025-12-05T16:16:19.525109Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033795:2507] disconnected no session
2025-12-05T16:16:19.527060Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550033779:2507] (SourceId=sid_rand_0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.527069Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550033779:2507] (SourceId=sid_rand_0, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-05T16:16:19.527072Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550033779:2507] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.527077Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 11 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-05T16:16:19.527311Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.527387Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_0|c898082d-960c285b-1ec6b2cc-727ffc71_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_0
2025-12-05T16:16:19.527603Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 11 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_0|c898082d-960c285b-1ec6b2cc-727ffc71_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_0|c898082d-960c285b-1ec6b2cc-727ffc71_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.528010Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId: sid_rand_0|c898082d-960c285b-1ec6b2cc-727ffc71_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.528016Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 11 sessionId: sid_rand_0|c898082d-960c285b-1ec6b2cc-727ffc71_0 grpc read failed
2025-12-05T16:16:19.528021Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 11 sessionId: sid_rand_0|c898082d-960c285b-1ec6b2cc-727ffc71_0
2025-12-05T16:16:19.528024Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 11 sessionId: sid_rand_0|c898082d-960c285b-1ec6b2cc-727ffc71_0 is DEAD
2025-12-05T16:16:19.528076Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.528158Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.528164Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 12
2025-12-05T16:16:19.528220Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_1" }
2025-12-05T16:16:19.528231Z 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]:44842
2025-12-05T16:16:19.528233Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=12 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.528235Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.528530Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 12 sessionId:  describe result for acl check
2025-12-05T16:16:19.528553Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.528555Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.528556Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.528559Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550033815:2511] (SourceId=sid_rand_1, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.528916Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550033815:2511] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.530091Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550033815:2511] (SourceId=sid_rand_1, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.530122Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033831:2511] connected; active server actors: 1
2025-12-05T16:16:19.530133Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550033815:2511] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_1
2025-12-05T16:16:19.530140Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550033815:2511] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.530168Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033831:2511] disconnected.
2025-12-05T16:16:19.530174Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033831:2511] disconnected; active server actors: 1
2025-12-05T16:16:19.530175Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033831:2511] disconnected no session
2025-12-05T16:16:19.532319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550033815:2511] (SourceId=sid_rand_1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.532330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550033815:2511] (SourceId=sid_rand_1, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-05T16:16:19.532332Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550033815:2511] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.532338Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 12 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-05T16:16:19.532432Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.532462Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_1|350009b-1be3bf3d-3a2fc005-acedbc1_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_1
2025-12-05T16:16:19.532560Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 12 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_1|350009b-1be3bf3d-3a2fc005-acedbc1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_1|350009b-1be3bf3d-3a2fc005-acedbc1_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.532983Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId: sid_rand_1|350009b-1be3bf3d-3a2fc005-acedbc1_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.532991Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 12 sessionId: sid_rand_1|350009b-1be3bf3d-3a2fc005-acedbc1_0 grpc read failed
2025-12-05T16:16:19.532996Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 12 sessionId: sid_rand_1|350009b-1be3bf3d-3a2fc005-acedbc1_0 grpc closed
2025-12-05T16:16:19.532999Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 12 sessionId: sid_rand_1|350009b-1be3bf3d-3a2fc005-acedbc1_0 is DEAD
2025-12-05T16:16:19.533062Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.533070Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 13
2025-12-05T16:16:19.533143Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.533201Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_2" }
2025-12-05T16:16:19.533229Z 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]:44842
2025-12-05T16:16:19.533232Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=13 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.533234Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.533475Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 13 sessionId:  describe result for acl check
2025-12-05T16:16:19.533493Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.533498Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.533499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.533502Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550033852:2515] (SourceId=sid_rand_2, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.533796Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550033852:2515] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.534769Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550033852:2515] (SourceId=sid_rand_2, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.534800Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033868:2515] connected; active server actors: 1
2025-12-05T16:16:19.534813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550033852:2515] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_2
2025-12-05T16:16:19.534820Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550033852:2515] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.534857Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033868:2515] disconnected.
2025-12-05T16:16:19.534863Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033868:2515] disconnected; active server actors: 1
2025-12-05T16:16:19.534865Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033868:2515] disconnected no session
2025-12-05T16:16:19.536761Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550033852:2515] (SourceId=sid_rand_2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.536770Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550033852:2515] (SourceId=sid_rand_2, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-05T16:16:19.536772Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550033852:2515] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.536776Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 13 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-05T16:16:19.536946Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.537019Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_2|2bac0abe-1c296079-8c190601-9387c3d7_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_2
2025-12-05T16:16:19.537247Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 13 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_2|2bac0abe-1c296079-8c190601-9387c3d7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_2|2bac0abe-1c296079-8c190601-9387c3d7_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.537727Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId: sid_rand_2|2bac0abe-1c296079-8c190601-9387c3d7_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.537732Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 13 sessionId: sid_rand_2|2bac0abe-1c296079-8c190601-9387c3d7_0 grpc read failed
2025-12-05T16:16:19.537735Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 13 sessionId: sid_rand_2|2bac0abe-1c296079-8c190601-9387c3d7_0 grpc closed
2025-12-05T16:16:19.537738Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 13 sessionId: sid_rand_2|2bac0abe-1c296079-8c190601-9387c3d7_0 is DEAD
2025-12-05T16:16:19.537862Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.537869Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 14
2025-12-05T16:16:19.537873Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.537961Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_3" }
2025-12-05T16:16:19.537980Z 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]:44842
2025-12-05T16:16:19.537985Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=14 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.537988Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.538223Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 14 sessionId:  describe result for acl check
2025-12-05T16:16:19.538242Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.538246Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.538248Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.538250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550033888:2519] (SourceId=sid_rand_3, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.538565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550033888:2519] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.539920Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550033888:2519] (SourceId=sid_rand_3, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.539951Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033904:2519] connected; active server actors: 1
2025-12-05T16:16:19.539959Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550033888:2519] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_3
2025-12-05T16:16:19.539962Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550033888:2519] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.539997Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033904:2519] disconnected.
2025-12-05T16:16:19.540004Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033904:2519] disconnected; active server actors: 1
2025-12-05T16:16:19.540006Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033904:2519] disconnected no session
2025-12-05T16:16:19.541862Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550033888:2519] (SourceId=sid_rand_3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.541869Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550033888:2519] (SourceId=sid_rand_3, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-05T16:16:19.541872Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550033888:2519] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.541875Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 14 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-05T16:16:19.541945Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.541970Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_3|9b5151d7-d920a44a-549e5357-fc9e2b95_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_3
2025-12-05T16:16:19.542061Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 14 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_3|9b5151d7-d920a44a-549e5357-fc9e2b95_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_3|9b5151d7-d920a44a-549e5357-fc9e2b95_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.542476Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId: sid_rand_3|9b5151d7-d920a44a-549e5357-fc9e2b95_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.542482Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 14 sessionId: sid_rand_3|9b5151d7-d920a44a-549e5357-fc9e2b95_0 grpc read failed
2025-12-05T16:16:19.542486Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 14 sessionId: sid_rand_3|9b5151d7-d920a44a-549e5357-fc9e2b95_0 grpc closed
2025-12-05T16:16:19.542488Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 14 sessionId: sid_rand_3|9b5151d7-d920a44a-549e5357-fc9e2b95_0 is DEAD
2025-12-05T16:16:19.542559Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.542566Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 15
2025-12-05T16:16:19.542642Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.542650Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_4" }
2025-12-05T16:16:19.542663Z 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]:44842
2025-12-05T16:16:19.542669Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=15 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.542670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.542912Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 15 sessionId:  describe result for acl check
2025-12-05T16:16:19.542930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.542935Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.542936Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.542939Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550033925:2523] (SourceId=sid_rand_4, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.543314Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550033925:2523] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.544446Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550033925:2523] (SourceId=sid_rand_4, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.544475Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033941:2523] connected; active server actors: 1
2025-12-05T16:16:19.544487Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550033925:2523] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_4
2025-12-05T16:16:19.544494Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550033925:2523] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.544525Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033941:2523] disconnected.
2025-12-05T16:16:19.544532Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033941:2523] disconnected; active server actors: 1
2025-12-05T16:16:19.544533Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033941:2523] disconnected no session
2025-12-05T16:16:19.546556Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550033925:2523] (SourceId=sid_rand_4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.546566Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550033925:2523] (SourceId=sid_rand_4, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-05T16:16:19.546569Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550033925:2523] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.546574Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 15 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-05T16:16:19.546758Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.546841Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_4|579c1836-819d329b-4b059d0-ceef229a_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_4
2025-12-05T16:16:19.547542Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 15 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_4|579c1836-819d329b-4b059d0-ceef229a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_4|579c1836-819d329b-4b059d0-ceef229a_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.548042Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId: sid_rand_4|579c1836-819d329b-4b059d0-ceef229a_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.548051Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 15 sessionId: sid_rand_4|579c1836-819d329b-4b059d0-ceef229a_0 grpc read failed
2025-12-05T16:16:19.548056Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 15 sessionId: sid_rand_4|579c1836-819d329b-4b059d0-ceef229a_0 grpc closed
2025-12-05T16:16:19.548059Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 15 sessionId: sid_rand_4|579c1836-819d329b-4b059d0-ceef229a_0 is DEAD
2025-12-05T16:16:19.548168Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.548179Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 16
2025-12-05T16:16:19.548248Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.548250Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_5" }
2025-12-05T16:16:19.548266Z 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]:44842
2025-12-05T16:16:19.548271Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=16 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.548279Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.548591Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 16 sessionId:  describe result for acl check
2025-12-05T16:16:19.548614Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.548620Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.548622Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.548625Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550033961:2527] (SourceId=sid_rand_5, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.549099Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550033961:2527] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.550227Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550033961:2527] (SourceId=sid_rand_5, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.550283Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033977:2527] connected; active server actors: 1
2025-12-05T16:16:19.550297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550033961:2527] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_5
2025-12-05T16:16:19.550302Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550033961:2527] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.550339Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033977:2527] disconnected.
2025-12-05T16:16:19.550346Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033977:2527] disconnected; active server actors: 1
2025-12-05T16:16:19.550349Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550033977:2527] disconnected no session
2025-12-05T16:16:19.552281Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550033961:2527] (SourceId=sid_rand_5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.552290Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550033961:2527] (SourceId=sid_rand_5, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-05T16:16:19.552291Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550033961:2527] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.552295Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 16 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-05T16:16:19.552456Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.552505Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_5|df946f1e-48aaa050-11b58b95-47f5fedc_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_5
2025-12-05T16:16:19.552728Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 16 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_5|df946f1e-48aaa050-11b58b95-47f5fedc_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_5|df946f1e-48aaa050-11b58b95-47f5fedc_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.553141Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId: sid_rand_5|df946f1e-48aaa050-11b58b95-47f5fedc_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.553148Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 16 sessionId: sid_rand_5|df946f1e-48aaa050-11b58b95-47f5fedc_0 grpc read failed
2025-12-05T16:16:19.553152Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 16 sessionId: sid_rand_5|df946f1e-48aaa050-11b58b95-47f5fedc_0 grpc closed
2025-12-05T16:16:19.553155Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 16 sessionId: sid_rand_5|df946f1e-48aaa050-11b58b95-47f5fedc_0 is DEAD
2025-12-05T16:16:19.553234Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.553372Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.553379Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 17
2025-12-05T16:16:19.553439Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_6" }
2025-12-05T16:16:19.553453Z 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]:44842
2025-12-05T16:16:19.553459Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=17 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.553461Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.553725Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 17 sessionId:  describe result for acl check
2025-12-05T16:16:19.553743Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.553748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.553749Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.553752Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550033997:2531] (SourceId=sid_rand_6, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.554122Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550033997:2531] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.555420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550033997:2531] (SourceId=sid_rand_6, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.555516Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034013:2531] connected; active server actors: 1
2025-12-05T16:16:19.555537Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550033997:2531] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_6
2025-12-05T16:16:19.555539Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550033997:2531] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.555600Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034013:2531] disconnected.
2025-12-05T16:16:19.555610Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034013:2531] disconnected; active server actors: 1
2025-12-05T16:16:19.555613Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034013:2531] disconnected no session
2025-12-05T16:16:19.557912Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550033997:2531] (SourceId=sid_rand_6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.557921Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550033997:2531] (SourceId=sid_rand_6, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-05T16:16:19.557922Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550033997:2531] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.557926Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 17 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-05T16:16:19.558099Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.558167Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_6|a724bec-4ee15057-82b59e89-7d4f5c3f_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_6
2025-12-05T16:16:19.558394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 17 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_6|a724bec-4ee15057-82b59e89-7d4f5c3f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_6|a724bec-4ee15057-82b59e89-7d4f5c3f_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.558873Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId: sid_rand_6|a724bec-4ee15057-82b59e89-7d4f5c3f_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.558882Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 17 sessionId: sid_rand_6|a724bec-4ee15057-82b59e89-7d4f5c3f_0 grpc read failed
2025-12-05T16:16:19.558886Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 17 sessionId: sid_rand_6|a724bec-4ee15057-82b59e89-7d4f5c3f_0 grpc closed
2025-12-05T16:16:19.558890Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 17 sessionId: sid_rand_6|a724bec-4ee15057-82b59e89-7d4f5c3f_0 is DEAD
2025-12-05T16:16:19.558961Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.558972Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 18
2025-12-05T16:16:19.559083Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.559113Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_7" }
2025-12-05T16:16:19.559136Z 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]:44842
2025-12-05T16:16:19.559144Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=18 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.559146Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.559504Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 18 sessionId:  describe result for acl check
2025-12-05T16:16:19.559538Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.559545Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.559546Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.559550Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034033:2535] (SourceId=sid_rand_7, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.560016Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034033:2535] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.561631Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034033:2535] (SourceId=sid_rand_7, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.561695Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034049:2535] connected; active server actors: 1
2025-12-05T16:16:19.561707Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034033:2535] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_7
2025-12-05T16:16:19.561709Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034033:2535] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.561738Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034049:2535] disconnected.
2025-12-05T16:16:19.561747Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034049:2535] disconnected; active server actors: 1
2025-12-05T16:16:19.561749Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034049:2535] disconnected no session
2025-12-05T16:16:19.563946Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034033:2535] (SourceId=sid_rand_7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.563955Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034033:2535] (SourceId=sid_rand_7, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-05T16:16:19.563957Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034033:2535] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.563962Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 18 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-05T16:16:19.564163Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.564266Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_7|823d6485-fd4b8496-2ec63f68-6f39cdc_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_7
2025-12-05T16:16:19.564434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 18 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_7|823d6485-fd4b8496-2ec63f68-6f39cdc_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_7|823d6485-fd4b8496-2ec63f68-6f39cdc_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.564864Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId: sid_rand_7|823d6485-fd4b8496-2ec63f68-6f39cdc_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.564870Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 18 sessionId: sid_rand_7|823d6485-fd4b8496-2ec63f68-6f39cdc_0 grpc read failed
2025-12-05T16:16:19.564945Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 18 sessionId: sid_rand_7|823d6485-fd4b8496-2ec63f68-6f39cdc_0
2025-12-05T16:16:19.564954Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 18 sessionId: sid_rand_7|823d6485-fd4b8496-2ec63f68-6f39cdc_0 is DEAD
2025-12-05T16:16:19.564962Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.564965Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 19
2025-12-05T16:16:19.565023Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.565031Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_8" }
2025-12-05T16:16:19.565045Z 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]:44842
2025-12-05T16:16:19.565053Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=19 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.565056Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.565279Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 19 sessionId:  describe result for acl check
2025-12-05T16:16:19.565297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.565301Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.565302Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.565304Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034069:2539] (SourceId=sid_rand_8, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.565634Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034069:2539] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.566502Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034069:2539] (SourceId=sid_rand_8, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.566543Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034085:2539] connected; active server actors: 1
2025-12-05T16:16:19.566553Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034069:2539] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_8
2025-12-05T16:16:19.566560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034069:2539] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.566592Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034085:2539] disconnected.
2025-12-05T16:16:19.566598Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034085:2539] disconnected; active server actors: 1
2025-12-05T16:16:19.566599Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034085:2539] disconnected no session
2025-12-05T16:16:19.568486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034069:2539] (SourceId=sid_rand_8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.568497Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034069:2539] (SourceId=sid_rand_8, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-05T16:16:19.568499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034069:2539] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.568505Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 19 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-05T16:16:19.568670Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.568730Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_8|4b61ecd7-2fe25d2e-d5ea2fbe-f6570c24_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_8
2025-12-05T16:16:19.568949Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 19 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_8|4b61ecd7-2fe25d2e-d5ea2fbe-f6570c24_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_8|4b61ecd7-2fe25d2e-d5ea2fbe-f6570c24_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.569367Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId: sid_rand_8|4b61ecd7-2fe25d2e-d5ea2fbe-f6570c24_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.569375Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 19 sessionId: sid_rand_8|4b61ecd7-2fe25d2e-d5ea2fbe-f6570c24_0 grpc read failed
2025-12-05T16:16:19.569379Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 19 sessionId: sid_rand_8|4b61ecd7-2fe25d2e-d5ea2fbe-f6570c24_0 grpc closed
2025-12-05T16:16:19.569382Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 19 sessionId: sid_rand_8|4b61ecd7-2fe25d2e-d5ea2fbe-f6570c24_0 is DEAD
2025-12-05T16:16:19.569470Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.569477Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 20
2025-12-05T16:16:19.569538Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.569554Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_9" }
2025-12-05T16:16:19.569565Z 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]:44842
2025-12-05T16:16:19.569571Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=20 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.569573Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.569795Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 20 sessionId:  describe result for acl check
2025-12-05T16:16:19.569813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.569818Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.569819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.569822Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034105:2543] (SourceId=sid_rand_9, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.570121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034105:2543] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.571162Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034105:2543] (SourceId=sid_rand_9, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.571231Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034121:2543] connected; active server actors: 1
2025-12-05T16:16:19.571243Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034105:2543] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_9
2025-12-05T16:16:19.571246Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034105:2543] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.571294Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034121:2543] disconnected.
2025-12-05T16:16:19.571302Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034121:2543] disconnected; active server actors: 1
2025-12-05T16:16:19.571305Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034121:2543] disconnected no session
2025-12-05T16:16:19.573197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034105:2543] (SourceId=sid_rand_9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.573207Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034105:2543] (SourceId=sid_rand_9, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-05T16:16:19.573210Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034105:2543] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.573216Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 20 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-05T16:16:19.573396Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.573466Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_9|7f9c6a89-b2abfb6f-bfaf67b0-a6c12941_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_9
2025-12-05T16:16:19.573702Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 20 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_9|7f9c6a89-b2abfb6f-bfaf67b0-a6c12941_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_9|7f9c6a89-b2abfb6f-bfaf67b0-a6c12941_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.574158Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId: sid_rand_9|7f9c6a89-b2abfb6f-bfaf67b0-a6c12941_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.574164Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 20 sessionId: sid_rand_9|7f9c6a89-b2abfb6f-bfaf67b0-a6c12941_0 grpc read failed
2025-12-05T16:16:19.574169Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 20 sessionId: sid_rand_9|7f9c6a89-b2abfb6f-bfaf67b0-a6c12941_0 grpc closed
2025-12-05T16:16:19.574172Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 20 sessionId: sid_rand_9|7f9c6a89-b2abfb6f-bfaf67b0-a6c12941_0 is DEAD
2025-12-05T16:16:19.574259Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.574268Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 21
2025-12-05T16:16:19.574344Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_10" }
2025-12-05T16:16:19.574347Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.574368Z 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]:44842
2025-12-05T16:16:19.574376Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=21 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.574378Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.574626Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 21 sessionId:  describe result for acl check
2025-12-05T16:16:19.574651Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.574658Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.574659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.574662Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034142:2547] (SourceId=sid_rand_10, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.575022Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034142:2547] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.576433Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034142:2547] (SourceId=sid_rand_10, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.576506Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034158:2547] connected; active server actors: 1
2025-12-05T16:16:19.576521Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034142:2547] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_10
2025-12-05T16:16:19.576524Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034142:2547] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.576557Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034158:2547] disconnected.
2025-12-05T16:16:19.576564Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034158:2547] disconnected; active server actors: 1
2025-12-05T16:16:19.576566Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034158:2547] disconnected no session
2025-12-05T16:16:19.578255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034142:2547] (SourceId=sid_rand_10, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.578263Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034142:2547] (SourceId=sid_rand_10, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-05T16:16:19.578265Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034142:2547] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.578269Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 21 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T16:16:19.578350Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.578380Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_10|f4b7b59f-cf5dba75-18e0395e-97760e51_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_10
2025-12-05T16:16:19.578454Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 21 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_10|f4b7b59f-cf5dba75-18e0395e-97760e51_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_10|f4b7b59f-cf5dba75-18e0395e-97760e51_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.578855Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId: sid_rand_10|f4b7b59f-cf5dba75-18e0395e-97760e51_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.578863Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 21 sessionId: sid_rand_10|f4b7b59f-cf5dba75-18e0395e-97760e51_0 grpc read failed
2025-12-05T16:16:19.578868Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 21 sessionId: sid_rand_10|f4b7b59f-cf5dba75-18e0395e-97760e51_0 grpc closed
2025-12-05T16:16:19.578871Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 21 sessionId: sid_rand_10|f4b7b59f-cf5dba75-18e0395e-97760e51_0 is DEAD
2025-12-05T16:16:19.578944Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.578955Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 22
2025-12-05T16:16:19.579065Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.579078Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_11" }
2025-12-05T16:16:19.579097Z 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]:44842
2025-12-05T16:16:19.579105Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=22 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.579107Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.579434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 22 sessionId:  describe result for acl check
2025-12-05T16:16:19.579454Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.579455Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.579456Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.579458Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034179:2551] (SourceId=sid_rand_11, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.579811Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034179:2551] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.580921Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034179:2551] (SourceId=sid_rand_11, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.580966Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034195:2551] connected; active server actors: 1
2025-12-05T16:16:19.580981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034179:2551] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_11
2025-12-05T16:16:19.580984Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034179:2551] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.581026Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034195:2551] disconnected.
2025-12-05T16:16:19.581035Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034195:2551] disconnected; active server actors: 1
2025-12-05T16:16:19.581037Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034195:2551] disconnected no session
2025-12-05T16:16:19.582910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034179:2551] (SourceId=sid_rand_11, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.582919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034179:2551] (SourceId=sid_rand_11, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T16:16:19.582921Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034179:2551] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.582925Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 22 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T16:16:19.583015Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.583044Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_11|724cdc4f-1d913706-170131f5-53739f81_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_11
2025-12-05T16:16:19.583177Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 22 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_11|724cdc4f-1d913706-170131f5-53739f81_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_11|724cdc4f-1d913706-170131f5-53739f81_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.583657Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId: sid_rand_11|724cdc4f-1d913706-170131f5-53739f81_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.583667Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 22 sessionId: sid_rand_11|724cdc4f-1d913706-170131f5-53739f81_0 grpc read failed
2025-12-05T16:16:19.583682Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 22 sessionId: sid_rand_11|724cdc4f-1d913706-170131f5-53739f81_0 grpc closed
2025-12-05T16:16:19.583686Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 22 sessionId: sid_rand_11|724cdc4f-1d913706-170131f5-53739f81_0 is DEAD
2025-12-05T16:16:19.583834Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.583845Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 23
2025-12-05T16:16:19.583875Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.583957Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_12" }
2025-12-05T16:16:19.583997Z 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]:44842
2025-12-05T16:16:19.584005Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=23 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.584008Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.584380Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 23 sessionId:  describe result for acl check
2025-12-05T16:16:19.584404Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.584406Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.584408Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.584411Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034216:2555] (SourceId=sid_rand_12, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.584856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034216:2555] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.586230Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034216:2555] (SourceId=sid_rand_12, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.586336Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034232:2555] connected; active server actors: 1
2025-12-05T16:16:19.586349Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034216:2555] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_12
2025-12-05T16:16:19.586357Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034216:2555] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.586400Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034232:2555] disconnected.
2025-12-05T16:16:19.586408Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034232:2555] disconnected; active server actors: 1
2025-12-05T16:16:19.586410Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034232:2555] disconnected no session
2025-12-05T16:16:19.588815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034216:2555] (SourceId=sid_rand_12, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.588827Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034216:2555] (SourceId=sid_rand_12, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-05T16:16:19.588830Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034216:2555] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.588836Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 23 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T16:16:19.588943Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.588978Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_12|6fa4a452-67fe2f44-ce7686ea-c23fa768_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_12
2025-12-05T16:16:19.589064Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 23 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_12|6fa4a452-67fe2f44-ce7686ea-c23fa768_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_12|6fa4a452-67fe2f44-ce7686ea-c23fa768_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.589599Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId: sid_rand_12|6fa4a452-67fe2f44-ce7686ea-c23fa768_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.589607Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 23 sessionId: sid_rand_12|6fa4a452-67fe2f44-ce7686ea-c23fa768_0 grpc read failed
2025-12-05T16:16:19.589612Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 23 sessionId: sid_rand_12|6fa4a452-67fe2f44-ce7686ea-c23fa768_0 grpc closed
2025-12-05T16:16:19.589615Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 23 sessionId: sid_rand_12|6fa4a452-67fe2f44-ce7686ea-c23fa768_0 is DEAD
2025-12-05T16:16:19.589742Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.589751Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 24
2025-12-05T16:16:19.589834Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_13" }
2025-12-05T16:16:19.589843Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.589853Z 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]:44842
2025-12-05T16:16:19.589856Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=24 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.589858Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.590175Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 24 sessionId:  describe result for acl check
2025-12-05T16:16:19.590195Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.590197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.590198Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.590200Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034256:2559] (SourceId=sid_rand_13, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.590535Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034256:2559] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.591822Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034256:2559] (SourceId=sid_rand_13, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.591905Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034272:2559] connected; active server actors: 1
2025-12-05T16:16:19.591919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034256:2559] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_13
2025-12-05T16:16:19.591922Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034256:2559] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.591968Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034272:2559] disconnected.
2025-12-05T16:16:19.591976Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034272:2559] disconnected; active server actors: 1
2025-12-05T16:16:19.591978Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034272:2559] disconnected no session
2025-12-05T16:16:19.594211Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034256:2559] (SourceId=sid_rand_13, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.594222Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034256:2559] (SourceId=sid_rand_13, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-05T16:16:19.594224Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034256:2559] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.594230Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 24 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-05T16:16:19.594420Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.594515Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_13|4dfc9cc1-e60a522b-c391ee65-5ae2df64_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_13
2025-12-05T16:16:19.594716Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 24 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_13|4dfc9cc1-e60a522b-c391ee65-5ae2df64_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_13|4dfc9cc1-e60a522b-c391ee65-5ae2df64_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.595234Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId: sid_rand_13|4dfc9cc1-e60a522b-c391ee65-5ae2df64_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.595244Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 24 sessionId: sid_rand_13|4dfc9cc1-e60a522b-c391ee65-5ae2df64_0 grpc read failed
2025-12-05T16:16:19.595248Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 24 sessionId: sid_rand_13|4dfc9cc1-e60a522b-c391ee65-5ae2df64_0 grpc closed
2025-12-05T16:16:19.595251Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 24 sessionId: sid_rand_13|4dfc9cc1-e60a522b-c391ee65-5ae2df64_0 is DEAD
2025-12-05T16:16:19.595319Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.595331Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 25
2025-12-05T16:16:19.595457Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.595497Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_14" }
2025-12-05T16:16:19.595520Z 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]:44842
2025-12-05T16:16:19.595528Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=25 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.595531Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.595864Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 25 sessionId:  describe result for acl check
2025-12-05T16:16:19.595893Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.595899Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.595901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.595904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034292:2563] (SourceId=sid_rand_14, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.596375Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034292:2563] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.597339Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034292:2563] (SourceId=sid_rand_14, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.597400Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034308:2563] connected; active server actors: 1
2025-12-05T16:16:19.597411Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034292:2563] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_14
2025-12-05T16:16:19.597415Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034292:2563] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.597451Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034308:2563] disconnected.
2025-12-05T16:16:19.597459Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034308:2563] disconnected; active server actors: 1
2025-12-05T16:16:19.597462Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034308:2563] disconnected no session
2025-12-05T16:16:19.599962Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034292:2563] (SourceId=sid_rand_14, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.599973Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034292:2563] (SourceId=sid_rand_14, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-05T16:16:19.599976Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034292:2563] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.599982Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 25 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-05T16:16:19.600190Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.600254Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_14|cf9a2463-fc6df8a7-6c2c70a7-f40cf259_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_14
2025-12-05T16:16:19.600461Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 25 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_14|cf9a2463-fc6df8a7-6c2c70a7-f40cf259_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_14|cf9a2463-fc6df8a7-6c2c70a7-f40cf259_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.600951Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId: sid_rand_14|cf9a2463-fc6df8a7-6c2c70a7-f40cf259_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.600957Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 25 sessionId: sid_rand_14|cf9a2463-fc6df8a7-6c2c70a7-f40cf259_0 grpc read failed
2025-12-05T16:16:19.600960Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 25 sessionId: sid_rand_14|cf9a2463-fc6df8a7-6c2c70a7-f40cf259_0 grpc closed
2025-12-05T16:16:19.600963Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 25 sessionId: sid_rand_14|cf9a2463-fc6df8a7-6c2c70a7-f40cf259_0 is DEAD
2025-12-05T16:16:19.601080Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.601090Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 26
2025-12-05T16:16:19.601134Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.601172Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_15" }
2025-12-05T16:16:19.601195Z 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]:44842
2025-12-05T16:16:19.601203Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=26 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.601206Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.601525Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 26 sessionId:  describe result for acl check
2025-12-05T16:16:19.601550Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.601552Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.601553Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.601557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034329:2567] (SourceId=sid_rand_15, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.602050Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034329:2567] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.602939Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034329:2567] (SourceId=sid_rand_15, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.602992Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034345:2567] connected; active server actors: 1
2025-12-05T16:16:19.603015Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034329:2567] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_15
2025-12-05T16:16:19.603017Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034329:2567] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.603044Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034345:2567] disconnected.
2025-12-05T16:16:19.603049Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034345:2567] disconnected; active server actors: 1
2025-12-05T16:16:19.603051Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034345:2567] disconnected no session
2025-12-05T16:16:19.604869Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034329:2567] (SourceId=sid_rand_15, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.604878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034329:2567] (SourceId=sid_rand_15, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-05T16:16:19.604880Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034329:2567] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.604885Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 26 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-05T16:16:19.604967Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.604994Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_15|40ddd106-1fd15665-f2de540-952f192e_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_15
2025-12-05T16:16:19.605110Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 26 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_15|40ddd106-1fd15665-f2de540-952f192e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_15|40ddd106-1fd15665-f2de540-952f192e_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.605527Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId: sid_rand_15|40ddd106-1fd15665-f2de540-952f192e_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.605535Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 26 sessionId: sid_rand_15|40ddd106-1fd15665-f2de540-952f192e_0 grpc read failed
2025-12-05T16:16:19.605539Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 26 sessionId: sid_rand_15|40ddd106-1fd15665-f2de540-952f192e_0 grpc closed
2025-12-05T16:16:19.605542Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 26 sessionId: sid_rand_15|40ddd106-1fd15665-f2de540-952f192e_0 is DEAD
2025-12-05T16:16:19.605626Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.605634Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 27
2025-12-05T16:16:19.605733Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.605762Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_16" }
2025-12-05T16:16:19.605785Z 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]:44842
2025-12-05T16:16:19.605789Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=27 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.605797Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.606077Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 27 sessionId:  describe result for acl check
2025-12-05T16:16:19.606100Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.606105Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.606107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.606110Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034366:2571] (SourceId=sid_rand_16, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.606532Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034366:2571] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.607607Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034366:2571] (SourceId=sid_rand_16, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.607664Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034382:2571] connected; active server actors: 1
2025-12-05T16:16:19.607679Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034366:2571] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_16
2025-12-05T16:16:19.607686Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034366:2571] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.607720Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034382:2571] disconnected.
2025-12-05T16:16:19.607726Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034382:2571] disconnected; active server actors: 1
2025-12-05T16:16:19.607728Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034382:2571] disconnected no session
2025-12-05T16:16:19.609596Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034366:2571] (SourceId=sid_rand_16, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.609606Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034366:2571] (SourceId=sid_rand_16, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-05T16:16:19.609609Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034366:2571] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.609614Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 27 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-05T16:16:19.609845Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.609921Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_16|72d47c62-7f58f781-64636f48-9bad4b3e_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_16
2025-12-05T16:16:19.610158Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 27 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_16|72d47c62-7f58f781-64636f48-9bad4b3e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_16|72d47c62-7f58f781-64636f48-9bad4b3e_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.610628Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId: sid_rand_16|72d47c62-7f58f781-64636f48-9bad4b3e_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.610637Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 27 sessionId: sid_rand_16|72d47c62-7f58f781-64636f48-9bad4b3e_0 grpc read failed
2025-12-05T16:16:19.610642Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 27 sessionId: sid_rand_16|72d47c62-7f58f781-64636f48-9bad4b3e_0 grpc closed
2025-12-05T16:16:19.610647Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 27 sessionId: sid_rand_16|72d47c62-7f58f781-64636f48-9bad4b3e_0 is DEAD
2025-12-05T16:16:19.610711Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.610721Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 28
2025-12-05T16:16:19.610817Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.610845Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_17" }
2025-12-05T16:16:19.610881Z 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]:44842
2025-12-05T16:16:19.610892Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=28 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.610894Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.611242Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 28 sessionId:  describe result for acl check
2025-12-05T16:16:19.611272Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.611274Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.611276Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.611280Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034402:2575] (SourceId=sid_rand_17, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.611743Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034402:2575] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.612708Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034402:2575] (SourceId=sid_rand_17, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.612765Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034418:2575] connected; active server actors: 1
2025-12-05T16:16:19.612781Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034402:2575] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_17
2025-12-05T16:16:19.612784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034402:2575] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.612815Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034418:2575] disconnected.
2025-12-05T16:16:19.612822Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034418:2575] disconnected; active server actors: 1
2025-12-05T16:16:19.612825Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034418:2575] disconnected no session
2025-12-05T16:16:19.614710Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034402:2575] (SourceId=sid_rand_17, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.614721Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034402:2575] (SourceId=sid_rand_17, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-05T16:16:19.614724Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034402:2575] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.614730Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 28 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-05T16:16:19.614824Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.614858Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_17|fd184cf1-ce3e951f-5d3b10c8-16f7e3f9_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_17
2025-12-05T16:16:19.614949Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 28 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_17|fd184cf1-ce3e951f-5d3b10c8-16f7e3f9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_17|fd184cf1-ce3e951f-5d3b10c8-16f7e3f9_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.615477Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId: sid_rand_17|fd184cf1-ce3e951f-5d3b10c8-16f7e3f9_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.615485Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 28 sessionId: sid_rand_17|fd184cf1-ce3e951f-5d3b10c8-16f7e3f9_0 grpc read failed
2025-12-05T16:16:19.615489Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 28 sessionId: sid_rand_17|fd184cf1-ce3e951f-5d3b10c8-16f7e3f9_0 grpc closed
2025-12-05T16:16:19.615493Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 28 sessionId: sid_rand_17|fd184cf1-ce3e951f-5d3b10c8-16f7e3f9_0 is DEAD
2025-12-05T16:16:19.615538Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.615548Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 29
2025-12-05T16:16:19.615610Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_18" }
2025-12-05T16:16:19.615632Z 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]:44842
2025-12-05T16:16:19.615640Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=29 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.615643Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.615680Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.615964Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 29 sessionId:  describe result for acl check
2025-12-05T16:16:19.615993Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.616000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.616001Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.616006Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034439:2579] (SourceId=sid_rand_18, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.616452Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034439:2579] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.617865Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034439:2579] (SourceId=sid_rand_18, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.617947Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034455:2579] connected; active server actors: 1
2025-12-05T16:16:19.617965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034439:2579] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_18
2025-12-05T16:16:19.617968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034439:2579] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.618017Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034455:2579] disconnected.
2025-12-05T16:16:19.618028Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034455:2579] disconnected; active server actors: 1
2025-12-05T16:16:19.618031Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034455:2579] disconnected no session
2025-12-05T16:16:19.620368Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034439:2579] (SourceId=sid_rand_18, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.620378Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034439:2579] (SourceId=sid_rand_18, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-05T16:16:19.620381Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034439:2579] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.620387Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 29 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-05T16:16:19.620579Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.620717Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_18|e4a062c2-e83ecad4-e1369029-107b3b4b_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_18
2025-12-05T16:16:19.620994Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 29 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_18|e4a062c2-e83ecad4-e1369029-107b3b4b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_18|e4a062c2-e83ecad4-e1369029-107b3b4b_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.621490Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId: sid_rand_18|e4a062c2-e83ecad4-e1369029-107b3b4b_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.621501Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 29 sessionId: sid_rand_18|e4a062c2-e83ecad4-e1369029-107b3b4b_0 grpc read failed
2025-12-05T16:16:19.621505Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 29 sessionId: sid_rand_18|e4a062c2-e83ecad4-e1369029-107b3b4b_0 grpc closed
2025-12-05T16:16:19.621509Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 29 sessionId: sid_rand_18|e4a062c2-e83ecad4-e1369029-107b3b4b_0 is DEAD
2025-12-05T16:16:19.621569Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.621578Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 30
2025-12-05T16:16:19.621678Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.621706Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_19" }
2025-12-05T16:16:19.621732Z 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]:44842
2025-12-05T16:16:19.621736Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=30 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.621739Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.622029Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 30 sessionId:  describe result for acl check
2025-12-05T16:16:19.622054Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.622060Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.622062Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.622066Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034475:2583] (SourceId=sid_rand_19, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.622463Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034475:2583] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.623505Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034475:2583] (SourceId=sid_rand_19, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.623552Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034491:2583] connected; active server actors: 1
2025-12-05T16:16:19.623568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034475:2583] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_19
2025-12-05T16:16:19.623579Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034475:2583] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.623620Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034491:2583] disconnected.
2025-12-05T16:16:19.623628Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034491:2583] disconnected; active server actors: 1
2025-12-05T16:16:19.623630Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034491:2583] disconnected no session
2025-12-05T16:16:19.625892Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034475:2583] (SourceId=sid_rand_19, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.625902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034475:2583] (SourceId=sid_rand_19, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-05T16:16:19.625905Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034475:2583] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.625912Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 30 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-05T16:16:19.626153Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.626241Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_19|e6bf1d8d-a35750ff-fc91e38f-977cd4ab_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_19
2025-12-05T16:16:19.626460Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 30 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_19|e6bf1d8d-a35750ff-fc91e38f-977cd4ab_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_19|e6bf1d8d-a35750ff-fc91e38f-977cd4ab_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.626930Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId: sid_rand_19|e6bf1d8d-a35750ff-fc91e38f-977cd4ab_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.626938Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 30 sessionId: sid_rand_19|e6bf1d8d-a35750ff-fc91e38f-977cd4ab_0 grpc read failed
2025-12-05T16:16:19.626941Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 30 sessionId: sid_rand_19|e6bf1d8d-a35750ff-fc91e38f-977cd4ab_0 grpc closed
2025-12-05T16:16:19.626945Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 30 sessionId: sid_rand_19|e6bf1d8d-a35750ff-fc91e38f-977cd4ab_0 is DEAD
2025-12-05T16:16:19.627040Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.627048Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 31
2025-12-05T16:16:19.627140Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.627165Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_20" }
2025-12-05T16:16:19.627198Z 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]:44842
2025-12-05T16:16:19.627206Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=31 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.627209Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.627548Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 31 sessionId:  describe result for acl check
2025-12-05T16:16:19.627577Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.627585Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.627587Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.627590Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034511:2587] (SourceId=sid_rand_20, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.628083Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034511:2587] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.629161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034511:2587] (SourceId=sid_rand_20, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.629230Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034527:2587] connected; active server actors: 1
2025-12-05T16:16:19.629242Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034511:2587] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_20
2025-12-05T16:16:19.629246Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034511:2587] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.629286Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034527:2587] disconnected.
2025-12-05T16:16:19.629294Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034527:2587] disconnected; active server actors: 1
2025-12-05T16:16:19.629297Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034527:2587] disconnected no session
2025-12-05T16:16:19.631619Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034511:2587] (SourceId=sid_rand_20, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.631629Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034511:2587] (SourceId=sid_rand_20, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-05T16:16:19.631631Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034511:2587] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.631639Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 31 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-05T16:16:19.631870Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.631938Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_20|2f3b8ede-d696d91f-d4de173a-5fbbd237_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_20
2025-12-05T16:16:19.632148Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 31 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_20|2f3b8ede-d696d91f-d4de173a-5fbbd237_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_20|2f3b8ede-d696d91f-d4de173a-5fbbd237_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.632557Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId: sid_rand_20|2f3b8ede-d696d91f-d4de173a-5fbbd237_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.632563Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 31 sessionId: sid_rand_20|2f3b8ede-d696d91f-d4de173a-5fbbd237_0 grpc read failed
2025-12-05T16:16:19.632569Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 31 sessionId: sid_rand_20|2f3b8ede-d696d91f-d4de173a-5fbbd237_0 grpc closed
2025-12-05T16:16:19.632573Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 31 sessionId: sid_rand_20|2f3b8ede-d696d91f-d4de173a-5fbbd237_0 is DEAD
2025-12-05T16:16:19.632682Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.632691Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 32
2025-12-05T16:16:19.632744Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.632768Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_21" }
2025-12-05T16:16:19.632790Z 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]:44842
2025-12-05T16:16:19.632797Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=32 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.632800Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.633097Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 32 sessionId:  describe result for acl check
2025-12-05T16:16:19.633124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.633130Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.633132Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.633136Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034547:2591] (SourceId=sid_rand_21, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.633570Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034547:2591] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.634769Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034547:2591] (SourceId=sid_rand_21, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.634842Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034563:2591] connected; active server actors: 1
2025-12-05T16:16:19.634855Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034547:2591] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_21
2025-12-05T16:16:19.634861Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034547:2591] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.634888Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034563:2591] disconnected.
2025-12-05T16:16:19.634894Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034563:2591] disconnected; active server actors: 1
2025-12-05T16:16:19.634895Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034563:2591] disconnected no session
2025-12-05T16:16:19.637250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034547:2591] (SourceId=sid_rand_21, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.637258Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034547:2591] (SourceId=sid_rand_21, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-05T16:16:19.637260Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034547:2591] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.637264Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 32 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-05T16:16:19.637448Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.637530Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_21|54264184-e33a2e10-6d44002a-19f878cf_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_21
2025-12-05T16:16:19.637709Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 32 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_21|54264184-e33a2e10-6d44002a-19f878cf_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_21|54264184-e33a2e10-6d44002a-19f878cf_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.638149Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId: sid_rand_21|54264184-e33a2e10-6d44002a-19f878cf_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.638157Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 32 sessionId: sid_rand_21|54264184-e33a2e10-6d44002a-19f878cf_0 grpc read failed
2025-12-05T16:16:19.638160Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 32 sessionId: sid_rand_21|54264184-e33a2e10-6d44002a-19f878cf_0 grpc closed
2025-12-05T16:16:19.638164Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 32 sessionId: sid_rand_21|54264184-e33a2e10-6d44002a-19f878cf_0 is DEAD
2025-12-05T16:16:19.638283Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.638291Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 33
2025-12-05T16:16:19.638319Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.638354Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_22" }
2025-12-05T16:16:19.638375Z 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]:44842
2025-12-05T16:16:19.638382Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=33 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.638385Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.638664Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 33 sessionId:  describe result for acl check
2025-12-05T16:16:19.638682Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.638683Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.638684Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.638686Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034583:2595] (SourceId=sid_rand_22, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.639091Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034583:2595] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.640270Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034583:2595] (SourceId=sid_rand_22, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.640311Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034599:2595] connected; active server actors: 1
2025-12-05T16:16:19.640323Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034583:2595] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_22
2025-12-05T16:16:19.640333Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034583:2595] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.640371Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034599:2595] disconnected.
2025-12-05T16:16:19.640379Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034599:2595] disconnected; active server actors: 1
2025-12-05T16:16:19.640382Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034599:2595] disconnected no session
2025-12-05T16:16:19.642414Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034583:2595] (SourceId=sid_rand_22, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.642424Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034583:2595] (SourceId=sid_rand_22, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-05T16:16:19.642427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034583:2595] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.642433Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 33 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-05T16:16:19.642632Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.642734Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_22|9d81cfe2-550dae20-c04c6b71-5ccf408b_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_22
2025-12-05T16:16:19.642910Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 33 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_22|9d81cfe2-550dae20-c04c6b71-5ccf408b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_22|9d81cfe2-550dae20-c04c6b71-5ccf408b_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.643329Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId: sid_rand_22|9d81cfe2-550dae20-c04c6b71-5ccf408b_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.643340Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 33 sessionId: sid_rand_22|9d81cfe2-550dae20-c04c6b71-5ccf408b_0 grpc read failed
2025-12-05T16:16:19.643346Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 33 sessionId: sid_rand_22|9d81cfe2-550dae20-c04c6b71-5ccf408b_0 grpc closed
2025-12-05T16:16:19.643350Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 33 sessionId: sid_rand_22|9d81cfe2-550dae20-c04c6b71-5ccf408b_0 is DEAD
2025-12-05T16:16:19.643458Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.643468Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 34
2025-12-05T16:16:19.643580Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_23" }
2025-12-05T16:16:19.643580Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.643605Z 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]:44842
2025-12-05T16:16:19.643608Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=34 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.643611Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.643924Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 34 sessionId:  describe result for acl check
2025-12-05T16:16:19.643952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.643954Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.643956Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.643959Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034619:2599] (SourceId=sid_rand_23, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.644382Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034619:2599] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.645351Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034619:2599] (SourceId=sid_rand_23, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.645405Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034635:2599] connected; active server actors: 1
2025-12-05T16:16:19.645418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034619:2599] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_23
2025-12-05T16:16:19.645420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034619:2599] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.645448Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034635:2599] disconnected.
2025-12-05T16:16:19.645453Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034635:2599] disconnected; active server actors: 1
2025-12-05T16:16:19.645455Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034635:2599] disconnected no session
2025-12-05T16:16:19.647437Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034619:2599] (SourceId=sid_rand_23, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.647454Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034619:2599] (SourceId=sid_rand_23, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-05T16:16:19.647457Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034619:2599] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.647477Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 34 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-05T16:16:19.647695Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.647797Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_23|83138fc1-eec3ef72-45505e98-a082a1c2_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_23
2025-12-05T16:16:19.648003Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 34 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_23|83138fc1-eec3ef72-45505e98-a082a1c2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_23|83138fc1-eec3ef72-45505e98-a082a1c2_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.648495Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId: sid_rand_23|83138fc1-eec3ef72-45505e98-a082a1c2_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.648504Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 34 sessionId: sid_rand_23|83138fc1-eec3ef72-45505e98-a082a1c2_0 grpc read failed
2025-12-05T16:16:19.648534Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 34 sessionId: sid_rand_23|83138fc1-eec3ef72-45505e98-a082a1c2_0
2025-12-05T16:16:19.648541Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 34 sessionId: sid_rand_23|83138fc1-eec3ef72-45505e98-a082a1c2_0 is DEAD
2025-12-05T16:16:19.648593Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.648602Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 35
2025-12-05T16:16:19.648624Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.648679Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_24" }
2025-12-05T16:16:19.648701Z 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]:44842
2025-12-05T16:16:19.648708Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=35 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.648711Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.649022Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 35 sessionId:  describe result for acl check
2025-12-05T16:16:19.649043Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.649045Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.649046Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.649049Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034655:2603] (SourceId=sid_rand_24, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.649471Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034655:2603] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.650544Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034655:2603] (SourceId=sid_rand_24, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.650598Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034671:2603] connected; active server actors: 1
2025-12-05T16:16:19.650613Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034655:2603] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_24
2025-12-05T16:16:19.650616Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034655:2603] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.650645Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034671:2603] disconnected.
2025-12-05T16:16:19.650647Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034671:2603] disconnected; active server actors: 1
2025-12-05T16:16:19.650649Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034671:2603] disconnected no session
2025-12-05T16:16:19.652627Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034655:2603] (SourceId=sid_rand_24, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.652638Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034655:2603] (SourceId=sid_rand_24, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-05T16:16:19.652640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034655:2603] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.652646Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 35 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T16:16:19.652738Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.652783Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_24|5f018ea1-9fb3cb3c-fa549929-e68ac39d_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_24
2025-12-05T16:16:19.652875Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 35 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_24|5f018ea1-9fb3cb3c-fa549929-e68ac39d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_24|5f018ea1-9fb3cb3c-fa549929-e68ac39d_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.653439Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId: sid_rand_24|5f018ea1-9fb3cb3c-fa549929-e68ac39d_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.653450Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 35 sessionId: sid_rand_24|5f018ea1-9fb3cb3c-fa549929-e68ac39d_0 grpc read failed
2025-12-05T16:16:19.653455Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 35 sessionId: sid_rand_24|5f018ea1-9fb3cb3c-fa549929-e68ac39d_0 grpc closed
2025-12-05T16:16:19.653459Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 35 sessionId: sid_rand_24|5f018ea1-9fb3cb3c-fa549929-e68ac39d_0 is DEAD
2025-12-05T16:16:19.653496Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.653504Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 36
2025-12-05T16:16:19.653584Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_25" }
2025-12-05T16:16:19.653603Z 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]:44842
2025-12-05T16:16:19.653609Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=36 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.653611Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.653672Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.653836Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 36 sessionId:  describe result for acl check
2025-12-05T16:16:19.653854Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.653859Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.653860Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.653863Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034692:2607] (SourceId=sid_rand_25, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.654204Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034692:2607] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.655168Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034692:2607] (SourceId=sid_rand_25, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.655218Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034708:2607] connected; active server actors: 1
2025-12-05T16:16:19.655229Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034692:2607] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_25
2025-12-05T16:16:19.655233Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034692:2607] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.655276Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034708:2607] disconnected.
2025-12-05T16:16:19.655285Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034708:2607] disconnected; active server actors: 1
2025-12-05T16:16:19.655288Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034708:2607] disconnected no session
2025-12-05T16:16:19.657171Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034692:2607] (SourceId=sid_rand_25, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.657182Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034692:2607] (SourceId=sid_rand_25, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T16:16:19.657185Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034692:2607] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.657190Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 36 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T16:16:19.657262Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.657287Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_25|51995c08-25153eb8-33af3a62-4fa2ce88_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_25
2025-12-05T16:16:19.657370Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 36 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_25|51995c08-25153eb8-33af3a62-4fa2ce88_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_25|51995c08-25153eb8-33af3a62-4fa2ce88_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.657853Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId: sid_rand_25|51995c08-25153eb8-33af3a62-4fa2ce88_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.657858Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 36 sessionId: sid_rand_25|51995c08-25153eb8-33af3a62-4fa2ce88_0 grpc read failed
2025-12-05T16:16:19.657861Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 36 sessionId: sid_rand_25|51995c08-25153eb8-33af3a62-4fa2ce88_0 grpc closed
2025-12-05T16:16:19.657863Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 36 sessionId: sid_rand_25|51995c08-25153eb8-33af3a62-4fa2ce88_0 is DEAD
2025-12-05T16:16:19.657927Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.657934Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 37
2025-12-05T16:16:19.658029Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.658067Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_26" }
2025-12-05T16:16:19.658091Z 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]:44842
2025-12-05T16:16:19.658098Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=37 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.658101Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.658391Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 37 sessionId:  describe result for acl check
2025-12-05T16:16:19.658419Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.658425Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.658427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.658431Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034729:2611] (SourceId=sid_rand_26, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.658808Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034729:2611] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.659868Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034729:2611] (SourceId=sid_rand_26, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.659940Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034745:2611] connected; active server actors: 1
2025-12-05T16:16:19.659955Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034729:2611] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_26
2025-12-05T16:16:19.659958Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034729:2611] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.660004Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034745:2611] disconnected.
2025-12-05T16:16:19.660019Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034745:2611] disconnected; active server actors: 1
2025-12-05T16:16:19.660021Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034745:2611] disconnected no session
2025-12-05T16:16:19.662242Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034729:2611] (SourceId=sid_rand_26, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.662251Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034729:2611] (SourceId=sid_rand_26, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-05T16:16:19.662254Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034729:2611] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.662260Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 37 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-05T16:16:19.662476Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.662548Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_26|285d78ee-f8637549-aca19632-6afffd47_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_26
2025-12-05T16:16:19.662754Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 37 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_26|285d78ee-f8637549-aca19632-6afffd47_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_26|285d78ee-f8637549-aca19632-6afffd47_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.663249Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId: sid_rand_26|285d78ee-f8637549-aca19632-6afffd47_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.663258Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 37 sessionId: sid_rand_26|285d78ee-f8637549-aca19632-6afffd47_0 grpc read failed
2025-12-05T16:16:19.663264Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 37 sessionId: sid_rand_26|285d78ee-f8637549-aca19632-6afffd47_0 grpc closed
2025-12-05T16:16:19.663268Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 37 sessionId: sid_rand_26|285d78ee-f8637549-aca19632-6afffd47_0 is DEAD
2025-12-05T16:16:19.663375Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.663383Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 38
2025-12-05T16:16:19.663508Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.663521Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_27" }
2025-12-05T16:16:19.663536Z 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]:44842
2025-12-05T16:16:19.663538Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=38 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.663541Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.663789Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 38 sessionId:  describe result for acl check
2025-12-05T16:16:19.663832Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.663839Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.663841Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.663844Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034765:2615] (SourceId=sid_rand_27, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.664235Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034765:2615] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.665447Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034765:2615] (SourceId=sid_rand_27, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.665502Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034781:2615] connected; active server actors: 1
2025-12-05T16:16:19.665514Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034765:2615] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_27
2025-12-05T16:16:19.665516Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034765:2615] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.665543Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034781:2615] disconnected.
2025-12-05T16:16:19.665549Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034781:2615] disconnected; active server actors: 1
2025-12-05T16:16:19.665551Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034781:2615] disconnected no session
2025-12-05T16:16:19.667365Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034765:2615] (SourceId=sid_rand_27, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.667373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034765:2615] (SourceId=sid_rand_27, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-05T16:16:19.667375Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034765:2615] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.667380Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 38 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-05T16:16:19.667556Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.667631Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_27|60c44515-dd5b467b-286b9278-63bd4da9_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_27
2025-12-05T16:16:19.667933Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 38 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_27|60c44515-dd5b467b-286b9278-63bd4da9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_27|60c44515-dd5b467b-286b9278-63bd4da9_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.668403Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId: sid_rand_27|60c44515-dd5b467b-286b9278-63bd4da9_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.668411Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 38 sessionId: sid_rand_27|60c44515-dd5b467b-286b9278-63bd4da9_0 grpc read failed
2025-12-05T16:16:19.668416Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 38 sessionId: sid_rand_27|60c44515-dd5b467b-286b9278-63bd4da9_0 grpc closed
2025-12-05T16:16:19.668420Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 38 sessionId: sid_rand_27|60c44515-dd5b467b-286b9278-63bd4da9_0 is DEAD
2025-12-05T16:16:19.668481Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.668490Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 39
2025-12-05T16:16:19.668603Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.668615Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_28" }
2025-12-05T16:16:19.668630Z 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]:44842
2025-12-05T16:16:19.668632Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=39 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.668635Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.668870Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 39 sessionId:  describe result for acl check
2025-12-05T16:16:19.668889Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.668890Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.668891Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.668893Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034801:2619] (SourceId=sid_rand_28, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.669210Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034801:2619] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.670579Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034801:2619] (SourceId=sid_rand_28, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.670613Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034817:2619] connected; active server actors: 1
2025-12-05T16:16:19.670623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034801:2619] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_28
2025-12-05T16:16:19.670627Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034801:2619] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.670667Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034817:2619] disconnected.
2025-12-05T16:16:19.670676Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034817:2619] disconnected; active server actors: 1
2025-12-05T16:16:19.670678Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034817:2619] disconnected no session
2025-12-05T16:16:19.673159Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034801:2619] (SourceId=sid_rand_28, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.673170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034801:2619] (SourceId=sid_rand_28, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-05T16:16:19.673173Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034801:2619] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.673179Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 39 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-05T16:16:19.673384Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.673459Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_28|ea151603-84e2f8eb-2dc9cbd3-3be33df2_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_28
2025-12-05T16:16:19.673643Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 39 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_28|ea151603-84e2f8eb-2dc9cbd3-3be33df2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_28|ea151603-84e2f8eb-2dc9cbd3-3be33df2_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.674101Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId: sid_rand_28|ea151603-84e2f8eb-2dc9cbd3-3be33df2_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.674109Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 39 sessionId: sid_rand_28|ea151603-84e2f8eb-2dc9cbd3-3be33df2_0 grpc read failed
2025-12-05T16:16:19.674115Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 39 sessionId: sid_rand_28|ea151603-84e2f8eb-2dc9cbd3-3be33df2_0 grpc closed
2025-12-05T16:16:19.674119Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 39 sessionId: sid_rand_28|ea151603-84e2f8eb-2dc9cbd3-3be33df2_0 is DEAD
2025-12-05T16:16:19.674165Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.674175Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 40
2025-12-05T16:16:19.674252Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_29" }
2025-12-05T16:16:19.674275Z 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]:44842
2025-12-05T16:16:19.674282Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=40 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.674284Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.674348Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.674595Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 40 sessionId:  describe result for acl check
2025-12-05T16:16:19.674619Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.674625Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.674626Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.674630Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034837:2623] (SourceId=sid_rand_29, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.675099Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034837:2623] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.676117Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034837:2623] (SourceId=sid_rand_29, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.676162Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034853:2623] connected; active server actors: 1
2025-12-05T16:16:19.676182Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034837:2623] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_29
2025-12-05T16:16:19.676188Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034837:2623] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.676220Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034853:2623] disconnected.
2025-12-05T16:16:19.676226Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034853:2623] disconnected; active server actors: 1
2025-12-05T16:16:19.676229Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034853:2623] disconnected no session
2025-12-05T16:16:19.678269Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034837:2623] (SourceId=sid_rand_29, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.678278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034837:2623] (SourceId=sid_rand_29, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-05T16:16:19.678282Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034837:2623] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.678287Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 40 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-05T16:16:19.678395Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.678430Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_29|4b71217a-15881560-62cb8d5-c6c872f3_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_29
2025-12-05T16:16:19.678527Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 40 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_29|4b71217a-15881560-62cb8d5-c6c872f3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_29|4b71217a-15881560-62cb8d5-c6c872f3_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.678999Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId: sid_rand_29|4b71217a-15881560-62cb8d5-c6c872f3_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.679014Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 40 sessionId: sid_rand_29|4b71217a-15881560-62cb8d5-c6c872f3_0 grpc read failed
2025-12-05T16:16:19.679019Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 40 sessionId: sid_rand_29|4b71217a-15881560-62cb8d5-c6c872f3_0 grpc closed
2025-12-05T16:16:19.679023Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 40 sessionId: sid_rand_29|4b71217a-15881560-62cb8d5-c6c872f3_0 is DEAD
2025-12-05T16:16:19.679082Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.679092Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 41
2025-12-05T16:16:19.679215Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.679232Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_30" }
2025-12-05T16:16:19.679250Z 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]:44842
2025-12-05T16:16:19.679254Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=41 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.679257Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.679525Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 41 sessionId:  describe result for acl check
2025-12-05T16:16:19.679544Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.679546Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.679547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.679550Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034874:2627] (SourceId=sid_rand_30, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.679892Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034874:2627] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.681300Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034874:2627] (SourceId=sid_rand_30, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.681345Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034890:2627] connected; active server actors: 1
2025-12-05T16:16:19.681383Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034874:2627] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_30
2025-12-05T16:16:19.681387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034874:2627] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.681417Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034890:2627] disconnected.
2025-12-05T16:16:19.681424Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034890:2627] disconnected; active server actors: 1
2025-12-05T16:16:19.681427Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034890:2627] disconnected no session
2025-12-05T16:16:19.683995Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034874:2627] (SourceId=sid_rand_30, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.684005Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034874:2627] (SourceId=sid_rand_30, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-05T16:16:19.684007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034874:2627] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.684013Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 41 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-05T16:16:19.684235Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.684298Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_30|da173a8d-2744380-782870c3-f3de87b0_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_30
2025-12-05T16:16:19.684481Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 41 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_30|da173a8d-2744380-782870c3-f3de87b0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_30|da173a8d-2744380-782870c3-f3de87b0_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.684941Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 41 sessionId: sid_rand_30|da173a8d-2744380-782870c3-f3de87b0_0 grpc closed
2025-12-05T16:16:19.684949Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 41 sessionId: sid_rand_30|da173a8d-2744380-782870c3-f3de87b0_0 is DEAD
2025-12-05T16:16:19.685005Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.685013Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 42
2025-12-05T16:16:19.685102Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.685148Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_31" }
2025-12-05T16:16:19.685177Z 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]:44842
2025-12-05T16:16:19.685180Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=42 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.685183Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.685499Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 42 sessionId:  describe result for acl check
2025-12-05T16:16:19.685521Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.685528Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.685530Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.685534Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034910:2631] (SourceId=sid_rand_31, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.685975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034910:2631] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.686882Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034910:2631] (SourceId=sid_rand_31, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.686944Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034926:2631] connected; active server actors: 1
2025-12-05T16:16:19.686957Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034910:2631] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_31
2025-12-05T16:16:19.686960Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034910:2631] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.686984Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034926:2631] disconnected.
2025-12-05T16:16:19.686990Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034926:2631] disconnected; active server actors: 1
2025-12-05T16:16:19.686992Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034926:2631] disconnected no session
2025-12-05T16:16:19.688910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034910:2631] (SourceId=sid_rand_31, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.688919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034910:2631] (SourceId=sid_rand_31, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-05T16:16:19.688921Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034910:2631] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.688925Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 42 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-05T16:16:19.688996Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.689021Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_31|a5a97ad3-31b20f8f-4cc300ef-e4b1c2cf_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_31
2025-12-05T16:16:19.689116Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 42 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_31|a5a97ad3-31b20f8f-4cc300ef-e4b1c2cf_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_31|a5a97ad3-31b20f8f-4cc300ef-e4b1c2cf_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.689509Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId: sid_rand_31|a5a97ad3-31b20f8f-4cc300ef-e4b1c2cf_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.689516Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 42 sessionId: sid_rand_31|a5a97ad3-31b20f8f-4cc300ef-e4b1c2cf_0 grpc read failed
2025-12-05T16:16:19.689520Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 42 sessionId: sid_rand_31|a5a97ad3-31b20f8f-4cc300ef-e4b1c2cf_0 grpc closed
2025-12-05T16:16:19.689523Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 42 sessionId: sid_rand_31|a5a97ad3-31b20f8f-4cc300ef-e4b1c2cf_0 is DEAD
2025-12-05T16:16:19.689601Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.689608Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 43
2025-12-05T16:16:19.689696Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.689721Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_32" }
2025-12-05T16:16:19.689750Z 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]:44842
2025-12-05T16:16:19.689758Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=43 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.689761Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.690009Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 43 sessionId:  describe result for acl check
2025-12-05T16:16:19.690029Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.690030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.690031Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.690034Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034949:2636] (SourceId=sid_rand_32, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.690360Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034949:2636] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.691567Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034949:2636] (SourceId=sid_rand_32, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.691622Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034967:2636] connected; active server actors: 1
2025-12-05T16:16:19.691629Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034949:2636] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_32
2025-12-05T16:16:19.691632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034949:2636] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.691664Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034967:2636] disconnected.
2025-12-05T16:16:19.691667Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034967:2636] disconnected; active server actors: 1
2025-12-05T16:16:19.691671Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550034967:2636] disconnected no session
2025-12-05T16:16:19.693472Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034949:2636] (SourceId=sid_rand_32, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.693483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034949:2636] (SourceId=sid_rand_32, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-05T16:16:19.693486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034949:2636] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.693491Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 43 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-05T16:16:19.693651Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.693724Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_32|d6a2efdc-2d9e98ea-24db577b-eb55577b_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_32
2025-12-05T16:16:19.693944Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 43 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_32|d6a2efdc-2d9e98ea-24db577b-eb55577b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_32|d6a2efdc-2d9e98ea-24db577b-eb55577b_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.694360Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId: sid_rand_32|d6a2efdc-2d9e98ea-24db577b-eb55577b_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.694371Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 43 sessionId: sid_rand_32|d6a2efdc-2d9e98ea-24db577b-eb55577b_0 grpc read failed
2025-12-05T16:16:19.694375Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 43 sessionId: sid_rand_32|d6a2efdc-2d9e98ea-24db577b-eb55577b_0 grpc closed
2025-12-05T16:16:19.694378Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 43 sessionId: sid_rand_32|d6a2efdc-2d9e98ea-24db577b-eb55577b_0 is DEAD
2025-12-05T16:16:19.694426Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.694438Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 44
2025-12-05T16:16:19.694536Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.694553Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_33" }
2025-12-05T16:16:19.694567Z 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]:44842
2025-12-05T16:16:19.694569Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=44 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.694571Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.694836Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 44 sessionId:  describe result for acl check
2025-12-05T16:16:19.694861Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.694862Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.694863Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.694866Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550034990:2641] (SourceId=sid_rand_33, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.695275Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550034990:2641] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.696622Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550034990:2641] (SourceId=sid_rand_33, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.696654Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035006:2641] connected; active server actors: 1
2025-12-05T16:16:19.696664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550034990:2641] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_33
2025-12-05T16:16:19.696674Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550034990:2641] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.696712Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035006:2641] disconnected.
2025-12-05T16:16:19.696720Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035006:2641] disconnected; active server actors: 1
2025-12-05T16:16:19.696722Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035006:2641] disconnected no session
2025-12-05T16:16:19.698618Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550034990:2641] (SourceId=sid_rand_33, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.698630Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550034990:2641] (SourceId=sid_rand_33, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-05T16:16:19.698633Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550034990:2641] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.698638Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 44 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-05T16:16:19.698821Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.698910Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_33|316c4f77-dfb19e78-2ab449bb-d125cdb1_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_33
2025-12-05T16:16:19.699135Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 44 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_33|316c4f77-dfb19e78-2ab449bb-d125cdb1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_33|316c4f77-dfb19e78-2ab449bb-d125cdb1_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.699699Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId: sid_rand_33|316c4f77-dfb19e78-2ab449bb-d125cdb1_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.699711Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 44 sessionId: sid_rand_33|316c4f77-dfb19e78-2ab449bb-d125cdb1_0 grpc read failed
2025-12-05T16:16:19.699715Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 44 sessionId: sid_rand_33|316c4f77-dfb19e78-2ab449bb-d125cdb1_0 grpc closed
2025-12-05T16:16:19.699719Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 44 sessionId: sid_rand_33|316c4f77-dfb19e78-2ab449bb-d125cdb1_0 is DEAD
2025-12-05T16:16:19.699761Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.699771Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 45
2025-12-05T16:16:19.699826Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_34" }
2025-12-05T16:16:19.699848Z 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]:44842
2025-12-05T16:16:19.699857Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=45 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.699860Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.699899Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.700089Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 45 sessionId:  describe result for acl check
2025-12-05T16:16:19.700108Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.700109Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.700110Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.700112Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035026:2645] (SourceId=sid_rand_34, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.700406Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035026:2645] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.701784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035026:2645] (SourceId=sid_rand_34, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.701824Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035042:2645] connected; active server actors: 1
2025-12-05T16:16:19.701837Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035026:2645] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_34
2025-12-05T16:16:19.701841Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035026:2645] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.701880Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035042:2645] disconnected.
2025-12-05T16:16:19.701886Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035042:2645] disconnected; active server actors: 1
2025-12-05T16:16:19.701888Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035042:2645] disconnected no session
2025-12-05T16:16:19.703646Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035026:2645] (SourceId=sid_rand_34, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.703657Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035026:2645] (SourceId=sid_rand_34, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-05T16:16:19.703659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035026:2645] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.703665Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 45 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-05T16:16:19.703886Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.703961Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_34|9d54a91b-5f880826-cad4cb90-66abbb3d_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_34
2025-12-05T16:16:19.704165Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 45 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_34|9d54a91b-5f880826-cad4cb90-66abbb3d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_34|9d54a91b-5f880826-cad4cb90-66abbb3d_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.704636Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId: sid_rand_34|9d54a91b-5f880826-cad4cb90-66abbb3d_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.704642Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 45 sessionId: sid_rand_34|9d54a91b-5f880826-cad4cb90-66abbb3d_0 grpc read failed
2025-12-05T16:16:19.704646Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 45 sessionId: sid_rand_34|9d54a91b-5f880826-cad4cb90-66abbb3d_0 grpc closed
2025-12-05T16:16:19.704649Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 45 sessionId: sid_rand_34|9d54a91b-5f880826-cad4cb90-66abbb3d_0 is DEAD
2025-12-05T16:16:19.704699Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.704709Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 46
2025-12-05T16:16:19.704805Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.704839Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_35" }
2025-12-05T16:16:19.704861Z 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]:44842
2025-12-05T16:16:19.704869Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=46 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.704872Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.705180Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 46 sessionId:  describe result for acl check
2025-12-05T16:16:19.705204Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.705211Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.705213Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.705217Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035062:2649] (SourceId=sid_rand_35, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.705595Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035062:2649] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.706864Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035062:2649] (SourceId=sid_rand_35, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.706913Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035078:2649] connected; active server actors: 1
2025-12-05T16:16:19.706925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035062:2649] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_35
2025-12-05T16:16:19.706927Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035062:2649] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.707033Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035078:2649] disconnected.
2025-12-05T16:16:19.707040Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035078:2649] disconnected; active server actors: 1
2025-12-05T16:16:19.707042Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035078:2649] disconnected no session
2025-12-05T16:16:19.708804Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035062:2649] (SourceId=sid_rand_35, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.708816Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035062:2649] (SourceId=sid_rand_35, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-05T16:16:19.708819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035062:2649] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.708824Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 46 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-05T16:16:19.709019Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.709103Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_35|602314b3-c9f4e7d5-d73e3ba5-4de24212_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_35
2025-12-05T16:16:19.709324Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 46 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_35|602314b3-c9f4e7d5-d73e3ba5-4de24212_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_35|602314b3-c9f4e7d5-d73e3ba5-4de24212_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.709713Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId: sid_rand_35|602314b3-c9f4e7d5-d73e3ba5-4de24212_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.709720Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 46 sessionId: sid_rand_35|602314b3-c9f4e7d5-d73e3ba5-4de24212_0 grpc read failed
2025-12-05T16:16:19.709724Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 46 sessionId: sid_rand_35|602314b3-c9f4e7d5-d73e3ba5-4de24212_0 grpc closed
2025-12-05T16:16:19.709727Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 46 sessionId: sid_rand_35|602314b3-c9f4e7d5-d73e3ba5-4de24212_0 is DEAD
2025-12-05T16:16:19.709819Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.709829Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 47
2025-12-05T16:16:19.709927Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.709957Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_36" }
2025-12-05T16:16:19.709980Z 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]:44842
2025-12-05T16:16:19.709987Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=47 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.709989Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.710230Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 47 sessionId:  describe result for acl check
2025-12-05T16:16:19.710250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.710254Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.710255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.710258Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035098:2653] (SourceId=sid_rand_36, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.710564Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035098:2653] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.711509Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035098:2653] (SourceId=sid_rand_36, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.711561Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035114:2653] connected; active server actors: 1
2025-12-05T16:16:19.711576Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035098:2653] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_36
2025-12-05T16:16:19.711578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035098:2653] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.711605Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035114:2653] disconnected.
2025-12-05T16:16:19.711611Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035114:2653] disconnected; active server actors: 1
2025-12-05T16:16:19.711612Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035114:2653] disconnected no session
2025-12-05T16:16:19.713574Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035098:2653] (SourceId=sid_rand_36, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.713586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035098:2653] (SourceId=sid_rand_36, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-05T16:16:19.713589Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035098:2653] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.713593Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 47 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-05T16:16:19.713788Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.713877Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_36|c077177d-100f11e7-13e5bb19-ecf16033_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_36
2025-12-05T16:16:19.714081Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 47 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_36|c077177d-100f11e7-13e5bb19-ecf16033_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_36|c077177d-100f11e7-13e5bb19-ecf16033_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.714499Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId: sid_rand_36|c077177d-100f11e7-13e5bb19-ecf16033_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.714506Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 47 sessionId: sid_rand_36|c077177d-100f11e7-13e5bb19-ecf16033_0 grpc read failed
2025-12-05T16:16:19.714509Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 47 sessionId: sid_rand_36|c077177d-100f11e7-13e5bb19-ecf16033_0 grpc closed
2025-12-05T16:16:19.714513Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 47 sessionId: sid_rand_36|c077177d-100f11e7-13e5bb19-ecf16033_0 is DEAD
2025-12-05T16:16:19.714614Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.714623Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 48
2025-12-05T16:16:19.714684Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_37" }
2025-12-05T16:16:19.714688Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.714706Z 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]:44842
2025-12-05T16:16:19.714708Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=48 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.714711Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.714995Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 48 sessionId:  describe result for acl check
2025-12-05T16:16:19.715027Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.715033Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.715036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.715039Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035134:2657] (SourceId=sid_rand_37, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.715430Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035134:2657] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.716546Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035134:2657] (SourceId=sid_rand_37, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.716586Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035153:2657] connected; active server actors: 1
2025-12-05T16:16:19.716605Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035134:2657] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_37
2025-12-05T16:16:19.716609Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035134:2657] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.716648Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035153:2657] disconnected.
2025-12-05T16:16:19.716658Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035153:2657] disconnected; active server actors: 1
2025-12-05T16:16:19.716660Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035153:2657] disconnected no session
2025-12-05T16:16:19.718518Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035134:2657] (SourceId=sid_rand_37, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.718530Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035134:2657] (SourceId=sid_rand_37, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-05T16:16:19.718532Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035134:2657] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.718538Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 48 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-05T16:16:19.718730Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.718816Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_37|ab0e776b-1257730b-abc97406-49952ff8_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_37
2025-12-05T16:16:19.719082Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 48 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_37|ab0e776b-1257730b-abc97406-49952ff8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_37|ab0e776b-1257730b-abc97406-49952ff8_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.719585Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId: sid_rand_37|ab0e776b-1257730b-abc97406-49952ff8_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.719593Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 48 sessionId: sid_rand_37|ab0e776b-1257730b-abc97406-49952ff8_0 grpc read failed
2025-12-05T16:16:19.719597Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 48 sessionId: sid_rand_37|ab0e776b-1257730b-abc97406-49952ff8_0 grpc closed
2025-12-05T16:16:19.719600Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 48 sessionId: sid_rand_37|ab0e776b-1257730b-abc97406-49952ff8_0 is DEAD
2025-12-05T16:16:19.719702Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.719710Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 49
2025-12-05T16:16:19.719795Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.719830Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_38" }
2025-12-05T16:16:19.719858Z 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]:44842
2025-12-05T16:16:19.719865Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=49 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.719868Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.720167Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 49 sessionId:  describe result for acl check
2025-12-05T16:16:19.720187Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.720192Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.720193Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.720195Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035173:2661] (SourceId=sid_rand_38, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.720477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035173:2661] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.721726Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035173:2661] (SourceId=sid_rand_38, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.721775Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035189:2661] connected; active server actors: 1
2025-12-05T16:16:19.721790Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035173:2661] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_38
2025-12-05T16:16:19.721792Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035173:2661] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.721834Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035189:2661] disconnected.
2025-12-05T16:16:19.721842Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035189:2661] disconnected; active server actors: 1
2025-12-05T16:16:19.721844Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035189:2661] disconnected no session
2025-12-05T16:16:19.723658Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035173:2661] (SourceId=sid_rand_38, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.723666Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035173:2661] (SourceId=sid_rand_38, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-05T16:16:19.723668Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035173:2661] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.723672Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 49 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T16:16:19.723765Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.723794Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_38|d5a9a5bc-18b83801-f182434f-7aecfa61_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_38
2025-12-05T16:16:19.723886Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 49 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_38|d5a9a5bc-18b83801-f182434f-7aecfa61_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_38|d5a9a5bc-18b83801-f182434f-7aecfa61_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.724328Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId: sid_rand_38|d5a9a5bc-18b83801-f182434f-7aecfa61_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.724337Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 49 sessionId: sid_rand_38|d5a9a5bc-18b83801-f182434f-7aecfa61_0 grpc read failed
2025-12-05T16:16:19.724342Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 49 sessionId: sid_rand_38|d5a9a5bc-18b83801-f182434f-7aecfa61_0 grpc closed
2025-12-05T16:16:19.724345Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 49 sessionId: sid_rand_38|d5a9a5bc-18b83801-f182434f-7aecfa61_0 is DEAD
2025-12-05T16:16:19.724405Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.724420Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 50
2025-12-05T16:16:19.724534Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.724543Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_39" }
2025-12-05T16:16:19.724557Z 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]:44842
2025-12-05T16:16:19.724558Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=50 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.724560Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.724783Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 50 sessionId:  describe result for acl check
2025-12-05T16:16:19.724805Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.724807Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.724808Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.724810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035210:2665] (SourceId=sid_rand_39, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.725183Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035210:2665] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.726364Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035210:2665] (SourceId=sid_rand_39, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.726398Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035226:2665] connected; active server actors: 1
2025-12-05T16:16:19.726412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035210:2665] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_39
2025-12-05T16:16:19.726421Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035210:2665] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.726463Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035226:2665] disconnected.
2025-12-05T16:16:19.726469Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035226:2665] disconnected; active server actors: 1
2025-12-05T16:16:19.726472Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035226:2665] disconnected no session
2025-12-05T16:16:19.728500Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035210:2665] (SourceId=sid_rand_39, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.728511Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035210:2665] (SourceId=sid_rand_39, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T16:16:19.728514Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035210:2665] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.728519Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 50 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T16:16:19.728623Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.728667Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_39|348de85b-991c0ade-54aee6ce-865f500f_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_39
2025-12-05T16:16:19.728777Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 50 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_39|348de85b-991c0ade-54aee6ce-865f500f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_39|348de85b-991c0ade-54aee6ce-865f500f_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.729360Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId: sid_rand_39|348de85b-991c0ade-54aee6ce-865f500f_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.729366Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 50 sessionId: sid_rand_39|348de85b-991c0ade-54aee6ce-865f500f_0 grpc read failed
2025-12-05T16:16:19.729370Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 50 sessionId: sid_rand_39|348de85b-991c0ade-54aee6ce-865f500f_0 grpc closed
2025-12-05T16:16:19.729373Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 50 sessionId: sid_rand_39|348de85b-991c0ade-54aee6ce-865f500f_0 is DEAD
2025-12-05T16:16:19.729401Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.729412Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 51
2025-12-05T16:16:19.729501Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_40" }
2025-12-05T16:16:19.729524Z 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]:44842
2025-12-05T16:16:19.729532Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=51 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.729535Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.729554Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.729784Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 51 sessionId:  describe result for acl check
2025-12-05T16:16:19.729802Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.729807Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.729808Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.729813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035250:2669] (SourceId=sid_rand_40, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.730140Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035250:2669] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.731546Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035250:2669] (SourceId=sid_rand_40, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.731602Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035266:2669] connected; active server actors: 1
2025-12-05T16:16:19.731617Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035250:2669] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_40
2025-12-05T16:16:19.731621Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035250:2669] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.731659Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035266:2669] disconnected.
2025-12-05T16:16:19.731667Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035266:2669] disconnected; active server actors: 1
2025-12-05T16:16:19.731669Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035266:2669] disconnected no session
2025-12-05T16:16:19.734028Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035250:2669] (SourceId=sid_rand_40, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.734038Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035250:2669] (SourceId=sid_rand_40, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-05T16:16:19.734042Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035250:2669] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.734049Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 51 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-05T16:16:19.734236Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.734304Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_40|c54ccc4f-442d2b8b-f7aefabf-a58d8c2d_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_40
2025-12-05T16:16:19.734528Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 51 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_40|c54ccc4f-442d2b8b-f7aefabf-a58d8c2d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_40|c54ccc4f-442d2b8b-f7aefabf-a58d8c2d_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.735026Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId: sid_rand_40|c54ccc4f-442d2b8b-f7aefabf-a58d8c2d_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.735033Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 51 sessionId: sid_rand_40|c54ccc4f-442d2b8b-f7aefabf-a58d8c2d_0 grpc read failed
2025-12-05T16:16:19.735037Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 51 sessionId: sid_rand_40|c54ccc4f-442d2b8b-f7aefabf-a58d8c2d_0 grpc closed
2025-12-05T16:16:19.735040Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 51 sessionId: sid_rand_40|c54ccc4f-442d2b8b-f7aefabf-a58d8c2d_0 is DEAD
2025-12-05T16:16:19.735133Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.735144Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 52
2025-12-05T16:16:19.735255Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.735267Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_41" }
2025-12-05T16:16:19.735287Z 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]:44842
2025-12-05T16:16:19.735296Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=52 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.735299Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.735646Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 52 sessionId:  describe result for acl check
2025-12-05T16:16:19.735677Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.735684Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.735686Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.735690Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035286:2673] (SourceId=sid_rand_41, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.736184Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035286:2673] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.737682Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035286:2673] (SourceId=sid_rand_41, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.737733Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035302:2673] connected; active server actors: 1
2025-12-05T16:16:19.737748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035286:2673] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_41
2025-12-05T16:16:19.737751Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035286:2673] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.737791Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035302:2673] disconnected.
2025-12-05T16:16:19.737799Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035302:2673] disconnected; active server actors: 1
2025-12-05T16:16:19.737801Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035302:2673] disconnected no session
2025-12-05T16:16:19.740211Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035286:2673] (SourceId=sid_rand_41, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.740221Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035286:2673] (SourceId=sid_rand_41, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-05T16:16:19.740224Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035286:2673] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.740229Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 52 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T16:16:19.740329Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.740363Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_41|93d47ef7-8c473520-d042980d-a1922a4c_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_41
2025-12-05T16:16:19.740461Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 52 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_41|93d47ef7-8c473520-d042980d-a1922a4c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_41|93d47ef7-8c473520-d042980d-a1922a4c_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.740913Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId: sid_rand_41|93d47ef7-8c473520-d042980d-a1922a4c_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.740919Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 52 sessionId: sid_rand_41|93d47ef7-8c473520-d042980d-a1922a4c_0 grpc read failed
2025-12-05T16:16:19.740923Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 52 sessionId: sid_rand_41|93d47ef7-8c473520-d042980d-a1922a4c_0 grpc closed
2025-12-05T16:16:19.740927Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 52 sessionId: sid_rand_41|93d47ef7-8c473520-d042980d-a1922a4c_0 is DEAD
2025-12-05T16:16:19.741049Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.741057Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 53
2025-12-05T16:16:19.741082Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.741141Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_42" }
2025-12-05T16:16:19.741165Z 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]:44842
2025-12-05T16:16:19.741172Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=53 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.741174Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.741436Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 53 sessionId:  describe result for acl check
2025-12-05T16:16:19.741460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.741467Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.741468Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.741474Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035324:2677] (SourceId=sid_rand_42, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.741773Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035324:2677] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.742715Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035324:2677] (SourceId=sid_rand_42, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.742758Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035340:2677] connected; active server actors: 1
2025-12-05T16:16:19.742769Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035324:2677] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_42
2025-12-05T16:16:19.742773Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035324:2677] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.742817Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035340:2677] disconnected.
2025-12-05T16:16:19.742826Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035340:2677] disconnected; active server actors: 1
2025-12-05T16:16:19.742828Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035340:2677] disconnected no session
2025-12-05T16:16:19.744734Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035324:2677] (SourceId=sid_rand_42, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.744745Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035324:2677] (SourceId=sid_rand_42, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-05T16:16:19.744748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035324:2677] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.744753Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 53 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T16:16:19.744847Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.744864Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_42|6c937738-d955cee9-abb6f172-bede2c2d_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_42
2025-12-05T16:16:19.744945Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 53 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_42|6c937738-d955cee9-abb6f172-bede2c2d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_42|6c937738-d955cee9-abb6f172-bede2c2d_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.745427Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId: sid_rand_42|6c937738-d955cee9-abb6f172-bede2c2d_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.745433Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 53 sessionId: sid_rand_42|6c937738-d955cee9-abb6f172-bede2c2d_0 grpc read failed
2025-12-05T16:16:19.745437Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 53 sessionId: sid_rand_42|6c937738-d955cee9-abb6f172-bede2c2d_0 grpc closed
2025-12-05T16:16:19.745440Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 53 sessionId: sid_rand_42|6c937738-d955cee9-abb6f172-bede2c2d_0 is DEAD
2025-12-05T16:16:19.745563Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.745571Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 54
2025-12-05T16:16:19.745662Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.745670Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_43" }
2025-12-05T16:16:19.745688Z 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]:44842
2025-12-05T16:16:19.745696Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=54 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.745699Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.745924Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 54 sessionId:  describe result for acl check
2025-12-05T16:16:19.745943Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.745948Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.745949Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.745952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035361:2681] (SourceId=sid_rand_43, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.746298Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035361:2681] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.747313Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035361:2681] (SourceId=sid_rand_43, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.747377Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035377:2681] connected; active server actors: 1
2025-12-05T16:16:19.747389Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035361:2681] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_43
2025-12-05T16:16:19.747391Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035361:2681] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.747418Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035377:2681] disconnected.
2025-12-05T16:16:19.747423Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035377:2681] disconnected; active server actors: 1
2025-12-05T16:16:19.747424Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035377:2681] disconnected no session
2025-12-05T16:16:19.749403Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035361:2681] (SourceId=sid_rand_43, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.749414Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035361:2681] (SourceId=sid_rand_43, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-05T16:16:19.749417Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035361:2681] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.749422Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 54 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-05T16:16:19.749589Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.749648Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_43|c2e2bd57-ff83549a-e955a1db-290180a6_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_43
2025-12-05T16:16:19.749858Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 54 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_43|c2e2bd57-ff83549a-e955a1db-290180a6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_43|c2e2bd57-ff83549a-e955a1db-290180a6_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.750306Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId: sid_rand_43|c2e2bd57-ff83549a-e955a1db-290180a6_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.750315Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 54 sessionId: sid_rand_43|c2e2bd57-ff83549a-e955a1db-290180a6_0 grpc read failed
2025-12-05T16:16:19.750322Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 54 sessionId: sid_rand_43|c2e2bd57-ff83549a-e955a1db-290180a6_0 grpc closed
2025-12-05T16:16:19.750325Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 54 sessionId: sid_rand_43|c2e2bd57-ff83549a-e955a1db-290180a6_0 is DEAD
2025-12-05T16:16:19.750377Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.750385Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 55
2025-12-05T16:16:19.750446Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_44" }
2025-12-05T16:16:19.750462Z 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]:44842
2025-12-05T16:16:19.750468Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=55 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.750470Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.750520Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.750669Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 55 sessionId:  describe result for acl check
2025-12-05T16:16:19.750690Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.750697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.750699Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.750702Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035397:2685] (SourceId=sid_rand_44, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.751000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035397:2685] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.751944Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035397:2685] (SourceId=sid_rand_44, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.752014Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035413:2685] connected; active server actors: 1
2025-12-05T16:16:19.752028Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035397:2685] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_44
2025-12-05T16:16:19.752030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035397:2685] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.752060Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035413:2685] disconnected.
2025-12-05T16:16:19.752068Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035413:2685] disconnected; active server actors: 1
2025-12-05T16:16:19.752070Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035413:2685] disconnected no session
2025-12-05T16:16:19.753907Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035397:2685] (SourceId=sid_rand_44, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.753917Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035397:2685] (SourceId=sid_rand_44, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-05T16:16:19.753919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035397:2685] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.753924Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 55 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-05T16:16:19.754115Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.754186Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_44|a3a7721e-28a6c2ee-914576a8-b0637f46_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_44
2025-12-05T16:16:19.754385Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 55 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_44|a3a7721e-28a6c2ee-914576a8-b0637f46_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_44|a3a7721e-28a6c2ee-914576a8-b0637f46_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.754734Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId: sid_rand_44|a3a7721e-28a6c2ee-914576a8-b0637f46_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.754741Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 55 sessionId: sid_rand_44|a3a7721e-28a6c2ee-914576a8-b0637f46_0 grpc read failed
2025-12-05T16:16:19.754744Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 55 sessionId: sid_rand_44|a3a7721e-28a6c2ee-914576a8-b0637f46_0 grpc closed
2025-12-05T16:16:19.754746Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 55 sessionId: sid_rand_44|a3a7721e-28a6c2ee-914576a8-b0637f46_0 is DEAD
2025-12-05T16:16:19.754878Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.754887Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 56
2025-12-05T16:16:19.754906Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.754958Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_45" }
2025-12-05T16:16:19.754980Z 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]:44842
2025-12-05T16:16:19.754987Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=56 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.754989Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.755287Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 56 sessionId:  describe result for acl check
2025-12-05T16:16:19.755313Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.755314Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.755316Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.755319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035433:2689] (SourceId=sid_rand_45, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.755697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035433:2689] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.757007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035433:2689] (SourceId=sid_rand_45, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.757050Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035449:2689] connected; active server actors: 1
2025-12-05T16:16:19.757059Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035433:2689] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_45
2025-12-05T16:16:19.757062Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035433:2689] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.757089Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035449:2689] disconnected.
2025-12-05T16:16:19.757098Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035449:2689] disconnected; active server actors: 1
2025-12-05T16:16:19.757100Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035449:2689] disconnected no session
2025-12-05T16:16:19.758991Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035433:2689] (SourceId=sid_rand_45, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.759013Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035433:2689] (SourceId=sid_rand_45, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-05T16:16:19.759016Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035433:2689] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.759020Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 56 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-05T16:16:19.759110Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.759135Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_45|308a29b9-11580fb5-529639b0-f3816cf0_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_45
2025-12-05T16:16:19.759229Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 56 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_45|308a29b9-11580fb5-529639b0-f3816cf0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_45|308a29b9-11580fb5-529639b0-f3816cf0_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.759682Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId: sid_rand_45|308a29b9-11580fb5-529639b0-f3816cf0_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.759698Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 56 sessionId: sid_rand_45|308a29b9-11580fb5-529639b0-f3816cf0_0 grpc read failed
2025-12-05T16:16:19.759703Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 56 sessionId: sid_rand_45|308a29b9-11580fb5-529639b0-f3816cf0_0 grpc closed
2025-12-05T16:16:19.759707Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 56 sessionId: sid_rand_45|308a29b9-11580fb5-529639b0-f3816cf0_0 is DEAD
2025-12-05T16:16:19.759745Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.759756Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 57
2025-12-05T16:16:19.759835Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_46" }
2025-12-05T16:16:19.759859Z 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]:44842
2025-12-05T16:16:19.759862Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=57 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.759864Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.759919Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.760077Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 57 sessionId:  describe result for acl check
2025-12-05T16:16:19.760096Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.760103Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.760105Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.760107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035470:2693] (SourceId=sid_rand_46, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.760437Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035470:2693] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.761598Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035470:2693] (SourceId=sid_rand_46, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.761633Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035486:2693] connected; active server actors: 1
2025-12-05T16:16:19.761642Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035470:2693] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_46
2025-12-05T16:16:19.761645Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035470:2693] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.761683Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035486:2693] disconnected.
2025-12-05T16:16:19.761693Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035486:2693] disconnected; active server actors: 1
2025-12-05T16:16:19.761695Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035486:2693] disconnected no session
2025-12-05T16:16:19.763665Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035470:2693] (SourceId=sid_rand_46, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.763677Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035470:2693] (SourceId=sid_rand_46, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-05T16:16:19.763680Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035470:2693] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.763685Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 57 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-05T16:16:19.763871Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.763939Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_46|674fd902-e6bfcab-ccb8b4b5-982d7dba_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_46
2025-12-05T16:16:19.764204Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 57 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_46|674fd902-e6bfcab-ccb8b4b5-982d7dba_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_46|674fd902-e6bfcab-ccb8b4b5-982d7dba_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.764609Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId: sid_rand_46|674fd902-e6bfcab-ccb8b4b5-982d7dba_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.764618Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 57 sessionId: sid_rand_46|674fd902-e6bfcab-ccb8b4b5-982d7dba_0 grpc read failed
2025-12-05T16:16:19.764622Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 57 sessionId: sid_rand_46|674fd902-e6bfcab-ccb8b4b5-982d7dba_0 grpc closed
2025-12-05T16:16:19.764625Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 57 sessionId: sid_rand_46|674fd902-e6bfcab-ccb8b4b5-982d7dba_0 is DEAD
2025-12-05T16:16:19.764707Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.764719Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 58
2025-12-05T16:16:19.764769Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.764788Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_47" }
2025-12-05T16:16:19.764806Z 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]:44842
2025-12-05T16:16:19.764815Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=58 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.764817Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.765088Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 58 sessionId:  describe result for acl check
2025-12-05T16:16:19.765111Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.765113Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.765114Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.765116Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035506:2697] (SourceId=sid_rand_47, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.765416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035506:2697] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.766716Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035506:2697] (SourceId=sid_rand_47, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.766757Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035523:2697] connected; active server actors: 1
2025-12-05T16:16:19.766765Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035506:2697] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_47
2025-12-05T16:16:19.766773Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035506:2697] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.766815Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035523:2697] disconnected.
2025-12-05T16:16:19.766821Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035523:2697] disconnected; active server actors: 1
2025-12-05T16:16:19.766823Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035523:2697] disconnected no session
2025-12-05T16:16:19.768865Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035506:2697] (SourceId=sid_rand_47, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.768877Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035506:2697] (SourceId=sid_rand_47, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-05T16:16:19.768880Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035506:2697] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.768883Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 58 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-05T16:16:19.768953Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.768978Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_47|81d6c292-2e153337-e199214a-de92a840_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_47
2025-12-05T16:16:19.769049Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 58 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_47|81d6c292-2e153337-e199214a-de92a840_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_47|81d6c292-2e153337-e199214a-de92a840_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.769458Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId: sid_rand_47|81d6c292-2e153337-e199214a-de92a840_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.769465Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 58 sessionId: sid_rand_47|81d6c292-2e153337-e199214a-de92a840_0 grpc read failed
2025-12-05T16:16:19.769468Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 58 sessionId: sid_rand_47|81d6c292-2e153337-e199214a-de92a840_0 grpc closed
2025-12-05T16:16:19.769471Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 58 sessionId: sid_rand_47|81d6c292-2e153337-e199214a-de92a840_0 is DEAD
2025-12-05T16:16:19.769544Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.769554Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 59
2025-12-05T16:16:19.769654Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.769691Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_48" }
2025-12-05T16:16:19.769717Z 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]:44842
2025-12-05T16:16:19.769719Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=59 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.769724Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.769945Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 59 sessionId:  describe result for acl check
2025-12-05T16:16:19.769971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.769978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.769980Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.769983Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035544:2701] (SourceId=sid_rand_48, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.770344Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035544:2701] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.771392Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035544:2701] (SourceId=sid_rand_48, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.771455Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035560:2701] connected; active server actors: 1
2025-12-05T16:16:19.771477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035544:2701] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_48
2025-12-05T16:16:19.771486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035544:2701] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.771527Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035560:2701] disconnected.
2025-12-05T16:16:19.771535Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035560:2701] disconnected; active server actors: 1
2025-12-05T16:16:19.771537Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035560:2701] disconnected no session
2025-12-05T16:16:19.773252Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035544:2701] (SourceId=sid_rand_48, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.773262Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035544:2701] (SourceId=sid_rand_48, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-05T16:16:19.773264Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035544:2701] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.773268Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 59 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-05T16:16:19.773414Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.773485Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_48|d736ec51-3d3b5a8d-caed4ae2-ccc64437_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_48
2025-12-05T16:16:19.774184Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 59 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_48|d736ec51-3d3b5a8d-caed4ae2-ccc64437_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_48|d736ec51-3d3b5a8d-caed4ae2-ccc64437_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.774555Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId: sid_rand_48|d736ec51-3d3b5a8d-caed4ae2-ccc64437_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.774562Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 59 sessionId: sid_rand_48|d736ec51-3d3b5a8d-caed4ae2-ccc64437_0 grpc read failed
2025-12-05T16:16:19.774566Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 59 sessionId: sid_rand_48|d736ec51-3d3b5a8d-caed4ae2-ccc64437_0 grpc closed
2025-12-05T16:16:19.774568Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 59 sessionId: sid_rand_48|d736ec51-3d3b5a8d-caed4ae2-ccc64437_0 is DEAD
2025-12-05T16:16:19.774607Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.774616Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 60
2025-12-05T16:16:19.774651Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.774674Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_49" }
2025-12-05T16:16:19.774691Z 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]:44842
2025-12-05T16:16:19.774698Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=60 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.774700Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.774950Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 60 sessionId:  describe result for acl check
2025-12-05T16:16:19.774970Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.774971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.774972Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.774975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035580:2705] (SourceId=sid_rand_49, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.775391Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035580:2705] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.776507Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035580:2705] (SourceId=sid_rand_49, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.776553Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035596:2705] connected; active server actors: 1
2025-12-05T16:16:19.776569Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035580:2705] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_49
2025-12-05T16:16:19.776579Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035580:2705] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.776614Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035596:2705] disconnected.
2025-12-05T16:16:19.776621Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035596:2705] disconnected; active server actors: 1
2025-12-05T16:16:19.776623Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035596:2705] disconnected no session
2025-12-05T16:16:19.778435Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035580:2705] (SourceId=sid_rand_49, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.778450Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035580:2705] (SourceId=sid_rand_49, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-05T16:16:19.778453Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035580:2705] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.778457Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 60 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-05T16:16:19.778619Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.778678Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_49|b9b63385-a1a23deb-fc002bd9-f9bec91b_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_49
2025-12-05T16:16:19.778939Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 60 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_49|b9b63385-a1a23deb-fc002bd9-f9bec91b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_49|b9b63385-a1a23deb-fc002bd9-f9bec91b_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.779413Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId: sid_rand_49|b9b63385-a1a23deb-fc002bd9-f9bec91b_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.779425Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 60 sessionId: sid_rand_49|b9b63385-a1a23deb-fc002bd9-f9bec91b_0 grpc read failed
2025-12-05T16:16:19.779430Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 60 sessionId: sid_rand_49|b9b63385-a1a23deb-fc002bd9-f9bec91b_0 grpc closed
2025-12-05T16:16:19.779433Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 60 sessionId: sid_rand_49|b9b63385-a1a23deb-fc002bd9-f9bec91b_0 is DEAD
2025-12-05T16:16:19.779542Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.779551Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 61
2025-12-05T16:16:19.779592Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.779636Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_50" }
2025-12-05T16:16:19.779659Z 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]:44842
2025-12-05T16:16:19.779668Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=61 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.779670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.779949Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 61 sessionId:  describe result for acl check
2025-12-05T16:16:19.779978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.779980Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.779981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.779984Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035616:2709] (SourceId=sid_rand_50, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.780382Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035616:2709] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.781651Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035616:2709] (SourceId=sid_rand_50, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.781689Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035632:2709] connected; active server actors: 1
2025-12-05T16:16:19.781702Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035616:2709] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_50
2025-12-05T16:16:19.781705Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035616:2709] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.781734Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035632:2709] disconnected.
2025-12-05T16:16:19.781742Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035632:2709] disconnected; active server actors: 1
2025-12-05T16:16:19.781744Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035632:2709] disconnected no session
2025-12-05T16:16:19.783658Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035616:2709] (SourceId=sid_rand_50, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.783671Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035616:2709] (SourceId=sid_rand_50, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-05T16:16:19.783674Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035616:2709] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.783678Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 61 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-05T16:16:19.783831Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.783901Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_50|1febb510-6af0c0f4-d659353a-a4af6d0_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_50
2025-12-05T16:16:19.784144Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 61 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_50|1febb510-6af0c0f4-d659353a-a4af6d0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_50|1febb510-6af0c0f4-d659353a-a4af6d0_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.784607Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId: sid_rand_50|1febb510-6af0c0f4-d659353a-a4af6d0_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.784615Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 61 sessionId: sid_rand_50|1febb510-6af0c0f4-d659353a-a4af6d0_0 grpc read failed
2025-12-05T16:16:19.784618Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 61 sessionId: sid_rand_50|1febb510-6af0c0f4-d659353a-a4af6d0_0 grpc closed
2025-12-05T16:16:19.784622Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 61 sessionId: sid_rand_50|1febb510-6af0c0f4-d659353a-a4af6d0_0 is DEAD
2025-12-05T16:16:19.784688Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.784699Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 62
2025-12-05T16:16:19.784777Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.784812Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_51" }
2025-12-05T16:16:19.784837Z 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]:44842
2025-12-05T16:16:19.784846Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=62 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.784851Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.785103Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 62 sessionId:  describe result for acl check
2025-12-05T16:16:19.785121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.785127Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.785128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.785131Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035652:2713] (SourceId=sid_rand_51, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.785477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035652:2713] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.786721Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035652:2713] (SourceId=sid_rand_51, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.786773Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035668:2713] connected; active server actors: 1
2025-12-05T16:16:19.786787Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035652:2713] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_51
2025-12-05T16:16:19.786789Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035652:2713] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.786815Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035668:2713] disconnected.
2025-12-05T16:16:19.786822Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035668:2713] disconnected; active server actors: 1
2025-12-05T16:16:19.786824Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035668:2713] disconnected no session
2025-12-05T16:16:19.788758Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035652:2713] (SourceId=sid_rand_51, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.788772Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035652:2713] (SourceId=sid_rand_51, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-05T16:16:19.788774Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035652:2713] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.788778Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 62 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-05T16:16:19.788933Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.789004Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_51|eb430e35-656386d-e73b2fd7-77044253_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_51
2025-12-05T16:16:19.789311Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 62 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_51|eb430e35-656386d-e73b2fd7-77044253_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_51|eb430e35-656386d-e73b2fd7-77044253_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.789709Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId: sid_rand_51|eb430e35-656386d-e73b2fd7-77044253_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.789721Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 62 sessionId: sid_rand_51|eb430e35-656386d-e73b2fd7-77044253_0 grpc read failed
2025-12-05T16:16:19.789726Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 62 sessionId: sid_rand_51|eb430e35-656386d-e73b2fd7-77044253_0 grpc closed
2025-12-05T16:16:19.789729Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 62 sessionId: sid_rand_51|eb430e35-656386d-e73b2fd7-77044253_0 is DEAD
2025-12-05T16:16:19.789789Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.789800Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 63
2025-12-05T16:16:19.789905Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.789921Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_52" }
2025-12-05T16:16:19.789938Z 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]:44842
2025-12-05T16:16:19.789941Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=63 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.789944Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.790210Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 63 sessionId:  describe result for acl check
2025-12-05T16:16:19.790241Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.790249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.790251Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.790254Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035688:2717] (SourceId=sid_rand_52, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.790628Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035688:2717] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.791899Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035688:2717] (SourceId=sid_rand_52, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.791964Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035704:2717] connected; active server actors: 1
2025-12-05T16:16:19.791983Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035688:2717] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_52
2025-12-05T16:16:19.791985Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035688:2717] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.792038Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035704:2717] disconnected.
2025-12-05T16:16:19.792048Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035704:2717] disconnected; active server actors: 1
2025-12-05T16:16:19.792050Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035704:2717] disconnected no session
2025-12-05T16:16:19.793885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035688:2717] (SourceId=sid_rand_52, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.793897Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035688:2717] (SourceId=sid_rand_52, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-05T16:16:19.793900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035688:2717] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.793905Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 63 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-05T16:16:19.794097Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.794231Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_52|de63fe51-fa7d1afc-d55e3e99-28ee7e63_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_52
2025-12-05T16:16:19.794493Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 63 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_52|de63fe51-fa7d1afc-d55e3e99-28ee7e63_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_52|de63fe51-fa7d1afc-d55e3e99-28ee7e63_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.794944Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId: sid_rand_52|de63fe51-fa7d1afc-d55e3e99-28ee7e63_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.794961Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 63 sessionId: sid_rand_52|de63fe51-fa7d1afc-d55e3e99-28ee7e63_0 grpc read failed
2025-12-05T16:16:19.794965Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 63 sessionId: sid_rand_52|de63fe51-fa7d1afc-d55e3e99-28ee7e63_0 grpc closed
2025-12-05T16:16:19.794968Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 63 sessionId: sid_rand_52|de63fe51-fa7d1afc-d55e3e99-28ee7e63_0 is DEAD
2025-12-05T16:16:19.795027Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.795038Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 64
2025-12-05T16:16:19.795130Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.795160Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_53" }
2025-12-05T16:16:19.795195Z 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]:44842
2025-12-05T16:16:19.795199Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=64 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.795202Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.795528Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 64 sessionId:  describe result for acl check
2025-12-05T16:16:19.795566Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.795568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.795570Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.795574Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035724:2721] (SourceId=sid_rand_53, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.796034Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035724:2721] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.796952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035724:2721] (SourceId=sid_rand_53, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.797028Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035740:2721] connected; active server actors: 1
2025-12-05T16:16:19.797043Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035724:2721] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_53
2025-12-05T16:16:19.797046Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035724:2721] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.797073Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035740:2721] disconnected.
2025-12-05T16:16:19.797081Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035740:2721] disconnected; active server actors: 1
2025-12-05T16:16:19.797083Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035740:2721] disconnected no session
2025-12-05T16:16:19.798975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035724:2721] (SourceId=sid_rand_53, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.798985Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035724:2721] (SourceId=sid_rand_53, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-05T16:16:19.798987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035724:2721] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.798991Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 64 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-05T16:16:19.799206Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.799279Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_53|c342da2a-b4c424fc-6cdfe888-75ed6388_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_53
2025-12-05T16:16:19.799533Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 64 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_53|c342da2a-b4c424fc-6cdfe888-75ed6388_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_53|c342da2a-b4c424fc-6cdfe888-75ed6388_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.800006Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId: sid_rand_53|c342da2a-b4c424fc-6cdfe888-75ed6388_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.800014Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 64 sessionId: sid_rand_53|c342da2a-b4c424fc-6cdfe888-75ed6388_0 grpc read failed
2025-12-05T16:16:19.800018Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 64 sessionId: sid_rand_53|c342da2a-b4c424fc-6cdfe888-75ed6388_0 grpc closed
2025-12-05T16:16:19.800021Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 64 sessionId: sid_rand_53|c342da2a-b4c424fc-6cdfe888-75ed6388_0 is DEAD
2025-12-05T16:16:19.800079Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.800089Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 65
2025-12-05T16:16:19.800180Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.800246Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_54" }
2025-12-05T16:16:19.800281Z 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]:44842
2025-12-05T16:16:19.800294Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=65 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.800297Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.800568Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 65 sessionId:  describe result for acl check
2025-12-05T16:16:19.800593Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.800602Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.800603Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.800605Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035760:2725] (SourceId=sid_rand_54, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.800963Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035760:2725] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.802065Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035760:2725] (SourceId=sid_rand_54, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.802104Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035776:2725] connected; active server actors: 1
2025-12-05T16:16:19.802118Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035760:2725] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_54
2025-12-05T16:16:19.802120Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035760:2725] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.802155Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035776:2725] disconnected.
2025-12-05T16:16:19.802163Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035776:2725] disconnected; active server actors: 1
2025-12-05T16:16:19.802165Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035776:2725] disconnected no session
2025-12-05T16:16:19.804063Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035760:2725] (SourceId=sid_rand_54, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.804082Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035760:2725] (SourceId=sid_rand_54, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-05T16:16:19.804085Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035760:2725] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.804091Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 65 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T16:16:19.804182Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.804209Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_54|cabda385-a58297f6-7b37607d-6f4c7a32_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_54
2025-12-05T16:16:19.804275Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 65 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_54|cabda385-a58297f6-7b37607d-6f4c7a32_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_54|cabda385-a58297f6-7b37607d-6f4c7a32_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.804658Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId: sid_rand_54|cabda385-a58297f6-7b37607d-6f4c7a32_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.804666Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 65 sessionId: sid_rand_54|cabda385-a58297f6-7b37607d-6f4c7a32_0 grpc read failed
2025-12-05T16:16:19.804670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 65 sessionId: sid_rand_54|cabda385-a58297f6-7b37607d-6f4c7a32_0 grpc closed
2025-12-05T16:16:19.804673Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 65 sessionId: sid_rand_54|cabda385-a58297f6-7b37607d-6f4c7a32_0 is DEAD
2025-12-05T16:16:19.804731Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.804742Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 66
2025-12-05T16:16:19.804817Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.804848Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_55" }
2025-12-05T16:16:19.804867Z 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]:44842
2025-12-05T16:16:19.804874Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=66 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.804875Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.805122Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 66 sessionId:  describe result for acl check
2025-12-05T16:16:19.805145Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.805146Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.805148Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.805150Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035797:2729] (SourceId=sid_rand_55, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.805442Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035797:2729] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.806662Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035797:2729] (SourceId=sid_rand_55, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.806716Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035813:2729] connected; active server actors: 1
2025-12-05T16:16:19.806732Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035797:2729] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_55
2025-12-05T16:16:19.806734Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035797:2729] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.806767Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035813:2729] disconnected.
2025-12-05T16:16:19.806777Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035813:2729] disconnected; active server actors: 1
2025-12-05T16:16:19.806779Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035813:2729] disconnected no session
2025-12-05T16:16:19.808574Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035797:2729] (SourceId=sid_rand_55, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.808599Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035797:2729] (SourceId=sid_rand_55, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T16:16:19.808601Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035797:2729] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.808605Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 66 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T16:16:19.808681Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.808697Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_55|f2567f0f-37b6d36-675e2c36-fb5abd06_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_55
2025-12-05T16:16:19.808786Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 66 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_55|f2567f0f-37b6d36-675e2c36-fb5abd06_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_55|f2567f0f-37b6d36-675e2c36-fb5abd06_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.809216Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId: sid_rand_55|f2567f0f-37b6d36-675e2c36-fb5abd06_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.809225Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 66 sessionId: sid_rand_55|f2567f0f-37b6d36-675e2c36-fb5abd06_0 grpc read failed
2025-12-05T16:16:19.809228Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 66 sessionId: sid_rand_55|f2567f0f-37b6d36-675e2c36-fb5abd06_0 grpc closed
2025-12-05T16:16:19.809230Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 66 sessionId: sid_rand_55|f2567f0f-37b6d36-675e2c36-fb5abd06_0 is DEAD
2025-12-05T16:16:19.809268Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.809278Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 67
2025-12-05T16:16:19.809311Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.809336Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_56" }
2025-12-05T16:16:19.809359Z 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]:44842
2025-12-05T16:16:19.809368Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=67 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.809370Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.809633Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 67 sessionId:  describe result for acl check
2025-12-05T16:16:19.809656Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.809665Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.809666Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.809670Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035834:2733] (SourceId=sid_rand_56, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.809982Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035834:2733] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.811212Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035834:2733] (SourceId=sid_rand_56, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.811267Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035850:2733] connected; active server actors: 1
2025-12-05T16:16:19.811282Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035834:2733] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_56
2025-12-05T16:16:19.811284Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035834:2733] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.811326Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035850:2733] disconnected.
2025-12-05T16:16:19.811335Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035850:2733] disconnected; active server actors: 1
2025-12-05T16:16:19.811337Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035850:2733] disconnected no session
2025-12-05T16:16:19.813319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035834:2733] (SourceId=sid_rand_56, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.813332Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035834:2733] (SourceId=sid_rand_56, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-05T16:16:19.813335Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035834:2733] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.813340Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 67 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-05T16:16:19.813608Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.813683Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_56|47fd89ab-c286021a-ef3ae313-8f2a07d7_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_56
2025-12-05T16:16:19.813911Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 67 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_56|47fd89ab-c286021a-ef3ae313-8f2a07d7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_56|47fd89ab-c286021a-ef3ae313-8f2a07d7_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.814337Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId: sid_rand_56|47fd89ab-c286021a-ef3ae313-8f2a07d7_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.814347Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 67 sessionId: sid_rand_56|47fd89ab-c286021a-ef3ae313-8f2a07d7_0 grpc read failed
2025-12-05T16:16:19.814351Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 67 sessionId: sid_rand_56|47fd89ab-c286021a-ef3ae313-8f2a07d7_0 grpc closed
2025-12-05T16:16:19.814354Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 67 sessionId: sid_rand_56|47fd89ab-c286021a-ef3ae313-8f2a07d7_0 is DEAD
2025-12-05T16:16:19.814391Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.814402Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 68
2025-12-05T16:16:19.814458Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_57" }
2025-12-05T16:16:19.814482Z 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]:44842
2025-12-05T16:16:19.814490Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=68 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.814493Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.814536Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.814781Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 68 sessionId:  describe result for acl check
2025-12-05T16:16:19.814807Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.814817Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.814819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.814824Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035870:2737] (SourceId=sid_rand_57, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.815246Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035870:2737] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.816433Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035870:2737] (SourceId=sid_rand_57, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.816489Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035886:2737] connected; active server actors: 1
2025-12-05T16:16:19.816505Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035870:2737] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_57
2025-12-05T16:16:19.816508Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035870:2737] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.816566Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035886:2737] disconnected.
2025-12-05T16:16:19.816576Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035886:2737] disconnected; active server actors: 1
2025-12-05T16:16:19.816579Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035886:2737] disconnected no session
2025-12-05T16:16:19.818385Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035870:2737] (SourceId=sid_rand_57, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.818396Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035870:2737] (SourceId=sid_rand_57, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-05T16:16:19.818399Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035870:2737] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.818404Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 68 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-05T16:16:19.818564Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.818619Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_57|98cdfb37-4c1d0d21-b4999581-c4d22580_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_57
2025-12-05T16:16:19.818785Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 68 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_57|98cdfb37-4c1d0d21-b4999581-c4d22580_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_57|98cdfb37-4c1d0d21-b4999581-c4d22580_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.819230Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId: sid_rand_57|98cdfb37-4c1d0d21-b4999581-c4d22580_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.819240Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 68 sessionId: sid_rand_57|98cdfb37-4c1d0d21-b4999581-c4d22580_0 grpc read failed
2025-12-05T16:16:19.819244Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 68 sessionId: sid_rand_57|98cdfb37-4c1d0d21-b4999581-c4d22580_0 grpc closed
2025-12-05T16:16:19.819247Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 68 sessionId: sid_rand_57|98cdfb37-4c1d0d21-b4999581-c4d22580_0 is DEAD
2025-12-05T16:16:19.819315Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.819326Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 69
2025-12-05T16:16:19.819426Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.819456Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_58" }
2025-12-05T16:16:19.819474Z 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]:44842
2025-12-05T16:16:19.819478Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=69 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.819480Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.819697Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 69 sessionId:  describe result for acl check
2025-12-05T16:16:19.819716Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.819723Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.819724Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.819726Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035906:2741] (SourceId=sid_rand_58, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.820011Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035906:2741] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.820924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035906:2741] (SourceId=sid_rand_58, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.820956Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035922:2741] connected; active server actors: 1
2025-12-05T16:16:19.820965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035906:2741] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_58
2025-12-05T16:16:19.820968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035906:2741] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.821005Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035922:2741] disconnected.
2025-12-05T16:16:19.821009Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035922:2741] disconnected; active server actors: 1
2025-12-05T16:16:19.821011Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035922:2741] disconnected no session
2025-12-05T16:16:19.822965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035906:2741] (SourceId=sid_rand_58, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.822978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035906:2741] (SourceId=sid_rand_58, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-05T16:16:19.822980Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035906:2741] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.822985Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 69 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-05T16:16:19.823161Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.823224Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_58|dde1ec3d-a879b9aa-1cd1ed5c-4ebcc541_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_58
2025-12-05T16:16:19.823408Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 69 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_58|dde1ec3d-a879b9aa-1cd1ed5c-4ebcc541_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_58|dde1ec3d-a879b9aa-1cd1ed5c-4ebcc541_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.823814Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId: sid_rand_58|dde1ec3d-a879b9aa-1cd1ed5c-4ebcc541_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.823825Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 69 sessionId: sid_rand_58|dde1ec3d-a879b9aa-1cd1ed5c-4ebcc541_0 grpc read failed
2025-12-05T16:16:19.823828Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 69 sessionId: sid_rand_58|dde1ec3d-a879b9aa-1cd1ed5c-4ebcc541_0 grpc closed
2025-12-05T16:16:19.823832Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 69 sessionId: sid_rand_58|dde1ec3d-a879b9aa-1cd1ed5c-4ebcc541_0 is DEAD
2025-12-05T16:16:19.823894Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.823904Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 70
2025-12-05T16:16:19.823998Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.824042Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_59" }
2025-12-05T16:16:19.824066Z 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]:44842
2025-12-05T16:16:19.824074Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=70 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.824076Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.824309Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 70 sessionId:  describe result for acl check
2025-12-05T16:16:19.824346Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.824355Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.824356Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.824360Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035942:2745] (SourceId=sid_rand_59, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.824660Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035942:2745] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.825548Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035942:2745] (SourceId=sid_rand_59, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.825607Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035958:2745] connected; active server actors: 1
2025-12-05T16:16:19.825623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035942:2745] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_59
2025-12-05T16:16:19.825625Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035942:2745] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.825653Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035958:2745] disconnected.
2025-12-05T16:16:19.825659Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035958:2745] disconnected; active server actors: 1
2025-12-05T16:16:19.825661Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035958:2745] disconnected no session
2025-12-05T16:16:19.827618Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035942:2745] (SourceId=sid_rand_59, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.827633Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035942:2745] (SourceId=sid_rand_59, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-05T16:16:19.827636Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035942:2745] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.827641Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 70 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-05T16:16:19.827805Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.827890Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_59|58be0662-8aa62354-8eed591e-64b36c20_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_59
2025-12-05T16:16:19.828077Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 70 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_59|58be0662-8aa62354-8eed591e-64b36c20_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_59|58be0662-8aa62354-8eed591e-64b36c20_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.828447Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId: sid_rand_59|58be0662-8aa62354-8eed591e-64b36c20_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.828455Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 70 sessionId: sid_rand_59|58be0662-8aa62354-8eed591e-64b36c20_0 grpc read failed
2025-12-05T16:16:19.828458Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 70 sessionId: sid_rand_59|58be0662-8aa62354-8eed591e-64b36c20_0 grpc closed
2025-12-05T16:16:19.828460Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 70 sessionId: sid_rand_59|58be0662-8aa62354-8eed591e-64b36c20_0 is DEAD
2025-12-05T16:16:19.828553Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.828564Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 71
2025-12-05T16:16:19.828603Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.828634Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_60" }
2025-12-05T16:16:19.828653Z 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]:44842
2025-12-05T16:16:19.828659Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=71 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.828661Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.828870Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 71 sessionId:  describe result for acl check
2025-12-05T16:16:19.828888Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.828889Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.828890Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.828892Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550035978:2749] (SourceId=sid_rand_60, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.829249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550035978:2749] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.830233Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550035978:2749] (SourceId=sid_rand_60, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.830287Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035994:2749] connected; active server actors: 1
2025-12-05T16:16:19.830301Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550035978:2749] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_60
2025-12-05T16:16:19.830303Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550035978:2749] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.830328Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035994:2749] disconnected.
2025-12-05T16:16:19.830334Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035994:2749] disconnected; active server actors: 1
2025-12-05T16:16:19.830336Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550035994:2749] disconnected no session
2025-12-05T16:16:19.832201Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550035978:2749] (SourceId=sid_rand_60, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.832214Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550035978:2749] (SourceId=sid_rand_60, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-05T16:16:19.832217Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550035978:2749] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.832222Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 71 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-05T16:16:19.832390Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.832449Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_60|84ef9d32-461afdb3-8896849a-fd0ab773_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_60
2025-12-05T16:16:19.832612Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 71 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_60|84ef9d32-461afdb3-8896849a-fd0ab773_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_60|84ef9d32-461afdb3-8896849a-fd0ab773_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.833007Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId: sid_rand_60|84ef9d32-461afdb3-8896849a-fd0ab773_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.833016Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 71 sessionId: sid_rand_60|84ef9d32-461afdb3-8896849a-fd0ab773_0 grpc read failed
2025-12-05T16:16:19.833019Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 71 sessionId: sid_rand_60|84ef9d32-461afdb3-8896849a-fd0ab773_0 grpc closed
2025-12-05T16:16:19.833022Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 71 sessionId: sid_rand_60|84ef9d32-461afdb3-8896849a-fd0ab773_0 is DEAD
2025-12-05T16:16:19.833130Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.833142Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 72
2025-12-05T16:16:19.833151Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.833224Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_61" }
2025-12-05T16:16:19.833247Z 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]:44842
2025-12-05T16:16:19.833254Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=72 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.833255Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.833549Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 72 sessionId:  describe result for acl check
2025-12-05T16:16:19.833575Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.833583Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.833585Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.833589Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550036014:2753] (SourceId=sid_rand_61, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.833927Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550036014:2753] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.834857Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550036014:2753] (SourceId=sid_rand_61, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.834903Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036030:2753] connected; active server actors: 1
2025-12-05T16:16:19.834923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550036014:2753] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_61
2025-12-05T16:16:19.834926Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550036014:2753] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.834957Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036030:2753] disconnected.
2025-12-05T16:16:19.834961Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036030:2753] disconnected; active server actors: 1
2025-12-05T16:16:19.834963Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036030:2753] disconnected no session
2025-12-05T16:16:19.836780Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550036014:2753] (SourceId=sid_rand_61, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.836793Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550036014:2753] (SourceId=sid_rand_61, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-05T16:16:19.836795Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550036014:2753] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.836800Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 72 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-05T16:16:19.836970Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.837034Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_61|f4a40475-f1497bc1-5e9e03b0-6ce80a2b_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_61
2025-12-05T16:16:19.837200Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 72 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_61|f4a40475-f1497bc1-5e9e03b0-6ce80a2b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_61|f4a40475-f1497bc1-5e9e03b0-6ce80a2b_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.837606Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId: sid_rand_61|f4a40475-f1497bc1-5e9e03b0-6ce80a2b_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.837615Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 72 sessionId: sid_rand_61|f4a40475-f1497bc1-5e9e03b0-6ce80a2b_0 grpc read failed
2025-12-05T16:16:19.837618Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 72 sessionId: sid_rand_61|f4a40475-f1497bc1-5e9e03b0-6ce80a2b_0 grpc closed
2025-12-05T16:16:19.837620Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 72 sessionId: sid_rand_61|f4a40475-f1497bc1-5e9e03b0-6ce80a2b_0 is DEAD
2025-12-05T16:16:19.837691Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.837704Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 73
2025-12-05T16:16:19.837755Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.837781Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_62" }
2025-12-05T16:16:19.837797Z 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]:44842
2025-12-05T16:16:19.837806Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=73 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.837809Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.838112Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 73 sessionId:  describe result for acl check
2025-12-05T16:16:19.838135Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.838138Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.838139Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.838143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550036050:2757] (SourceId=sid_rand_62, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.838504Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550036050:2757] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.839418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550036050:2757] (SourceId=sid_rand_62, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.839468Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036066:2757] connected; active server actors: 1
2025-12-05T16:16:19.839483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550036050:2757] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_62
2025-12-05T16:16:19.839486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550036050:2757] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.839519Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036066:2757] disconnected.
2025-12-05T16:16:19.839529Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036066:2757] disconnected; active server actors: 1
2025-12-05T16:16:19.839531Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036066:2757] disconnected no session
2025-12-05T16:16:19.841402Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550036050:2757] (SourceId=sid_rand_62, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.841414Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550036050:2757] (SourceId=sid_rand_62, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-05T16:16:19.841416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550036050:2757] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.841422Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 73 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T16:16:19.841511Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.841530Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_62|a4720b8e-638e4b29-d5fe5546-deccd333_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_62
2025-12-05T16:16:19.841617Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 73 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_62|a4720b8e-638e4b29-d5fe5546-deccd333_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_62|a4720b8e-638e4b29-d5fe5546-deccd333_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.842012Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId: sid_rand_62|a4720b8e-638e4b29-d5fe5546-deccd333_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.842021Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 73 sessionId: sid_rand_62|a4720b8e-638e4b29-d5fe5546-deccd333_0 grpc read failed
2025-12-05T16:16:19.842024Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 73 sessionId: sid_rand_62|a4720b8e-638e4b29-d5fe5546-deccd333_0 grpc closed
2025-12-05T16:16:19.842026Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 73 sessionId: sid_rand_62|a4720b8e-638e4b29-d5fe5546-deccd333_0 is DEAD
2025-12-05T16:16:19.842094Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.842103Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 74
2025-12-05T16:16:19.842147Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.842150Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_63" }
2025-12-05T16:16:19.842161Z 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]:44842
2025-12-05T16:16:19.842163Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=74 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.842164Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.842356Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 74 sessionId:  describe result for acl check
2025-12-05T16:16:19.842375Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.842377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.842378Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.842380Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550036090:2761] (SourceId=sid_rand_63, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.842675Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550036090:2761] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.843662Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550036090:2761] (SourceId=sid_rand_63, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.843730Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036106:2761] connected; active server actors: 1
2025-12-05T16:16:19.843745Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550036090:2761] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_63
2025-12-05T16:16:19.843748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550036090:2761] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.843786Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036106:2761] disconnected.
2025-12-05T16:16:19.843796Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036106:2761] disconnected; active server actors: 1
2025-12-05T16:16:19.843797Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036106:2761] disconnected no session
2025-12-05T16:16:19.845493Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550036090:2761] (SourceId=sid_rand_63, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.845504Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550036090:2761] (SourceId=sid_rand_63, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-05T16:16:19.845506Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550036090:2761] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.845510Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 74 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-05T16:16:19.845573Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.845597Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_63|77a22509-f73f7c3e-ace0cac2-f213b85d_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_63
2025-12-05T16:16:19.845654Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 74 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_63|77a22509-f73f7c3e-ace0cac2-f213b85d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_63|77a22509-f73f7c3e-ace0cac2-f213b85d_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.846028Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId: sid_rand_63|77a22509-f73f7c3e-ace0cac2-f213b85d_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.846039Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 74 sessionId: sid_rand_63|77a22509-f73f7c3e-ace0cac2-f213b85d_0 grpc read failed
2025-12-05T16:16:19.846043Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 74 sessionId: sid_rand_63|77a22509-f73f7c3e-ace0cac2-f213b85d_0 grpc closed
2025-12-05T16:16:19.846046Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 74 sessionId: sid_rand_63|77a22509-f73f7c3e-ace0cac2-f213b85d_0 is DEAD
2025-12-05T16:16:19.846157Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.846169Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 75
2025-12-05T16:16:19.846221Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.846332Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_64" }
2025-12-05T16:16:19.846353Z 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]:44842
2025-12-05T16:16:19.846354Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=75 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.846356Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.846564Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 75 sessionId:  describe result for acl check
2025-12-05T16:16:19.846582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.846583Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.846584Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.846586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550036127:2765] (SourceId=sid_rand_64, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.846867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550036127:2765] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.848123Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550036127:2765] (SourceId=sid_rand_64, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.848161Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036143:2765] connected; active server actors: 1
2025-12-05T16:16:19.848169Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550036127:2765] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_64
2025-12-05T16:16:19.848171Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550036127:2765] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.848202Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036143:2765] disconnected.
2025-12-05T16:16:19.848210Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036143:2765] disconnected; active server actors: 1
2025-12-05T16:16:19.848211Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036143:2765] disconnected no session
2025-12-05T16:16:19.850089Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550036127:2765] (SourceId=sid_rand_64, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.850102Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550036127:2765] (SourceId=sid_rand_64, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-05T16:16:19.850105Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550036127:2765] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.850110Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 75 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-05T16:16:19.850299Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.850361Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_64|fde3aa48-f48aaefd-4d2ba94d-8830d710_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_64
2025-12-05T16:16:19.850584Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 75 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_64|fde3aa48-f48aaefd-4d2ba94d-8830d710_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_64|fde3aa48-f48aaefd-4d2ba94d-8830d710_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.850964Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId: sid_rand_64|fde3aa48-f48aaefd-4d2ba94d-8830d710_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.850973Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 75 sessionId: sid_rand_64|fde3aa48-f48aaefd-4d2ba94d-8830d710_0 grpc read failed
2025-12-05T16:16:19.850976Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 75 sessionId: sid_rand_64|fde3aa48-f48aaefd-4d2ba94d-8830d710_0 grpc closed
2025-12-05T16:16:19.850978Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 75 sessionId: sid_rand_64|fde3aa48-f48aaefd-4d2ba94d-8830d710_0 is DEAD
2025-12-05T16:16:19.851044Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.851055Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 76
2025-12-05T16:16:19.851161Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.851219Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_65" }
2025-12-05T16:16:19.851242Z 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]:44842
2025-12-05T16:16:19.851250Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=76 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.851252Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.851536Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 76 sessionId:  describe result for acl check
2025-12-05T16:16:19.851565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.851572Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.851574Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.851577Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550036163:2769] (SourceId=sid_rand_65, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.851928Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550036163:2769] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.853298Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550036163:2769] (SourceId=sid_rand_65, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.853352Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036179:2769] connected; active server actors: 1
2025-12-05T16:16:19.853365Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550036163:2769] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_65
2025-12-05T16:16:19.853367Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550036163:2769] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.853394Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036179:2769] disconnected.
2025-12-05T16:16:19.853402Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036179:2769] disconnected; active server actors: 1
2025-12-05T16:16:19.853404Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036179:2769] disconnected no session
2025-12-05T16:16:19.855273Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550036163:2769] (SourceId=sid_rand_65, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.855286Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550036163:2769] (SourceId=sid_rand_65, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-05T16:16:19.855288Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550036163:2769] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.855294Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 76 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-05T16:16:19.855387Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.855413Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_65|fa27bc8-5ef33ec1-46fb9dc6-330825d0_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_65
2025-12-05T16:16:19.855507Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 76 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_65|fa27bc8-5ef33ec1-46fb9dc6-330825d0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_65|fa27bc8-5ef33ec1-46fb9dc6-330825d0_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.855930Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId: sid_rand_65|fa27bc8-5ef33ec1-46fb9dc6-330825d0_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.855941Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 76 sessionId: sid_rand_65|fa27bc8-5ef33ec1-46fb9dc6-330825d0_0 grpc read failed
2025-12-05T16:16:19.855946Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 76 sessionId: sid_rand_65|fa27bc8-5ef33ec1-46fb9dc6-330825d0_0 grpc closed
2025-12-05T16:16:19.855948Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 76 sessionId: sid_rand_65|fa27bc8-5ef33ec1-46fb9dc6-330825d0_0 is DEAD
2025-12-05T16:16:19.855993Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.856002Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 77
2025-12-05T16:16:19.856069Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.856104Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_66" }
2025-12-05T16:16:19.856121Z 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]:44842
2025-12-05T16:16:19.856124Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=77 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.856126Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.856395Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 77 sessionId:  describe result for acl check
2025-12-05T16:16:19.856419Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.856421Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.856422Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.856426Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550036200:2773] (SourceId=sid_rand_66, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.856775Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550036200:2773] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.857826Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550036200:2773] (SourceId=sid_rand_66, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.857886Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036216:2773] connected; active server actors: 1
2025-12-05T16:16:19.857901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550036200:2773] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_66
2025-12-05T16:16:19.857903Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550036200:2773] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.857945Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036216:2773] disconnected.
2025-12-05T16:16:19.857948Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036216:2773] disconnected; active server actors: 1
2025-12-05T16:16:19.857950Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036216:2773] disconnected no session
2025-12-05T16:16:19.859815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550036200:2773] (SourceId=sid_rand_66, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.859824Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550036200:2773] (SourceId=sid_rand_66, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-05T16:16:19.859826Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550036200:2773] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.859830Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 77 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-05T16:16:19.859996Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.860066Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_66|fc2c2693-3a9fb325-bac90a5f-9a29bfa_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_66
2025-12-05T16:16:19.860267Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 77 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_66|fc2c2693-3a9fb325-bac90a5f-9a29bfa_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_66|fc2c2693-3a9fb325-bac90a5f-9a29bfa_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.860750Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId: sid_rand_66|fc2c2693-3a9fb325-bac90a5f-9a29bfa_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.860760Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 77 sessionId: sid_rand_66|fc2c2693-3a9fb325-bac90a5f-9a29bfa_0 grpc read failed
2025-12-05T16:16:19.860764Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 77 sessionId: sid_rand_66|fc2c2693-3a9fb325-bac90a5f-9a29bfa_0 grpc closed
2025-12-05T16:16:19.860767Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 77 sessionId: sid_rand_66|fc2c2693-3a9fb325-bac90a5f-9a29bfa_0 is DEAD
2025-12-05T16:16:19.860773Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.860775Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 78
2025-12-05T16:16:19.860843Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_67" }
2025-12-05T16:16:19.860868Z 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]:44842
2025-12-05T16:16:19.860870Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=78 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.860872Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.860935Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.861103Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 78 sessionId:  describe result for acl check
2025-12-05T16:16:19.861126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.861128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.861130Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.861133Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550036236:2777] (SourceId=sid_rand_67, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.861468Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550036236:2777] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.862393Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550036236:2777] (SourceId=sid_rand_67, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.862432Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036252:2777] connected; active server actors: 1
2025-12-05T16:16:19.862446Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550036236:2777] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_67
2025-12-05T16:16:19.862449Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550036236:2777] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.862478Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036252:2777] disconnected.
2025-12-05T16:16:19.862488Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036252:2777] disconnected; active server actors: 1
2025-12-05T16:16:19.862492Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036252:2777] disconnected no session
2025-12-05T16:16:19.864390Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550036236:2777] (SourceId=sid_rand_67, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.864399Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550036236:2777] (SourceId=sid_rand_67, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-05T16:16:19.864401Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550036236:2777] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.864405Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 78 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-05T16:16:19.864584Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.864628Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_67|c1c826c0-8202b108-8f1a2ab2-b3ded729_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_67
2025-12-05T16:16:19.864805Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 78 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_67|c1c826c0-8202b108-8f1a2ab2-b3ded729_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_67|c1c826c0-8202b108-8f1a2ab2-b3ded729_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.865300Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId: sid_rand_67|c1c826c0-8202b108-8f1a2ab2-b3ded729_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.865310Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 78 sessionId: sid_rand_67|c1c826c0-8202b108-8f1a2ab2-b3ded729_0 grpc read failed
2025-12-05T16:16:19.865313Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 78 sessionId: sid_rand_67|c1c826c0-8202b108-8f1a2ab2-b3ded729_0 grpc closed
2025-12-05T16:16:19.865316Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 78 sessionId: sid_rand_67|c1c826c0-8202b108-8f1a2ab2-b3ded729_0 is DEAD
2025-12-05T16:16:19.865358Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.865362Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 79
2025-12-05T16:16:19.865469Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.865506Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_68" }
2025-12-05T16:16:19.865528Z 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]:44842
2025-12-05T16:16:19.865536Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=79 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.865538Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.865769Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 79 sessionId:  describe result for acl check
2025-12-05T16:16:19.865796Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.865798Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.865799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.865801Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550036272:2781] (SourceId=sid_rand_68, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.866117Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550036272:2781] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.867063Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550036272:2781] (SourceId=sid_rand_68, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.867098Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036288:2781] connected; active server actors: 1
2025-12-05T16:16:19.867109Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550036272:2781] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_68
2025-12-05T16:16:19.867112Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550036272:2781] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.867148Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036288:2781] disconnected.
2025-12-05T16:16:19.867159Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036288:2781] disconnected; active server actors: 1
2025-12-05T16:16:19.867161Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036288:2781] disconnected no session
2025-12-05T16:16:19.869034Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550036272:2781] (SourceId=sid_rand_68, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.869045Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550036272:2781] (SourceId=sid_rand_68, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-05T16:16:19.869047Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550036272:2781] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.869052Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 79 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-05T16:16:19.869138Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.869166Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_68|13e3b0de-c4907b18-f33ef0a1-db69d602_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_68
2025-12-05T16:16:19.869239Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 79 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_68|13e3b0de-c4907b18-f33ef0a1-db69d602_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_68|13e3b0de-c4907b18-f33ef0a1-db69d602_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.869638Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId: sid_rand_68|13e3b0de-c4907b18-f33ef0a1-db69d602_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.869645Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 79 sessionId: sid_rand_68|13e3b0de-c4907b18-f33ef0a1-db69d602_0 grpc read failed
2025-12-05T16:16:19.869648Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 79 sessionId: sid_rand_68|13e3b0de-c4907b18-f33ef0a1-db69d602_0 grpc closed
2025-12-05T16:16:19.869650Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 79 sessionId: sid_rand_68|13e3b0de-c4907b18-f33ef0a1-db69d602_0 is DEAD
2025-12-05T16:16:19.869727Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.869737Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 80
2025-12-05T16:16:19.869803Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.869856Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_69" }
2025-12-05T16:16:19.869880Z 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]:44842
2025-12-05T16:16:19.869888Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=80 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.869890Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.870172Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 80 sessionId:  describe result for acl check
2025-12-05T16:16:19.870192Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.870194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.870194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.870197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550036309:2785] (SourceId=sid_rand_69, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.870471Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550036309:2785] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.871692Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550036309:2785] (SourceId=sid_rand_69, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.871729Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036325:2785] connected; active server actors: 1
2025-12-05T16:16:19.871738Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550036309:2785] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_69
2025-12-05T16:16:19.871741Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550036309:2785] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.871778Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036325:2785] disconnected.
2025-12-05T16:16:19.871788Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036325:2785] disconnected; active server actors: 1
2025-12-05T16:16:19.871790Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036325:2785] disconnected no session
2025-12-05T16:16:19.873679Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550036309:2785] (SourceId=sid_rand_69, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.873691Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550036309:2785] (SourceId=sid_rand_69, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-05T16:16:19.873694Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550036309:2785] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.873698Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 80 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-05T16:16:19.873874Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.873939Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_69|9fa0e7d7-34250ced-c392f2c9-a0fea81c_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_69
2025-12-05T16:16:19.874215Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 80 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_69|9fa0e7d7-34250ced-c392f2c9-a0fea81c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_69|9fa0e7d7-34250ced-c392f2c9-a0fea81c_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.874635Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId: sid_rand_69|9fa0e7d7-34250ced-c392f2c9-a0fea81c_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.874644Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 80 sessionId: sid_rand_69|9fa0e7d7-34250ced-c392f2c9-a0fea81c_0 grpc read failed
2025-12-05T16:16:19.874658Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 80 sessionId: sid_rand_69|9fa0e7d7-34250ced-c392f2c9-a0fea81c_0 grpc closed
2025-12-05T16:16:19.874661Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 80 sessionId: sid_rand_69|9fa0e7d7-34250ced-c392f2c9-a0fea81c_0 is DEAD
2025-12-05T16:16:19.874708Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.874722Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 81
2025-12-05T16:16:19.874811Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.874844Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_70" }
2025-12-05T16:16:19.874857Z 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]:44842
2025-12-05T16:16:19.874864Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=81 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.874866Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.875119Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 81 sessionId:  describe result for acl check
2025-12-05T16:16:19.875138Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.875140Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.875141Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.875143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550036345:2789] (SourceId=sid_rand_70, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.875466Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550036345:2789] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.876819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550036345:2789] (SourceId=sid_rand_70, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.876868Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036361:2789] connected; active server actors: 1
2025-12-05T16:16:19.876881Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550036345:2789] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_70
2025-12-05T16:16:19.876883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550036345:2789] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.876909Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036361:2789] disconnected.
2025-12-05T16:16:19.876920Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036361:2789] disconnected; active server actors: 1
2025-12-05T16:16:19.876922Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036361:2789] disconnected no session
2025-12-05T16:16:19.878779Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550036345:2789] (SourceId=sid_rand_70, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.878787Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550036345:2789] (SourceId=sid_rand_70, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-05T16:16:19.878788Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550036345:2789] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.878792Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 81 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-05T16:16:19.878869Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-05T16:16:19.878892Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_70|cc7a5cb7-8089c61b-fc66a80e-e253e6cd_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_70
2025-12-05T16:16:19.878956Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 81 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_70|cc7a5cb7-8089c61b-fc66a80e-e253e6cd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_70|cc7a5cb7-8089c61b-fc66a80e-e253e6cd_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.879407Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId: sid_rand_70|cc7a5cb7-8089c61b-fc66a80e-e253e6cd_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.879413Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 81 sessionId: sid_rand_70|cc7a5cb7-8089c61b-fc66a80e-e253e6cd_0 grpc read failed
2025-12-05T16:16:19.879416Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 81 sessionId: sid_rand_70|cc7a5cb7-8089c61b-fc66a80e-e253e6cd_0 grpc closed
2025-12-05T16:16:19.879419Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 81 sessionId: sid_rand_70|cc7a5cb7-8089c61b-fc66a80e-e253e6cd_0 is DEAD
2025-12-05T16:16:19.879515Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.879522Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 82
2025-12-05T16:16:19.879536Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.879611Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_71" }
2025-12-05T16:16:19.879629Z 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]:44842
2025-12-05T16:16:19.879634Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=82 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.879635Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.879907Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 82 sessionId:  describe result for acl check
2025-12-05T16:16:19.879935Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.879942Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.879944Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.879948Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550036382:2793] (SourceId=sid_rand_71, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.880265Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550036382:2793] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.881422Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550036382:2793] (SourceId=sid_rand_71, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.881464Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036398:2793] connected; active server actors: 1
2025-12-05T16:16:19.881476Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550036382:2793] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_71
2025-12-05T16:16:19.881486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550036382:2793] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.881520Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036398:2793] disconnected.
2025-12-05T16:16:19.881526Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036398:2793] disconnected; active server actors: 1
2025-12-05T16:16:19.881527Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036398:2793] disconnected no session
2025-12-05T16:16:19.883552Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550036382:2793] (SourceId=sid_rand_71, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.883565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550036382:2793] (SourceId=sid_rand_71, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-05T16:16:19.883568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550036382:2793] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.883573Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 82 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-05T16:16:19.883770Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-05T16:16:19.883875Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_71|d021a89f-6f51c30b-12aaa5cf-3e8a8a3c_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_71
2025-12-05T16:16:19.884125Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 82 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_71|d021a89f-6f51c30b-12aaa5cf-3e8a8a3c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_71|d021a89f-6f51c30b-12aaa5cf-3e8a8a3c_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.884601Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId: sid_rand_71|d021a89f-6f51c30b-12aaa5cf-3e8a8a3c_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.884613Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 82 sessionId: sid_rand_71|d021a89f-6f51c30b-12aaa5cf-3e8a8a3c_0 grpc read failed
2025-12-05T16:16:19.884616Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 82 sessionId: sid_rand_71|d021a89f-6f51c30b-12aaa5cf-3e8a8a3c_0 grpc closed
2025-12-05T16:16:19.884619Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 82 sessionId: sid_rand_71|d021a89f-6f51c30b-12aaa5cf-3e8a8a3c_0 is DEAD
2025-12-05T16:16:19.884684Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.884693Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 83
2025-12-05T16:16:19.884787Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.884815Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_72" }
2025-12-05T16:16:19.884835Z 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]:44842
2025-12-05T16:16:19.884840Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=83 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.884842Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.885151Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 83 sessionId:  describe result for acl check
2025-12-05T16:16:19.885176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.885178Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.885179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.885183Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550036418:2797] (SourceId=sid_rand_72, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.885560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550036418:2797] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.886577Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550036418:2797] (SourceId=sid_rand_72, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.886631Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036434:2797] connected; active server actors: 1
2025-12-05T16:16:19.886646Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550036418:2797] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_72
2025-12-05T16:16:19.886648Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550036418:2797] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.886683Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036434:2797] disconnected.
2025-12-05T16:16:19.886686Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036434:2797] disconnected; active server actors: 1
2025-12-05T16:16:19.886691Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036434:2797] disconnected no session
2025-12-05T16:16:19.888565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550036418:2797] (SourceId=sid_rand_72, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.888575Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550036418:2797] (SourceId=sid_rand_72, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-05T16:16:19.888578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550036418:2797] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.888583Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 83 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-05T16:16:19.888751Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.888822Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_72|146cbba4-ac5f0cba-9e56263b-f92c1127_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_72
2025-12-05T16:16:19.889015Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 83 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_72|146cbba4-ac5f0cba-9e56263b-f92c1127_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_72|146cbba4-ac5f0cba-9e56263b-f92c1127_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.889366Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId: sid_rand_72|146cbba4-ac5f0cba-9e56263b-f92c1127_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.889372Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 83 sessionId: sid_rand_72|146cbba4-ac5f0cba-9e56263b-f92c1127_0 grpc read failed
2025-12-05T16:16:19.889375Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 83 sessionId: sid_rand_72|146cbba4-ac5f0cba-9e56263b-f92c1127_0 grpc closed
2025-12-05T16:16:19.889377Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 83 sessionId: sid_rand_72|146cbba4-ac5f0cba-9e56263b-f92c1127_0 is DEAD
2025-12-05T16:16:19.889468Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.889485Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.889492Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 84
2025-12-05T16:16:19.889571Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_73" }
2025-12-05T16:16:19.889589Z 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]:44842
2025-12-05T16:16:19.889594Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=84 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.889596Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.889833Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 84 sessionId:  describe result for acl check
2025-12-05T16:16:19.889862Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.889866Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.889867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.889869Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550036454:2801] (SourceId=sid_rand_73, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.890248Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550036454:2801] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.891140Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550036454:2801] (SourceId=sid_rand_73, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.891222Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036470:2801] connected; active server actors: 1
2025-12-05T16:16:19.891239Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550036454:2801] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_73
2025-12-05T16:16:19.891242Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550036454:2801] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.891283Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036470:2801] disconnected.
2025-12-05T16:16:19.891292Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036470:2801] disconnected; active server actors: 1
2025-12-05T16:16:19.891295Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036470:2801] disconnected no session
2025-12-05T16:16:19.893123Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550036454:2801] (SourceId=sid_rand_73, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.893131Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550036454:2801] (SourceId=sid_rand_73, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-05T16:16:19.893133Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550036454:2801] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.893138Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 84 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-05T16:16:19.893328Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.893409Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_73|f5a3a406-22f70a22-b05c58c4-f08de75c_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_73
2025-12-05T16:16:19.893612Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 84 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_73|f5a3a406-22f70a22-b05c58c4-f08de75c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_73|f5a3a406-22f70a22-b05c58c4-f08de75c_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-05T16:16:19.894019Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId: sid_rand_73|f5a3a406-22f70a22-b05c58c4-f08de75c_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.894027Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 84 sessionId: sid_rand_73|f5a3a406-22f70a22-b05c58c4-f08de75c_0 grpc read failed
2025-12-05T16:16:19.894031Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 84 sessionId: sid_rand_73|f5a3a406-22f70a22-b05c58c4-f08de75c_0 grpc closed
2025-12-05T16:16:19.894034Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 84 sessionId: sid_rand_73|f5a3a406-22f70a22-b05c58c4-f08de75c_0 is DEAD
2025-12-05T16:16:19.894149Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T16:16:19.894159Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 85
2025-12-05T16:16:19.894216Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-05T16:16:19.894244Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_74" }
2025-12-05T16:16:19.894266Z 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]:44842
2025-12-05T16:16:19.894273Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=85 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44842 proto=v1  topic=topic1 durationSec=0
2025-12-05T16:16:19.894275Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T16:16:19.894539Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 85 sessionId:  describe result for acl check
2025-12-05T16:16:19.894564Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-05T16:16:19.894570Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T16:16:19.894571Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-05T16:16:19.894575Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580408455550036490:2805] (SourceId=sid_rand_74, PreferedPartition=(NULL)) StartKqpSession
2025-12-05T16:16:19.894971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580408455550036490:2805] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Select from the table
2025-12-05T16:16:19.896408Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580408455550036490:2805] (SourceId=sid_rand_74, PreferedPartition=(NULL)) RequestPQRB
2025-12-05T16:16:19.896462Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036506:2805] connected; active server actors: 1
2025-12-05T16:16:19.896473Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580408455550036490:2805] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_74
2025-12-05T16:16:19.896475Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580408455550036490:2805] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Update the table
2025-12-05T16:16:19.896511Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036506:2805] disconnected.
2025-12-05T16:16:19.896518Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036506:2805] disconnected; active server actors: 1
2025-12-05T16:16:19.896521Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580408455550036506:2805] disconnected no session
2025-12-05T16:16:19.898193Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580408455550036490:2805] (SourceId=sid_rand_74, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-05T16:16:19.898217Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580408455550036490:2805] (SourceId=sid_rand_74, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-05T16:16:19.898220Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580408455550036490:2805] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Start idle
2025-12-05T16:16:19.898225Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 85 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-05T16:16:19.898395Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-05T16:16:19.898458Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_74|fe9d25b-fc679256-da35c8cf-978f32e0_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_74
2025-12-05T16:16:19.898620Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 85 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_74|fe9d25b-fc679256-da35c8cf-978f32e0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_74|fe9d25b-fc679256-da35c8cf-978f32e0_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
Round robin check: 0:5
Round robin check: 1:5
Round robin check: 2:4
Round robin check: 3:4
Round robin check: 4:4
Round robin check: 5:5
Round robin check: 6:5
Round robin check: 7:5
Round robin check: 8:5
Round robin check: 9:5
Round robin check: 10:5
Round robin check: 11:6
Round robin check: 12:6
Round robin check: 13:6
Round robin check: 14:5
2025-12-05T16:16:19.898984Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId: sid_rand_74|fe9d25b-fc679256-da35c8cf-978f32e0_0 grpc read done: success: 0 data: 
2025-12-05T16:16:19.899012Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 85 sessionId: sid_rand_74|fe9d25b-fc679256-da35c8cf-978f32e0_0 grpc read failed
2025-12-05T16:16:19.899015Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 85 sessionId: sid_rand_74|fe9d25b-fc679256-da35c8cf-978f32e0_0 grpc closed
2025-12-05T16:16:19.899018Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 85 sessionId: sid_rand_74|fe9d25b-fc679256-da35c8cf-978f32e0_0 is DEAD
2025-12-05T16:16:19.899154Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
