2025-11-01T16:52:15.947732Z node 17 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[17:7567800817776235466:2082];send_to=[0:7307199536658146131:7762515];
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/ewjv/0027e8/r3tmp/tmpoj0A7z/pdisk_1.dat
2025-11-01T16:52:16.052968Z node 18 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-11-01T16:52:16.057802Z 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-11-01T16:52:16.057937Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=incorrect path status: LookupError;
2025-11-01T16:52:16.062090Z 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-11-01T16:52:16.062507Z node 17 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-11-01T16:52:16.064387Z 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-11-01T16:52:16.238892Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-11-01T16:52:16.269398Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-11-01T16:52:16.269490Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-11-01T16:52:16.271856Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-11-01T16:52:16.271931Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-11-01T16:52:16.278065Z node 17 :HIVE WARN: hive_impl.cpp:811: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 18 Cookie 18
2025-11-01T16:52:16.278220Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-11-01T16:52:16.280241Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-11-01T16:52:16.287185Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
TServer::EnableGrpc on GrpcPort 4860, node 17
2025-11-01T16:52:16.351408Z node 18 :BS_NODE WARN: {NWDC01@distconf.cpp:397} StateFunc too long Type# 268639238 Duration# 0.023104s
2025-11-01T16:52:16.359532Z node 18 :BS_NODE WARN: {NWDC01@distconf.cpp:397} StateFunc too long Type# 268639239 Duration# 0.005902s
2025-11-01T16:52:16.379010Z 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-11-01T16:52:16.478079Z 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/ewjv/0027e8/r3tmp/yandexvU8OJb.tmp
2025-11-01T16:52:16.478111Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/ewjv/0027e8/r3tmp/yandexvU8OJb.tmp
2025-11-01T16:52:16.478255Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/ewjv/0027e8/r3tmp/yandexvU8OJb.tmp
2025-11-01T16:52:16.478433Z node 17 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-11-01T16:52:16.528031Z INFO: TTestServer started on Port 4863 GrpcPort 4860
TClient is connected to server localhost:4863
PQClient connected to localhost:4860
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-11-01T16:52:16.801308Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976710657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
waiting...
waiting...
2025-11-01T16:52:16.867587Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710659:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
waiting...
waiting...
waiting...
2025-11-01T16:52:17.018238Z node 18 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-11-01T16:52:17.019528Z node 17 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-11-01T16:52:20.908352Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[17:7567800817776235466:2082];send_to=[0:7307199536658146131:7762515];
2025-11-01T16:52:20.908442Z 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-11-01T16:52:21.041137Z node 18 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [18:7567800845524019821:2307], 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-11-01T16:52:21.041223Z node 18 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [18:7567800845524019813:2304], 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-11-01T16:52:21.041406Z node 18 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-01T16:52:21.042273Z node 18 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [18:7567800845524019829:2309], 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-11-01T16:52:21.042392Z node 18 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-01T16:52:21.048200Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateResourcePool, opId: 281474976720657:3, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:179)
2025-11-01T16:52:21.087321Z node 18 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [18:7567800845524019827:2308], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976720657 completed, doublechecking }
2025-11-01T16:52:21.149188Z node 18 :TX_PROXY ERROR: schemereq.cpp:593: Actor# [18:7567800845524019858:2186] txid# 281474976720658, issues: { message: "Check failed: path: \'/Root/.metadata/workload_manager/pools/default\', error: path exist, request accepts it (id: [OwnerId: 72057594046644480, LocalPathId: 9], type: EPathTypeResourcePool, state: EPathStateNoChanges)" severity: 1 }
2025-11-01T16:52:21.199092Z node 18 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:570: Compilation failed, self: [18:7567800845524019865:2314], 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-11-01T16:52:21.199354Z node 18 :KQP_SESSION WARN: kqp_session_actor.cpp:2506: SessionId: ydb://session/3?node_id=18&id=NzRmNDkxN2YtNmVmY2E5OWEtYzg4NjZlNjMtYzRkN2VlMWI=, ActorId: [18:7567800845524019810:2303], ActorState: ExecuteState, TraceId: 01k905b4decckxtjjk4sxcg7s0, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-11-01T16:52:21.199792Z 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-11-01T16:52:21.347818Z node 17 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:570: Compilation failed, self: [17:7567800843546040403:2336], 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-11-01T16:52:21.348091Z node 17 :KQP_SESSION WARN: kqp_session_actor.cpp:2506: SessionId: ydb://session/3?node_id=17&id=ZWNjNGQ0NDAtYTc3MjY0MTAtOWU2OTM0Mi00MWI0NzFlOQ==, ActorId: [17:7567800843546040377:2329], ActorState: ExecuteState, TraceId: 01k905b4nd73vew5rmbmnaqg7e, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-11-01T16:52:21.348635Z node 17 :PERSQUEUE_CLUSTER_TRACKER ERROR: cluster_tracker.cpp:167: failed to list clusters: { Response { QueryIssues { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 3 column: 16 } message: "At function: KiReadTable!" end_position { row: 3 column: 16 } severity: 1 issues { position { row: 3 column: 16 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Cluster]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 3 column: 16 } issue_code: 2003 severity: 1 } } } TxMeta { } } YdbStatus: SCHEME_ERROR ConsumedRu: 1 }
2025-11-01T16:52:21.366386Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710662:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
2025-11-01T16:52:21.479837Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710663:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
2025-11-01T16:52:21.713463Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710664:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
=== Init DC: UPSERT INTO `/Root/PQ/Config/V2/Cluster` (name, balancer, local, enabled, weight) VALUES ("dc1", "localhost", true, true, 1000), ("dc2", "dc2.logbroker.yandex.net", false, true, 1000);
2025-11-01T16:52:22.050177Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976710665. Ctx: { TraceId: 01k905b56b9m6sxhtnhdb64zmd, Database: , SessionId: ydb://session/3?node_id=17&id=YTdhZWNhNWItYmI3ODZiM2QtYmUwZTdjZDctNzY2YjU1ZTA=, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [17:7567800847841008148:3091] 
=== CheckClustersList. Ok
PQ Client: create topic: rt3.dc1--topic1 with 10 partitions
CallPersQueueGRPC request to localhost:4860
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-01T16:52:29.311183Z 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:4860
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: 281474976710670
  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-11-01T16:52:29.409097Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-01T16:52:29.409144Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037893] doesn't have tx writes info
2025-11-01T16:52:29.415330Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][] pipe [17:7567800877905779665:3351] connected; active server actors: 1
2025-11-01T16:52:29.427604Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1519: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [3, 0, 1, 6, 8, 9, 2, 5, 7, 4]
2025-11-01T16:52:29.427791Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-01T16:52:29.427842Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037892] doesn't have tx writes info
2025-11-01T16:52:29.431416Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:971: [72075186224037894][rt3.dc1--topic1] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037894
2025-11-01T16:52:29.432924Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:404: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037892, NodeId 18, Generation 1
2025-11-01T16:52:29.434873Z node 18 :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-11-01T16:52:29.434951Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:404: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037893, NodeId 17, Generation 1
2025-11-01T16:52:29.461737Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037893][Partition][9][StateInit] bootstrapping 9 [17:7567800877905779761:2453]
2025-11-01T16:52:29.461961Z node 18 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037892][Partition][3][StateInit] bootstrapping 3 [18:7567800879883758519:2368]
2025-11-01T16:52:29.465174Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][9][StateInit] init complete for topic 'rt3.dc1--topic1' partition 9 generation 1 [17:7567800877905779761:2453]
2025-11-01T16:52:29.464908Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][3][StateInit] init complete for topic 'rt3.dc1--topic1' partition 3 generation 1 [18:7567800879883758519:2368]
2025-11-01T16:52:29.467327Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037893][Partition][2][StateInit] bootstrapping 2 [17:7567800877905779763:2453]
2025-11-01T16:52:29.469928Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][2][StateInit] init complete for topic 'rt3.dc1--topic1' partition 2 generation 1 [17:7567800877905779763:2453]
2025-11-01T16:52:29.467388Z node 18 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [18:7567800879883758520:2368]
2025-11-01T16:52:29.469928Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][0][StateInit] init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [18:7567800879883758520:2368]
2025-11-01T16:52:29.471734Z node 18 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037892][Partition][1][StateInit] bootstrapping 1 [18:7567800879883758521:2368]
2025-11-01T16:52:29.473591Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][1][StateInit] init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [18:7567800879883758521:2368]
2025-11-01T16:52:29.475213Z node 18 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037892][Partition][6][StateInit] bootstrapping 6 [18:7567800879883758522:2368]
2025-11-01T16:52:29.471798Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037893][Partition][5][StateInit] bootstrapping 5 [17:7567800877905779764:2453]
2025-11-01T16:52:29.474299Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][5][StateInit] init complete for topic 'rt3.dc1--topic1' partition 5 generation 1 [17:7567800877905779764:2453]
2025-11-01T16:52:29.476325Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037893][Partition][7][StateInit] bootstrapping 7 [17:7567800877905779766:2453]
2025-11-01T16:52:29.477023Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][6][StateInit] init complete for topic 'rt3.dc1--topic1' partition 6 generation 1 [18:7567800879883758522:2368]
2025-11-01T16:52:29.478270Z node 18 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037892][Partition][8][StateInit] bootstrapping 8 [18:7567800879883758523:2368]
2025-11-01T16:52:29.480081Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][8][StateInit] init complete for topic 'rt3.dc1--topic1' partition 8 generation 1 [18:7567800879883758523:2368]
2025-11-01T16:52:29.478902Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][7][StateInit] init complete for topic 'rt3.dc1--topic1' partition 7 generation 1 [17:7567800877905779766:2453]
2025-11-01T16:52:29.480713Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037893][Partition][4][StateInit] bootstrapping 4 [17:7567800877905779769:2453]
2025-11-01T16:52:29.483368Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][4][StateInit] init complete for topic 'rt3.dc1--topic1' partition 4 generation 1 [17:7567800877905779769:2453]
2025-11-01T16:52:29.499578Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-01T16:52:29.499518Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-01T16:52:29.591315Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976710671. Ctx: { TraceId: 01k905bchp8zf0r56x8hc3awf1, Database: , SessionId: ydb://session/3?node_id=17&id=YTQ5YzA2ZTUtYWQxMDg1NmUtMzY3ODA2YzEtNDY5NTA1Mjg=, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
===Query complete
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976710670
    CreateStep: 1762015949491
    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: 281474976710670
    CreateStep: 1762015949491
    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:4860
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-01T16:52:29.672393Z 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-11-01T16:52:29.685257Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:29.685301Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-11-01T16:52:29.685836Z 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-11-01T16:52:29.685982Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:53482
2025-11-01T16:52:29.686007Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:29.686018Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:29.688443Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-11-01T16:52:29.688619Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:29.688633Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:29.688647Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:29.688667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800877905779896:2471] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:29.692939Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800877905779896:2471] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:29.908261Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800877905779896:2471] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:29.909753Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800877905779933:2471] connected; active server actors: 1
2025-11-01T16:52:29.910402Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800877905779896:2471] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=12345678
2025-11-01T16:52:29.910429Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800877905779896:2471] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:29.915714Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800877905779933:2471] disconnected.
2025-11-01T16:52:29.915750Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800877905779933:2471] disconnected; active server actors: 1
2025-11-01T16:52:29.915768Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800877905779933:2471] disconnected no session
2025-11-01T16:52:30.080329Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800877905779896:2471] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:30.080383Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800877905779896:2471] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-01T16:52:30.080403Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800877905779896:2471] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:30.080441Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-01T16:52:30.084064Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:30.085644Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 6 MaxSeqNo: 0 sessionId: 12345678|348ee0d2-2a99a4b6-4e9b314a-a80645b4_0
2025-11-01T16:52:30.084531Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 12345678|348ee0d2-2a99a4b6-4e9b314a-a80645b4_0 generated for partition 6 topic 'rt3.dc1--topic1' owner 12345678
2025-11-01T16:52:30.091536Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: 12345678|348ee0d2-2a99a4b6-4e9b314a-a80645b4_0 grpc read done: success: 0 data: 
2025-11-01T16:52:30.091565Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: 12345678|348ee0d2-2a99a4b6-4e9b314a-a80645b4_0 grpc read failed
2025-11-01T16:52:30.091745Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 1 sessionId: 12345678|348ee0d2-2a99a4b6-4e9b314a-a80645b4_0
2025-11-01T16:52:30.091769Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: 12345678|348ee0d2-2a99a4b6-4e9b314a-a80645b4_0 is DEAD
2025-11-01T16:52:30.092174Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
Finish: 0 
2025-11-01T16:52:30.096707Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:30.096742Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-11-01T16:52:30.097699Z 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-11-01T16:52:30.097949Z 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]:53482
2025-11-01T16:52:30.097978Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:30.097991Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:30.099788Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-11-01T16:52:30.099952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:30.099967Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:30.099979Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:30.100001Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800882200747258:2481] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:30.104223Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800882200747258:2481] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:30.128817Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800882200747258:2481] (SourceId=source, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:30.129810Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800882200747277:2481] connected; active server actors: 1
2025-11-01T16:52:30.130480Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800882200747258:2481] (SourceId=source, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=source
2025-11-01T16:52:30.130508Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800882200747258:2481] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:30.132215Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800882200747277:2481] disconnected.
2025-11-01T16:52:30.132253Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800882200747277:2481] disconnected; active server actors: 1
2025-11-01T16:52:30.132275Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800882200747277:2481] disconnected no session
2025-11-01T16:52:30.145920Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800882200747258:2481] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:30.145974Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800882200747258:2481] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-01T16:52:30.145994Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800882200747258:2481] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:30.146034Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-01T16:52:30.146848Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:30.146982Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|4088b395-17a26a94-f7dc9c3e-a74ba1d9_0 generated for partition 7 topic 'rt3.dc1--topic1' owner source
2025-11-01T16:52:30.147494Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 7 MaxSeqNo: 0 sessionId: source|4088b395-17a26a94-f7dc9c3e-a74ba1d9_0
request: { write_request { sequence_numbers: 2 created_at_ms: 1762015950149 sent_at_ms: 1762015950149 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-11-01T16:52:30.154569Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|4088b395-17a26a94-f7dc9c3e-a74ba1d9_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T16:52:30.154956Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T16:52:30.155438Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T16:52:30.277379Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 3 created_at_ms: 1762015950279 sent_at_ms: 1762015950279 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-11-01T16:52:30.280317Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|4088b395-17a26a94-f7dc9c3e-a74ba1d9_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T16:52:30.280644Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T16:52:30.281008Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T16:52:30.289915Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 4 created_at_ms: 1762015950290 sent_at_ms: 1762015950290 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-11-01T16:52:30.291697Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|4088b395-17a26a94-f7dc9c3e-a74ba1d9_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T16:52:30.291996Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T16:52:30.292676Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 5 created_at_ms: 1762015950308 sent_at_ms: 1762015950308 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-11-01T16:52:30.307527Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T16:52:30.310544Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|4088b395-17a26a94-f7dc9c3e-a74ba1d9_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T16:52:30.310855Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T16:52:30.311210Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T16:52:30.317807Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T16:52:30.321327Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|4088b395-17a26a94-f7dc9c3e-a74ba1d9_0 grpc read done: success: 0 data: 
2025-11-01T16:52:30.321353Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: source|4088b395-17a26a94-f7dc9c3e-a74ba1d9_0 grpc read failed
2025-11-01T16:52:30.321567Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 2 sessionId: source|4088b395-17a26a94-f7dc9c3e-a74ba1d9_0
2025-11-01T16:52:30.321591Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: source|4088b395-17a26a94-f7dc9c3e-a74ba1d9_0 is DEAD
2025-11-01T16:52:30.322705Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
1 0 
CallPersQueueGRPC request to localhost:4860
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-01T16:52:30.329396Z 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:4860
MetaRequest {
  CmdChangeTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 15
  }
}
2025-11-01T16:52:30.336156Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterPersQueueGroup, opId: 281474976710676:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_pq.cpp:313)
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976710676
  SchemeShardTabletId: 72057594046644480
}
ErrorCode: OK
Alter got 1
2025-11-01T16:52:30.365699Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1519: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [11, 13, 14, 12, 10]
2025-11-01T16:52:30.370099Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-01T16:52:30.370166Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037895] doesn't have tx writes info
2025-11-01T16:52:30.423216Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-01T16:52:30.428576Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037895][Partition][11][StateInit] bootstrapping 11 [17:7567800882200747464:2495]
2025-11-01T16:52:30.430985Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][11][StateInit] init complete for topic 'rt3.dc1--topic1' partition 11 generation 1 [17:7567800882200747464:2495]
2025-11-01T16:52:30.433382Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037895][Partition][13][StateInit] bootstrapping 13 [17:7567800882200747465:2495]
2025-11-01T16:52:30.436558Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][13][StateInit] init complete for topic 'rt3.dc1--topic1' partition 13 generation 1 [17:7567800882200747465:2495]
2025-11-01T16:52:30.439190Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037895][Partition][14][StateInit] bootstrapping 14 [17:7567800882200747466:2495]
2025-11-01T16:52:30.442061Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][14][StateInit] init complete for topic 'rt3.dc1--topic1' partition 14 generation 1 [17:7567800882200747466:2495]
2025-11-01T16:52:30.444265Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037895][Partition][12][StateInit] bootstrapping 12 [17:7567800882200747467:2495]
2025-11-01T16:52:30.446339Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][12][StateInit] init complete for topic 'rt3.dc1--topic1' partition 12 generation 1 [17:7567800882200747467:2495]
2025-11-01T16:52:30.447954Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037895][Partition][10][StateInit] bootstrapping 10 [17:7567800882200747468:2495]
2025-11-01T16:52:30.449698Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][10][StateInit] init complete for topic 'rt3.dc1--topic1' partition 10 generation 1 [17:7567800882200747468:2495]
2025-11-01T16:52:30.457763Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-01T16:52:30.548830Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-01T16:52:30.549626Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976710677. Ctx: { TraceId: 01k905bdhr4e2hj6jw49kddxb0, Database: , SessionId: ydb://session/3?node_id=17&id=MjAxOTc0NjctMWYxOTlmMjMtODJmYmEwOWMtODhmY2RlNTI=, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
CallPersQueueGRPC request to localhost:4860
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
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
2025-11-01T16:52:30.577129Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976710670
    CreateStep: 1762015949491
    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: 281474976710670
    CreateStep: 1762015949491
    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-11-01T16:52:30.583202Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:30.583235Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-11-01T16:52:30.583580Z 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-11-01T16:52:30.583764Z 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]:53482
2025-11-01T16:52:30.583786Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:30.583798Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:30.585489Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-11-01T16:52:30.585627Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:30.585640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:30.585653Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:30.585671Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800882200747656:2515] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:30.589730Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800882200747656:2515] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:30.598650Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800882200747656:2515] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:30.611595Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800882200747656:2515] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:30.611646Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800882200747656:2515] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=0
2025-11-01T16:52:30.611666Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800882200747656:2515] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:30.611702Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-01T16:52:30.613027Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:30.613151Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|4c504acb-a708f46a-60ac12a1-92822ec2_0 generated for partition 7 topic 'rt3.dc1--topic1' owner source
2025-11-01T16:52:30.614151Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 7 MaxSeqNo: 5 sessionId: source|4c504acb-a708f46a-60ac12a1-92822ec2_0
request: { write_request { sequence_numbers: 6 created_at_ms: 1762015950614 sent_at_ms: 1762015950614 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-11-01T16:52:30.615281Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|4c504acb-a708f46a-60ac12a1-92822ec2_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T16:52:30.615561Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T16:52:30.615847Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 7 created_at_ms: 1762015950649 sent_at_ms: 1762015950649 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-11-01T16:52:30.648769Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T16:52:30.650739Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|4c504acb-a708f46a-60ac12a1-92822ec2_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T16:52:30.651032Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T16:52:30.651405Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T16:52:30.657003Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 8 created_at_ms: 1762015950657 sent_at_ms: 1762015950657 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-11-01T16:52:30.658380Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|4c504acb-a708f46a-60ac12a1-92822ec2_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T16:52:30.658660Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T16:52:30.658891Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T16:52:30.664674Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 9 created_at_ms: 1762015950665 sent_at_ms: 1762015950665 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-11-01T16:52:30.665905Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|4c504acb-a708f46a-60ac12a1-92822ec2_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T16:52:30.666175Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T16:52:30.666459Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T16:52:30.775682Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T16:52:30.776941Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|4c504acb-a708f46a-60ac12a1-92822ec2_0 grpc read done: success: 0 data: 
2025-11-01T16:52:30.776975Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: source|4c504acb-a708f46a-60ac12a1-92822ec2_0 grpc read failed
2025-11-01T16:52:30.777178Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 3 sessionId: source|4c504acb-a708f46a-60ac12a1-92822ec2_0
1 0 
2025-11-01T16:52:30.777210Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: source|4c504acb-a708f46a-60ac12a1-92822ec2_0 is DEAD
2025-11-01T16:52:30.777675Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:30.779532Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:30.779560Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 4
2025-11-01T16:52:30.779972Z 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-11-01T16:52:30.780184Z 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]:53482
2025-11-01T16:52:30.780219Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:30.780241Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:30.782178Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 4 sessionId:  describe result for acl check
2025-11-01T16:52:30.782340Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:30.782364Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:30.782377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:30.782398Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800882200747721:2521] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:30.786443Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800882200747721:2521] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:30.794179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800882200747721:2521] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:30.806037Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800882200747721:2521] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:30.806093Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800882200747721:2521] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=0
2025-11-01T16:52:30.806112Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800882200747721:2521] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:30.806153Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 4 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-01T16:52:30.807797Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:30.807947Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|c983f6bf-72b652a1-8457874a-4b8067a2_0 generated for partition 7 topic 'rt3.dc1--topic1' owner source
2025-11-01T16:52:30.809311Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 4 partition: 7 MaxSeqNo: 9 sessionId: source|c983f6bf-72b652a1-8457874a-4b8067a2_0
request: { write_request { sequence_numbers: 10 sequence_numbers: 11 sequence_numbers: 12 sequence_numbers: 13 sequence_numbers: 14 created_at_ms: 1762015950811 created_at_ms: 1762015950811 created_at_ms: 1762015950811 created_at_ms: 1762015950811 created_at_ms: 1762015950811 sent_at_ms: 1762015950811 sent_at_ms: 1762015950811 sent_at_ms: 1762015950811 sent_at_ms: 1762015950811 sent_at_ms: 1762015950811 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-11-01T16:52:30.812275Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|c983f6bf-72b652a1-8457874a-4b8067a2_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T16:52:30.812774Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T16:52:30.813548Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T16:52:30.823756Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 15 sequence_numbers: 16 sequence_numbers: 17 sequence_numbers: 18 sequence_numbers: 19 created_at_ms: 1762015950824 created_at_ms: 1762015950824 created_at_ms: 1762015950824 created_at_ms: 1762015950824 created_at_ms: 1762015950825 sent_at_ms: 1762015950824 sent_at_ms: 1762015950824 sent_at_ms: 1762015950824 sent_at_ms: 1762015950824 sent_at_ms: 1762015950825 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-11-01T16:52:30.825957Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|c983f6bf-72b652a1-8457874a-4b8067a2_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T16:52:30.826357Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T16:52:30.826665Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 20 sequence_numbers: 21 sequence_numbers: 22 sequence_numbers: 23 sequence_numbers: 24 created_at_ms: 1762015950890 created_at_ms: 1762015950890 created_at_ms: 1762015950890 created_at_ms: 1762015950890 created_at_ms: 1762015950890 sent_at_ms: 1762015950890 sent_at_ms: 1762015950890 sent_at_ms: 1762015950890 sent_at_ms: 1762015950890 sent_at_ms: 1762015950890 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-11-01T16:52:30.888907Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T16:52:30.891646Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|c983f6bf-72b652a1-8457874a-4b8067a2_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T16:52:30.891942Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T16:52:30.892253Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 25 sequence_numbers: 26 sequence_numbers: 27 sequence_numbers: 28 sequence_numbers: 29 created_at_ms: 1762015950901 created_at_ms: 1762015950901 created_at_ms: 1762015950901 created_at_ms: 1762015950901 created_at_ms: 1762015950901 sent_at_ms: 1762015950901 sent_at_ms: 1762015950901 sent_at_ms: 1762015950901 sent_at_ms: 1762015950901 sent_at_ms: 1762015950901 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-11-01T16:52:30.900872Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T16:52:30.903897Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|c983f6bf-72b652a1-8457874a-4b8067a2_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T16:52:30.904204Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T16:52:30.904489Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T16:52:30.914735Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T16:52:30.916651Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|c983f6bf-72b652a1-8457874a-4b8067a2_0 grpc read done: success: 0 data: 
2025-11-01T16:52:30.916687Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 4 sessionId: source|c983f6bf-72b652a1-8457874a-4b8067a2_0 grpc read failed
2025-11-01T16:52:30.916895Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 4 sessionId: source|c983f6bf-72b652a1-8457874a-4b8067a2_0
2025-11-01T16:52:30.916924Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 4 sessionId: source|c983f6bf-72b652a1-8457874a-4b8067a2_0 is DEAD
2025-11-01T16:52:30.917467Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
1 0 
2025-11-01T16:52:30.919445Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:30.919478Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 5
2025-11-01T16:52:30.919914Z 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-11-01T16:52:30.920126Z 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]:53482
2025-11-01T16:52:30.920153Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic2 durationSec=0
2025-11-01T16:52:30.920168Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:30.922322Z 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-11-01T16:52:30.922628Z 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-11-01T16:52:30.925566Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:30.925597Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 6
2025-11-01T16:52:30.925958Z 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-11-01T16:52:30.926139Z 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]:53482
2025-11-01T16:52:30.926168Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:30.926181Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:30.928223Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 6 sessionId:  describe result for acl check
2025-11-01T16:52:30.928418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:30.928447Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:30.928461Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:30.928487Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800882200747798:2532] (SourceId=sid1, PreferedPartition=1) StartKqpSession
2025-11-01T16:52:30.933444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800882200747798:2532] (SourceId=sid1, PreferedPartition=1) Select from the table
2025-11-01T16:52:30.944568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800882200747798:2532] (SourceId=sid1, PreferedPartition=1) Update the table
2025-11-01T16:52:30.962133Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800882200747798:2532] (SourceId=sid1, PreferedPartition=1) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:30.962191Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800882200747798:2532] (SourceId=sid1, PreferedPartition=1) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-01T16:52:30.962213Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800882200747798:2532] (SourceId=sid1, PreferedPartition=1) Start idle
2025-11-01T16:52:30.962255Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 6 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-01T16:52:30.965337Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:30.966641Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|99bb3da2-a297d73d-475b3d37-f924efc6_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-11-01T16:52:30.972985Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 6 partition: 1 MaxSeqNo: 0 sessionId: sid1|99bb3da2-a297d73d-475b3d37-f924efc6_0
Init result: { status: SUCCESS init_response { session_id: "sid1|99bb3da2-a297d73d-475b3d37-f924efc6_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:30.976412Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId: sid1|99bb3da2-a297d73d-475b3d37-f924efc6_0 grpc read done: success: 0 data: 
2025-11-01T16:52:30.976444Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 6 sessionId: sid1|99bb3da2-a297d73d-475b3d37-f924efc6_0 grpc read failed
2025-11-01T16:52:30.976482Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 6 sessionId: sid1|99bb3da2-a297d73d-475b3d37-f924efc6_0 grpc closed
2025-11-01T16:52:30.976506Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 6 sessionId: sid1|99bb3da2-a297d73d-475b3d37-f924efc6_0 is DEAD
2025-11-01T16:52:30.977440Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:30.977596Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:30.977618Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 7
2025-11-01T16:52:30.978441Z 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-11-01T16:52:30.978618Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 7 topic: "topic1" message_group_id: "sid1" from ipv6:[::1]:53482
2025-11-01T16:52:30.978647Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:30.978661Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:30.980257Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 7 sessionId:  describe result for acl check
2025-11-01T16:52:30.980389Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:30.980399Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:30.980410Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:30.980426Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800882200747834:2536] (SourceId=sid1, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:30.984481Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800882200747834:2536] (SourceId=sid1, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:30.993543Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800882200747834:2536] (SourceId=sid1, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.008801Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800882200747834:2536] (SourceId=sid1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.008862Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800882200747834:2536] (SourceId=sid1, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2025-11-01T16:52:31.008885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800882200747834:2536] (SourceId=sid1, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.008927Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-01T16:52:31.010922Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:31.011402Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|8ef8d6a9-3be9ab7c-3ccaccc0-69aff434_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-11-01T16:52:31.012470Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: sid1|8ef8d6a9-3be9ab7c-3ccaccc0-69aff434_0
Init result: { status: SUCCESS init_response { session_id: "sid1|8ef8d6a9-3be9ab7c-3ccaccc0-69aff434_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.016449Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId: sid1|8ef8d6a9-3be9ab7c-3ccaccc0-69aff434_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.016477Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 7 sessionId: sid1|8ef8d6a9-3be9ab7c-3ccaccc0-69aff434_0 grpc read failed
2025-11-01T16:52:31.016526Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 7 sessionId: sid1|8ef8d6a9-3be9ab7c-3ccaccc0-69aff434_0 grpc closed
2025-11-01T16:52:31.016553Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 7 sessionId: sid1|8ef8d6a9-3be9ab7c-3ccaccc0-69aff434_0 is DEAD
2025-11-01T16:52:31.017510Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.017670Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.017690Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 8
2025-11-01T16:52:31.019857Z 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-11-01T16:52:31.020040Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 8 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:53482
2025-11-01T16:52:31.020071Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.020087Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.022041Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 8 sessionId:  describe result for acl check
2025-11-01T16:52:31.022217Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.022231Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.022246Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.022267Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715163:2540] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.026387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715163:2540] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.034359Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715163:2540] (SourceId=sidx, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.035621Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715179:2540] connected; active server actors: 1
2025-11-01T16:52:31.036263Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715163:2540] (SourceId=sidx, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sidx
2025-11-01T16:52:31.036299Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715163:2540] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.037583Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715179:2540] disconnected.
2025-11-01T16:52:31.037620Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715179:2540] disconnected; active server actors: 1
2025-11-01T16:52:31.037643Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715179:2540] disconnected no session
2025-11-01T16:52:31.047899Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715163:2540] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.047953Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715163:2540] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-01T16:52:31.047975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715163:2540] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.048018Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 8 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-01T16:52:31.050308Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:31.050652Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|fc5ed7fa-10eae2b4-5156737a-f81c4547_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sidx
2025-11-01T16:52:31.051796Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 8 partition: 8 MaxSeqNo: 0 sessionId: sidx|fc5ed7fa-10eae2b4-5156737a-f81c4547_0
Init result: { status: SUCCESS init_response { session_id: "sidx|fc5ed7fa-10eae2b4-5156737a-f81c4547_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.056059Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId: sidx|fc5ed7fa-10eae2b4-5156737a-f81c4547_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.056094Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 8 sessionId: sidx|fc5ed7fa-10eae2b4-5156737a-f81c4547_0 grpc read failed
2025-11-01T16:52:31.056124Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 8 sessionId: sidx|fc5ed7fa-10eae2b4-5156737a-f81c4547_0 grpc closed
2025-11-01T16:52:31.056147Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 8 sessionId: sidx|fc5ed7fa-10eae2b4-5156737a-f81c4547_0 is DEAD
2025-11-01T16:52:31.056249Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.056269Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 9
2025-11-01T16:52:31.056584Z 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-11-01T16:52:31.056730Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 9 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:53482
2025-11-01T16:52:31.056760Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.056771Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.057053Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.058440Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 9 sessionId:  describe result for acl check
2025-11-01T16:52:31.058597Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.058615Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.058626Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.058645Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715199:2544] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.062552Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715199:2544] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.072083Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715199:2544] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.085740Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715199:2544] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.085781Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715199:2544] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=0
2025-11-01T16:52:31.085796Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715199:2544] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.085828Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 9 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-01T16:52:31.087256Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:31.088469Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 9 partition: 8 MaxSeqNo: 0 sessionId: sidx|5dab76e-d3fa75da-eefb6315-47633a60_0
Init result: { status: SUCCESS init_response { session_id: "sidx|5dab76e-d3fa75da-eefb6315-47633a60_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.087592Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|5dab76e-d3fa75da-eefb6315-47633a60_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sidx
2025-11-01T16:52:31.091622Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId: sidx|5dab76e-d3fa75da-eefb6315-47633a60_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.091652Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 9 sessionId: sidx|5dab76e-d3fa75da-eefb6315-47633a60_0 grpc read failed
2025-11-01T16:52:31.091690Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 9 sessionId: sidx|5dab76e-d3fa75da-eefb6315-47633a60_0 grpc closed
2025-11-01T16:52:31.091715Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 9 sessionId: sidx|5dab76e-d3fa75da-eefb6315-47633a60_0 is DEAD
2025-11-01T16:52:31.093648Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.093682Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 10
2025-11-01T16:52:31.094145Z 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-11-01T16:52:31.094323Z 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]:53482
2025-11-01T16:52:31.094349Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.094366Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.094934Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.096745Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 10 sessionId:  describe result for acl check
2025-11-01T16:52:31.096928Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.096950Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.096965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.096987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715234:2548] (SourceId=sid1, PreferedPartition=2) StartKqpSession
2025-11-01T16:52:31.102087Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715234:2548] (SourceId=sid1, PreferedPartition=2) Select from the table
2025-11-01T16:52:31.110126Z node 17 :PQ_PARTITION_CHOOSER INFO: partition_chooser_impl__abstract_chooser_actor.h:312: TPartitionChooser [17:7567800886495715234:2548] (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-11-01T16:52:31.110283Z 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-11-01T16:52:31.110623Z 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-11-01T16:52:31.112557Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.112588Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 11
2025-11-01T16:52:31.112959Z 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-11-01T16:52:31.113118Z 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]:53482
2025-11-01T16:52:31.113147Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=11 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.113159Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.115388Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 11 sessionId:  describe result for acl check
2025-11-01T16:52:31.115593Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.115620Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.115634Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.115665Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715257:2552] (SourceId=sid_rand_0, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.120150Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715257:2552] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.127879Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715257:2552] (SourceId=sid_rand_0, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.128442Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715273:2552] connected; active server actors: 1
2025-11-01T16:52:31.129025Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715257:2552] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_0
2025-11-01T16:52:31.130174Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715273:2552] disconnected.
2025-11-01T16:52:31.129057Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715257:2552] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.130205Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715273:2552] disconnected; active server actors: 1
2025-11-01T16:52:31.130226Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715273:2552] disconnected no session
2025-11-01T16:52:31.142474Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715257:2552] (SourceId=sid_rand_0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.142523Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715257:2552] (SourceId=sid_rand_0, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-01T16:52:31.142547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715257:2552] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.142589Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 11 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-01T16:52:31.143504Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:31.143672Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_0|8a2f9ad3-1d410dca-f38c668d-fae653c4_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_0
2025-11-01T16:52:31.144102Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 11 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_0|8a2f9ad3-1d410dca-f38c668d-fae653c4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_0|8a2f9ad3-1d410dca-f38c668d-fae653c4_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.146651Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId: sid_rand_0|8a2f9ad3-1d410dca-f38c668d-fae653c4_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.146699Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 11 sessionId: sid_rand_0|8a2f9ad3-1d410dca-f38c668d-fae653c4_0 grpc read failed
2025-11-01T16:52:31.147081Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.147105Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 12
2025-11-01T16:52:31.147512Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 11 sessionId: sid_rand_0|8a2f9ad3-1d410dca-f38c668d-fae653c4_0
2025-11-01T16:52:31.147524Z 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-11-01T16:52:31.147559Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 11 sessionId: sid_rand_0|8a2f9ad3-1d410dca-f38c668d-fae653c4_0 is DEAD
2025-11-01T16:52:31.147673Z 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]:53482
2025-11-01T16:52:31.147701Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=12 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.147711Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.148053Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.149527Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 12 sessionId:  describe result for acl check
2025-11-01T16:52:31.149690Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.149712Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.149725Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.149745Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715291:2556] (SourceId=sid_rand_1, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.153563Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715291:2556] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.162124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715291:2556] (SourceId=sid_rand_1, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.162914Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715308:2556] connected; active server actors: 1
2025-11-01T16:52:31.163452Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715291:2556] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_1
2025-11-01T16:52:31.163483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715291:2556] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.164012Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715308:2556] disconnected.
2025-11-01T16:52:31.164055Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715308:2556] disconnected; active server actors: 1
2025-11-01T16:52:31.164081Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715308:2556] disconnected no session
2025-11-01T16:52:31.174329Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715291:2556] (SourceId=sid_rand_1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.174378Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715291:2556] (SourceId=sid_rand_1, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-01T16:52:31.174397Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715291:2556] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.174436Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 12 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-01T16:52:31.175136Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:31.175212Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_1|58057444-2bb998c3-8145db41-3b073b78_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_1
2025-11-01T16:52:31.175655Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 12 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_1|58057444-2bb998c3-8145db41-3b073b78_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_1|58057444-2bb998c3-8145db41-3b073b78_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.177434Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId: sid_rand_1|58057444-2bb998c3-8145db41-3b073b78_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.177462Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 12 sessionId: sid_rand_1|58057444-2bb998c3-8145db41-3b073b78_0 grpc read failed
2025-11-01T16:52:31.177505Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 12 sessionId: sid_rand_1|58057444-2bb998c3-8145db41-3b073b78_0
2025-11-01T16:52:31.177528Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 12 sessionId: sid_rand_1|58057444-2bb998c3-8145db41-3b073b78_0 is DEAD
2025-11-01T16:52:31.177926Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.178218Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.178237Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 13
2025-11-01T16:52:31.178538Z 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-11-01T16:52:31.178672Z 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]:53482
2025-11-01T16:52:31.178699Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=13 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.178710Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.180544Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 13 sessionId:  describe result for acl check
2025-11-01T16:52:31.180696Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.180716Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.180730Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.180749Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715326:2560] (SourceId=sid_rand_2, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.184578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715326:2560] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.191878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715326:2560] (SourceId=sid_rand_2, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.192666Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715345:2560] connected; active server actors: 1
2025-11-01T16:52:31.193327Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715326:2560] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_2
2025-11-01T16:52:31.193353Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715326:2560] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.194501Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715345:2560] disconnected.
2025-11-01T16:52:31.194537Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715345:2560] disconnected; active server actors: 1
2025-11-01T16:52:31.194558Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715345:2560] disconnected no session
2025-11-01T16:52:31.197291Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard_impl.cpp:7727: Cannot get console configs
2025-11-01T16:52:31.197333Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-11-01T16:52:31.202881Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715326:2560] (SourceId=sid_rand_2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.202927Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715326:2560] (SourceId=sid_rand_2, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-01T16:52:31.202946Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715326:2560] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.202979Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 13 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-01T16:52:31.204354Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:31.204479Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_2|be35c71-fb2caf97-c3f4f37c-97e8a23d_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_2
2025-11-01T16:52:31.204865Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 13 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_2|be35c71-fb2caf97-c3f4f37c-97e8a23d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_2|be35c71-fb2caf97-c3f4f37c-97e8a23d_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.208564Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId: sid_rand_2|be35c71-fb2caf97-c3f4f37c-97e8a23d_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.208602Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 13 sessionId: sid_rand_2|be35c71-fb2caf97-c3f4f37c-97e8a23d_0 grpc read failed
2025-11-01T16:52:31.208641Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 13 sessionId: sid_rand_2|be35c71-fb2caf97-c3f4f37c-97e8a23d_0 grpc closed
2025-11-01T16:52:31.208666Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 13 sessionId: sid_rand_2|be35c71-fb2caf97-c3f4f37c-97e8a23d_0 is DEAD
2025-11-01T16:52:31.209594Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.209745Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.209772Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 14
2025-11-01T16:52:31.210560Z 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-11-01T16:52:31.210724Z 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]:53482
2025-11-01T16:52:31.210753Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=14 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.210766Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.212815Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 14 sessionId:  describe result for acl check
2025-11-01T16:52:31.212992Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.213015Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.213029Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.213050Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715363:2564] (SourceId=sid_rand_3, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.217476Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715363:2564] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.224907Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715363:2564] (SourceId=sid_rand_3, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.225582Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715379:2564] connected; active server actors: 1
2025-11-01T16:52:31.225988Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715363:2564] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_3
2025-11-01T16:52:31.226015Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715363:2564] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.227153Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715379:2564] disconnected.
2025-11-01T16:52:31.227192Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715379:2564] disconnected; active server actors: 1
2025-11-01T16:52:31.227216Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715379:2564] disconnected no session
Init result: { 2025-11-01T16:52:31.236277Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715363:2564] (SourceId=sid_rand_3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
status: SUCCESS init_response { session_id: "sid_rand_3|7b992104-a5190957-aa97490a-ddf4d554_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }2025-11-01T16:52:31.236328Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715363:2564] (SourceId=sid_rand_3, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-01T16:52:31.236347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715363:2564] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.236383Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 14 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-01T16:52:31.237843Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:31.237976Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_3|7b992104-a5190957-aa97490a-ddf4d554_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_3
2025-11-01T16:52:31.238385Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 14 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_3|7b992104-a5190957-aa97490a-ddf4d554_0
2025-11-01T16:52:31.240475Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId: sid_rand_3|7b992104-a5190957-aa97490a-ddf4d554_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.240502Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 14 sessionId: sid_rand_3|7b992104-a5190957-aa97490a-ddf4d554_0 grpc read failed
2025-11-01T16:52:31.240556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 14 sessionId: sid_rand_3|7b992104-a5190957-aa97490a-ddf4d554_0
2025-11-01T16:52:31.240582Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 14 sessionId: sid_rand_3|7b992104-a5190957-aa97490a-ddf4d554_0 is DEAD
2025-11-01T16:52:31.240957Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.241491Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.241517Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 15
2025-11-01T16:52:31.241868Z 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-11-01T16:52:31.242036Z 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]:53482
2025-11-01T16:52:31.242058Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=15 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.242068Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.244106Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 15 sessionId:  describe result for acl check
2025-11-01T16:52:31.244295Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.244318Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.244345Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.244366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715397:2568] (SourceId=sid_rand_4, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.248420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715397:2568] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.255025Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715397:2568] (SourceId=sid_rand_4, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.255535Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715413:2568] connected; active server actors: 1
2025-11-01T16:52:31.256196Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715397:2568] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_4
2025-11-01T16:52:31.256225Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715397:2568] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.256702Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715413:2568] disconnected.
2025-11-01T16:52:31.256742Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715413:2568] disconnected; active server actors: 1
2025-11-01T16:52:31.256766Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715413:2568] disconnected no session
2025-11-01T16:52:31.273438Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715397:2568] (SourceId=sid_rand_4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.273507Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715397:2568] (SourceId=sid_rand_4, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-01T16:52:31.273529Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715397:2568] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.273568Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 15 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-01T16:52:31.274844Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:31.274993Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_4|e988cdb9-1dc86b78-79d3f530-2b5f682e_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_4
2025-11-01T16:52:31.275502Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 15 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_4|e988cdb9-1dc86b78-79d3f530-2b5f682e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_4|e988cdb9-1dc86b78-79d3f530-2b5f682e_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.278013Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId: sid_rand_4|e988cdb9-1dc86b78-79d3f530-2b5f682e_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.278044Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 15 sessionId: sid_rand_4|e988cdb9-1dc86b78-79d3f530-2b5f682e_0 grpc read failed
2025-11-01T16:52:31.278081Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 15 sessionId: sid_rand_4|e988cdb9-1dc86b78-79d3f530-2b5f682e_0 grpc closed
2025-11-01T16:52:31.278104Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 15 sessionId: sid_rand_4|e988cdb9-1dc86b78-79d3f530-2b5f682e_0 is DEAD
2025-11-01T16:52:31.278295Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.278327Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 16
2025-11-01T16:52:31.278742Z 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-11-01T16:52:31.278906Z 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]:53482
2025-11-01T16:52:31.278934Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=16 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.278947Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.279183Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.280886Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 16 sessionId:  describe result for acl check
2025-11-01T16:52:31.281056Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.281071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.281085Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.281105Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715432:2572] (SourceId=sid_rand_5, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.285571Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715432:2572] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.293393Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715432:2572] (SourceId=sid_rand_5, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.294497Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715448:2572] connected; active server actors: 1
2025-11-01T16:52:31.295239Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715432:2572] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_5
2025-11-01T16:52:31.295282Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715432:2572] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.295993Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715448:2572] disconnected.
2025-11-01T16:52:31.296028Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715448:2572] disconnected; active server actors: 1
2025-11-01T16:52:31.296049Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715448:2572] disconnected no session
2025-11-01T16:52:31.305285Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715432:2572] (SourceId=sid_rand_5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.305331Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715432:2572] (SourceId=sid_rand_5, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-01T16:52:31.305349Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715432:2572] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.305384Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 16 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-01T16:52:31.305916Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:31.306047Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_5|f9a7dd19-ccfb0381-e940a52c-abef3865_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_5
2025-11-01T16:52:31.306474Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 16 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_5|f9a7dd19-ccfb0381-e940a52c-abef3865_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_5|f9a7dd19-ccfb0381-e940a52c-abef3865_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.308661Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId: sid_rand_5|f9a7dd19-ccfb0381-e940a52c-abef3865_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.308687Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 16 sessionId: sid_rand_5|f9a7dd19-ccfb0381-e940a52c-abef3865_0 grpc read failed
2025-11-01T16:52:31.308719Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 16 sessionId: sid_rand_5|f9a7dd19-ccfb0381-e940a52c-abef3865_0 grpc closed
2025-11-01T16:52:31.308738Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 16 sessionId: sid_rand_5|f9a7dd19-ccfb0381-e940a52c-abef3865_0 is DEAD
2025-11-01T16:52:31.309799Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.309827Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 17
2025-11-01T16:52:31.309841Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.310157Z 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-11-01T16:52:31.310295Z 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]:53482
2025-11-01T16:52:31.310317Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=17 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.310328Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.312117Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 17 sessionId:  describe result for acl check
2025-11-01T16:52:31.312276Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.312291Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.312304Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.312322Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715473:2578] (SourceId=sid_rand_6, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.316370Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715473:2578] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.331516Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715473:2578] (SourceId=sid_rand_6, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.332448Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715493:2578] connected; active server actors: 1
2025-11-01T16:52:31.332785Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715473:2578] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_6
2025-11-01T16:52:31.332820Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715473:2578] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.333383Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715493:2578] disconnected.
2025-11-01T16:52:31.333419Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715493:2578] disconnected; active server actors: 1
2025-11-01T16:52:31.333441Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715493:2578] disconnected no session
2025-11-01T16:52:31.358705Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715473:2578] (SourceId=sid_rand_6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.358754Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715473:2578] (SourceId=sid_rand_6, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-01T16:52:31.358774Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715473:2578] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.358810Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 17 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-01T16:52:31.360334Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:31.360706Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_6|ca0a75bb-c6f44770-2622e2c8-69400cda_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_6
2025-11-01T16:52:31.361624Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 17 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_6|ca0a75bb-c6f44770-2622e2c8-69400cda_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_6|ca0a75bb-c6f44770-2622e2c8-69400cda_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.363919Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId: sid_rand_6|ca0a75bb-c6f44770-2622e2c8-69400cda_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.363941Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 17 sessionId: sid_rand_6|ca0a75bb-c6f44770-2622e2c8-69400cda_0 grpc read failed
2025-11-01T16:52:31.363968Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 17 sessionId: sid_rand_6|ca0a75bb-c6f44770-2622e2c8-69400cda_0 grpc closed
2025-11-01T16:52:31.363985Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 17 sessionId: sid_rand_6|ca0a75bb-c6f44770-2622e2c8-69400cda_0 is DEAD
2025-11-01T16:52:31.364754Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.364877Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.364897Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 18
2025-11-01T16:52:31.367755Z 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-11-01T16:52:31.367935Z 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]:53482
2025-11-01T16:52:31.367956Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=18 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.367967Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.372594Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 18 sessionId:  describe result for acl check
2025-11-01T16:52:31.372757Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.372779Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.372793Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.372813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715510:2582] (SourceId=sid_rand_7, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.376579Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715510:2582] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.386081Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715510:2582] (SourceId=sid_rand_7, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.387075Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715526:2582] connected; active server actors: 1
2025-11-01T16:52:31.387966Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715526:2582] disconnected.
2025-11-01T16:52:31.388011Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715526:2582] disconnected; active server actors: 1
2025-11-01T16:52:31.388037Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715526:2582] disconnected no session
2025-11-01T16:52:31.387461Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715510:2582] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_7
2025-11-01T16:52:31.387489Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715510:2582] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.401205Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715510:2582] (SourceId=sid_rand_7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.401259Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715510:2582] (SourceId=sid_rand_7, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-01T16:52:31.401274Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715510:2582] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.401308Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 18 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-01T16:52:31.402300Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:31.402581Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_7|708ed8e8-44605cf2-70e50fd3-9b50b96c_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_7
2025-11-01T16:52:31.403529Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 18 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_7|708ed8e8-44605cf2-70e50fd3-9b50b96c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_7|708ed8e8-44605cf2-70e50fd3-9b50b96c_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.409154Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId: sid_rand_7|708ed8e8-44605cf2-70e50fd3-9b50b96c_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.409192Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 18 sessionId: sid_rand_7|708ed8e8-44605cf2-70e50fd3-9b50b96c_0 grpc read failed
2025-11-01T16:52:31.409235Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 18 sessionId: sid_rand_7|708ed8e8-44605cf2-70e50fd3-9b50b96c_0 grpc closed
2025-11-01T16:52:31.409266Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 18 sessionId: sid_rand_7|708ed8e8-44605cf2-70e50fd3-9b50b96c_0 is DEAD
2025-11-01T16:52:31.410329Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.410353Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 19
2025-11-01T16:52:31.410587Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.410768Z 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-11-01T16:52:31.410898Z 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]:53482
2025-11-01T16:52:31.410927Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=19 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.410936Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.412474Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 19 sessionId:  describe result for acl check
2025-11-01T16:52:31.412611Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.412621Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.412630Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.412643Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715543:2586] (SourceId=sid_rand_8, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.415596Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715543:2586] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.422278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715543:2586] (SourceId=sid_rand_8, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.423168Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715559:2586] connected; active server actors: 1
2025-11-01T16:52:31.423643Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715543:2586] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_8
2025-11-01T16:52:31.423666Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715543:2586] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.424815Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715559:2586] disconnected.
2025-11-01T16:52:31.424862Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715559:2586] disconnected; active server actors: 1
2025-11-01T16:52:31.424888Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715559:2586] disconnected no session
2025-11-01T16:52:31.433053Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715543:2586] (SourceId=sid_rand_8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.433107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715543:2586] (SourceId=sid_rand_8, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-01T16:52:31.433128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715543:2586] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.433166Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 19 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-01T16:52:31.435228Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:31.435460Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_8|a47b7ea6-161e3840-45bd76e1-8c057fc7_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_8
2025-11-01T16:52:31.435930Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 19 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_8|a47b7ea6-161e3840-45bd76e1-8c057fc7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_8|a47b7ea6-161e3840-45bd76e1-8c057fc7_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.438561Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId: sid_rand_8|a47b7ea6-161e3840-45bd76e1-8c057fc7_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.438592Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 19 sessionId: sid_rand_8|a47b7ea6-161e3840-45bd76e1-8c057fc7_0 grpc read failed
2025-11-01T16:52:31.438624Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 19 sessionId: sid_rand_8|a47b7ea6-161e3840-45bd76e1-8c057fc7_0 grpc closed
2025-11-01T16:52:31.438646Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 19 sessionId: sid_rand_8|a47b7ea6-161e3840-45bd76e1-8c057fc7_0 is DEAD
2025-11-01T16:52:31.439505Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.439645Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.439671Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 20
2025-11-01T16:52:31.443503Z 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-11-01T16:52:31.443681Z 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]:53482
2025-11-01T16:52:31.443711Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=20 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.443724Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.445679Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 20 sessionId:  describe result for acl check
2025-11-01T16:52:31.445852Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.445867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.445881Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.445900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715583:2591] (SourceId=sid_rand_9, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.449888Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715583:2591] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.459964Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715583:2591] (SourceId=sid_rand_9, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.460549Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715604:2591] connected; active server actors: 1
2025-11-01T16:52:31.461281Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715583:2591] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_9
2025-11-01T16:52:31.461309Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715583:2591] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.462659Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715604:2591] disconnected.
2025-11-01T16:52:31.462697Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715604:2591] disconnected; active server actors: 1
2025-11-01T16:52:31.462720Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715604:2591] disconnected no session
2025-11-01T16:52:31.475200Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_9|9a3d70be-ba9c3201-78db8c6f-a84c3a3a_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_9
2025-11-01T16:52:31.473855Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715583:2591] (SourceId=sid_rand_9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.473894Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715583:2591] (SourceId=sid_rand_9, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-01T16:52:31.473909Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715583:2591] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.473938Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 20 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-01T16:52:31.474911Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:31.476144Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 20 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_9|9a3d70be-ba9c3201-78db8c6f-a84c3a3a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_9|9a3d70be-ba9c3201-78db8c6f-a84c3a3a_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.478843Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId: sid_rand_9|9a3d70be-ba9c3201-78db8c6f-a84c3a3a_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.478867Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 20 sessionId: sid_rand_9|9a3d70be-ba9c3201-78db8c6f-a84c3a3a_0 grpc read failed
2025-11-01T16:52:31.478898Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 20 sessionId: sid_rand_9|9a3d70be-ba9c3201-78db8c6f-a84c3a3a_0 grpc closed
2025-11-01T16:52:31.478920Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 20 sessionId: sid_rand_9|9a3d70be-ba9c3201-78db8c6f-a84c3a3a_0 is DEAD
2025-11-01T16:52:31.479518Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.479541Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 21
2025-11-01T16:52:31.479772Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.481056Z 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-11-01T16:52:31.481193Z 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]:53482
2025-11-01T16:52:31.481219Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=21 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.481229Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.482674Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 21 sessionId:  describe result for acl check
2025-11-01T16:52:31.482799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.482813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.482822Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.482836Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715621:2595] (SourceId=sid_rand_10, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.486664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715621:2595] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.494416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715621:2595] (SourceId=sid_rand_10, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.494865Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715638:2595] connected; active server actors: 1
2025-11-01T16:52:31.495188Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715621:2595] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_10
2025-11-01T16:52:31.495216Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715621:2595] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.495722Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715638:2595] disconnected.
2025-11-01T16:52:31.495757Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715638:2595] disconnected; active server actors: 1
2025-11-01T16:52:31.495787Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715638:2595] disconnected no session
2025-11-01T16:52:31.506000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715621:2595] (SourceId=sid_rand_10, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.506054Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715621:2595] (SourceId=sid_rand_10, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-01T16:52:31.506075Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715621:2595] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.506115Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 21 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-01T16:52:31.506717Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
Init result: { 2025-11-01T16:52:31.506864Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_10|f46b8876-e22be67b-a8c5808d-c5b6608a_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_10
2025-11-01T16:52:31.507369Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 21 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_10|f46b8876-e22be67b-a8c5808d-c5b6608a_0
status: SUCCESS init_response { session_id: "sid_rand_10|f46b8876-e22be67b-a8c5808d-c5b6608a_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.509079Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId: sid_rand_10|f46b8876-e22be67b-a8c5808d-c5b6608a_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.509108Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 21 sessionId: sid_rand_10|f46b8876-e22be67b-a8c5808d-c5b6608a_0 grpc read failed
2025-11-01T16:52:31.509151Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 21 sessionId: sid_rand_10|f46b8876-e22be67b-a8c5808d-c5b6608a_0
2025-11-01T16:52:31.509175Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 21 sessionId: sid_rand_10|f46b8876-e22be67b-a8c5808d-c5b6608a_0 is DEAD
2025-11-01T16:52:31.509548Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.510038Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.510063Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 22
2025-11-01T16:52:31.510383Z 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-11-01T16:52:31.510528Z 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]:53482
2025-11-01T16:52:31.510554Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=22 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.510566Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.512330Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 22 sessionId:  describe result for acl check
2025-11-01T16:52:31.512497Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.512527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.512541Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.512560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715656:2599] (SourceId=sid_rand_11, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.516547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715656:2599] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.522774Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715656:2599] (SourceId=sid_rand_11, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.523423Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715672:2599] connected; active server actors: 1
2025-11-01T16:52:31.523861Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715656:2599] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_11
2025-11-01T16:52:31.523889Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715656:2599] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.524680Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715672:2599] disconnected.
2025-11-01T16:52:31.524714Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715672:2599] disconnected; active server actors: 1
2025-11-01T16:52:31.524736Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715672:2599] disconnected no session
2025-11-01T16:52:31.534788Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715656:2599] (SourceId=sid_rand_11, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.534842Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715656:2599] (SourceId=sid_rand_11, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-01T16:52:31.534864Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715656:2599] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.534905Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 22 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-01T16:52:31.536138Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:31.536889Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_11|e6912386-67bb8672-9de530b0-3aeb7063_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_11
2025-11-01T16:52:31.537440Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 22 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_11|e6912386-67bb8672-9de530b0-3aeb7063_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_11|e6912386-67bb8672-9de530b0-3aeb7063_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.539988Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId: sid_rand_11|e6912386-67bb8672-9de530b0-3aeb7063_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.540018Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 22 sessionId: sid_rand_11|e6912386-67bb8672-9de530b0-3aeb7063_0 grpc read failed
2025-11-01T16:52:31.540051Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 22 sessionId: sid_rand_11|e6912386-67bb8672-9de530b0-3aeb7063_0 grpc closed
2025-11-01T16:52:31.540075Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 22 sessionId: sid_rand_11|e6912386-67bb8672-9de530b0-3aeb7063_0 is DEAD
2025-11-01T16:52:31.540306Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.540327Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 23
2025-11-01T16:52:31.540650Z 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-11-01T16:52:31.540809Z 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]:53482
2025-11-01T16:52:31.540834Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=23 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.540845Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.540976Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.542297Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 23 sessionId:  describe result for acl check
2025-11-01T16:52:31.542440Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.542459Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.542472Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.542490Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715693:2603] (SourceId=sid_rand_12, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.545460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715693:2603] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.559052Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715693:2603] (SourceId=sid_rand_12, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.559514Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715709:2603] connected; active server actors: 1
2025-11-01T16:52:31.560955Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715693:2603] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_12
2025-11-01T16:52:31.560990Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715693:2603] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.562003Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715709:2603] disconnected.
2025-11-01T16:52:31.562041Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715709:2603] disconnected; active server actors: 1
2025-11-01T16:52:31.562063Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715709:2603] disconnected no session
2025-11-01T16:52:31.570779Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715693:2603] (SourceId=sid_rand_12, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.570834Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715693:2603] (SourceId=sid_rand_12, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-01T16:52:31.570853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715693:2603] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.570891Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 23 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-01T16:52:31.572179Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:31.572444Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_12|1ce90be-191b144a-855d29eb-1e874a29_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_12
2025-11-01T16:52:31.572952Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 23 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_12|1ce90be-191b144a-855d29eb-1e874a29_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_12|1ce90be-191b144a-855d29eb-1e874a29_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.574680Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId: sid_rand_12|1ce90be-191b144a-855d29eb-1e874a29_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.574708Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 23 sessionId: sid_rand_12|1ce90be-191b144a-855d29eb-1e874a29_0 grpc read failed
2025-11-01T16:52:31.574748Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 23 sessionId: sid_rand_12|1ce90be-191b144a-855d29eb-1e874a29_0
2025-11-01T16:52:31.574771Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 23 sessionId: sid_rand_12|1ce90be-191b144a-855d29eb-1e874a29_0 is DEAD
2025-11-01T16:52:31.575158Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.576011Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.576041Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 24
2025-11-01T16:52:31.576802Z 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-11-01T16:52:31.576969Z 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]:53482
2025-11-01T16:52:31.576997Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=24 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.577007Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.578709Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 24 sessionId:  describe result for acl check
2025-11-01T16:52:31.578834Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.578847Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.578857Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.578871Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715727:2607] (SourceId=sid_rand_13, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.582527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715727:2607] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.589020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715727:2607] (SourceId=sid_rand_13, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.589569Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715746:2607] connected; active server actors: 1
2025-11-01T16:52:31.590099Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715727:2607] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_13
2025-11-01T16:52:31.590128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715727:2607] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.590601Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715746:2607] disconnected.
2025-11-01T16:52:31.590634Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715746:2607] disconnected; active server actors: 1
2025-11-01T16:52:31.590657Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715746:2607] disconnected no session
2025-11-01T16:52:31.602293Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715727:2607] (SourceId=sid_rand_13, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.602347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715727:2607] (SourceId=sid_rand_13, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-01T16:52:31.602367Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715727:2607] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.602408Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 24 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-01T16:52:31.604459Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:31.604695Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_13|96ce6a69-c87ee8a2-fae81bcd-dcb57269_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_13
2025-11-01T16:52:31.605502Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 24 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_13|96ce6a69-c87ee8a2-fae81bcd-dcb57269_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_13|96ce6a69-c87ee8a2-fae81bcd-dcb57269_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.608362Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId: sid_rand_13|96ce6a69-c87ee8a2-fae81bcd-dcb57269_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.608389Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 24 sessionId: sid_rand_13|96ce6a69-c87ee8a2-fae81bcd-dcb57269_0 grpc read failed
2025-11-01T16:52:31.608420Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 24 sessionId: sid_rand_13|96ce6a69-c87ee8a2-fae81bcd-dcb57269_0 grpc closed
2025-11-01T16:52:31.608444Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 24 sessionId: sid_rand_13|96ce6a69-c87ee8a2-fae81bcd-dcb57269_0 is DEAD
2025-11-01T16:52:31.609341Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.609478Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.609499Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 25
2025-11-01T16:52:31.612493Z 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-11-01T16:52:31.612687Z 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]:53482
2025-11-01T16:52:31.612716Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=25 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.612727Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.614602Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 25 sessionId:  describe result for acl check
2025-11-01T16:52:31.614775Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.614794Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.614807Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.614829Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715764:2611] (SourceId=sid_rand_14, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.619128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715764:2611] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.626272Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715764:2611] (SourceId=sid_rand_14, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.626709Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715780:2611] connected; active server actors: 1
2025-11-01T16:52:31.627213Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715764:2611] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_14
2025-11-01T16:52:31.627254Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715764:2611] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.627755Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715780:2611] disconnected.
2025-11-01T16:52:31.627783Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715780:2611] disconnected; active server actors: 1
2025-11-01T16:52:31.627799Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715780:2611] disconnected no session
2025-11-01T16:52:31.644519Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715764:2611] (SourceId=sid_rand_14, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.644571Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715764:2611] (SourceId=sid_rand_14, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-01T16:52:31.644593Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715764:2611] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.644633Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 25 sessionId:  partition: 7 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_14|9b5362e5-54d9acf7-c4107be8-b89f4cbd_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.645699Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:31.645891Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_14|9b5362e5-54d9acf7-c4107be8-b89f4cbd_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_14
2025-11-01T16:52:31.646336Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 25 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_14|9b5362e5-54d9acf7-c4107be8-b89f4cbd_0
2025-11-01T16:52:31.648556Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId: sid_rand_14|9b5362e5-54d9acf7-c4107be8-b89f4cbd_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.648575Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 25 sessionId: sid_rand_14|9b5362e5-54d9acf7-c4107be8-b89f4cbd_0 grpc read failed
2025-11-01T16:52:31.648604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 25 sessionId: sid_rand_14|9b5362e5-54d9acf7-c4107be8-b89f4cbd_0 grpc closed
2025-11-01T16:52:31.648625Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 25 sessionId: sid_rand_14|9b5362e5-54d9acf7-c4107be8-b89f4cbd_0 is DEAD
2025-11-01T16:52:31.648946Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.648967Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 26
2025-11-01T16:52:31.649318Z 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-11-01T16:52:31.649471Z 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]:53482
2025-11-01T16:52:31.649503Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=26 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.649514Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.649653Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.651417Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 26 sessionId:  describe result for acl check
2025-11-01T16:52:31.651565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.651580Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.651592Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.651612Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715798:2615] (SourceId=sid_rand_15, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.655601Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715798:2615] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.662230Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715798:2615] (SourceId=sid_rand_15, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.662896Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715815:2615] connected; active server actors: 1
2025-11-01T16:52:31.663230Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715798:2615] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_15
2025-11-01T16:52:31.663273Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715798:2615] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.663710Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715815:2615] disconnected.
2025-11-01T16:52:31.663743Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715815:2615] disconnected; active server actors: 1
2025-11-01T16:52:31.663764Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715815:2615] disconnected no session
2025-11-01T16:52:31.674432Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715798:2615] (SourceId=sid_rand_15, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.674482Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715798:2615] (SourceId=sid_rand_15, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-01T16:52:31.674503Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715798:2615] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.674540Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 26 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-01T16:52:31.676865Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:31.677181Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_15|749374a-7870bf87-7f94d940-490c6cbf_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_15
2025-11-01T16:52:31.678160Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 26 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_15|749374a-7870bf87-7f94d940-490c6cbf_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_15|749374a-7870bf87-7f94d940-490c6cbf_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.680363Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId: sid_rand_15|749374a-7870bf87-7f94d940-490c6cbf_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.680400Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 26 sessionId: sid_rand_15|749374a-7870bf87-7f94d940-490c6cbf_0 grpc read failed
2025-11-01T16:52:31.680569Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 26 sessionId: sid_rand_15|749374a-7870bf87-7f94d940-490c6cbf_0
2025-11-01T16:52:31.680598Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 26 sessionId: sid_rand_15|749374a-7870bf87-7f94d940-490c6cbf_0 is DEAD
2025-11-01T16:52:31.680867Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.680897Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 27
2025-11-01T16:52:31.681044Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.681201Z 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-11-01T16:52:31.681345Z 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]:53482
2025-11-01T16:52:31.681370Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=27 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.681381Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.683265Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 27 sessionId:  describe result for acl check
2025-11-01T16:52:31.683433Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.683458Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.683470Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.683490Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715832:2619] (SourceId=sid_rand_16, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.687497Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715832:2619] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.694562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715832:2619] (SourceId=sid_rand_16, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.695536Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715848:2619] connected; active server actors: 1
2025-11-01T16:52:31.696246Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715832:2619] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_16
2025-11-01T16:52:31.696277Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715832:2619] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.696818Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715848:2619] disconnected.
2025-11-01T16:52:31.696853Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715848:2619] disconnected; active server actors: 1
2025-11-01T16:52:31.696875Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715848:2619] disconnected no session
2025-11-01T16:52:31.708598Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715832:2619] (SourceId=sid_rand_16, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.708652Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715832:2619] (SourceId=sid_rand_16, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-01T16:52:31.708673Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715832:2619] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.708712Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 27 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-01T16:52:31.710255Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:31.710406Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_16|bd238516-7432a49f-871d507e-a1ddd59a_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_16
2025-11-01T16:52:31.710869Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 27 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_16|bd238516-7432a49f-871d507e-a1ddd59a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_16|bd238516-7432a49f-871d507e-a1ddd59a_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.713010Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId: sid_rand_16|bd238516-7432a49f-871d507e-a1ddd59a_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.713037Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 27 sessionId: sid_rand_16|bd238516-7432a49f-871d507e-a1ddd59a_0 grpc read failed
2025-11-01T16:52:31.713360Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 27 sessionId: sid_rand_16|bd238516-7432a49f-871d507e-a1ddd59a_0
2025-11-01T16:52:31.713391Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 27 sessionId: sid_rand_16|bd238516-7432a49f-871d507e-a1ddd59a_0 is DEAD
2025-11-01T16:52:31.713396Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.713418Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 28
2025-11-01T16:52:31.713748Z 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-11-01T16:52:31.713885Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.713914Z 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]:53482
2025-11-01T16:52:31.713943Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=28 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.713954Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.717476Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 28 sessionId:  describe result for acl check
2025-11-01T16:52:31.717667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.717685Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.717698Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.717720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715866:2623] (SourceId=sid_rand_17, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.721846Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715866:2623] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.730811Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715866:2623] (SourceId=sid_rand_17, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.731335Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715885:2623] connected; active server actors: 1
2025-11-01T16:52:31.731702Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715866:2623] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_17
2025-11-01T16:52:31.731728Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715866:2623] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.732391Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715885:2623] disconnected.
2025-11-01T16:52:31.732427Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715885:2623] disconnected; active server actors: 1
2025-11-01T16:52:31.732450Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715885:2623] disconnected no session
2025-11-01T16:52:31.742745Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715866:2623] (SourceId=sid_rand_17, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.742794Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715866:2623] (SourceId=sid_rand_17, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-01T16:52:31.742815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715866:2623] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.742852Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 28 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-01T16:52:31.744502Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:31.744651Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_17|a3f2338d-1b33469a-8e49f04e-210eeccb_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_17
2025-11-01T16:52:31.745132Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 28 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_17|a3f2338d-1b33469a-8e49f04e-210eeccb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_17|a3f2338d-1b33469a-8e49f04e-210eeccb_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.746773Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId: sid_rand_17|a3f2338d-1b33469a-8e49f04e-210eeccb_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.746798Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 28 sessionId: sid_rand_17|a3f2338d-1b33469a-8e49f04e-210eeccb_0 grpc read failed
2025-11-01T16:52:31.746841Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 28 sessionId: sid_rand_17|a3f2338d-1b33469a-8e49f04e-210eeccb_0
2025-11-01T16:52:31.746865Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 28 sessionId: sid_rand_17|a3f2338d-1b33469a-8e49f04e-210eeccb_0 is DEAD
2025-11-01T16:52:31.747311Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.747855Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.747883Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 29
2025-11-01T16:52:31.748267Z 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-11-01T16:52:31.748413Z 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]:53482
2025-11-01T16:52:31.748433Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=29 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.748443Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.750470Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 29 sessionId:  describe result for acl check
2025-11-01T16:52:31.750626Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.750640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.750652Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.750672Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715903:2627] (SourceId=sid_rand_18, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.755157Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715903:2627] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.762873Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715921:2627] connected; active server actors: 1
2025-11-01T16:52:31.761794Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715903:2627] (SourceId=sid_rand_18, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.763148Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715903:2627] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_18
2025-11-01T16:52:31.763179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715903:2627] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.763699Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715921:2627] disconnected.
2025-11-01T16:52:31.763731Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715921:2627] disconnected; active server actors: 1
2025-11-01T16:52:31.763764Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715921:2627] disconnected no session
2025-11-01T16:52:31.773933Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715903:2627] (SourceId=sid_rand_18, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.773980Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715903:2627] (SourceId=sid_rand_18, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-01T16:52:31.774000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715903:2627] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.774037Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 29 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-01T16:52:31.774787Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:31.774979Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_18|253ec372-830e78ec-5a96d531-5f5b3faf_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_18
2025-11-01T16:52:31.775472Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 29 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_18|253ec372-830e78ec-5a96d531-5f5b3faf_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_18|253ec372-830e78ec-5a96d531-5f5b3faf_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.780020Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId: sid_rand_18|253ec372-830e78ec-5a96d531-5f5b3faf_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.780049Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 29 sessionId: sid_rand_18|253ec372-830e78ec-5a96d531-5f5b3faf_0 grpc read failed
2025-11-01T16:52:31.780088Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 29 sessionId: sid_rand_18|253ec372-830e78ec-5a96d531-5f5b3faf_0 grpc closed
2025-11-01T16:52:31.780112Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 29 sessionId: sid_rand_18|253ec372-830e78ec-5a96d531-5f5b3faf_0 is DEAD
2025-11-01T16:52:31.781022Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.783526Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.783555Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 30
2025-11-01T16:52:31.783970Z 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-11-01T16:52:31.784137Z 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]:53482
2025-11-01T16:52:31.784164Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=30 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.784192Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.785965Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 30 sessionId:  describe result for acl check
2025-11-01T16:52:31.786131Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.786156Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.786168Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.786189Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715940:2632] (SourceId=sid_rand_19, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.790221Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715940:2632] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.797330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715940:2632] (SourceId=sid_rand_19, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.798227Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715956:2632] connected; active server actors: 1
2025-11-01T16:52:31.798572Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715940:2632] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_19
2025-11-01T16:52:31.798600Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715940:2632] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.799808Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715956:2632] disconnected.
2025-11-01T16:52:31.799842Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715956:2632] disconnected; active server actors: 1
2025-11-01T16:52:31.799865Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715956:2632] disconnected no session
2025-11-01T16:52:31.815066Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715940:2632] (SourceId=sid_rand_19, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.815127Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715940:2632] (SourceId=sid_rand_19, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-01T16:52:31.815166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715940:2632] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.815232Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 30 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-01T16:52:31.816771Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:31.816969Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_19|fd8a2a23-fbd517a8-91c27e5f-678233ba_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_19
2025-11-01T16:52:31.817631Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 30 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_19|fd8a2a23-fbd517a8-91c27e5f-678233ba_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_19|fd8a2a23-fbd517a8-91c27e5f-678233ba_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.823453Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId: sid_rand_19|fd8a2a23-fbd517a8-91c27e5f-678233ba_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.823483Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 30 sessionId: sid_rand_19|fd8a2a23-fbd517a8-91c27e5f-678233ba_0 grpc read failed
2025-11-01T16:52:31.823513Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 30 sessionId: sid_rand_19|fd8a2a23-fbd517a8-91c27e5f-678233ba_0 grpc closed
2025-11-01T16:52:31.823534Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 30 sessionId: sid_rand_19|fd8a2a23-fbd517a8-91c27e5f-678233ba_0 is DEAD
2025-11-01T16:52:31.824407Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.824540Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.824558Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 31
2025-11-01T16:52:31.827020Z 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-11-01T16:52:31.827177Z 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]:53482
2025-11-01T16:52:31.827210Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=31 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.827222Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.828773Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 31 sessionId:  describe result for acl check
2025-11-01T16:52:31.828910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.828924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.828936Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.828957Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495715979:2636] (SourceId=sid_rand_20, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.832709Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495715979:2636] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.846604Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715995:2636] connected; active server actors: 1
2025-11-01T16:52:31.847287Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715995:2636] disconnected.
2025-11-01T16:52:31.847310Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715995:2636] disconnected; active server actors: 1
2025-11-01T16:52:31.847324Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495715995:2636] disconnected no session
2025-11-01T16:52:31.845810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495715979:2636] (SourceId=sid_rand_20, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.846872Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495715979:2636] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_20
2025-11-01T16:52:31.846890Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495715979:2636] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.860211Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495715979:2636] (SourceId=sid_rand_20, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.860258Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495715979:2636] (SourceId=sid_rand_20, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-01T16:52:31.860277Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495715979:2636] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.860311Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 31 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-01T16:52:31.861643Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:31.861763Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_20|b47280c6-72c03a31-e5474435-d8228bf2_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_20
2025-11-01T16:52:31.862152Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 31 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_20|b47280c6-72c03a31-e5474435-d8228bf2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_20|b47280c6-72c03a31-e5474435-d8228bf2_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.864951Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId: sid_rand_20|b47280c6-72c03a31-e5474435-d8228bf2_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.864980Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 31 sessionId: sid_rand_20|b47280c6-72c03a31-e5474435-d8228bf2_0 grpc read failed
2025-11-01T16:52:31.865010Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 31 sessionId: sid_rand_20|b47280c6-72c03a31-e5474435-d8228bf2_0 grpc closed
2025-11-01T16:52:31.865031Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 31 sessionId: sid_rand_20|b47280c6-72c03a31-e5474435-d8228bf2_0 is DEAD
2025-11-01T16:52:31.866033Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.866235Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.866253Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 32
2025-11-01T16:52:31.866761Z 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-11-01T16:52:31.866901Z 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]:53482
2025-11-01T16:52:31.866920Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=32 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.866932Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.868611Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 32 sessionId:  describe result for acl check
2025-11-01T16:52:31.868758Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.868773Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.868785Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.868806Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495716022:2646] (SourceId=sid_rand_21, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.872853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495716022:2646] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.882419Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495716022:2646] (SourceId=sid_rand_21, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.883401Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495716041:2646] connected; active server actors: 1
2025-11-01T16:52:31.883589Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495716022:2646] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_21
2025-11-01T16:52:31.883615Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495716022:2646] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.884302Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495716041:2646] disconnected.
2025-11-01T16:52:31.884329Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495716041:2646] disconnected; active server actors: 1
2025-11-01T16:52:31.884348Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495716041:2646] disconnected no session
2025-11-01T16:52:31.897714Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495716022:2646] (SourceId=sid_rand_21, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.897766Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495716022:2646] (SourceId=sid_rand_21, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-01T16:52:31.897788Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495716022:2646] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.897826Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 32 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-01T16:52:31.899640Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:31.899895Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_21|9d5a45a3-15531a79-3f174dea-32dc3880_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_21
2025-11-01T16:52:31.900432Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 32 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_21|9d5a45a3-15531a79-3f174dea-32dc3880_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_21|9d5a45a3-15531a79-3f174dea-32dc3880_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.902906Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId: sid_rand_21|9d5a45a3-15531a79-3f174dea-32dc3880_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.902927Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 32 sessionId: sid_rand_21|9d5a45a3-15531a79-3f174dea-32dc3880_0 grpc read failed
2025-11-01T16:52:31.902954Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 32 sessionId: sid_rand_21|9d5a45a3-15531a79-3f174dea-32dc3880_0 grpc closed
2025-11-01T16:52:31.902975Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 32 sessionId: sid_rand_21|9d5a45a3-15531a79-3f174dea-32dc3880_0 is DEAD
2025-11-01T16:52:31.903809Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.903932Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.903950Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 33
2025-11-01T16:52:31.907674Z 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-11-01T16:52:31.907795Z 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]:53482
2025-11-01T16:52:31.907811Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=33 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.907822Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.909234Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 33 sessionId:  describe result for acl check
2025-11-01T16:52:31.909352Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.909366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.909376Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.909390Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495716059:2650] (SourceId=sid_rand_22, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.912565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495716059:2650] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.929557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495716059:2650] (SourceId=sid_rand_22, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.930820Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495716075:2650] connected; active server actors: 1
2025-11-01T16:52:31.932483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495716059:2650] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_22
2025-11-01T16:52:31.932519Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495716059:2650] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.933786Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495716075:2650] disconnected.
2025-11-01T16:52:31.933822Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495716075:2650] disconnected; active server actors: 1
2025-11-01T16:52:31.933841Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495716075:2650] disconnected no session
2025-11-01T16:52:31.947574Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495716059:2650] (SourceId=sid_rand_22, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.947618Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495716059:2650] (SourceId=sid_rand_22, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-01T16:52:31.947638Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495716059:2650] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.947679Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 33 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-01T16:52:31.949909Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:31.950241Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_22|c2c38b6c-a6fbea02-7a4620aa-69faf71a_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_22
2025-11-01T16:52:31.951113Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 33 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_22|c2c38b6c-a6fbea02-7a4620aa-69faf71a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_22|c2c38b6c-a6fbea02-7a4620aa-69faf71a_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:31.953022Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId: sid_rand_22|c2c38b6c-a6fbea02-7a4620aa-69faf71a_0 grpc read done: success: 0 data: 
2025-11-01T16:52:31.953055Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 33 sessionId: sid_rand_22|c2c38b6c-a6fbea02-7a4620aa-69faf71a_0 grpc read failed
2025-11-01T16:52:31.953429Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 33 sessionId: sid_rand_22|c2c38b6c-a6fbea02-7a4620aa-69faf71a_0
2025-11-01T16:52:31.953458Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 33 sessionId: sid_rand_22|c2c38b6c-a6fbea02-7a4620aa-69faf71a_0 is DEAD
2025-11-01T16:52:31.953904Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:31.954050Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:31.954069Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 34
2025-11-01T16:52:31.955188Z 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-11-01T16:52:31.955373Z 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]:53482
2025-11-01T16:52:31.955394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=34 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:31.955406Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:31.961529Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 34 sessionId:  describe result for acl check
2025-11-01T16:52:31.961703Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:31.961717Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:31.961729Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:31.961748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800886495716093:2654] (SourceId=sid_rand_23, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:31.969309Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800886495716093:2654] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:31.978240Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800886495716093:2654] (SourceId=sid_rand_23, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:31.979296Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495716109:2654] connected; active server actors: 1
2025-11-01T16:52:31.979835Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800886495716093:2654] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_23
2025-11-01T16:52:31.979874Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800886495716093:2654] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:31.980440Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495716109:2654] disconnected.
2025-11-01T16:52:31.980473Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495716109:2654] disconnected; active server actors: 1
2025-11-01T16:52:31.980497Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800886495716109:2654] disconnected no session
2025-11-01T16:52:31.997869Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800886495716093:2654] (SourceId=sid_rand_23, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:31.997924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800886495716093:2654] (SourceId=sid_rand_23, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-01T16:52:31.997948Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800886495716093:2654] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:31.997993Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 34 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-01T16:52:32.003985Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:32.007706Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_23|603dbfc-a0b19591-ae35689c-7c5daeb_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_23
2025-11-01T16:52:32.012092Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 34 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_23|603dbfc-a0b19591-ae35689c-7c5daeb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_23|603dbfc-a0b19591-ae35689c-7c5daeb_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.019348Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId: sid_rand_23|603dbfc-a0b19591-ae35689c-7c5daeb_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.019384Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 34 sessionId: sid_rand_23|603dbfc-a0b19591-ae35689c-7c5daeb_0 grpc read failed
2025-11-01T16:52:32.019434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 34 sessionId: sid_rand_23|603dbfc-a0b19591-ae35689c-7c5daeb_0 grpc closed
2025-11-01T16:52:32.019458Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 34 sessionId: sid_rand_23|603dbfc-a0b19591-ae35689c-7c5daeb_0 is DEAD
2025-11-01T16:52:32.020645Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.020791Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.020811Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 35
2025-11-01T16:52:32.021163Z 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-11-01T16:52:32.021315Z 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]:53482
2025-11-01T16:52:32.021336Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=35 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.021348Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.023219Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 35 sessionId:  describe result for acl check
2025-11-01T16:52:32.023396Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.023410Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.023424Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.023445Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790683422:2658] (SourceId=sid_rand_24, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.027829Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790683422:2658] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.040738Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790683422:2658] (SourceId=sid_rand_24, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.044972Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790683422:2658] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_24
2025-11-01T16:52:32.043661Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683441:2658] connected; active server actors: 1
2025-11-01T16:52:32.045006Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790683422:2658] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.046314Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683441:2658] disconnected.
2025-11-01T16:52:32.046342Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683441:2658] disconnected; active server actors: 1
2025-11-01T16:52:32.046362Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683441:2658] disconnected no session
2025-11-01T16:52:32.062227Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790683422:2658] (SourceId=sid_rand_24, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.062289Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790683422:2658] (SourceId=sid_rand_24, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-01T16:52:32.062308Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790683422:2658] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.062349Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 35 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-01T16:52:32.068192Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:32.068490Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_24|c2da7fb6-f7f5209b-9d67140-592034a1_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_24
2025-11-01T16:52:32.069046Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 35 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_24|c2da7fb6-f7f5209b-9d67140-592034a1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_24|c2da7fb6-f7f5209b-9d67140-592034a1_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.071468Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId: sid_rand_24|c2da7fb6-f7f5209b-9d67140-592034a1_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.071494Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 35 sessionId: sid_rand_24|c2da7fb6-f7f5209b-9d67140-592034a1_0 grpc read failed
2025-11-01T16:52:32.071522Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 35 sessionId: sid_rand_24|c2da7fb6-f7f5209b-9d67140-592034a1_0 grpc closed
2025-11-01T16:52:32.071545Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 35 sessionId: sid_rand_24|c2da7fb6-f7f5209b-9d67140-592034a1_0 is DEAD
2025-11-01T16:52:32.072379Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.072519Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.072538Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 36
2025-11-01T16:52:32.073094Z 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-11-01T16:52:32.073240Z 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]:53482
2025-11-01T16:52:32.073260Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=36 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.073270Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.075067Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 36 sessionId:  describe result for acl check
2025-11-01T16:52:32.075229Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.075260Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.075273Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.075293Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790683462:2662] (SourceId=sid_rand_25, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.079179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790683462:2662] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.090265Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790683462:2662] (SourceId=sid_rand_25, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.091609Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683478:2662] connected; active server actors: 1
2025-11-01T16:52:32.092131Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790683462:2662] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_25
2025-11-01T16:52:32.092159Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790683462:2662] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.093390Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683478:2662] disconnected.
2025-11-01T16:52:32.093425Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683478:2662] disconnected; active server actors: 1
2025-11-01T16:52:32.093446Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683478:2662] disconnected no session
2025-11-01T16:52:32.114928Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790683462:2662] (SourceId=sid_rand_25, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.114987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790683462:2662] (SourceId=sid_rand_25, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-01T16:52:32.115009Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790683462:2662] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.115053Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 36 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-01T16:52:32.117357Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:32.119679Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_25|dbda949d-3ffd2911-eb3696c5-f920d41e_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_25
2025-11-01T16:52:32.121369Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 36 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_25|dbda949d-3ffd2911-eb3696c5-f920d41e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_25|dbda949d-3ffd2911-eb3696c5-f920d41e_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.124943Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId: sid_rand_25|dbda949d-3ffd2911-eb3696c5-f920d41e_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.124984Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 36 sessionId: sid_rand_25|dbda949d-3ffd2911-eb3696c5-f920d41e_0 grpc read failed
2025-11-01T16:52:32.125277Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 36 sessionId: sid_rand_25|dbda949d-3ffd2911-eb3696c5-f920d41e_0
2025-11-01T16:52:32.125310Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 36 sessionId: sid_rand_25|dbda949d-3ffd2911-eb3696c5-f920d41e_0 is DEAD
2025-11-01T16:52:32.125751Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.125906Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.125930Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 37
2025-11-01T16:52:32.126537Z 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-11-01T16:52:32.126714Z 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]:53482
2025-11-01T16:52:32.126745Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=37 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.126756Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.128565Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 37 sessionId:  describe result for acl check
2025-11-01T16:52:32.128732Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.128753Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.128766Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.128788Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790683495:2666] (SourceId=sid_rand_26, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.132722Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790683495:2666] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.140497Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790683495:2666] (SourceId=sid_rand_26, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.141515Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683511:2666] connected; active server actors: 1
2025-11-01T16:52:32.141968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790683495:2666] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_26
2025-11-01T16:52:32.141993Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790683495:2666] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.143191Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683511:2666] disconnected.
2025-11-01T16:52:32.143223Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683511:2666] disconnected; active server actors: 1
2025-11-01T16:52:32.143264Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683511:2666] disconnected no session
2025-11-01T16:52:32.158047Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790683495:2666] (SourceId=sid_rand_26, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.158100Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790683495:2666] (SourceId=sid_rand_26, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-01T16:52:32.158123Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790683495:2666] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.158153Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 37 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-01T16:52:32.159337Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:32.159491Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_26|dc5b0fe4-e326be1f-ac694690-b2c5fe94_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_26
2025-11-01T16:52:32.160163Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 37 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_26|dc5b0fe4-e326be1f-ac694690-b2c5fe94_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_26|dc5b0fe4-e326be1f-ac694690-b2c5fe94_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.162068Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId: sid_rand_26|dc5b0fe4-e326be1f-ac694690-b2c5fe94_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.162097Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 37 sessionId: sid_rand_26|dc5b0fe4-e326be1f-ac694690-b2c5fe94_0 grpc read failed
2025-11-01T16:52:32.162129Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 37 sessionId: sid_rand_26|dc5b0fe4-e326be1f-ac694690-b2c5fe94_0 grpc closed
2025-11-01T16:52:32.162152Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 37 sessionId: sid_rand_26|dc5b0fe4-e326be1f-ac694690-b2c5fe94_0 is DEAD
2025-11-01T16:52:32.163192Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.163342Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.163361Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 38
2025-11-01T16:52:32.163795Z 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-11-01T16:52:32.163943Z 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]:53482
2025-11-01T16:52:32.163976Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=38 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.163987Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.165796Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 38 sessionId:  describe result for acl check
2025-11-01T16:52:32.165956Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.165974Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.165987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.166008Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790683529:2670] (SourceId=sid_rand_27, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.170221Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790683529:2670] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.179660Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790683529:2670] (SourceId=sid_rand_27, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.180434Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683548:2670] connected; active server actors: 1
2025-11-01T16:52:32.180883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790683529:2670] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_27
2025-11-01T16:52:32.180911Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790683529:2670] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.181353Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683548:2670] disconnected.
2025-11-01T16:52:32.181388Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683548:2670] disconnected; active server actors: 1
2025-11-01T16:52:32.181408Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683548:2670] disconnected no session
2025-11-01T16:52:32.193070Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790683529:2670] (SourceId=sid_rand_27, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.193112Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790683529:2670] (SourceId=sid_rand_27, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-01T16:52:32.193125Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790683529:2670] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.193160Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 38 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-01T16:52:32.194679Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:32.194937Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_27|da1ce79a-ca275e1a-bb4e5e04-702f0328_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_27
2025-11-01T16:52:32.195783Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 38 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_27|da1ce79a-ca275e1a-bb4e5e04-702f0328_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_27|da1ce79a-ca275e1a-bb4e5e04-702f0328_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.199387Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId: sid_rand_27|da1ce79a-ca275e1a-bb4e5e04-702f0328_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.199415Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 38 sessionId: sid_rand_27|da1ce79a-ca275e1a-bb4e5e04-702f0328_0 grpc read failed
2025-11-01T16:52:32.199442Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 38 sessionId: sid_rand_27|da1ce79a-ca275e1a-bb4e5e04-702f0328_0 grpc closed
2025-11-01T16:52:32.199463Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 38 sessionId: sid_rand_27|da1ce79a-ca275e1a-bb4e5e04-702f0328_0 is DEAD
2025-11-01T16:52:32.200452Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.200599Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.200621Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 39
2025-11-01T16:52:32.200902Z 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-11-01T16:52:32.201038Z 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]:53482
2025-11-01T16:52:32.201063Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=39 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.201073Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.202570Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 39 sessionId:  describe result for acl check
2025-11-01T16:52:32.202720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.202740Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.202752Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.202775Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790683565:2674] (SourceId=sid_rand_28, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.205815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790683565:2674] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.212697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790683565:2674] (SourceId=sid_rand_28, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.213527Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683581:2674] connected; active server actors: 1
2025-11-01T16:52:32.213921Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790683565:2674] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_28
2025-11-01T16:52:32.213958Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790683565:2674] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.214462Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683581:2674] disconnected.
2025-11-01T16:52:32.214493Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683581:2674] disconnected; active server actors: 1
2025-11-01T16:52:32.214512Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683581:2674] disconnected no session
2025-11-01T16:52:32.229846Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790683565:2674] (SourceId=sid_rand_28, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.229900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790683565:2674] (SourceId=sid_rand_28, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-01T16:52:32.229922Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790683565:2674] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.229963Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 39 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-01T16:52:32.232899Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:32.233037Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_28|e809c9e9-e7e0179a-cf882d98-cfef3511_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_28
2025-11-01T16:52:32.234623Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 39 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_28|e809c9e9-e7e0179a-cf882d98-cfef3511_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_28|e809c9e9-e7e0179a-cf882d98-cfef3511_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.237994Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId: sid_rand_28|e809c9e9-e7e0179a-cf882d98-cfef3511_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.238026Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 39 sessionId: sid_rand_28|e809c9e9-e7e0179a-cf882d98-cfef3511_0 grpc read failed
2025-11-01T16:52:32.238060Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 39 sessionId: sid_rand_28|e809c9e9-e7e0179a-cf882d98-cfef3511_0 grpc closed
2025-11-01T16:52:32.238084Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 39 sessionId: sid_rand_28|e809c9e9-e7e0179a-cf882d98-cfef3511_0 is DEAD
2025-11-01T16:52:32.238949Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.239082Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.239101Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 40
2025-11-01T16:52:32.239809Z 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-11-01T16:52:32.239959Z 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]:53482
2025-11-01T16:52:32.239987Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=40 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.239998Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.241781Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 40 sessionId:  describe result for acl check
2025-11-01T16:52:32.241938Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.241959Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.241973Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.241994Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790683609:2680] (SourceId=sid_rand_29, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.246076Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790683609:2680] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.253815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790683609:2680] (SourceId=sid_rand_29, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.254585Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683625:2680] connected; active server actors: 1
2025-11-01T16:52:32.254949Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790683609:2680] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_29
2025-11-01T16:52:32.254978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790683609:2680] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.256121Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683625:2680] disconnected.
2025-11-01T16:52:32.256154Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683625:2680] disconnected; active server actors: 1
2025-11-01T16:52:32.256177Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683625:2680] disconnected no session
2025-11-01T16:52:32.266485Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790683609:2680] (SourceId=sid_rand_29, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.266533Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790683609:2680] (SourceId=sid_rand_29, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-01T16:52:32.266554Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790683609:2680] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.266595Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 40 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-01T16:52:32.268351Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:32.268429Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_29|187621f9-1a8bf2c2-36c19b7d-b67e716d_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_29
2025-11-01T16:52:32.268988Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 40 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_29|187621f9-1a8bf2c2-36c19b7d-b67e716d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_29|187621f9-1a8bf2c2-36c19b7d-b67e716d_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.271818Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId: sid_rand_29|187621f9-1a8bf2c2-36c19b7d-b67e716d_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.271847Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 40 sessionId: sid_rand_29|187621f9-1a8bf2c2-36c19b7d-b67e716d_0 grpc read failed
2025-11-01T16:52:32.271879Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 40 sessionId: sid_rand_29|187621f9-1a8bf2c2-36c19b7d-b67e716d_0 grpc closed
2025-11-01T16:52:32.271903Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 40 sessionId: sid_rand_29|187621f9-1a8bf2c2-36c19b7d-b67e716d_0 is DEAD
2025-11-01T16:52:32.272927Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.273052Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.273069Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 41
2025-11-01T16:52:32.273465Z 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-11-01T16:52:32.273561Z 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]:53482
2025-11-01T16:52:32.273576Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=41 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.273583Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.274814Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 41 sessionId:  describe result for acl check
2025-11-01T16:52:32.274908Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.274917Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.274926Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.274939Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790683660:2688] (SourceId=sid_rand_30, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.278193Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790683660:2688] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.286877Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790683660:2688] (SourceId=sid_rand_30, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.289392Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790683660:2688] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_30
2025-11-01T16:52:32.289423Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790683660:2688] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.288644Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683676:2688] connected; active server actors: 1
2025-11-01T16:52:32.291537Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683676:2688] disconnected.
2025-11-01T16:52:32.291577Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683676:2688] disconnected; active server actors: 1
2025-11-01T16:52:32.291603Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683676:2688] disconnected no session
2025-11-01T16:52:32.306086Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790683660:2688] (SourceId=sid_rand_30, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.306142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790683660:2688] (SourceId=sid_rand_30, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-01T16:52:32.306163Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790683660:2688] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.306203Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 41 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-01T16:52:32.308708Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:32.309856Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 41 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_30|fca6af76-3cffca97-74d3befa-82cc4d17_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_30|fca6af76-3cffca97-74d3befa-82cc4d17_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.309013Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_30|fca6af76-3cffca97-74d3befa-82cc4d17_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_30
2025-11-01T16:52:32.312300Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId: sid_rand_30|fca6af76-3cffca97-74d3befa-82cc4d17_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.312341Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 41 sessionId: sid_rand_30|fca6af76-3cffca97-74d3befa-82cc4d17_0 grpc read failed
2025-11-01T16:52:32.312374Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 41 sessionId: sid_rand_30|fca6af76-3cffca97-74d3befa-82cc4d17_0 grpc closed
2025-11-01T16:52:32.312398Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 41 sessionId: sid_rand_30|fca6af76-3cffca97-74d3befa-82cc4d17_0 is DEAD
2025-11-01T16:52:32.312535Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.312560Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 42
2025-11-01T16:52:32.312896Z 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-11-01T16:52:32.313052Z 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]:53482
2025-11-01T16:52:32.313074Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=42 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.313087Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.313340Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.314839Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 42 sessionId:  describe result for acl check
2025-11-01T16:52:32.314954Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.314967Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.314976Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.314990Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790683697:2694] (SourceId=sid_rand_31, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.318680Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790683697:2694] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.326475Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790683697:2694] (SourceId=sid_rand_31, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.326950Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683716:2694] connected; active server actors: 1
2025-11-01T16:52:32.327289Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790683697:2694] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_31
2025-11-01T16:52:32.327316Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790683697:2694] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.327816Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683716:2694] disconnected.
2025-11-01T16:52:32.327850Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683716:2694] disconnected; active server actors: 1
2025-11-01T16:52:32.327873Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683716:2694] disconnected no session
2025-11-01T16:52:32.338100Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790683697:2694] (SourceId=sid_rand_31, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.338153Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790683697:2694] (SourceId=sid_rand_31, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-01T16:52:32.338172Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790683697:2694] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.338210Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 42 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-01T16:52:32.338788Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:32.338871Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_31|34564716-f6995a5e-f2e82fcd-b66dbe80_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_31
2025-11-01T16:52:32.339299Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 42 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_31|34564716-f6995a5e-f2e82fcd-b66dbe80_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_31|34564716-f6995a5e-f2e82fcd-b66dbe80_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.343423Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId: sid_rand_31|34564716-f6995a5e-f2e82fcd-b66dbe80_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.343455Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 42 sessionId: sid_rand_31|34564716-f6995a5e-f2e82fcd-b66dbe80_0 grpc read failed
2025-11-01T16:52:32.343488Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 42 sessionId: sid_rand_31|34564716-f6995a5e-f2e82fcd-b66dbe80_0 grpc closed
2025-11-01T16:52:32.343511Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 42 sessionId: sid_rand_31|34564716-f6995a5e-f2e82fcd-b66dbe80_0 is DEAD
2025-11-01T16:52:32.343603Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.343626Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 43
2025-11-01T16:52:32.344599Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.344758Z 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-11-01T16:52:32.344897Z 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]:53482
2025-11-01T16:52:32.344918Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=43 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.344929Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.346785Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 43 sessionId:  describe result for acl check
2025-11-01T16:52:32.346955Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.346971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.346986Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.347007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790683734:2698] (SourceId=sid_rand_32, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.350204Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790683734:2698] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.360809Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790683734:2698] (SourceId=sid_rand_32, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.361727Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790683734:2698] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_32
2025-11-01T16:52:32.361746Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790683734:2698] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.361452Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683750:2698] connected; active server actors: 1
2025-11-01T16:52:32.362247Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683750:2698] disconnected.
2025-11-01T16:52:32.362277Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683750:2698] disconnected; active server actors: 1
2025-11-01T16:52:32.362301Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683750:2698] disconnected no session
2025-11-01T16:52:32.374680Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790683734:2698] (SourceId=sid_rand_32, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.374733Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790683734:2698] (SourceId=sid_rand_32, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-01T16:52:32.374754Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790683734:2698] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.374792Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 43 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-01T16:52:32.376771Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:32.377041Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_32|7b3ad56b-a652f687-30694b5-9aefb8af_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_32
2025-11-01T16:52:32.379053Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 43 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_32|7b3ad56b-a652f687-30694b5-9aefb8af_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_32|7b3ad56b-a652f687-30694b5-9aefb8af_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.385853Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId: sid_rand_32|7b3ad56b-a652f687-30694b5-9aefb8af_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.385888Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 43 sessionId: sid_rand_32|7b3ad56b-a652f687-30694b5-9aefb8af_0 grpc read failed
2025-11-01T16:52:32.385922Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 43 sessionId: sid_rand_32|7b3ad56b-a652f687-30694b5-9aefb8af_0 grpc closed
2025-11-01T16:52:32.385945Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 43 sessionId: sid_rand_32|7b3ad56b-a652f687-30694b5-9aefb8af_0 is DEAD
2025-11-01T16:52:32.386127Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.386152Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 44
2025-11-01T16:52:32.386877Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.387490Z 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-11-01T16:52:32.387665Z 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]:53482
2025-11-01T16:52:32.387686Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=44 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.387697Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.389737Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 44 sessionId:  describe result for acl check
2025-11-01T16:52:32.389908Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.389923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.389937Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.389958Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790683767:2702] (SourceId=sid_rand_33, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.394167Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790683767:2702] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.403215Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790683767:2702] (SourceId=sid_rand_33, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.405283Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683783:2702] connected; active server actors: 1
2025-11-01T16:52:32.405629Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790683767:2702] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_33
2025-11-01T16:52:32.405661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790683767:2702] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.406515Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683783:2702] disconnected.
2025-11-01T16:52:32.406548Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683783:2702] disconnected; active server actors: 1
2025-11-01T16:52:32.406569Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683783:2702] disconnected no session
2025-11-01T16:52:32.418151Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790683767:2702] (SourceId=sid_rand_33, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.418205Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790683767:2702] (SourceId=sid_rand_33, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-01T16:52:32.418227Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790683767:2702] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.418266Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 44 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-01T16:52:32.419012Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:32.419134Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_33|1cd7291-48e3c255-fe6bcce7-35b850a4_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_33
2025-11-01T16:52:32.419662Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 44 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_33|1cd7291-48e3c255-fe6bcce7-35b850a4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_33|1cd7291-48e3c255-fe6bcce7-35b850a4_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.424548Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId: sid_rand_33|1cd7291-48e3c255-fe6bcce7-35b850a4_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.424578Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 44 sessionId: sid_rand_33|1cd7291-48e3c255-fe6bcce7-35b850a4_0 grpc read failed
2025-11-01T16:52:32.424722Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 44 sessionId: sid_rand_33|1cd7291-48e3c255-fe6bcce7-35b850a4_0
2025-11-01T16:52:32.424745Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 44 sessionId: sid_rand_33|1cd7291-48e3c255-fe6bcce7-35b850a4_0 is DEAD
2025-11-01T16:52:32.425145Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.425548Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.425576Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 45
2025-11-01T16:52:32.425889Z 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-11-01T16:52:32.426055Z 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]:53482
2025-11-01T16:52:32.426079Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=45 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.426090Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.427893Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 45 sessionId:  describe result for acl check
2025-11-01T16:52:32.428071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.428090Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.428104Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.428125Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790683806:2706] (SourceId=sid_rand_34, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.432315Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790683806:2706] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.439316Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790683806:2706] (SourceId=sid_rand_34, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.440184Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683822:2706] connected; active server actors: 1
2025-11-01T16:52:32.441007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790683806:2706] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_34
2025-11-01T16:52:32.441038Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790683806:2706] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.441675Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683822:2706] disconnected.
2025-11-01T16:52:32.441711Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683822:2706] disconnected; active server actors: 1
2025-11-01T16:52:32.441733Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683822:2706] disconnected no session
2025-11-01T16:52:32.540434Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790683806:2706] (SourceId=sid_rand_34, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.540488Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790683806:2706] (SourceId=sid_rand_34, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-01T16:52:32.540522Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790683806:2706] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.540564Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 45 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-01T16:52:32.542134Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:32.543140Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_34|13a38b9e-7a59d95-6537219e-60b0f7c7_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_34
2025-11-01T16:52:32.543652Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 45 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_34|13a38b9e-7a59d95-6537219e-60b0f7c7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_34|13a38b9e-7a59d95-6537219e-60b0f7c7_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.555591Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId: sid_rand_34|13a38b9e-7a59d95-6537219e-60b0f7c7_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.555634Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 45 sessionId: sid_rand_34|13a38b9e-7a59d95-6537219e-60b0f7c7_0 grpc read failed
2025-11-01T16:52:32.555643Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.555667Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 46
2025-11-01T16:52:32.555671Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 45 sessionId: sid_rand_34|13a38b9e-7a59d95-6537219e-60b0f7c7_0 grpc closed
2025-11-01T16:52:32.555696Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 45 sessionId: sid_rand_34|13a38b9e-7a59d95-6537219e-60b0f7c7_0 is DEAD
2025-11-01T16:52:32.556014Z 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-11-01T16:52:32.556168Z 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]:53482
2025-11-01T16:52:32.556208Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=46 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.556225Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.556918Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.558317Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 46 sessionId:  describe result for acl check
2025-11-01T16:52:32.558478Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.558500Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.558514Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.558536Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790683841:2710] (SourceId=sid_rand_35, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.562590Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790683841:2710] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.573232Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683860:2710] connected; active server actors: 1
2025-11-01T16:52:32.572133Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790683841:2710] (SourceId=sid_rand_35, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.574023Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790683841:2710] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_35
2025-11-01T16:52:32.574056Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790683841:2710] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.574616Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683860:2710] disconnected.
2025-11-01T16:52:32.574650Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683860:2710] disconnected; active server actors: 1
2025-11-01T16:52:32.574674Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683860:2710] disconnected no session
2025-11-01T16:52:32.584209Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790683841:2710] (SourceId=sid_rand_35, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.584256Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790683841:2710] (SourceId=sid_rand_35, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-01T16:52:32.584274Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790683841:2710] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.584311Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 46 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-01T16:52:32.584994Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:32.585111Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_35|d139bbbc-93456696-1f51b942-4627a478_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_35
2025-11-01T16:52:32.585671Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 46 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_35|d139bbbc-93456696-1f51b942-4627a478_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_35|d139bbbc-93456696-1f51b942-4627a478_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.588439Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId: sid_rand_35|d139bbbc-93456696-1f51b942-4627a478_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.588466Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 46 sessionId: sid_rand_35|d139bbbc-93456696-1f51b942-4627a478_0 grpc read failed
2025-11-01T16:52:32.588495Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 46 sessionId: sid_rand_35|d139bbbc-93456696-1f51b942-4627a478_0 grpc closed
2025-11-01T16:52:32.588636Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.588639Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 46 sessionId: sid_rand_35|d139bbbc-93456696-1f51b942-4627a478_0 is DEAD
2025-11-01T16:52:32.588664Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 47
2025-11-01T16:52:32.589461Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.589627Z 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-11-01T16:52:32.589764Z 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]:53482
2025-11-01T16:52:32.589785Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=47 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.589795Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.591668Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 47 sessionId:  describe result for acl check
2025-11-01T16:52:32.591820Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.591839Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.591856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.591876Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790683880:2714] (SourceId=sid_rand_36, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.596077Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790683880:2714] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.602420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790683880:2714] (SourceId=sid_rand_36, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.603001Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683896:2714] connected; active server actors: 1
2025-11-01T16:52:32.603423Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790683880:2714] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_36
2025-11-01T16:52:32.603450Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790683880:2714] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.603861Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683896:2714] disconnected.
2025-11-01T16:52:32.603891Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683896:2714] disconnected; active server actors: 1
2025-11-01T16:52:32.603914Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683896:2714] disconnected no session
2025-11-01T16:52:32.612966Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790683880:2714] (SourceId=sid_rand_36, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.613015Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790683880:2714] (SourceId=sid_rand_36, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-01T16:52:32.613040Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790683880:2714] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.613078Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 47 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-01T16:52:32.613909Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:32.614077Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_36|18d88d3c-8170f29b-ae5a041a-4df8e510_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_36
2025-11-01T16:52:32.614507Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 47 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_36|18d88d3c-8170f29b-ae5a041a-4df8e510_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_36|18d88d3c-8170f29b-ae5a041a-4df8e510_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.617399Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId: sid_rand_36|18d88d3c-8170f29b-ae5a041a-4df8e510_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.617428Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 47 sessionId: sid_rand_36|18d88d3c-8170f29b-ae5a041a-4df8e510_0 grpc read failed
2025-11-01T16:52:32.617461Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 47 sessionId: sid_rand_36|18d88d3c-8170f29b-ae5a041a-4df8e510_0 grpc closed
2025-11-01T16:52:32.617488Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 47 sessionId: sid_rand_36|18d88d3c-8170f29b-ae5a041a-4df8e510_0 is DEAD
2025-11-01T16:52:32.618351Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.618499Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.618533Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 48
2025-11-01T16:52:32.619278Z 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-11-01T16:52:32.619427Z 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]:53482
2025-11-01T16:52:32.619446Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=48 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.619454Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.620989Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 48 sessionId:  describe result for acl check
2025-11-01T16:52:32.621110Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.621124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.621134Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.621148Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790683914:2718] (SourceId=sid_rand_37, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.624610Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790683914:2718] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.633208Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790683914:2718] (SourceId=sid_rand_37, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.634764Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790683914:2718] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_37
2025-11-01T16:52:32.634795Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790683914:2718] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.634185Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683930:2718] connected; active server actors: 1
2025-11-01T16:52:32.636369Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683930:2718] disconnected.
2025-11-01T16:52:32.636401Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683930:2718] disconnected; active server actors: 1
2025-11-01T16:52:32.636431Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683930:2718] disconnected no session
2025-11-01T16:52:32.649997Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790683914:2718] (SourceId=sid_rand_37, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.650047Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790683914:2718] (SourceId=sid_rand_37, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-01T16:52:32.650065Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790683914:2718] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.650114Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 48 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-01T16:52:32.651955Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:32.652112Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_37|ed454a0f-bc1551d3-80577846-809e89a2_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_37
Init result: { status: SUCCESS init_response { session_id: "sid_rand_37|ed454a0f-bc1551d3-80577846-809e89a2_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.652631Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 48 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_37|ed454a0f-bc1551d3-80577846-809e89a2_0
2025-11-01T16:52:32.659047Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId: sid_rand_37|ed454a0f-bc1551d3-80577846-809e89a2_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.659078Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 48 sessionId: sid_rand_37|ed454a0f-bc1551d3-80577846-809e89a2_0 grpc read failed
2025-11-01T16:52:32.659432Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 48 sessionId: sid_rand_37|ed454a0f-bc1551d3-80577846-809e89a2_0
2025-11-01T16:52:32.659457Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 48 sessionId: sid_rand_37|ed454a0f-bc1551d3-80577846-809e89a2_0 is DEAD
2025-11-01T16:52:32.659865Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.660704Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.660730Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 49
2025-11-01T16:52:32.661131Z 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-11-01T16:52:32.661288Z 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]:53482
2025-11-01T16:52:32.661309Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=49 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.661321Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.663375Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 49 sessionId:  describe result for acl check
2025-11-01T16:52:32.663540Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.663556Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.663569Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.663591Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790683948:2722] (SourceId=sid_rand_38, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.667830Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790683948:2722] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.676064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790683948:2722] (SourceId=sid_rand_38, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.677192Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790683948:2722] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_38
2025-11-01T16:52:32.677217Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790683948:2722] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.676752Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683964:2722] connected; active server actors: 1
2025-11-01T16:52:32.677713Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683964:2722] disconnected.
2025-11-01T16:52:32.677751Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683964:2722] disconnected; active server actors: 1
2025-11-01T16:52:32.677782Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790683964:2722] disconnected no session
2025-11-01T16:52:32.687477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790683948:2722] (SourceId=sid_rand_38, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.687525Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790683948:2722] (SourceId=sid_rand_38, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-01T16:52:32.687546Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790683948:2722] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.687585Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 49 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-01T16:52:32.688147Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:32.688344Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_38|f7f2d5ce-f4dd9a72-51c8fba-3ce8a9bc_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_38
2025-11-01T16:52:32.688797Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 49 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_38|f7f2d5ce-f4dd9a72-51c8fba-3ce8a9bc_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_38|f7f2d5ce-f4dd9a72-51c8fba-3ce8a9bc_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.690984Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.691016Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 50
2025-11-01T16:52:32.691654Z 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-11-01T16:52:32.691804Z 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]:53482
2025-11-01T16:52:32.691830Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=50 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.691841Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.692263Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 49 sessionId: sid_rand_38|f7f2d5ce-f4dd9a72-51c8fba-3ce8a9bc_0 grpc closed
2025-11-01T16:52:32.692294Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 49 sessionId: sid_rand_38|f7f2d5ce-f4dd9a72-51c8fba-3ce8a9bc_0 is DEAD
2025-11-01T16:52:32.693202Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.693557Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 50 sessionId:  describe result for acl check
2025-11-01T16:52:32.693697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.693718Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.693730Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.693748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790683982:2726] (SourceId=sid_rand_39, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.698109Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790683982:2726] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.705231Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790683982:2726] (SourceId=sid_rand_39, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.706125Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684001:2726] connected; active server actors: 1
2025-11-01T16:52:32.706584Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790683982:2726] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_39
2025-11-01T16:52:32.706611Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790683982:2726] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.707385Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684001:2726] disconnected.
2025-11-01T16:52:32.707422Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684001:2726] disconnected; active server actors: 1
2025-11-01T16:52:32.707443Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684001:2726] disconnected no session
2025-11-01T16:52:32.717605Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790683982:2726] (SourceId=sid_rand_39, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.717663Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790683982:2726] (SourceId=sid_rand_39, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-01T16:52:32.717685Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790683982:2726] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.717723Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 50 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-01T16:52:32.719092Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:32.719370Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_39|3fd41f5a-3fbe1542-1a5e352c-75419c19_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_39
Init result: { status: SUCCESS init_response { session_id: "sid_rand_39|3fd41f5a-3fbe1542-1a5e352c-75419c19_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.720473Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 50 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_39|3fd41f5a-3fbe1542-1a5e352c-75419c19_0
2025-11-01T16:52:32.723056Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId: sid_rand_39|3fd41f5a-3fbe1542-1a5e352c-75419c19_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.723078Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 50 sessionId: sid_rand_39|3fd41f5a-3fbe1542-1a5e352c-75419c19_0 grpc read failed
2025-11-01T16:52:32.723109Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 50 sessionId: sid_rand_39|3fd41f5a-3fbe1542-1a5e352c-75419c19_0 grpc closed
2025-11-01T16:52:32.723131Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 50 sessionId: sid_rand_39|3fd41f5a-3fbe1542-1a5e352c-75419c19_0 is DEAD
2025-11-01T16:52:32.723286Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.723315Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 51
2025-11-01T16:52:32.723721Z 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-11-01T16:52:32.723876Z 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]:53482
2025-11-01T16:52:32.723909Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=51 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.723921Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.724088Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.725708Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 51 sessionId:  describe result for acl check
2025-11-01T16:52:32.725872Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.725888Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.725902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.725922Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790684018:2730] (SourceId=sid_rand_40, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.730819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790684018:2730] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.739200Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790684018:2730] (SourceId=sid_rand_40, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.739863Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684036:2730] connected; active server actors: 1
2025-11-01T16:52:32.740297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790684018:2730] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_40
2025-11-01T16:52:32.740315Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790684018:2730] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.740820Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684036:2730] disconnected.
2025-11-01T16:52:32.740848Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684036:2730] disconnected; active server actors: 1
2025-11-01T16:52:32.740870Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684036:2730] disconnected no session
2025-11-01T16:52:32.751260Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790684018:2730] (SourceId=sid_rand_40, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.751310Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790684018:2730] (SourceId=sid_rand_40, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-01T16:52:32.751331Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790684018:2730] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.751954Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 51 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-01T16:52:32.753106Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:32.753467Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_40|cbd04ab8-685d85ef-cfde2f6-dccb67dd_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_40
2025-11-01T16:52:32.754556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 51 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_40|cbd04ab8-685d85ef-cfde2f6-dccb67dd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_40|cbd04ab8-685d85ef-cfde2f6-dccb67dd_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.756748Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId: sid_rand_40|cbd04ab8-685d85ef-cfde2f6-dccb67dd_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.756788Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 51 sessionId: sid_rand_40|cbd04ab8-685d85ef-cfde2f6-dccb67dd_0 grpc read failed
2025-11-01T16:52:32.756800Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.756815Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 52
2025-11-01T16:52:32.756821Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 51 sessionId: sid_rand_40|cbd04ab8-685d85ef-cfde2f6-dccb67dd_0 grpc closed
2025-11-01T16:52:32.756853Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 51 sessionId: sid_rand_40|cbd04ab8-685d85ef-cfde2f6-dccb67dd_0 is DEAD
2025-11-01T16:52:32.757140Z 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-11-01T16:52:32.757253Z 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]:53482
2025-11-01T16:52:32.757272Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=52 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.757279Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.757892Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.758660Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 52 sessionId:  describe result for acl check
2025-11-01T16:52:32.759219Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.759232Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.759255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.759273Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790684053:2734] (SourceId=sid_rand_41, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.762627Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790684053:2734] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.769983Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790684053:2734] (SourceId=sid_rand_41, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.770840Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684069:2734] connected; active server actors: 1
2025-11-01T16:52:32.771493Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790684053:2734] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_41
2025-11-01T16:52:32.771512Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790684053:2734] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.772481Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684069:2734] disconnected.
2025-11-01T16:52:32.772518Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684069:2734] disconnected; active server actors: 1
2025-11-01T16:52:32.772539Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684069:2734] disconnected no session
2025-11-01T16:52:32.789602Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790684053:2734] (SourceId=sid_rand_41, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.789667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790684053:2734] (SourceId=sid_rand_41, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-01T16:52:32.789684Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790684053:2734] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.789719Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 52 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-01T16:52:32.790985Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:32.791118Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_41|bdca4908-6eb46b1c-19bbc227-9bf8b8ea_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_41
2025-11-01T16:52:32.791754Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 52 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_41|bdca4908-6eb46b1c-19bbc227-9bf8b8ea_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_41|bdca4908-6eb46b1c-19bbc227-9bf8b8ea_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.793996Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId: sid_rand_41|bdca4908-6eb46b1c-19bbc227-9bf8b8ea_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.794028Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 52 sessionId: sid_rand_41|bdca4908-6eb46b1c-19bbc227-9bf8b8ea_0 grpc read failed
2025-11-01T16:52:32.794061Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 52 sessionId: sid_rand_41|bdca4908-6eb46b1c-19bbc227-9bf8b8ea_0 grpc closed
2025-11-01T16:52:32.794088Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 52 sessionId: sid_rand_41|bdca4908-6eb46b1c-19bbc227-9bf8b8ea_0 is DEAD
2025-11-01T16:52:32.794225Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.794243Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 53
2025-11-01T16:52:32.794612Z 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-11-01T16:52:32.794735Z 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]:53482
2025-11-01T16:52:32.794756Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=53 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.794766Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.795570Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.796533Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 53 sessionId:  describe result for acl check
2025-11-01T16:52:32.796678Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.796700Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.796711Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.796727Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790684087:2738] (SourceId=sid_rand_42, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.800889Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790684087:2738] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.807143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790684087:2738] (SourceId=sid_rand_42, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.807729Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684103:2738] connected; active server actors: 1
2025-11-01T16:52:32.808234Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790684087:2738] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_42
2025-11-01T16:52:32.808263Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790684087:2738] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.808823Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684103:2738] disconnected.
2025-11-01T16:52:32.808859Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684103:2738] disconnected; active server actors: 1
2025-11-01T16:52:32.808882Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684103:2738] disconnected no session
2025-11-01T16:52:32.820565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790684087:2738] (SourceId=sid_rand_42, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.820618Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790684087:2738] (SourceId=sid_rand_42, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-01T16:52:32.820643Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790684087:2738] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.820680Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 53 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-01T16:52:32.823221Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:32.823614Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_42|f8e272a4-f307483c-751386c2-5d8af30e_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_42
2025-11-01T16:52:32.824549Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 53 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_42|f8e272a4-f307483c-751386c2-5d8af30e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_42|f8e272a4-f307483c-751386c2-5d8af30e_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.840189Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId: sid_rand_42|f8e272a4-f307483c-751386c2-5d8af30e_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.840218Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 53 sessionId: sid_rand_42|f8e272a4-f307483c-751386c2-5d8af30e_0 grpc read failed
2025-11-01T16:52:32.840254Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 53 sessionId: sid_rand_42|f8e272a4-f307483c-751386c2-5d8af30e_0 grpc closed
2025-11-01T16:52:32.840271Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 53 sessionId: sid_rand_42|f8e272a4-f307483c-751386c2-5d8af30e_0 is DEAD
2025-11-01T16:52:32.841263Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.842033Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.842062Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 54
2025-11-01T16:52:32.842380Z 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-11-01T16:52:32.842508Z 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]:53482
2025-11-01T16:52:32.842527Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=54 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.842537Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.844459Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 54 sessionId:  describe result for acl check
2025-11-01T16:52:32.844622Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.844635Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.844646Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.844663Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790684120:2742] (SourceId=sid_rand_43, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.848272Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790684120:2742] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.855481Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790684120:2742] (SourceId=sid_rand_43, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.856836Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684139:2742] connected; active server actors: 1
2025-11-01T16:52:32.857222Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790684120:2742] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_43
2025-11-01T16:52:32.857249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790684120:2742] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.858852Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684139:2742] disconnected.
2025-11-01T16:52:32.858886Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684139:2742] disconnected; active server actors: 1
2025-11-01T16:52:32.858908Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684139:2742] disconnected no session
2025-11-01T16:52:32.866533Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790684120:2742] (SourceId=sid_rand_43, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.866578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790684120:2742] (SourceId=sid_rand_43, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-01T16:52:32.866596Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790684120:2742] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.866628Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 54 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-01T16:52:32.868022Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:32.868102Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_43|168e053d-61189a4a-851545f9-77abe6de_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_43
2025-11-01T16:52:32.868567Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 54 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_43|168e053d-61189a4a-851545f9-77abe6de_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_43|168e053d-61189a4a-851545f9-77abe6de_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.869931Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId: sid_rand_43|168e053d-61189a4a-851545f9-77abe6de_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.869958Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 54 sessionId: sid_rand_43|168e053d-61189a4a-851545f9-77abe6de_0 grpc read failed
2025-11-01T16:52:32.869996Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 54 sessionId: sid_rand_43|168e053d-61189a4a-851545f9-77abe6de_0
2025-11-01T16:52:32.870017Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 54 sessionId: sid_rand_43|168e053d-61189a4a-851545f9-77abe6de_0 is DEAD
2025-11-01T16:52:32.870343Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.871070Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.871095Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 55
2025-11-01T16:52:32.871396Z 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-11-01T16:52:32.871560Z 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]:53482
2025-11-01T16:52:32.871588Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=55 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.871598Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.873260Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 55 sessionId:  describe result for acl check
2025-11-01T16:52:32.873408Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.873433Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.873458Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.873476Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790684157:2746] (SourceId=sid_rand_44, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.877229Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790684157:2746] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.887226Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790684157:2746] (SourceId=sid_rand_44, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.887950Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684173:2746] connected; active server actors: 1
2025-11-01T16:52:32.888279Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790684157:2746] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_44
2025-11-01T16:52:32.888307Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790684157:2746] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.888823Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684173:2746] disconnected.
2025-11-01T16:52:32.888853Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684173:2746] disconnected; active server actors: 1
2025-11-01T16:52:32.888873Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684173:2746] disconnected no session
2025-11-01T16:52:32.901356Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790684157:2746] (SourceId=sid_rand_44, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.901401Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790684157:2746] (SourceId=sid_rand_44, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-01T16:52:32.901418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790684157:2746] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.901452Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 55 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-01T16:52:32.903491Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:32.903766Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_44|bd95215a-2b036333-dd9c9cbb-a3fb9a2c_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_44
2025-11-01T16:52:32.904914Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 55 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_44|bd95215a-2b036333-dd9c9cbb-a3fb9a2c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_44|bd95215a-2b036333-dd9c9cbb-a3fb9a2c_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.906344Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId: sid_rand_44|bd95215a-2b036333-dd9c9cbb-a3fb9a2c_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.906366Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 55 sessionId: sid_rand_44|bd95215a-2b036333-dd9c9cbb-a3fb9a2c_0 grpc read failed
2025-11-01T16:52:32.906649Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 55 sessionId: sid_rand_44|bd95215a-2b036333-dd9c9cbb-a3fb9a2c_0
2025-11-01T16:52:32.906670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 55 sessionId: sid_rand_44|bd95215a-2b036333-dd9c9cbb-a3fb9a2c_0 is DEAD
2025-11-01T16:52:32.907016Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.907581Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.907607Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 56
2025-11-01T16:52:32.907972Z 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-11-01T16:52:32.908111Z 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]:53482
2025-11-01T16:52:32.908138Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=56 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.908147Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.910004Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 56 sessionId:  describe result for acl check
2025-11-01T16:52:32.910158Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.910172Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.910184Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.910202Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790684192:2750] (SourceId=sid_rand_45, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.914703Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790684192:2750] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.935314Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790684192:2750] (SourceId=sid_rand_45, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.936143Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684210:2750] connected; active server actors: 1
2025-11-01T16:52:32.936586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790684192:2750] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_45
2025-11-01T16:52:32.936608Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790684192:2750] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.937423Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684210:2750] disconnected.
2025-11-01T16:52:32.937463Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684210:2750] disconnected; active server actors: 1
2025-11-01T16:52:32.937482Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684210:2750] disconnected no session
2025-11-01T16:52:32.954822Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790684192:2750] (SourceId=sid_rand_45, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.954868Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790684192:2750] (SourceId=sid_rand_45, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-01T16:52:32.954887Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790684192:2750] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.954921Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 56 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-01T16:52:32.956607Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:32.956789Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_45|876d9725-8a62ac15-a8bde8e-33efc2f8_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_45
2025-11-01T16:52:32.957298Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 56 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_45|876d9725-8a62ac15-a8bde8e-33efc2f8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_45|876d9725-8a62ac15-a8bde8e-33efc2f8_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:32.959538Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId: sid_rand_45|876d9725-8a62ac15-a8bde8e-33efc2f8_0 grpc read done: success: 0 data: 
2025-11-01T16:52:32.959562Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 56 sessionId: sid_rand_45|876d9725-8a62ac15-a8bde8e-33efc2f8_0 grpc read failed
2025-11-01T16:52:32.959587Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 56 sessionId: sid_rand_45|876d9725-8a62ac15-a8bde8e-33efc2f8_0 grpc closed
2025-11-01T16:52:32.959607Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 56 sessionId: sid_rand_45|876d9725-8a62ac15-a8bde8e-33efc2f8_0 is DEAD
2025-11-01T16:52:32.960384Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:32.960499Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:32.960530Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 57
2025-11-01T16:52:32.961108Z 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-11-01T16:52:32.961246Z 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]:53482
2025-11-01T16:52:32.961266Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=57 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:32.961275Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:32.963037Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 57 sessionId:  describe result for acl check
2025-11-01T16:52:32.963179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:32.963192Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:32.963205Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:32.963224Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800890790684228:2754] (SourceId=sid_rand_46, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:32.966975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800890790684228:2754] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:32.976637Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800890790684228:2754] (SourceId=sid_rand_46, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:32.979173Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684244:2754] connected; active server actors: 1
2025-11-01T16:52:32.980256Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684244:2754] disconnected.
2025-11-01T16:52:32.980293Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684244:2754] disconnected; active server actors: 1
2025-11-01T16:52:32.980313Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800890790684244:2754] disconnected no session
2025-11-01T16:52:32.979532Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800890790684228:2754] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_46
2025-11-01T16:52:32.979556Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800890790684228:2754] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:32.999523Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800890790684228:2754] (SourceId=sid_rand_46, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:32.999576Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800890790684228:2754] (SourceId=sid_rand_46, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-01T16:52:32.999597Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800890790684228:2754] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:32.999634Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 57 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-01T16:52:33.000355Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:33.000461Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_46|49e9db95-85527934-95489008-b775b435_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_46
Init result: { 2025-11-01T16:52:33.000928Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 57 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_46|49e9db95-85527934-95489008-b775b435_0
status: SUCCESS init_response { session_id: "sid_rand_46|49e9db95-85527934-95489008-b775b435_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.002524Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId: sid_rand_46|49e9db95-85527934-95489008-b775b435_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.002540Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 57 sessionId: sid_rand_46|49e9db95-85527934-95489008-b775b435_0 grpc read failed
2025-11-01T16:52:33.002604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 57 sessionId: sid_rand_46|49e9db95-85527934-95489008-b775b435_0
2025-11-01T16:52:33.002626Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 57 sessionId: sid_rand_46|49e9db95-85527934-95489008-b775b435_0 is DEAD
2025-11-01T16:52:33.002896Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.003383Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.003409Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 58
2025-11-01T16:52:33.003700Z 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-11-01T16:52:33.003811Z 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]:53482
2025-11-01T16:52:33.003832Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=58 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.003842Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.005188Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 58 sessionId:  describe result for acl check
2025-11-01T16:52:33.005297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.005312Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.005321Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.005333Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085651558:2758] (SourceId=sid_rand_47, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.009096Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085651558:2758] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.016371Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085651558:2758] (SourceId=sid_rand_47, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.017782Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651577:2758] connected; active server actors: 1
2025-11-01T16:52:33.018379Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085651558:2758] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_47
2025-11-01T16:52:33.018407Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085651558:2758] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.018961Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651577:2758] disconnected.
2025-11-01T16:52:33.019001Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651577:2758] disconnected; active server actors: 1
2025-11-01T16:52:33.019027Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651577:2758] disconnected no session
2025-11-01T16:52:33.036446Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085651558:2758] (SourceId=sid_rand_47, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.036494Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085651558:2758] (SourceId=sid_rand_47, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-01T16:52:33.036521Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085651558:2758] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.036559Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 58 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-01T16:52:33.038750Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:33.039285Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_47|284466a6-60041524-60739e78-96002245_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_47
2025-11-01T16:52:33.040482Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 58 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_47|284466a6-60041524-60739e78-96002245_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_47|284466a6-60041524-60739e78-96002245_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.045447Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId: sid_rand_47|284466a6-60041524-60739e78-96002245_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.045481Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 58 sessionId: sid_rand_47|284466a6-60041524-60739e78-96002245_0 grpc read failed
2025-11-01T16:52:33.045517Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 58 sessionId: sid_rand_47|284466a6-60041524-60739e78-96002245_0 grpc closed
2025-11-01T16:52:33.045541Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 58 sessionId: sid_rand_47|284466a6-60041524-60739e78-96002245_0 is DEAD
2025-11-01T16:52:33.045705Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.045733Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 59
2025-11-01T16:52:33.046251Z 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-11-01T16:52:33.046419Z 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]:53482
2025-11-01T16:52:33.046441Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=59 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.046453Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.046506Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.048684Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 59 sessionId:  describe result for acl check
2025-11-01T16:52:33.048843Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.048863Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.048877Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.048896Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085651596:2762] (SourceId=sid_rand_48, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.053032Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085651596:2762] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.061552Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085651596:2762] (SourceId=sid_rand_48, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.062951Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651615:2762] connected; active server actors: 1
2025-11-01T16:52:33.064124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085651596:2762] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_48
2025-11-01T16:52:33.064155Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085651596:2762] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.065601Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651615:2762] disconnected.
2025-11-01T16:52:33.065638Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651615:2762] disconnected; active server actors: 1
2025-11-01T16:52:33.065660Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651615:2762] disconnected no session
2025-11-01T16:52:33.076325Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085651596:2762] (SourceId=sid_rand_48, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.076374Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085651596:2762] (SourceId=sid_rand_48, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-01T16:52:33.076393Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085651596:2762] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.076430Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 59 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-01T16:52:33.078719Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:33.078953Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_48|7db33338-1417c3ee-fbd3fa0a-caf5914b_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_48
2025-11-01T16:52:33.079513Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 59 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_48|7db33338-1417c3ee-fbd3fa0a-caf5914b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_48|7db33338-1417c3ee-fbd3fa0a-caf5914b_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.085316Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId: sid_rand_48|7db33338-1417c3ee-fbd3fa0a-caf5914b_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.085343Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 59 sessionId: sid_rand_48|7db33338-1417c3ee-fbd3fa0a-caf5914b_0 grpc read failed
2025-11-01T16:52:33.085386Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 59 sessionId: sid_rand_48|7db33338-1417c3ee-fbd3fa0a-caf5914b_0 grpc closed
2025-11-01T16:52:33.085406Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 59 sessionId: sid_rand_48|7db33338-1417c3ee-fbd3fa0a-caf5914b_0 is DEAD
2025-11-01T16:52:33.086198Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.086324Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.086339Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 60
2025-11-01T16:52:33.086924Z 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-11-01T16:52:33.087108Z 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]:53482
2025-11-01T16:52:33.087130Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=60 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.087141Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.089211Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 60 sessionId:  describe result for acl check
2025-11-01T16:52:33.089369Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.089382Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.089397Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.089418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085651635:2766] (SourceId=sid_rand_49, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.093443Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085651635:2766] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.101738Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085651635:2766] (SourceId=sid_rand_49, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.102758Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651651:2766] connected; active server actors: 1
2025-11-01T16:52:33.103886Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085651635:2766] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_49
2025-11-01T16:52:33.103915Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085651635:2766] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.105084Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651651:2766] disconnected.
2025-11-01T16:52:33.105129Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651651:2766] disconnected; active server actors: 1
2025-11-01T16:52:33.105153Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651651:2766] disconnected no session
2025-11-01T16:52:33.114862Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085651635:2766] (SourceId=sid_rand_49, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.114911Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085651635:2766] (SourceId=sid_rand_49, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-01T16:52:33.114931Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085651635:2766] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.114970Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 60 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-01T16:52:33.117255Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:33.117671Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_49|3eb4813a-5da8ea09-8a58d974-38d53184_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_49
2025-11-01T16:52:33.118730Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 60 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_49|3eb4813a-5da8ea09-8a58d974-38d53184_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_49|3eb4813a-5da8ea09-8a58d974-38d53184_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.121330Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId: sid_rand_49|3eb4813a-5da8ea09-8a58d974-38d53184_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.121372Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 60 sessionId: sid_rand_49|3eb4813a-5da8ea09-8a58d974-38d53184_0 grpc read failed
2025-11-01T16:52:33.121397Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 60 sessionId: sid_rand_49|3eb4813a-5da8ea09-8a58d974-38d53184_0 grpc closed
2025-11-01T16:52:33.121416Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 60 sessionId: sid_rand_49|3eb4813a-5da8ea09-8a58d974-38d53184_0 is DEAD
2025-11-01T16:52:33.122229Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.122364Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.122381Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 61
2025-11-01T16:52:33.123465Z 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-11-01T16:52:33.123614Z 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]:53482
2025-11-01T16:52:33.123635Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=61 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.123646Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.125571Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 61 sessionId:  describe result for acl check
2025-11-01T16:52:33.125784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.125799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.125813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.125833Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085651668:2770] (SourceId=sid_rand_50, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.130193Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085651668:2770] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.145163Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085651668:2770] (SourceId=sid_rand_50, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.146030Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651684:2770] connected; active server actors: 1
2025-11-01T16:52:33.155498Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085651668:2770] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_50
2025-11-01T16:52:33.155532Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085651668:2770] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.156836Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651684:2770] disconnected.
2025-11-01T16:52:33.156875Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651684:2770] disconnected; active server actors: 1
2025-11-01T16:52:33.156895Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651684:2770] disconnected no session
2025-11-01T16:52:33.166330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085651668:2770] (SourceId=sid_rand_50, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.166387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085651668:2770] (SourceId=sid_rand_50, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-01T16:52:33.166411Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085651668:2770] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.166450Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 61 sessionId:  partition: 9 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_50|4fbfa1c1-a2666166-fa831151-3a5b181d_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.167768Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:33.167960Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_50|4fbfa1c1-a2666166-fa831151-3a5b181d_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_50
2025-11-01T16:52:33.168751Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 61 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_50|4fbfa1c1-a2666166-fa831151-3a5b181d_0
2025-11-01T16:52:33.170811Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId: sid_rand_50|4fbfa1c1-a2666166-fa831151-3a5b181d_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.170829Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 61 sessionId: sid_rand_50|4fbfa1c1-a2666166-fa831151-3a5b181d_0 grpc read failed
2025-11-01T16:52:33.170872Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 61 sessionId: sid_rand_50|4fbfa1c1-a2666166-fa831151-3a5b181d_0
2025-11-01T16:52:33.170895Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 61 sessionId: sid_rand_50|4fbfa1c1-a2666166-fa831151-3a5b181d_0 is DEAD
2025-11-01T16:52:33.171278Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.171911Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.171942Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 62
2025-11-01T16:52:33.172334Z 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-11-01T16:52:33.172480Z 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]:53482
2025-11-01T16:52:33.172514Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=62 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.172525Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.174431Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 62 sessionId:  describe result for acl check
2025-11-01T16:52:33.174587Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.174601Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.174612Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.174632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085651702:2774] (SourceId=sid_rand_51, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.178954Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085651702:2774] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.193255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085651702:2774] (SourceId=sid_rand_51, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.196822Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085651702:2774] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_51
2025-11-01T16:52:33.196853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085651702:2774] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.196142Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651722:2774] connected; active server actors: 1
2025-11-01T16:52:33.197903Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651722:2774] disconnected.
2025-11-01T16:52:33.197932Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651722:2774] disconnected; active server actors: 1
2025-11-01T16:52:33.197953Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651722:2774] disconnected no session
2025-11-01T16:52:33.208185Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085651702:2774] (SourceId=sid_rand_51, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.208231Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085651702:2774] (SourceId=sid_rand_51, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-01T16:52:33.208250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085651702:2774] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.208286Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 62 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-01T16:52:33.209427Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:33.209566Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_51|7bb0d2a5-5b3824dc-bc5b526c-2ef530a0_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_51
2025-11-01T16:52:33.210008Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 62 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_51|7bb0d2a5-5b3824dc-bc5b526c-2ef530a0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_51|7bb0d2a5-5b3824dc-bc5b526c-2ef530a0_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.212143Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId: sid_rand_51|7bb0d2a5-5b3824dc-bc5b526c-2ef530a0_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.212169Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 62 sessionId: sid_rand_51|7bb0d2a5-5b3824dc-bc5b526c-2ef530a0_0 grpc read failed
2025-11-01T16:52:33.212470Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 62 sessionId: sid_rand_51|7bb0d2a5-5b3824dc-bc5b526c-2ef530a0_0
2025-11-01T16:52:33.212494Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 62 sessionId: sid_rand_51|7bb0d2a5-5b3824dc-bc5b526c-2ef530a0_0 is DEAD
2025-11-01T16:52:33.212875Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.213337Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.213356Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 63
2025-11-01T16:52:33.213841Z 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-11-01T16:52:33.213993Z 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]:53482
2025-11-01T16:52:33.214018Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=63 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.214028Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.216073Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 63 sessionId:  describe result for acl check
2025-11-01T16:52:33.216253Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.216273Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.216286Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.216306Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085651740:2778] (SourceId=sid_rand_52, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.219909Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085651740:2778] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.226257Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085651740:2778] (SourceId=sid_rand_52, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.227062Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651756:2778] connected; active server actors: 1
2025-11-01T16:52:33.227717Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085651740:2778] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_52
2025-11-01T16:52:33.227768Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085651740:2778] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.228635Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651756:2778] disconnected.
2025-11-01T16:52:33.228663Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651756:2778] disconnected; active server actors: 1
2025-11-01T16:52:33.228678Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651756:2778] disconnected no session
2025-11-01T16:52:33.237473Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085651740:2778] (SourceId=sid_rand_52, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.237522Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085651740:2778] (SourceId=sid_rand_52, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-01T16:52:33.237547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085651740:2778] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.237585Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 63 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-01T16:52:33.238332Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:33.238512Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_52|79ae4682-63962c06-a95996ae-f40755d8_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_52
2025-11-01T16:52:33.238869Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 63 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_52|79ae4682-63962c06-a95996ae-f40755d8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_52|79ae4682-63962c06-a95996ae-f40755d8_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.240430Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId: sid_rand_52|79ae4682-63962c06-a95996ae-f40755d8_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.240454Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 63 sessionId: sid_rand_52|79ae4682-63962c06-a95996ae-f40755d8_0 grpc read failed
2025-11-01T16:52:33.240492Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 63 sessionId: sid_rand_52|79ae4682-63962c06-a95996ae-f40755d8_0
2025-11-01T16:52:33.240520Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 63 sessionId: sid_rand_52|79ae4682-63962c06-a95996ae-f40755d8_0 is DEAD
2025-11-01T16:52:33.240853Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.241111Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.241137Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 64
2025-11-01T16:52:33.241412Z 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-11-01T16:52:33.241539Z 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]:53482
2025-11-01T16:52:33.241561Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=64 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.241571Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.243011Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 64 sessionId:  describe result for acl check
2025-11-01T16:52:33.243114Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.243124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.243132Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.243145Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085651776:2782] (SourceId=sid_rand_53, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.246944Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085651776:2782] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.253731Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085651776:2782] (SourceId=sid_rand_53, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.255126Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651792:2782] connected; active server actors: 1
2025-11-01T16:52:33.255703Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085651776:2782] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_53
2025-11-01T16:52:33.255728Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085651776:2782] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.256956Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651792:2782] disconnected.
2025-11-01T16:52:33.256998Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651792:2782] disconnected; active server actors: 1
2025-11-01T16:52:33.257024Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651792:2782] disconnected no session
2025-11-01T16:52:33.265726Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085651776:2782] (SourceId=sid_rand_53, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.265777Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085651776:2782] (SourceId=sid_rand_53, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-01T16:52:33.265798Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085651776:2782] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.265846Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 64 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-01T16:52:33.272102Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:33.272440Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_53|4666778c-57ebe33a-f27ff0d6-815edbff_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_53
2025-11-01T16:52:33.278673Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 64 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_53|4666778c-57ebe33a-f27ff0d6-815edbff_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_53|4666778c-57ebe33a-f27ff0d6-815edbff_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.287672Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId: sid_rand_53|4666778c-57ebe33a-f27ff0d6-815edbff_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.287718Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 64 sessionId: sid_rand_53|4666778c-57ebe33a-f27ff0d6-815edbff_0 grpc read failed
2025-11-01T16:52:33.287773Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 64 sessionId: sid_rand_53|4666778c-57ebe33a-f27ff0d6-815edbff_0 grpc closed
2025-11-01T16:52:33.287805Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 64 sessionId: sid_rand_53|4666778c-57ebe33a-f27ff0d6-815edbff_0 is DEAD
2025-11-01T16:52:33.289121Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.289339Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.289367Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 65
2025-11-01T16:52:33.290552Z 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-11-01T16:52:33.290694Z 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]:53482
2025-11-01T16:52:33.290713Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=65 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.290722Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.292425Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 65 sessionId:  describe result for acl check
2025-11-01T16:52:33.292597Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.292611Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.292623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.292642Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085651814:2788] (SourceId=sid_rand_54, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.299427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085651814:2788] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.310428Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085651814:2788] (SourceId=sid_rand_54, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.311950Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651834:2788] connected; active server actors: 1
2025-11-01T16:52:33.312536Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085651814:2788] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_54
2025-11-01T16:52:33.312560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085651814:2788] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.313874Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651834:2788] disconnected.
2025-11-01T16:52:33.313906Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651834:2788] disconnected; active server actors: 1
2025-11-01T16:52:33.313925Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651834:2788] disconnected no session
2025-11-01T16:52:33.332782Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085651814:2788] (SourceId=sid_rand_54, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.332837Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085651814:2788] (SourceId=sid_rand_54, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-01T16:52:33.332856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085651814:2788] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.332892Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 65 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-01T16:52:33.334722Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:33.334983Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_54|465d1c09-b6c4dd73-cd8ffd0b-c1a4d6f4_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_54
2025-11-01T16:52:33.335542Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 65 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_54|465d1c09-b6c4dd73-cd8ffd0b-c1a4d6f4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_54|465d1c09-b6c4dd73-cd8ffd0b-c1a4d6f4_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.340454Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId: sid_rand_54|465d1c09-b6c4dd73-cd8ffd0b-c1a4d6f4_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.340490Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 65 sessionId: sid_rand_54|465d1c09-b6c4dd73-cd8ffd0b-c1a4d6f4_0 grpc read failed
2025-11-01T16:52:33.340542Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 65 sessionId: sid_rand_54|465d1c09-b6c4dd73-cd8ffd0b-c1a4d6f4_0 grpc closed
2025-11-01T16:52:33.340567Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 65 sessionId: sid_rand_54|465d1c09-b6c4dd73-cd8ffd0b-c1a4d6f4_0 is DEAD
2025-11-01T16:52:33.341450Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.341596Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.341613Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 66
2025-11-01T16:52:33.343751Z 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-11-01T16:52:33.343914Z 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]:53482
2025-11-01T16:52:33.343936Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=66 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.343947Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.345768Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 66 sessionId:  describe result for acl check
2025-11-01T16:52:33.345920Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.345935Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.345945Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.345964Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085651861:2798] (SourceId=sid_rand_55, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.349928Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085651861:2798] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.358940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085651861:2798] (SourceId=sid_rand_55, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.363850Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651881:2798] connected; active server actors: 1
2025-11-01T16:52:33.365640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085651861:2798] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_55
2025-11-01T16:52:33.365679Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085651861:2798] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.366243Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651881:2798] disconnected.
2025-11-01T16:52:33.366286Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651881:2798] disconnected; active server actors: 1
2025-11-01T16:52:33.366305Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651881:2798] disconnected no session
2025-11-01T16:52:33.379379Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085651861:2798] (SourceId=sid_rand_55, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.379430Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085651861:2798] (SourceId=sid_rand_55, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-01T16:52:33.379448Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085651861:2798] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.379494Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 66 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-01T16:52:33.384240Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:33.384578Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_55|1ddbb1ea-2fe8a1a0-84664c18-b11035eb_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_55
2025-11-01T16:52:33.385093Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 66 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_55|1ddbb1ea-2fe8a1a0-84664c18-b11035eb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_55|1ddbb1ea-2fe8a1a0-84664c18-b11035eb_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.387342Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId: sid_rand_55|1ddbb1ea-2fe8a1a0-84664c18-b11035eb_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.387376Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 66 sessionId: sid_rand_55|1ddbb1ea-2fe8a1a0-84664c18-b11035eb_0 grpc read failed
2025-11-01T16:52:33.387693Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 66 sessionId: sid_rand_55|1ddbb1ea-2fe8a1a0-84664c18-b11035eb_0
2025-11-01T16:52:33.387715Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 66 sessionId: sid_rand_55|1ddbb1ea-2fe8a1a0-84664c18-b11035eb_0 is DEAD
2025-11-01T16:52:33.388136Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.388258Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.388277Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 67
2025-11-01T16:52:33.391642Z 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-11-01T16:52:33.391811Z 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]:53482
2025-11-01T16:52:33.391833Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=67 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.391844Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.393685Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 67 sessionId:  describe result for acl check
2025-11-01T16:52:33.393841Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.393854Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.393867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.393885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085651899:2802] (SourceId=sid_rand_56, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.397799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085651899:2802] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.431414Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085651899:2802] (SourceId=sid_rand_56, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.434522Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651918:2802] connected; active server actors: 1
2025-11-01T16:52:33.438997Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085651899:2802] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_56
2025-11-01T16:52:33.439034Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085651899:2802] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.439569Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651918:2802] disconnected.
2025-11-01T16:52:33.439616Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651918:2802] disconnected; active server actors: 1
2025-11-01T16:52:33.439637Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651918:2802] disconnected no session
2025-11-01T16:52:33.453669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085651899:2802] (SourceId=sid_rand_56, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.453723Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085651899:2802] (SourceId=sid_rand_56, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-01T16:52:33.453743Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085651899:2802] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.453780Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 67 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-01T16:52:33.456177Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:33.457610Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 67 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_56|7f0b6ab8-c1db74a4-f28033ca-808d69fe_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_56|7f0b6ab8-c1db74a4-f28033ca-808d69fe_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.456561Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_56|7f0b6ab8-c1db74a4-f28033ca-808d69fe_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_56
2025-11-01T16:52:33.460494Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId: sid_rand_56|7f0b6ab8-c1db74a4-f28033ca-808d69fe_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.460539Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 67 sessionId: sid_rand_56|7f0b6ab8-c1db74a4-f28033ca-808d69fe_0 grpc read failed
2025-11-01T16:52:33.460574Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 67 sessionId: sid_rand_56|7f0b6ab8-c1db74a4-f28033ca-808d69fe_0 grpc closed
2025-11-01T16:52:33.460603Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 67 sessionId: sid_rand_56|7f0b6ab8-c1db74a4-f28033ca-808d69fe_0 is DEAD
2025-11-01T16:52:33.461451Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.461590Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.461613Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 68
2025-11-01T16:52:33.462276Z 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-11-01T16:52:33.462418Z 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]:53482
2025-11-01T16:52:33.462448Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=68 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.462459Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.468738Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 68 sessionId:  describe result for acl check
2025-11-01T16:52:33.468904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.468919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.468931Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.468952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085651935:2806] (SourceId=sid_rand_57, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.472816Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085651935:2806] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.529036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085651935:2806] (SourceId=sid_rand_57, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.539402Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651954:2806] connected; active server actors: 1
2025-11-01T16:52:33.547358Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085651935:2806] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_57
2025-11-01T16:52:33.547397Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085651935:2806] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.551619Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651954:2806] disconnected.
2025-11-01T16:52:33.551657Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651954:2806] disconnected; active server actors: 1
2025-11-01T16:52:33.551678Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651954:2806] disconnected no session
2025-11-01T16:52:33.570330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085651935:2806] (SourceId=sid_rand_57, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.570379Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085651935:2806] (SourceId=sid_rand_57, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-01T16:52:33.570398Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085651935:2806] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.570436Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 68 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-01T16:52:33.572957Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_57|39c2de75-f4caf50d-b405b13c-4f1187db_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_57
2025-11-01T16:52:33.572534Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:33.575159Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 68 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_57|39c2de75-f4caf50d-b405b13c-4f1187db_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_57|39c2de75-f4caf50d-b405b13c-4f1187db_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.580376Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId: sid_rand_57|39c2de75-f4caf50d-b405b13c-4f1187db_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.580410Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 68 sessionId: sid_rand_57|39c2de75-f4caf50d-b405b13c-4f1187db_0 grpc read failed
2025-11-01T16:52:33.580443Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 68 sessionId: sid_rand_57|39c2de75-f4caf50d-b405b13c-4f1187db_0 grpc closed
2025-11-01T16:52:33.580472Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 68 sessionId: sid_rand_57|39c2de75-f4caf50d-b405b13c-4f1187db_0 is DEAD
2025-11-01T16:52:33.581660Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.581803Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.581821Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 69
2025-11-01T16:52:33.582175Z 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-11-01T16:52:33.582323Z 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]:53482
2025-11-01T16:52:33.582343Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=69 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.582354Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.584103Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 69 sessionId:  describe result for acl check
2025-11-01T16:52:33.584266Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.584278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.584291Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.584312Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085651971:2810] (SourceId=sid_rand_58, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.589590Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085651971:2810] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.598270Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085651971:2810] (SourceId=sid_rand_58, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.599829Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085651971:2810] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_58
2025-11-01T16:52:33.599855Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085651971:2810] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.599311Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651987:2810] connected; active server actors: 1
2025-11-01T16:52:33.600941Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651987:2810] disconnected.
2025-11-01T16:52:33.600967Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651987:2810] disconnected; active server actors: 1
2025-11-01T16:52:33.600986Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085651987:2810] disconnected no session
2025-11-01T16:52:33.616650Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085651971:2810] (SourceId=sid_rand_58, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.616701Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085651971:2810] (SourceId=sid_rand_58, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-01T16:52:33.616722Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085651971:2810] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.616760Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 69 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-01T16:52:33.618294Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:33.618430Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_58|a47be1ca-11e570e4-32d7358-da83f76_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_58
2025-11-01T16:52:33.619195Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 69 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_58|a47be1ca-11e570e4-32d7358-da83f76_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_58|a47be1ca-11e570e4-32d7358-da83f76_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.621969Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId: sid_rand_58|a47be1ca-11e570e4-32d7358-da83f76_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.621996Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 69 sessionId: sid_rand_58|a47be1ca-11e570e4-32d7358-da83f76_0 grpc read failed
2025-11-01T16:52:33.622029Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 69 sessionId: sid_rand_58|a47be1ca-11e570e4-32d7358-da83f76_0 grpc closed
2025-11-01T16:52:33.622052Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 69 sessionId: sid_rand_58|a47be1ca-11e570e4-32d7358-da83f76_0 is DEAD
2025-11-01T16:52:33.622919Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.623051Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.623071Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 70
2025-11-01T16:52:33.625193Z 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-11-01T16:52:33.625359Z 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]:53482
2025-11-01T16:52:33.625380Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=70 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.625392Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.628432Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 70 sessionId:  describe result for acl check
2025-11-01T16:52:33.628621Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.628655Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.628670Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.628690Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085652005:2814] (SourceId=sid_rand_59, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.632745Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085652005:2814] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.644791Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085652005:2814] (SourceId=sid_rand_59, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.647427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085652005:2814] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_59
2025-11-01T16:52:33.647227Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652024:2814] connected; active server actors: 1
2025-11-01T16:52:33.648444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085652005:2814] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.649481Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652024:2814] disconnected.
2025-11-01T16:52:33.649514Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652024:2814] disconnected; active server actors: 1
2025-11-01T16:52:33.649536Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652024:2814] disconnected no session
2025-11-01T16:52:33.656497Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085652005:2814] (SourceId=sid_rand_59, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.656549Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085652005:2814] (SourceId=sid_rand_59, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-01T16:52:33.656563Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085652005:2814] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.656591Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 70 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-01T16:52:33.658533Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:33.658822Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_59|fcf83d1a-65c4150c-57d9792b-79a7fca_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_59
2025-11-01T16:52:33.659683Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 70 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_59|fcf83d1a-65c4150c-57d9792b-79a7fca_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_59|fcf83d1a-65c4150c-57d9792b-79a7fca_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.662215Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId: sid_rand_59|fcf83d1a-65c4150c-57d9792b-79a7fca_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.662235Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 70 sessionId: sid_rand_59|fcf83d1a-65c4150c-57d9792b-79a7fca_0 grpc read failed
2025-11-01T16:52:33.662269Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 70 sessionId: sid_rand_59|fcf83d1a-65c4150c-57d9792b-79a7fca_0
2025-11-01T16:52:33.662289Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 70 sessionId: sid_rand_59|fcf83d1a-65c4150c-57d9792b-79a7fca_0 is DEAD
2025-11-01T16:52:33.662573Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.663148Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.663166Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 71
2025-11-01T16:52:33.664490Z 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-11-01T16:52:33.664615Z 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]:53482
2025-11-01T16:52:33.664629Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=71 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.664638Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.666121Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 71 sessionId:  describe result for acl check
2025-11-01T16:52:33.666250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.666269Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.666281Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.666302Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085652041:2818] (SourceId=sid_rand_60, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.669290Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085652041:2818] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.675494Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085652041:2818] (SourceId=sid_rand_60, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.676403Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652057:2818] connected; active server actors: 1
2025-11-01T16:52:33.676751Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085652041:2818] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_60
2025-11-01T16:52:33.676778Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085652041:2818] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.677690Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652057:2818] disconnected.
2025-11-01T16:52:33.677722Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652057:2818] disconnected; active server actors: 1
2025-11-01T16:52:33.677744Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652057:2818] disconnected no session
2025-11-01T16:52:33.694336Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085652041:2818] (SourceId=sid_rand_60, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.694385Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085652041:2818] (SourceId=sid_rand_60, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-01T16:52:33.694404Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085652041:2818] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.694442Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 71 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-01T16:52:33.696018Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:33.696193Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_60|29fc0db0-60c1e481-1cbba12d-7861716c_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_60
2025-11-01T16:52:33.696588Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 71 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_60|29fc0db0-60c1e481-1cbba12d-7861716c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_60|29fc0db0-60c1e481-1cbba12d-7861716c_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.704428Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId: sid_rand_60|29fc0db0-60c1e481-1cbba12d-7861716c_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.704462Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 71 sessionId: sid_rand_60|29fc0db0-60c1e481-1cbba12d-7861716c_0 grpc read failed
2025-11-01T16:52:33.704492Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 71 sessionId: sid_rand_60|29fc0db0-60c1e481-1cbba12d-7861716c_0 grpc closed
2025-11-01T16:52:33.704525Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 71 sessionId: sid_rand_60|29fc0db0-60c1e481-1cbba12d-7861716c_0 is DEAD
2025-11-01T16:52:33.705617Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.705760Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.705786Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 72
2025-11-01T16:52:33.706155Z 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-11-01T16:52:33.706290Z 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]:53482
2025-11-01T16:52:33.706310Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=72 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.706321Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.708003Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 72 sessionId:  describe result for acl check
2025-11-01T16:52:33.708154Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.708174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.708185Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.708205Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085652075:2822] (SourceId=sid_rand_61, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.712108Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085652075:2822] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.726976Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085652075:2822] (SourceId=sid_rand_61, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.731697Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652091:2822] connected; active server actors: 1
2025-11-01T16:52:33.739349Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085652075:2822] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_61
2025-11-01T16:52:33.739389Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085652075:2822] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.740564Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652091:2822] disconnected.
2025-11-01T16:52:33.740607Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652091:2822] disconnected; active server actors: 1
2025-11-01T16:52:33.740627Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652091:2822] disconnected no session
2025-11-01T16:52:33.754194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085652075:2822] (SourceId=sid_rand_61, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.754245Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085652075:2822] (SourceId=sid_rand_61, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-01T16:52:33.754264Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085652075:2822] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.754301Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 72 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-01T16:52:33.755890Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:33.756030Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_61|5a1eeb64-22f077bf-efdd6f86-46999bf7_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_61
2025-11-01T16:52:33.756691Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 72 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_61|5a1eeb64-22f077bf-efdd6f86-46999bf7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_61|5a1eeb64-22f077bf-efdd6f86-46999bf7_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.758894Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId: sid_rand_61|5a1eeb64-22f077bf-efdd6f86-46999bf7_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.758918Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 72 sessionId: sid_rand_61|5a1eeb64-22f077bf-efdd6f86-46999bf7_0 grpc read failed
2025-11-01T16:52:33.758950Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 72 sessionId: sid_rand_61|5a1eeb64-22f077bf-efdd6f86-46999bf7_0 grpc closed
2025-11-01T16:52:33.758971Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 72 sessionId: sid_rand_61|5a1eeb64-22f077bf-efdd6f86-46999bf7_0 is DEAD
2025-11-01T16:52:33.759780Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.759904Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.759921Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 73
2025-11-01T16:52:33.760524Z 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-11-01T16:52:33.760661Z 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]:53482
2025-11-01T16:52:33.760681Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=73 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.760692Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.762545Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 73 sessionId:  describe result for acl check
2025-11-01T16:52:33.762720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.762734Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.762747Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.762768Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085652109:2826] (SourceId=sid_rand_62, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.766717Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085652109:2826] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.776900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085652109:2826] (SourceId=sid_rand_62, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.778013Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652128:2826] connected; active server actors: 1
2025-11-01T16:52:33.778307Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085652109:2826] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_62
2025-11-01T16:52:33.778330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085652109:2826] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.779398Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652128:2826] disconnected.
2025-11-01T16:52:33.779427Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652128:2826] disconnected; active server actors: 1
2025-11-01T16:52:33.779447Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652128:2826] disconnected no session
2025-11-01T16:52:33.787442Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085652109:2826] (SourceId=sid_rand_62, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.787490Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085652109:2826] (SourceId=sid_rand_62, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-01T16:52:33.787510Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085652109:2826] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.787546Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 73 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-01T16:52:33.789778Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:33.790135Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_62|82a8e481-61cda955-5f66ebe6-3a6384ea_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_62
2025-11-01T16:52:33.791201Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 73 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_62|82a8e481-61cda955-5f66ebe6-3a6384ea_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_62|82a8e481-61cda955-5f66ebe6-3a6384ea_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.792893Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId: sid_rand_62|82a8e481-61cda955-5f66ebe6-3a6384ea_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.792915Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 73 sessionId: sid_rand_62|82a8e481-61cda955-5f66ebe6-3a6384ea_0 grpc read failed
2025-11-01T16:52:33.793205Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 73 sessionId: sid_rand_62|82a8e481-61cda955-5f66ebe6-3a6384ea_0
2025-11-01T16:52:33.793230Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 73 sessionId: sid_rand_62|82a8e481-61cda955-5f66ebe6-3a6384ea_0 is DEAD
2025-11-01T16:52:33.793594Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.794486Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.794508Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 74
2025-11-01T16:52:33.794866Z 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-11-01T16:52:33.794997Z 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]:53482
2025-11-01T16:52:33.795018Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=74 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.795027Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.796749Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 74 sessionId:  describe result for acl check
2025-11-01T16:52:33.796904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.796923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.796934Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.796955Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085652145:2830] (SourceId=sid_rand_63, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.800949Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085652145:2830] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.808014Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085652145:2830] (SourceId=sid_rand_63, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.809402Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652161:2830] connected; active server actors: 1
2025-11-01T16:52:33.809606Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085652145:2830] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_63
2025-11-01T16:52:33.809629Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085652145:2830] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.810877Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652161:2830] disconnected.
2025-11-01T16:52:33.810917Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652161:2830] disconnected; active server actors: 1
2025-11-01T16:52:33.810937Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652161:2830] disconnected no session
2025-11-01T16:52:33.821465Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085652145:2830] (SourceId=sid_rand_63, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.821511Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085652145:2830] (SourceId=sid_rand_63, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-01T16:52:33.821529Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085652145:2830] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.821563Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 74 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-01T16:52:33.822931Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:33.823061Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_63|ec4972af-f85b9f54-e5a39229-899b8a89_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_63
2025-11-01T16:52:33.823476Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 74 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_63|ec4972af-f85b9f54-e5a39229-899b8a89_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_63|ec4972af-f85b9f54-e5a39229-899b8a89_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.827934Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId: sid_rand_63|ec4972af-f85b9f54-e5a39229-899b8a89_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.827960Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 74 sessionId: sid_rand_63|ec4972af-f85b9f54-e5a39229-899b8a89_0 grpc read failed
2025-11-01T16:52:33.828292Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 74 sessionId: sid_rand_63|ec4972af-f85b9f54-e5a39229-899b8a89_0
2025-11-01T16:52:33.828317Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 74 sessionId: sid_rand_63|ec4972af-f85b9f54-e5a39229-899b8a89_0 is DEAD
2025-11-01T16:52:33.828681Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.829845Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.829872Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 75
2025-11-01T16:52:33.831561Z 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-11-01T16:52:33.831713Z 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]:53482
2025-11-01T16:52:33.831732Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=75 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.831743Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.837992Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 75 sessionId:  describe result for acl check
2025-11-01T16:52:33.838164Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.838177Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.838189Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.838207Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085652205:2834] (SourceId=sid_rand_64, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.843209Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085652205:2834] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.852081Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085652205:2834] (SourceId=sid_rand_64, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.852610Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652222:2834] connected; active server actors: 1
2025-11-01T16:52:33.852969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085652205:2834] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_64
2025-11-01T16:52:33.852987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085652205:2834] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.853359Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652222:2834] disconnected.
2025-11-01T16:52:33.853407Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652222:2834] disconnected; active server actors: 1
2025-11-01T16:52:33.853431Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652222:2834] disconnected no session
2025-11-01T16:52:33.864693Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085652205:2834] (SourceId=sid_rand_64, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.864745Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085652205:2834] (SourceId=sid_rand_64, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-01T16:52:33.864765Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085652205:2834] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.864803Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 75 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-01T16:52:33.867053Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:33.867294Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_64|d19eca44-a6dd42fc-afdc8081-2f4b92f2_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_64
2025-11-01T16:52:33.868132Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 75 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_64|d19eca44-a6dd42fc-afdc8081-2f4b92f2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_64|d19eca44-a6dd42fc-afdc8081-2f4b92f2_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.870470Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId: sid_rand_64|d19eca44-a6dd42fc-afdc8081-2f4b92f2_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.870505Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 75 sessionId: sid_rand_64|d19eca44-a6dd42fc-afdc8081-2f4b92f2_0 grpc read failed
2025-11-01T16:52:33.870545Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 75 sessionId: sid_rand_64|d19eca44-a6dd42fc-afdc8081-2f4b92f2_0 grpc closed
2025-11-01T16:52:33.870569Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 75 sessionId: sid_rand_64|d19eca44-a6dd42fc-afdc8081-2f4b92f2_0 is DEAD
2025-11-01T16:52:33.871364Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.871385Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 76
2025-11-01T16:52:33.871499Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.872898Z 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-11-01T16:52:33.873059Z 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]:53482
2025-11-01T16:52:33.873088Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=76 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.873100Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.874898Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 76 sessionId:  describe result for acl check
2025-11-01T16:52:33.875068Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.875090Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.875104Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.875124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085652239:2844] (SourceId=sid_rand_65, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.880775Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085652239:2844] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.887957Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085652239:2844] (SourceId=sid_rand_65, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.889351Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085652239:2844] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_65
2025-11-01T16:52:33.889380Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085652239:2844] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.888470Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652255:2844] connected; active server actors: 1
2025-11-01T16:52:33.889885Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652255:2844] disconnected.
2025-11-01T16:52:33.889916Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652255:2844] disconnected; active server actors: 1
2025-11-01T16:52:33.889938Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652255:2844] disconnected no session
2025-11-01T16:52:33.898499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085652239:2844] (SourceId=sid_rand_65, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.898548Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085652239:2844] (SourceId=sid_rand_65, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-01T16:52:33.898568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085652239:2844] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.898605Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 76 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-01T16:52:33.899610Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:33.899741Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_65|e9add30d-8aeb0db5-66fb540-3344064c_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_65
2025-11-01T16:52:33.900163Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 76 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_65|e9add30d-8aeb0db5-66fb540-3344064c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_65|e9add30d-8aeb0db5-66fb540-3344064c_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.904056Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId: sid_rand_65|e9add30d-8aeb0db5-66fb540-3344064c_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.904083Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 76 sessionId: sid_rand_65|e9add30d-8aeb0db5-66fb540-3344064c_0 grpc read failed
2025-11-01T16:52:33.904114Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 76 sessionId: sid_rand_65|e9add30d-8aeb0db5-66fb540-3344064c_0 grpc closed
2025-11-01T16:52:33.904138Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 76 sessionId: sid_rand_65|e9add30d-8aeb0db5-66fb540-3344064c_0 is DEAD
2025-11-01T16:52:33.904224Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.904247Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 77
2025-11-01T16:52:33.904595Z 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-11-01T16:52:33.904741Z 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]:53482
2025-11-01T16:52:33.904765Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=77 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.904777Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.905015Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.906943Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 77 sessionId:  describe result for acl check
2025-11-01T16:52:33.907117Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.907137Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.907149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.907169Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085652273:2848] (SourceId=sid_rand_66, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.911541Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085652273:2848] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.921946Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085652273:2848] (SourceId=sid_rand_66, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.922565Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652292:2848] connected; active server actors: 1
2025-11-01T16:52:33.923079Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085652273:2848] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_66
2025-11-01T16:52:33.923107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085652273:2848] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.924449Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652292:2848] disconnected.
2025-11-01T16:52:33.924488Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652292:2848] disconnected; active server actors: 1
2025-11-01T16:52:33.924526Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652292:2848] disconnected no session
2025-11-01T16:52:33.932574Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085652273:2848] (SourceId=sid_rand_66, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.932620Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085652273:2848] (SourceId=sid_rand_66, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-01T16:52:33.932638Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085652273:2848] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.932673Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 77 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-01T16:52:33.933265Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:33.933455Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_66|fb257b36-9bbb4eb7-f1b6e4b2-259de287_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_66
2025-11-01T16:52:33.933906Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 77 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_66|fb257b36-9bbb4eb7-f1b6e4b2-259de287_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_66|fb257b36-9bbb4eb7-f1b6e4b2-259de287_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.936999Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId: sid_rand_66|fb257b36-9bbb4eb7-f1b6e4b2-259de287_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.937031Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 77 sessionId: sid_rand_66|fb257b36-9bbb4eb7-f1b6e4b2-259de287_0 grpc read failed
2025-11-01T16:52:33.937063Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 77 sessionId: sid_rand_66|fb257b36-9bbb4eb7-f1b6e4b2-259de287_0 grpc closed
2025-11-01T16:52:33.937102Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 77 sessionId: sid_rand_66|fb257b36-9bbb4eb7-f1b6e4b2-259de287_0 is DEAD
2025-11-01T16:52:33.937149Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.937170Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 78
2025-11-01T16:52:33.937496Z 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-11-01T16:52:33.937656Z 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]:53482
2025-11-01T16:52:33.937685Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=78 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.937695Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.937999Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.939171Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 78 sessionId:  describe result for acl check
2025-11-01T16:52:33.939335Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.939354Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.939366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.939385Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085652310:2852] (SourceId=sid_rand_67, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.942573Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085652310:2852] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.954121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085652310:2852] (SourceId=sid_rand_67, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.955702Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085652310:2852] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_67
2025-11-01T16:52:33.955728Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085652310:2852] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.955119Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652326:2852] connected; active server actors: 1
2025-11-01T16:52:33.956688Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652326:2852] disconnected.
2025-11-01T16:52:33.956718Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652326:2852] disconnected; active server actors: 1
2025-11-01T16:52:33.956742Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652326:2852] disconnected no session
2025-11-01T16:52:33.967318Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085652310:2852] (SourceId=sid_rand_67, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:33.967367Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085652310:2852] (SourceId=sid_rand_67, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-01T16:52:33.967394Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085652310:2852] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:33.967432Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 78 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-01T16:52:33.968282Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:33.968487Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_67|86e4daf1-1c88e3dc-31dc0512-14526e6d_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_67
Init result: { status: SUCCESS init_response { session_id: "sid_rand_67|86e4daf1-1c88e3dc-31dc0512-14526e6d_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:33.969086Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 78 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_67|86e4daf1-1c88e3dc-31dc0512-14526e6d_0
2025-11-01T16:52:33.973221Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId: sid_rand_67|86e4daf1-1c88e3dc-31dc0512-14526e6d_0 grpc read done: success: 0 data: 
2025-11-01T16:52:33.973255Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 78 sessionId: sid_rand_67|86e4daf1-1c88e3dc-31dc0512-14526e6d_0 grpc read failed
2025-11-01T16:52:33.973289Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 78 sessionId: sid_rand_67|86e4daf1-1c88e3dc-31dc0512-14526e6d_0 grpc closed
2025-11-01T16:52:33.973310Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 78 sessionId: sid_rand_67|86e4daf1-1c88e3dc-31dc0512-14526e6d_0 is DEAD
2025-11-01T16:52:33.974444Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:33.974457Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:33.974477Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 79
2025-11-01T16:52:33.974806Z 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-11-01T16:52:33.974962Z 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]:53482
2025-11-01T16:52:33.974990Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=79 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:33.975002Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:33.976986Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 79 sessionId:  describe result for acl check
2025-11-01T16:52:33.977174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:33.977196Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:33.977208Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:33.977236Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800895085652344:2856] (SourceId=sid_rand_68, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:33.981454Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800895085652344:2856] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:33.991174Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652360:2856] connected; active server actors: 1
2025-11-01T16:52:33.988601Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800895085652344:2856] (SourceId=sid_rand_68, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:33.991614Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800895085652344:2856] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_68
2025-11-01T16:52:33.991638Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800895085652344:2856] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:33.992286Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652360:2856] disconnected.
2025-11-01T16:52:33.992321Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652360:2856] disconnected; active server actors: 1
2025-11-01T16:52:33.992343Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800895085652360:2856] disconnected no session
2025-11-01T16:52:34.055071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800895085652344:2856] (SourceId=sid_rand_68, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:34.055125Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800895085652344:2856] (SourceId=sid_rand_68, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-01T16:52:34.055146Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800895085652344:2856] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:34.055186Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 79 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-01T16:52:34.055960Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:34.056052Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_68|12505547-ad284b0b-dcdf5b41-f9f2000_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_68
2025-11-01T16:52:34.056599Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 79 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_68|12505547-ad284b0b-dcdf5b41-f9f2000_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_68|12505547-ad284b0b-dcdf5b41-f9f2000_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:34.059871Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId: sid_rand_68|12505547-ad284b0b-dcdf5b41-f9f2000_0 grpc read done: success: 0 data: 
2025-11-01T16:52:34.059899Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 79 sessionId: sid_rand_68|12505547-ad284b0b-dcdf5b41-f9f2000_0 grpc read failed
2025-11-01T16:52:34.060191Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:34.060191Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 79 sessionId: sid_rand_68|12505547-ad284b0b-dcdf5b41-f9f2000_0
2025-11-01T16:52:34.060215Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 79 sessionId: sid_rand_68|12505547-ad284b0b-dcdf5b41-f9f2000_0 is DEAD
2025-11-01T16:52:34.060217Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 80
2025-11-01T16:52:34.060625Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:34.063405Z 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-11-01T16:52:34.063576Z 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]:53482
2025-11-01T16:52:34.063604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=80 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:34.063614Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:34.065566Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 80 sessionId:  describe result for acl check
2025-11-01T16:52:34.065739Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:34.065762Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:34.065776Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:34.065800Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800899380619679:2860] (SourceId=sid_rand_69, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:34.069508Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800899380619679:2860] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:34.075756Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800899380619679:2860] (SourceId=sid_rand_69, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:34.076547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800899380619679:2860] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_69
2025-11-01T16:52:34.076574Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800899380619679:2860] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:34.076293Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619698:2860] connected; active server actors: 1
2025-11-01T16:52:34.077030Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619698:2860] disconnected.
2025-11-01T16:52:34.077057Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619698:2860] disconnected; active server actors: 1
2025-11-01T16:52:34.077079Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619698:2860] disconnected no session
2025-11-01T16:52:34.088179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800899380619679:2860] (SourceId=sid_rand_69, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:34.088228Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800899380619679:2860] (SourceId=sid_rand_69, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-01T16:52:34.088248Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800899380619679:2860] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:34.088287Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 80 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-01T16:52:34.090286Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:34.090543Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_69|315468eb-537d0d6f-192c46cd-cf3a962a_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_69
2025-11-01T16:52:34.091066Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 80 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_69|315468eb-537d0d6f-192c46cd-cf3a962a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_69|315468eb-537d0d6f-192c46cd-cf3a962a_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:34.097200Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId: sid_rand_69|315468eb-537d0d6f-192c46cd-cf3a962a_0 grpc read done: success: 0 data: 
2025-11-01T16:52:34.097238Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 80 sessionId: sid_rand_69|315468eb-537d0d6f-192c46cd-cf3a962a_0 grpc read failed
2025-11-01T16:52:34.097276Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 80 sessionId: sid_rand_69|315468eb-537d0d6f-192c46cd-cf3a962a_0 grpc closed
2025-11-01T16:52:34.097302Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 80 sessionId: sid_rand_69|315468eb-537d0d6f-192c46cd-cf3a962a_0 is DEAD
2025-11-01T16:52:34.098235Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:34.098362Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:34.098381Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 81
2025-11-01T16:52:34.099525Z 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-11-01T16:52:34.099697Z 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]:53482
2025-11-01T16:52:34.099719Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=81 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:34.099732Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:34.101579Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 81 sessionId:  describe result for acl check
2025-11-01T16:52:34.101734Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:34.101748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:34.101760Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:34.101780Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800899380619716:2864] (SourceId=sid_rand_70, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:34.106008Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800899380619716:2864] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:34.115194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800899380619716:2864] (SourceId=sid_rand_70, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:34.116148Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619732:2864] connected; active server actors: 1
2025-11-01T16:52:34.117896Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619732:2864] disconnected.
2025-11-01T16:52:34.117935Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619732:2864] disconnected; active server actors: 1
2025-11-01T16:52:34.117960Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619732:2864] disconnected no session
2025-11-01T16:52:34.116460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800899380619716:2864] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_70
2025-11-01T16:52:34.116488Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800899380619716:2864] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:34.126341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800899380619716:2864] (SourceId=sid_rand_70, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:34.126395Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800899380619716:2864] (SourceId=sid_rand_70, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-01T16:52:34.126416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800899380619716:2864] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:34.126452Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 81 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-01T16:52:34.127236Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T16:52:34.127455Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_70|56f515a9-43bf42ad-a1297317-31bfa2b7_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_70
Init result: { status: SUCCESS init_response { session_id: "sid_rand_70|56f515a9-43bf42ad-a1297317-31bfa2b7_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:34.127912Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 81 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_70|56f515a9-43bf42ad-a1297317-31bfa2b7_0
2025-11-01T16:52:34.131448Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId: sid_rand_70|56f515a9-43bf42ad-a1297317-31bfa2b7_0 grpc read done: success: 0 data: 
2025-11-01T16:52:34.131475Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 81 sessionId: sid_rand_70|56f515a9-43bf42ad-a1297317-31bfa2b7_0 grpc read failed
2025-11-01T16:52:34.131514Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 81 sessionId: sid_rand_70|56f515a9-43bf42ad-a1297317-31bfa2b7_0 grpc closed
2025-11-01T16:52:34.131536Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 81 sessionId: sid_rand_70|56f515a9-43bf42ad-a1297317-31bfa2b7_0 is DEAD
2025-11-01T16:52:34.131612Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:34.131634Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 82
2025-11-01T16:52:34.131928Z 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-11-01T16:52:34.132064Z 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]:53482
2025-11-01T16:52:34.132087Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=82 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:34.132099Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:34.132403Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:34.134270Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 82 sessionId:  describe result for acl check
2025-11-01T16:52:34.134415Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:34.134427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:34.134440Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:34.134460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800899380619750:2868] (SourceId=sid_rand_71, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:34.138374Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800899380619750:2868] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:34.145518Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800899380619750:2868] (SourceId=sid_rand_71, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:34.146534Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619766:2868] connected; active server actors: 1
2025-11-01T16:52:34.148618Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619766:2868] disconnected.
2025-11-01T16:52:34.148654Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619766:2868] disconnected; active server actors: 1
2025-11-01T16:52:34.148688Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619766:2868] disconnected no session
2025-11-01T16:52:34.147081Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800899380619750:2868] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_71
2025-11-01T16:52:34.147109Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800899380619750:2868] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:34.158023Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800899380619750:2868] (SourceId=sid_rand_71, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:34.158072Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800899380619750:2868] (SourceId=sid_rand_71, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-01T16:52:34.158092Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800899380619750:2868] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:34.158130Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 82 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-01T16:52:34.160553Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:34.160880Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_71|30d4f6ea-5f9361be-920cdd3b-a7b7b2d5_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_71
2025-11-01T16:52:34.161831Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 82 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_71|30d4f6ea-5f9361be-920cdd3b-a7b7b2d5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_71|30d4f6ea-5f9361be-920cdd3b-a7b7b2d5_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:34.163577Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId: sid_rand_71|30d4f6ea-5f9361be-920cdd3b-a7b7b2d5_0 grpc read done: success: 0 data: 
2025-11-01T16:52:34.163604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 82 sessionId: sid_rand_71|30d4f6ea-5f9361be-920cdd3b-a7b7b2d5_0 grpc read failed
2025-11-01T16:52:34.163634Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 82 sessionId: sid_rand_71|30d4f6ea-5f9361be-920cdd3b-a7b7b2d5_0 grpc closed
2025-11-01T16:52:34.163657Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 82 sessionId: sid_rand_71|30d4f6ea-5f9361be-920cdd3b-a7b7b2d5_0 is DEAD
2025-11-01T16:52:34.164621Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:34.167579Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:34.167609Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 83
2025-11-01T16:52:34.168470Z 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-11-01T16:52:34.168648Z 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]:53482
2025-11-01T16:52:34.168670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=83 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:34.168680Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:34.170640Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 83 sessionId:  describe result for acl check
2025-11-01T16:52:34.170803Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:34.170820Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:34.170833Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:34.170853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800899380619783:2872] (SourceId=sid_rand_72, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:34.174968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800899380619783:2872] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:34.182181Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800899380619783:2872] (SourceId=sid_rand_72, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:34.183209Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619801:2872] connected; active server actors: 1
2025-11-01T16:52:34.183412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800899380619783:2872] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_72
2025-11-01T16:52:34.183442Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800899380619783:2872] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:34.184071Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619801:2872] disconnected.
2025-11-01T16:52:34.184108Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619801:2872] disconnected; active server actors: 1
2025-11-01T16:52:34.184130Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619801:2872] disconnected no session
2025-11-01T16:52:34.197470Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800899380619783:2872] (SourceId=sid_rand_72, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:34.197526Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800899380619783:2872] (SourceId=sid_rand_72, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-01T16:52:34.197545Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800899380619783:2872] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:34.197582Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 83 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-01T16:52:34.198321Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:34.198521Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_72|568e3b2f-14da2f28-f91234f4-ff889b08_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_72
2025-11-01T16:52:34.199631Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 83 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_72|568e3b2f-14da2f28-f91234f4-ff889b08_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_72|568e3b2f-14da2f28-f91234f4-ff889b08_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:34.201827Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId: sid_rand_72|568e3b2f-14da2f28-f91234f4-ff889b08_0 grpc read done: success: 0 data: 
2025-11-01T16:52:34.201860Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 83 sessionId: sid_rand_72|568e3b2f-14da2f28-f91234f4-ff889b08_0 grpc read failed
2025-11-01T16:52:34.201871Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:34.201890Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 83 sessionId: sid_rand_72|568e3b2f-14da2f28-f91234f4-ff889b08_0 grpc closed
2025-11-01T16:52:34.201892Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 84
2025-11-01T16:52:34.201921Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 83 sessionId: sid_rand_72|568e3b2f-14da2f28-f91234f4-ff889b08_0 is DEAD
2025-11-01T16:52:34.202168Z 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-11-01T16:52:34.202315Z 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]:53482
2025-11-01T16:52:34.202335Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=84 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:34.202346Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:34.202969Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:34.204259Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 84 sessionId:  describe result for acl check
2025-11-01T16:52:34.204397Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:34.204410Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:34.204423Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:34.204443Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800899380619819:2876] (SourceId=sid_rand_73, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:34.208353Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800899380619819:2876] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:34.215924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800899380619819:2876] (SourceId=sid_rand_73, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:34.216644Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619838:2876] connected; active server actors: 1
2025-11-01T16:52:34.217055Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800899380619819:2876] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_73
2025-11-01T16:52:34.217082Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800899380619819:2876] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:34.217955Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619838:2876] disconnected.
2025-11-01T16:52:34.217994Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619838:2876] disconnected; active server actors: 1
2025-11-01T16:52:34.218014Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619838:2876] disconnected no session
2025-11-01T16:52:34.229757Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800899380619819:2876] (SourceId=sid_rand_73, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:34.229810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800899380619819:2876] (SourceId=sid_rand_73, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-01T16:52:34.229830Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800899380619819:2876] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:34.229868Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 84 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-01T16:52:34.231087Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T16:52:34.231555Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_73|329b7019-bd77c66b-e8ae5462-b8c975b2_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_73
2025-11-01T16:52:34.233360Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 84 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_73|329b7019-bd77c66b-e8ae5462-b8c975b2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_73|329b7019-bd77c66b-e8ae5462-b8c975b2_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T16:52:34.235189Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId: sid_rand_73|329b7019-bd77c66b-e8ae5462-b8c975b2_0 grpc read done: success: 0 data: 
2025-11-01T16:52:34.235216Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 84 sessionId: sid_rand_73|329b7019-bd77c66b-e8ae5462-b8c975b2_0 grpc read failed
2025-11-01T16:52:34.235650Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 84 sessionId: sid_rand_73|329b7019-bd77c66b-e8ae5462-b8c975b2_0
2025-11-01T16:52:34.235685Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 84 sessionId: sid_rand_73|329b7019-bd77c66b-e8ae5462-b8c975b2_0 is DEAD
2025-11-01T16:52:34.235801Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T16:52:34.235832Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 85
2025-11-01T16:52:34.236133Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-01T16:52:34.236883Z 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-11-01T16:52:34.237041Z 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]:53482
2025-11-01T16:52:34.237062Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=85 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53482 proto=v1  topic=topic1 durationSec=0
2025-11-01T16:52:34.237074Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T16:52:34.238916Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 85 sessionId:  describe result for acl check
2025-11-01T16:52:34.239081Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T16:52:34.239095Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T16:52:34.239106Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T16:52:34.239125Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567800899380619855:2880] (SourceId=sid_rand_74, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T16:52:34.242960Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567800899380619855:2880] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Select from the table
2025-11-01T16:52:34.251935Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567800899380619855:2880] (SourceId=sid_rand_74, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T16:52:34.254087Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567800899380619855:2880] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_74
2025-11-01T16:52:34.254116Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567800899380619855:2880] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Update the table
2025-11-01T16:52:34.253432Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619871:2880] connected; active server actors: 1
2025-11-01T16:52:34.255216Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619871:2880] disconnected.
2025-11-01T16:52:34.255264Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619871:2880] disconnected; active server actors: 1
2025-11-01T16:52:34.255287Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567800899380619871:2880] disconnected no session
2025-11-01T16:52:34.264555Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567800899380619855:2880] (SourceId=sid_rand_74, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T16:52:34.264609Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567800899380619855:2880] (SourceId=sid_rand_74, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-01T16:52:34.264628Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567800899380619855:2880] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Start idle
2025-11-01T16:52:34.264666Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 85 sessionId:  partition: 9 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_74|d59d7eb8-73d4a63b-eef7729a-83e4ce93_0" topic: "topic1" cluster: "dc1" partition_id: 9 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:5
Round robin check: 3:5
Round robin check: 4:5
Round robin check: 5:5
Round robin check: 6:4
Round robin check: 7:5
Round robin check: 8:5
Round robin check: 9:6
Round robin check: 10:5
Round robin check: 11:5
Round robin check: 12:5
Round robin check: 13:5
Round robin check: 14:5
2025-11-01T16:52:34.266548Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T16:52:34.266748Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_74|d59d7eb8-73d4a63b-eef7729a-83e4ce93_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_74
2025-11-01T16:52:34.267206Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 85 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_74|d59d7eb8-73d4a63b-eef7729a-83e4ce93_0
2025-11-01T16:52:34.274800Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId: sid_rand_74|d59d7eb8-73d4a63b-eef7729a-83e4ce93_0 grpc read done: success: 0 data: 
2025-11-01T16:52:34.274834Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 85 sessionId: sid_rand_74|d59d7eb8-73d4a63b-eef7729a-83e4ce93_0 grpc read failed
2025-11-01T16:52:34.274871Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 85 sessionId: sid_rand_74|d59d7eb8-73d4a63b-eef7729a-83e4ce93_0 grpc closed
2025-11-01T16:52:34.274897Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 85 sessionId: sid_rand_74|d59d7eb8-73d4a63b-eef7729a-83e4ce93_0 is DEAD
2025-11-01T16:52:34.276788Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
