2025-12-04T20:33:40.169176Z node 17 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[17:7580103685654757946:2081];send_to=[0:7307199536658146131:7762515];
2025-12-04T20:33:40.169628Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/6mdl/003d53/r3tmp/tmp4e0460/pdisk_1.dat
2025-12-04T20:33:40.172118Z node 17 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-12-04T20:33:40.172272Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-12-04T20:33:40.174862Z node 18 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-12-04T20:33:40.174904Z node 18 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-12-04T20:33:40.174925Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=incorrect path status: LookupError;
2025-12-04T20:33:40.205664Z node 17 :IMPORT WARN: schemeshard_import.cpp:423: Table profiles were not loaded
2025-12-04T20:33:40.205983Z node 18 :CONFIGS_DISPATCHER ERROR: configs_dispatcher.cpp:1372: Notification cookie mismatch for subscription [18:7580103687784892222:2073] 1764880420170416 != 1764880420170413
2025-12-04T20:33:40.214164Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-12-04T20:33:40.214271Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-12-04T20:33:40.216274Z node 17 :HIVE WARN: hive_impl.cpp:811: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 18 Cookie 18
2025-12-04T20:33:40.216614Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 7083, node 17
2025-12-04T20:33:40.223631Z 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/6mdl/003d53/r3tmp/yandexsA2PH0.tmp
2025-12-04T20:33:40.223642Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/6mdl/003d53/r3tmp/yandexsA2PH0.tmp
2025-12-04T20:33:40.223692Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/6mdl/003d53/r3tmp/yandexsA2PH0.tmp
2025-12-04T20:33:40.223719Z node 17 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-12-04T20:33:40.230325Z INFO: TTestServer started on Port 19277 GrpcPort 7083
TClient is connected to server localhost:19277
PQClient connected to localhost:7083
WaitRootIsUp 'Root'...
TClient::Ls request: Root
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "Root"
    PathId: 1
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 1
    CreateStep: 0
    ParentPathId: 1
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 1
      SubDomainVersion: 0
      SecurityStateVersion: 0
    }
    ChildrenExist: false
  }
  Children {
    Name: ".sys"
    PathId: 18446744073709551615
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 0
    CreateStep: 0
    ParentPathId: 18446744073709551615
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 0
      Pl...
(TRUNCATED)
WaitRootIsUp 'Root' success.
2025-12-04T20:33:40.249553Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976715657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
waiting...
waiting...
2025-12-04T20:33:40.264383Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715659:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
waiting...
2025-12-04T20:33:40.270994Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-12-04T20:33:40.271022Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-12-04T20:33:40.272915Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Connecting -> Connected
waiting...
waiting...
2025-12-04T20:33:40.332471Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2025-12-04T20:33:40.436013Z node 18 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2025-12-04T20:33:40.632219Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7580103685654758969:2326], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-04T20:33:40.632243Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7580103685654758981:2329], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-04T20:33:40.632250Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-04T20:33:40.632369Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7580103685654758991:2331], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-04T20:33:40.632392Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-04T20:33:40.632830Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateResourcePool, opId: 281474976715662:3, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:179)
2025-12-04T20:33:40.633134Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7580103685654759023:2333], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-04T20:33:40.633153Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-04T20:33:40.633179Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7580103685654759025:2334], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-04T20:33:40.633185Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-12-04T20:33:40.637138Z node 17 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [17:7580103685654758990:2330], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976715662 completed, doublechecking }
2025-12-04T20:33:40.638225Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715663:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
2025-12-04T20:33:40.651643Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715664:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
2025-12-04T20:33:40.661422Z node 18 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:625: Compilation failed, self: [18:7580103687784892676:2305], status: SCHEME_ERROR, issues: <main>: Error: Type annotation, code: 1030
    <main>:5:17: Error: At function: KiReadTable!
        <main>:5:17: Error: Cannot find table 'db.[/Root/PQ/Config/V2/Versions]' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions., code: 2003
2025-12-04T20:33:40.661553Z node 18 :KQP_SESSION WARN: kqp_session_actor.cpp:2544: SessionId: ydb://session/3?node_id=18&id=YjM2ZWZhZDAtOTc2MDdlNzMtZGI5NDU0NWUtZmFjMDhlOGQ=, ActorId: [18:7580103687784892637:2299], ActorState: ExecuteState, TraceId: 01kbnh43sg8g5kczyhan4e6xka, ReplyQueryCompileError, status: SCHEME_ERROR, issues: { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 5 column: 17 } message: "At function: KiReadTable!" end_position { row: 5 column: 17 } severity: 1 issues { position { row: 5 column: 17 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Versions]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 5 column: 17 } issue_code: 2003 severity: 1 } } }, remove tx with tx_id: 
2025-12-04T20:33:40.661675Z 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: 5 column: 17 } message: "At function: KiReadTable!" end_position { row: 5 column: 17 } severity: 1 issues { position { row: 5 column: 17 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Versions]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 5 column: 17 } issue_code: 2003 severity: 1 } } } TxMeta { } } YdbStatus: SCHEME_ERROR ConsumedRu: 1 }
2025-12-04T20:33:40.671418Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715665:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
=== Init DC: UPSERT INTO `/Root/PQ/Config/V2/Cluster` (name, balancer, local, enabled, weight) VALUES ("dc1", "localhost", true, true, 1000), ("dc2", "dc2.logbroker.yandex.net", false, true, 1000);
2025-12-04T20:33:40.703524Z node 17 :TX_PROXY ERROR: schemereq.cpp:593: Actor# [17:7580103685654759470:3033] txid# 281474976715666, issues: { message: "Check failed: path: \'/Root/.metadata/workload_manager/pools/default\', error: path exist, request accepts it (id: [OwnerId: 72057594046644480, LocalPathId: 9], type: EPathTypeResourcePool, state: EPathStateNoChanges), source_location: ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:92" severity: 1 }
=== CheckClustersList. Subcribe to ClusterTracker from [17:7580103685654759519:3059] 
2025-12-04T20:33:41.171517Z node 17 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-12-04T20:33:41.174621Z node 18 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-12-04T20:33:45.169743Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[17:7580103685654757946:2081];send_to=[0:7307199536658146131:7762515];
2025-12-04T20:33:45.169785Z 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;
=== CheckClustersList. Ok
PQ Client: create topic: rt3.dc1--topic1 with 10 partitions
CallPersQueueGRPC request to localhost:7083
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-04T20:33:45.984095Z 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:7083
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: 281474976715674
  SchemeShardTabletId: 72057594046644480
  PathId: 13
}
ErrorCode: OK
AddTopic: rt3.dc1--topic1
===Run query:``DECLARE $version as Int64; DECLARE $path AS Utf8; DECLARE $cluster as Utf8; UPSERT INTO `/Root/PQ/Config/V2/Topics` (path, dc) VALUES ($path, $cluster); UPSERT INTO `/Root/PQ/Config/V2/Versions` (name, version) VALUES ("Topics", $version);`` with topic = topic1, dc = dc1
2025-12-04T20:33:46.014366Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][] pipe [17:7580103707129596407:3286] connected; active server actors: 1
2025-12-04T20:33:46.014444Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1520: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [3, 0, 1, 6, 8, 9, 2, 5, 7, 4]
2025-12-04T20:33:46.014580Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:942: [72075186224037894][rt3.dc1--topic1] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037894
2025-12-04T20:33:46.019298Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-04T20:33:46.019338Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037893] doesn't have tx writes info
2025-12-04T20:33:46.019628Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-04T20:33:46.019645Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037892] doesn't have tx writes info
2025-12-04T20:33:46.019671Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:140: [72075186224037894][rt3.dc1--topic1] BALANCER INIT DONE for rt3.dc1--topic1: (0, 72075186224037892) (1, 72075186224037892) (2, 72075186224037893) (3, 72075186224037892) (4, 72075186224037893) (5, 72075186224037893) (6, 72075186224037892) (7, 72075186224037893) (8, 72075186224037892) (9, 72075186224037893) 
2025-12-04T20:33:46.019977Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:404: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037892, NodeId 17, Generation 1
2025-12-04T20:33:46.021195Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:404: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037893, NodeId 18, Generation 1
2025-12-04T20:33:46.044835Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037893][Partition][9][StateInit] bootstrapping 9 [18:7580103713554696800:2373]
2025-12-04T20:33:46.044544Z node 17 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037892][Partition][3][StateInit] bootstrapping 3 [17:7580103711424563832:2455]
2025-12-04T20:33:46.045909Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][9][StateInit] init complete for topic 'rt3.dc1--topic1' partition 9 generation 1 [18:7580103713554696800:2373]
2025-12-04T20:33:46.046528Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037893][Partition][2][StateInit] bootstrapping 2 [18:7580103713554696801:2373]
2025-12-04T20:33:46.045741Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][3][StateInit] init complete for topic 'rt3.dc1--topic1' partition 3 generation 1 [17:7580103711424563832:2455]
2025-12-04T20:33:46.047349Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][2][StateInit] init complete for topic 'rt3.dc1--topic1' partition 2 generation 1 [18:7580103713554696801:2373]
2025-12-04T20:33:46.046335Z node 17 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [17:7580103711424563833:2455]
2025-12-04T20:33:46.047823Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037893][Partition][5][StateInit] bootstrapping 5 [18:7580103713554696802:2373]
2025-12-04T20:33:46.047245Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][0][StateInit] init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [17:7580103711424563833:2455]
2025-12-04T20:33:46.048406Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][5][StateInit] init complete for topic 'rt3.dc1--topic1' partition 5 generation 1 [18:7580103713554696802:2373]
2025-12-04T20:33:46.047799Z node 17 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037892][Partition][1][StateInit] bootstrapping 1 [17:7580103711424563834:2455]
2025-12-04T20:33:46.048381Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][1][StateInit] init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [17:7580103711424563834:2455]
2025-12-04T20:33:46.048762Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037893][Partition][7][StateInit] bootstrapping 7 [18:7580103713554696803:2373]
===Query complete
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 128
StatusCode: PATH_NOT_EXIST
Issues {
  message: "Path not exist"
  issue_code: 200200
  severity: 1
}
SchemeStatus: 2
ErrorReason: "Path not found"
GetTopicVersionFromPath:  record Status: 128
StatusCode: PATH_NOT_EXIST
Issues {
  message: "Path not exist"
  issue_code: 200200
  severity: 1
}
SchemeStatus: 2
ErrorReason: "Path not found"
 name rt3.dc1--topic1 version0
2025-12-04T20:33:46.049598Z node 17 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037892][Partition][6][StateInit] bootstrapping 6 [17:7580103711424563835:2455]
2025-12-04T20:33:46.050156Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][6][StateInit] init complete for topic 'rt3.dc1--topic1' partition 6 generation 1 [17:7580103711424563835:2455]
2025-12-04T20:33:46.050557Z node 17 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037892][Partition][8][StateInit] bootstrapping 8 [17:7580103711424563836:2455]
2025-12-04T20:33:46.051111Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][8][StateInit] init complete for topic 'rt3.dc1--topic1' partition 8 generation 1 [17:7580103711424563836:2455]
2025-12-04T20:33:46.050668Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][7][StateInit] init complete for topic 'rt3.dc1--topic1' partition 7 generation 1 [18:7580103713554696803:2373]
2025-12-04T20:33:46.051090Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037893][Partition][4][StateInit] bootstrapping 4 [18:7580103713554696804:2373]
2025-12-04T20:33:46.051654Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][4][StateInit] init complete for topic 'rt3.dc1--topic1' partition 4 generation 1 [18:7580103713554696804:2373]
2025-12-04T20:33:46.054553Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-04T20:33:46.054791Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
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: 281474976715674
    CreateStep: 1764880426092
    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: 281474976715674
    CreateStep: 1764880426092
    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:7083
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-04T20:33:46.553699Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 1
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 1
2025-12-04T20:33:46.554985Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:46.554997Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-12-04T20:33:46.555110Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "12345678" }
2025-12-04T20:33:46.555132Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:51304
2025-12-04T20:33:46.555137Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:46.555140Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:46.555465Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-12-04T20:33:46.555495Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:46.555497Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:46.555498Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:46.555502Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103711424563933:2469] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:46.555973Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103711424563933:2469] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:46.582560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103711424563933:2469] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:46.582640Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103711424563968:2469] connected; active server actors: 1
2025-12-04T20:33:46.582661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103711424563933:2469] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=12345678
2025-12-04T20:33:46.582672Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103711424563933:2469] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:46.582747Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103711424563968:2469] disconnected.
2025-12-04T20:33:46.582755Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103711424563968:2469] disconnected; active server actors: 1
2025-12-04T20:33:46.582759Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103711424563968:2469] disconnected no session
2025-12-04T20:33:46.598269Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103711424563933:2469] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:46.598284Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103711424563933:2469] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-04T20:33:46.598286Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103711424563933:2469] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:46.598295Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-04T20:33:46.598588Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:46.598658Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 12345678|3d6348ab-52f4b975-5706abff-84f6a744_0 generated for partition 7 topic 'rt3.dc1--topic1' owner 12345678
2025-12-04T20:33:46.598921Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 7 MaxSeqNo: 0 sessionId: 12345678|3d6348ab-52f4b975-5706abff-84f6a744_0
2025-12-04T20:33:46.599334Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: 12345678|3d6348ab-52f4b975-5706abff-84f6a744_0 grpc read done: success: 0 data: 
2025-12-04T20:33:46.599341Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: 12345678|3d6348ab-52f4b975-5706abff-84f6a744_0 grpc read failed
2025-12-04T20:33:46.599400Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 1 sessionId: 12345678|3d6348ab-52f4b975-5706abff-84f6a744_0
Finish: 2025-12-04T20:33:46.599410Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: 12345678|3d6348ab-52f4b975-5706abff-84f6a744_0 is DEAD
0 
2025-12-04T20:33:46.599501Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:46.599779Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:46.599789Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-12-04T20:33:46.599975Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-12-04T20:33:46.599998Z 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]:51304
2025-12-04T20:33:46.600004Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:46.600007Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:46.600388Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-12-04T20:33:46.600418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:46.600427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:46.600429Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:46.600433Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103711424563992:2479] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:46.600988Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103711424563992:2479] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:46.603097Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103711424563992:2479] (SourceId=source, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:46.603164Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103711424564008:2479] connected; active server actors: 1
2025-12-04T20:33:46.603177Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103711424563992:2479] (SourceId=source, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=source
2025-12-04T20:33:46.603180Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103711424563992:2479] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:46.603219Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103711424564008:2479] disconnected.
2025-12-04T20:33:46.603226Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103711424564008:2479] disconnected; active server actors: 1
2025-12-04T20:33:46.603229Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103711424564008:2479] disconnected no session
2025-12-04T20:33:46.605817Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103711424563992:2479] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:46.605829Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103711424563992:2479] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-04T20:33:46.605832Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103711424563992:2479] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:46.605840Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-04T20:33:46.605969Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:46.606011Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|c34afade-98691432-363e540b-7b4b781a_0 generated for partition 8 topic 'rt3.dc1--topic1' owner source
2025-12-04T20:33:46.606126Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 8 MaxSeqNo: 0 sessionId: source|c34afade-98691432-363e540b-7b4b781a_0
request: { write_request { sequence_numbers: 2 created_at_ms: 1764880426606 sent_at_ms: 1764880426606 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-12-04T20:33:46.606604Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|c34afade-98691432-363e540b-7b4b781a_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-04T20:33:46.606696Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-04T20:33:46.606762Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-04T20:33:46.607784Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 3 created_at_ms: 1764880426607 sent_at_ms: 1764880426607 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-12-04T20:33:46.608132Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|c34afade-98691432-363e540b-7b4b781a_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-04T20:33:46.608232Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-04T20:33:46.608295Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-04T20:33:46.609002Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 4 created_at_ms: 1764880426609 sent_at_ms: 1764880426609 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-12-04T20:33:46.609305Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|c34afade-98691432-363e540b-7b4b781a_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-04T20:33:46.609386Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-04T20:33:46.609439Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-04T20:33:46.610115Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 5 created_at_ms: 1764880426610 sent_at_ms: 1764880426610 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-12-04T20:33:46.610765Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|c34afade-98691432-363e540b-7b4b781a_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-04T20:33:46.610848Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-04T20:33:46.610898Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-04T20:33:46.611647Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-04T20:33:46.611898Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|c34afade-98691432-363e540b-7b4b781a_0 grpc read done: success: 0 data: 
2025-12-04T20:33:46.611903Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: source|c34afade-98691432-363e540b-7b4b781a_0 grpc read failed
2025-12-04T20:33:46.611955Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 2 sessionId: source|c34afade-98691432-363e540b-7b4b781a_0
2025-12-04T20:33:46.611963Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: source|c34afade-98691432-363e540b-7b4b781a_0 is DEAD
1 0 
CallPersQueueGRPC request to localhost:7083
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-04T20:33:46.612083Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:46.612833Z 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:7083
MetaRequest {
  CmdChangeTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 15
  }
}
2025-12-04T20:33:46.613959Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterPersQueueGroup, opId: 281474976715680:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at ydb/core/tx/schemeshard/schemeshard__operation_alter_pq.cpp:311)
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976715680
  SchemeShardTabletId: 72057594046644480
}
ErrorCode: OK
Alter got 1
2025-12-04T20:33:46.618163Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1520: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [11, 13, 14, 12, 10]
2025-12-04T20:33:46.620607Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-04T20:33:46.620630Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037895] doesn't have tx writes info
2025-12-04T20:33:46.624238Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037895][Partition][11][StateInit] bootstrapping 11 [18:7580103713554696894:2376]
2025-12-04T20:33:46.624854Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][11][StateInit] init complete for topic 'rt3.dc1--topic1' partition 11 generation 1 [18:7580103713554696894:2376]
2025-12-04T20:33:46.624923Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-04T20:33:46.625286Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-04T20:33:46.625389Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037895][Partition][13][StateInit] bootstrapping 13 [18:7580103713554696896:2376]
2025-12-04T20:33:46.625892Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][13][StateInit] init complete for topic 'rt3.dc1--topic1' partition 13 generation 1 [18:7580103713554696896:2376]
2025-12-04T20:33:46.626304Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037895][Partition][14][StateInit] bootstrapping 14 [18:7580103713554696897:2376]
2025-12-04T20:33:46.626770Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][14][StateInit] init complete for topic 'rt3.dc1--topic1' partition 14 generation 1 [18:7580103713554696897:2376]
2025-12-04T20:33:46.627213Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037895][Partition][12][StateInit] bootstrapping 12 [18:7580103713554696898:2376]
2025-12-04T20:33:46.627725Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][12][StateInit] init complete for topic 'rt3.dc1--topic1' partition 12 generation 1 [18:7580103713554696898:2376]
2025-12-04T20:33:46.628122Z node 18 :PERSQUEUE INFO: partition_init.cpp:1150: [72075186224037895][Partition][10][StateInit] bootstrapping 10 [18:7580103713554696899:2376]
2025-12-04T20:33:46.628587Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][10][StateInit] init complete for topic 'rt3.dc1--topic1' partition 10 generation 1 [18:7580103713554696899:2376]
CallPersQueueGRPC request to localhost:7083
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-04T20:33:46.632948Z 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
Alter1 got 1
2025-12-04T20:33:46.633544Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
CallPersQueueGRPC request to localhost:7083
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-12-04T20:33:47.137497Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 15
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 2
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 2
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715674
    CreateStep: 1764880426092
    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: 281474976715674
    CreateStep: 1764880426092
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 3
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 3
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 2
    }
    ChildrenExist: false
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 13
    TotalGroupCount: 15
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000
      }
      LocalDC: true
      Codecs {
        Ids: 0
        Ids: 1
        Ids: 2
        Codecs: "raw"
        Codecs: "gzip"
        Codecs: "lzop"
      }
      YdbDatabasePath: "/Root"
      Consumers {
        Name: "user"
        ReadFromTimestampsMs: 0
        FormatVersion: 0
        Version: 0
      }
    }
    Partitions {
      PartitionId: 0
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 1
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 2
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 3
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 4
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 5
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 6
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 7
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 8
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 9
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 10
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 11
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 12
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 13
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 14
      TabletId: 72075186224037895
      Status: Active
    }
    AlterVersion: 2
    BalancerTabletID: 72075186224037894
    NextPartitionId: 15
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 1
      PlanResolution: 7
      Coordinators: 72057594046316545
      TimeCastBucketsPerMediator: 2
      Mediators: 72057594046382081
    }
    DomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    PathsInside: 12
    PathsLimit: 10000
    ShardsInside: 8
    ShardsLimit: 200000
    ResourcesDomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    DiskSpaceUsage {
      Tables {
        TotalSize: 0
        DataSize: 0
        IndexSize: 0
      }
      Topics {
        ReserveSize: 0
        AccountSize: 0
        DataSize: 0
        UsedReserveSize: 0
      }
    }
    PQPartitionsInside: 15
    PQPartitionsLimit: 1000000
    SchemeLimits {
      MaxDepth: 32
      MaxPaths: 10000
      MaxChildrenInDir: 100000
      MaxAclBytesSize: 10240
      MaxTableColumns: 200
      MaxTableColumnNameLength: 255
      MaxTableKeyColumns: 30
      MaxTableIndices: 20
      MaxShards: 200000
      MaxShardsInPath: 35000
      MaxConsistentCopyTargets: 10000
      MaxPathElementLength: 255
      ExtraPathSymbolsAllowed: "!\"#$%&\'()*+,-.:;<=>?@[\\]^_`{|}~"
      MaxPQPartitions: 1000000
      MaxTableCdcStreams: 5
      MaxExports: 10
      MaxImports: 10
      MaxColumnTableColumns: 10000
    }
  }
}
Path: "/Root/PQ/rt3.dc1--topic1"
 name rt3.dc1--topic1 version2
2025-12-04T20:33:47.141282Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.141296Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-12-04T20:33:47.141415Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-12-04T20:33:47.141450Z 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]:51304
2025-12-04T20:33:47.141454Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.141458Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.141822Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-12-04T20:33:47.141852Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.141854Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.141856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.141861Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719531553:2507] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.142423Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719531553:2507] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.145289Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719531553:2507] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.154304Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719531553:2507] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.154316Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719531553:2507] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=0
2025-12-04T20:33:47.154319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719531553:2507] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.154327Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-04T20:33:47.154789Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.154896Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|53361b67-ec92b601-35b7f390-691e03df_0 generated for partition 8 topic 'rt3.dc1--topic1' owner source
2025-12-04T20:33:47.155071Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 8 MaxSeqNo: 5 sessionId: source|53361b67-ec92b601-35b7f390-691e03df_0
request: { write_request { sequence_numbers: 6 created_at_ms: 1764880427155 sent_at_ms: 1764880427155 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-12-04T20:33:47.155543Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|53361b67-ec92b601-35b7f390-691e03df_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-04T20:33:47.155615Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-04T20:33:47.155794Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-04T20:33:47.159360Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 7 created_at_ms: 1764880427159 sent_at_ms: 1764880427159 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-12-04T20:33:47.159822Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|53361b67-ec92b601-35b7f390-691e03df_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-04T20:33:47.159877Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-04T20:33:47.159998Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-04T20:33:47.161166Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 8 created_at_ms: 1764880427161 sent_at_ms: 1764880427161 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-12-04T20:33:47.161519Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|53361b67-ec92b601-35b7f390-691e03df_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-04T20:33:47.161567Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-04T20:33:47.161683Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-04T20:33:47.162519Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 9 created_at_ms: 1764880427162 sent_at_ms: 1764880427162 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-12-04T20:33:47.162843Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|53361b67-ec92b601-35b7f390-691e03df_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-04T20:33:47.162884Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-04T20:33:47.162988Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-04T20:33:47.163754Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-04T20:33:47.164019Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|53361b67-ec92b601-35b7f390-691e03df_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.164023Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: source|53361b67-ec92b601-35b7f390-691e03df_0 grpc read failed
2025-12-04T20:33:47.164063Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 3 sessionId: source|53361b67-ec92b601-35b7f390-691e03df_0
2025-12-04T20:33:47.164067Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: source|53361b67-ec92b601-35b7f390-691e03df_0 is DEAD
2025-12-04T20:33:47.164145Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
1 0 
2025-12-04T20:33:47.164689Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.164697Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 4
2025-12-04T20:33:47.164808Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-12-04T20:33:47.164834Z 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]:51304
2025-12-04T20:33:47.164838Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.164841Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.165361Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 4 sessionId:  describe result for acl check
2025-12-04T20:33:47.165387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.165389Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.165391Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.165396Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719531605:2511] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.165934Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719531605:2511] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.169566Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719531605:2511] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.174285Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719531605:2511] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.174295Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719531605:2511] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=0
2025-12-04T20:33:47.174299Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719531605:2511] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.174306Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 4 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-04T20:33:47.175067Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.175167Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|38e549d7-820b15aa-6efc4b0b-11032971_0 generated for partition 8 topic 'rt3.dc1--topic1' owner source
2025-12-04T20:33:47.175314Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 4 partition: 8 MaxSeqNo: 9 sessionId: source|38e549d7-820b15aa-6efc4b0b-11032971_0
request: { write_request { sequence_numbers: 10 sequence_numbers: 11 sequence_numbers: 12 sequence_numbers: 13 sequence_numbers: 14 created_at_ms: 1764880427175 created_at_ms: 1764880427175 created_at_ms: 1764880427175 created_at_ms: 1764880427175 created_at_ms: 1764880427175 sent_at_ms: 1764880427175 sent_at_ms: 1764880427175 sent_at_ms: 1764880427175 sent_at_ms: 1764880427175 sent_at_ms: 1764880427175 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-12-04T20:33:47.175860Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|38e549d7-820b15aa-6efc4b0b-11032971_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-04T20:33:47.175937Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-04T20:33:47.176057Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-04T20:33:47.177304Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) 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: 1764880427177 created_at_ms: 1764880427177 created_at_ms: 1764880427177 created_at_ms: 1764880427177 created_at_ms: 1764880427177 sent_at_ms: 1764880427177 sent_at_ms: 1764880427177 sent_at_ms: 1764880427177 sent_at_ms: 1764880427177 sent_at_ms: 1764880427177 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-12-04T20:33:47.177735Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|38e549d7-820b15aa-6efc4b0b-11032971_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-04T20:33:47.177793Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-04T20:33:47.177917Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-04T20:33:47.181418Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) 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: 1764880427181 created_at_ms: 1764880427181 created_at_ms: 1764880427181 created_at_ms: 1764880427181 created_at_ms: 1764880427181 sent_at_ms: 1764880427181 sent_at_ms: 1764880427181 sent_at_ms: 1764880427181 sent_at_ms: 1764880427181 sent_at_ms: 1764880427181 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-12-04T20:33:47.181928Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|38e549d7-820b15aa-6efc4b0b-11032971_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-04T20:33:47.181992Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-04T20:33:47.182119Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-04T20:33:47.191601Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) 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: 1764880427192 created_at_ms: 1764880427192 created_at_ms: 1764880427192 created_at_ms: 1764880427192 created_at_ms: 1764880427192 sent_at_ms: 1764880427192 sent_at_ms: 1764880427192 sent_at_ms: 1764880427192 sent_at_ms: 1764880427192 sent_at_ms: 1764880427192 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-12-04T20:33:47.192382Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|38e549d7-820b15aa-6efc4b0b-11032971_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-04T20:33:47.192490Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-12-04T20:33:47.192675Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-04T20:33:47.197363Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-04T20:33:47.197826Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|38e549d7-820b15aa-6efc4b0b-11032971_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.197833Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 4 sessionId: source|38e549d7-820b15aa-6efc4b0b-11032971_0 grpc read failed
2025-12-04T20:33:47.197881Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 4 sessionId: source|38e549d7-820b15aa-6efc4b0b-11032971_0
2025-12-04T20:33:47.197888Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 4 sessionId: source|38e549d7-820b15aa-6efc4b0b-11032971_0 is DEAD
2025-12-04T20:33:47.198005Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
1 0 
2025-12-04T20:33:47.198564Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.198572Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 5
2025-12-04T20:33:47.198706Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 5 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic2" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-12-04T20:33:47.198733Z 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]:51304
2025-12-04T20:33:47.198737Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic2 durationSec=0
2025-12-04T20:33:47.198741Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.199232Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:815: session v1 error cookie: 5 reason: no path 'Root/PQ/rt3.dc1--topic2', Marker# PQ15 sessionId: 
2025-12-04T20:33:47.199332Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 5 sessionId:  is DEAD
{ status: SCHEME_ERROR issues { message: "no path \'Root/PQ/rt3.dc1--topic2\', Marker# PQ15" issue_code: 500017 severity: 1 } }
2025-12-04T20:33:47.199855Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.199861Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 6
2025-12-04T20:33:47.199965Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" partition_group_id: 2 }
2025-12-04T20:33:47.199984Z 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]:51304
2025-12-04T20:33:47.199988Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.199990Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.200420Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 6 sessionId:  describe result for acl check
2025-12-04T20:33:47.200462Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.200465Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.200467Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.200472Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719531671:2520] (SourceId=sid1, PreferedPartition=1) StartKqpSession
2025-12-04T20:33:47.201078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719531671:2520] (SourceId=sid1, PreferedPartition=1) Select from the table
2025-12-04T20:33:47.205783Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719531671:2520] (SourceId=sid1, PreferedPartition=1) Update the table
2025-12-04T20:33:47.232050Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719531671:2520] (SourceId=sid1, PreferedPartition=1) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.232069Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719531671:2520] (SourceId=sid1, PreferedPartition=1) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-04T20:33:47.232072Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719531671:2520] (SourceId=sid1, PreferedPartition=1) Start idle
2025-12-04T20:33:47.232081Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 6 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-04T20:33:47.232995Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.233134Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|65455cb5-a71bba01-84434ca8-cfb5920c_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
Init result: { status: SUCCESS init_response { session_id: "sid1|65455cb5-a71bba01-84434ca8-cfb5920c_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.233310Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 6 partition: 1 MaxSeqNo: 0 sessionId: sid1|65455cb5-a71bba01-84434ca8-cfb5920c_0
2025-12-04T20:33:47.234268Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId: sid1|65455cb5-a71bba01-84434ca8-cfb5920c_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.234274Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 6 sessionId: sid1|65455cb5-a71bba01-84434ca8-cfb5920c_0 grpc read failed
2025-12-04T20:33:47.234281Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 6 sessionId: sid1|65455cb5-a71bba01-84434ca8-cfb5920c_0 grpc closed
2025-12-04T20:33:47.234286Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 6 sessionId: sid1|65455cb5-a71bba01-84434ca8-cfb5920c_0 is DEAD
2025-12-04T20:33:47.234473Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.234518Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.234523Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 7
2025-12-04T20:33:47.237153Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" }
2025-12-04T20:33:47.237200Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 7 topic: "topic1" message_group_id: "sid1" from ipv6:[::1]:51304
2025-12-04T20:33:47.237206Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.237210Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.239621Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 7 sessionId:  describe result for acl check
2025-12-04T20:33:47.239678Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.239680Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.239683Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.239691Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719531707:2524] (SourceId=sid1, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.240405Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719531707:2524] (SourceId=sid1, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.249901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719531707:2524] (SourceId=sid1, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.255462Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719531707:2524] (SourceId=sid1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.255475Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719531707:2524] (SourceId=sid1, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2025-12-04T20:33:47.255477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719531707:2524] (SourceId=sid1, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.255483Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-04T20:33:47.255885Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.255954Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|d34699f-896e873b-154c74f3-c566c9f9_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-12-04T20:33:47.256180Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: sid1|d34699f-896e873b-154c74f3-c566c9f9_0
Init result: { status: SUCCESS init_response { session_id: "sid1|d34699f-896e873b-154c74f3-c566c9f9_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.257076Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId: sid1|d34699f-896e873b-154c74f3-c566c9f9_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.257084Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 7 sessionId: sid1|d34699f-896e873b-154c74f3-c566c9f9_0 grpc read failed
2025-12-04T20:33:47.257090Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 7 sessionId: sid1|d34699f-896e873b-154c74f3-c566c9f9_0 grpc closed
2025-12-04T20:33:47.257096Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 7 sessionId: sid1|d34699f-896e873b-154c74f3-c566c9f9_0 is DEAD
2025-12-04T20:33:47.257259Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.257300Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.257303Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 8
2025-12-04T20:33:47.257472Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sidx" }
2025-12-04T20:33:47.257493Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 8 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:51304
2025-12-04T20:33:47.257497Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.257500Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.257882Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 8 sessionId:  describe result for acl check
2025-12-04T20:33:47.257911Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.257913Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.257915Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.257919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719531740:2528] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.258526Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719531740:2528] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.264090Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719531740:2528] (SourceId=sidx, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.264829Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531756:2528] connected; active server actors: 1
2025-12-04T20:33:47.264947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719531740:2528] (SourceId=sidx, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sidx
2025-12-04T20:33:47.264953Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719531740:2528] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.265200Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531756:2528] disconnected.
2025-12-04T20:33:47.265205Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531756:2528] disconnected; active server actors: 1
2025-12-04T20:33:47.265208Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531756:2528] disconnected no session
2025-12-04T20:33:47.273863Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719531740:2528] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.273887Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719531740:2528] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-04T20:33:47.273892Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719531740:2528] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.273901Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 8 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-04T20:33:47.275100Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.275284Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|441c07f-480e32aa-a2f82d89-132a4e48_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sidx
2025-12-04T20:33:47.275759Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 8 partition: 9 MaxSeqNo: 0 sessionId: sidx|441c07f-480e32aa-a2f82d89-132a4e48_0
Init result: { status: SUCCESS init_response { session_id: "sidx|441c07f-480e32aa-a2f82d89-132a4e48_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.276488Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId: sidx|441c07f-480e32aa-a2f82d89-132a4e48_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.276495Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 8 sessionId: sidx|441c07f-480e32aa-a2f82d89-132a4e48_0 grpc read failed
2025-12-04T20:33:47.276501Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 8 sessionId: sidx|441c07f-480e32aa-a2f82d89-132a4e48_0 grpc closed
2025-12-04T20:33:47.276506Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 8 sessionId: sidx|441c07f-480e32aa-a2f82d89-132a4e48_0 is DEAD
2025-12-04T20:33:47.276716Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.276755Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.276758Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 9
2025-12-04T20:33:47.276946Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sidx" }
2025-12-04T20:33:47.276982Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 9 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:51304
2025-12-04T20:33:47.276987Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.276990Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.277473Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 9 sessionId:  describe result for acl check
2025-12-04T20:33:47.277498Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.277500Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.277501Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.277506Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719531774:2532] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.278078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719531774:2532] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.280597Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719531774:2532] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.286143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719531774:2532] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.286159Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719531774:2532] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=0
2025-12-04T20:33:47.286163Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719531774:2532] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.286171Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 9 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-04T20:33:47.286474Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.286572Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|38aa7890-4d016091-4ee731dd-79adca49_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sidx
2025-12-04T20:33:47.286996Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 9 partition: 9 MaxSeqNo: 0 sessionId: sidx|38aa7890-4d016091-4ee731dd-79adca49_0
Init result: { status: SUCCESS init_response { session_id: "sidx|38aa7890-4d016091-4ee731dd-79adca49_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.288196Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId: sidx|38aa7890-4d016091-4ee731dd-79adca49_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.288201Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 9 sessionId: sidx|38aa7890-4d016091-4ee731dd-79adca49_0 grpc read failed
2025-12-04T20:33:47.288206Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 9 sessionId: sidx|38aa7890-4d016091-4ee731dd-79adca49_0 grpc closed
2025-12-04T20:33:47.288210Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 9 sessionId: sidx|38aa7890-4d016091-4ee731dd-79adca49_0 is DEAD
2025-12-04T20:33:47.288429Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.288476Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.288481Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 10
2025-12-04T20:33:47.288563Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 10 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" partition_group_id: 3 }
2025-12-04T20:33:47.288584Z 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]:51304
2025-12-04T20:33:47.288587Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.288591Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.289084Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 10 sessionId:  describe result for acl check
2025-12-04T20:33:47.289113Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.289124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.289126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.289131Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719531809:2536] (SourceId=sid1, PreferedPartition=2) StartKqpSession
2025-12-04T20:33:47.289618Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719531809:2536] (SourceId=sid1, PreferedPartition=2) Select from the table
2025-12-04T20:33:47.292208Z node 17 :PQ_PARTITION_CHOOSER INFO: partition_chooser_impl__abstract_chooser_actor.h:312: TPartitionChooser [17:7580103715719531809:2536] (SourceId=sid1, PreferedPartition=2) ReplyError: MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all.
2025-12-04T20:33:47.292225Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:815: session v1 error cookie: 10 reason: MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all. sessionId: 
2025-12-04T20:33:47.292333Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 10 sessionId:  is DEAD
Init result: { status: BAD_REQUEST issues { message: "MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all." issue_code: 500003 severity: 1 } }
2025-12-04T20:33:47.293063Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.293072Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 11
2025-12-04T20:33:47.293165Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_0" }
2025-12-04T20:33:47.293184Z 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]:51304
2025-12-04T20:33:47.293187Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=11 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.293190Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.293579Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 11 sessionId:  describe result for acl check
2025-12-04T20:33:47.293608Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.293610Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.293612Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.293617Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719531831:2540] (SourceId=sid_rand_0, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.294124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719531831:2540] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.295948Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719531831:2540] (SourceId=sid_rand_0, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.296055Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531847:2540] connected; active server actors: 1
2025-12-04T20:33:47.296077Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719531831:2540] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_0
2025-12-04T20:33:47.296082Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719531831:2540] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.296147Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531847:2540] disconnected.
2025-12-04T20:33:47.296157Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531847:2540] disconnected; active server actors: 1
2025-12-04T20:33:47.296159Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531847:2540] disconnected no session
2025-12-04T20:33:47.302990Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719531831:2540] (SourceId=sid_rand_0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.303007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719531831:2540] (SourceId=sid_rand_0, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-04T20:33:47.303010Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719531831:2540] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.303028Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 11 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-04T20:33:47.304501Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.304718Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_0|b8e5d92f-ab21ec2f-ea376821-51248456_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_0
2025-12-04T20:33:47.305232Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 11 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_0|b8e5d92f-ab21ec2f-ea376821-51248456_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_0|b8e5d92f-ab21ec2f-ea376821-51248456_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.306116Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId: sid_rand_0|b8e5d92f-ab21ec2f-ea376821-51248456_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.306126Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 11 sessionId: sid_rand_0|b8e5d92f-ab21ec2f-ea376821-51248456_0 grpc read failed
2025-12-04T20:33:47.306127Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.306133Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 11 sessionId: sid_rand_0|b8e5d92f-ab21ec2f-ea376821-51248456_0 grpc closed
2025-12-04T20:33:47.306132Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 12
2025-12-04T20:33:47.306139Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 11 sessionId: sid_rand_0|b8e5d92f-ab21ec2f-ea376821-51248456_0 is DEAD
2025-12-04T20:33:47.306248Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_1" }
2025-12-04T20:33:47.306274Z 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]:51304
2025-12-04T20:33:47.306279Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=12 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.306283Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.306360Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.306651Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 12 sessionId:  describe result for acl check
2025-12-04T20:33:47.306677Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.306683Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.306685Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.306689Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719531865:2544] (SourceId=sid_rand_1, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.307230Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719531865:2544] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.310561Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719531865:2544] (SourceId=sid_rand_1, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.310620Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531881:2544] connected; active server actors: 1
2025-12-04T20:33:47.310637Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719531865:2544] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_1
2025-12-04T20:33:47.310648Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719531865:2544] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.310738Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531881:2544] disconnected.
2025-12-04T20:33:47.310747Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531881:2544] disconnected; active server actors: 1
2025-12-04T20:33:47.310749Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531881:2544] disconnected no session
2025-12-04T20:33:47.315698Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719531865:2544] (SourceId=sid_rand_1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.315713Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719531865:2544] (SourceId=sid_rand_1, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-04T20:33:47.315717Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719531865:2544] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.315725Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 12 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-04T20:33:47.316035Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.316161Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_1|14097219-e6daed74-76e5b5d4-f4882caa_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_1
2025-12-04T20:33:47.316517Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 12 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_1|14097219-e6daed74-76e5b5d4-f4882caa_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_1|14097219-e6daed74-76e5b5d4-f4882caa_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.317460Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId: sid_rand_1|14097219-e6daed74-76e5b5d4-f4882caa_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.317467Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 12 sessionId: sid_rand_1|14097219-e6daed74-76e5b5d4-f4882caa_0 grpc read failed
2025-12-04T20:33:47.317479Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 12 sessionId: sid_rand_1|14097219-e6daed74-76e5b5d4-f4882caa_0 grpc closed
2025-12-04T20:33:47.317484Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 12 sessionId: sid_rand_1|14097219-e6daed74-76e5b5d4-f4882caa_0 is DEAD
2025-12-04T20:33:47.317694Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.317733Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.317740Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 13
2025-12-04T20:33:47.317801Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_2" }
2025-12-04T20:33:47.317833Z 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]:51304
2025-12-04T20:33:47.317838Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=13 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.317841Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.318106Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 13 sessionId:  describe result for acl check
2025-12-04T20:33:47.318125Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.318130Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.318131Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.318135Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719531899:2548] (SourceId=sid_rand_2, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.318776Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719531899:2548] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.321325Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719531899:2548] (SourceId=sid_rand_2, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.321730Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531915:2548] connected; active server actors: 1
2025-12-04T20:33:47.321793Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719531899:2548] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_2
2025-12-04T20:33:47.321802Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719531899:2548] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.322093Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531915:2548] disconnected.
2025-12-04T20:33:47.322102Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531915:2548] disconnected; active server actors: 1
2025-12-04T20:33:47.322104Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531915:2548] disconnected no session
2025-12-04T20:33:47.325736Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719531899:2548] (SourceId=sid_rand_2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.325752Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719531899:2548] (SourceId=sid_rand_2, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-04T20:33:47.325756Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719531899:2548] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.325765Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 13 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-04T20:33:47.326623Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.326736Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_2|c685599f-987a1b7d-1fcda55d-e27b476b_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_2
2025-12-04T20:33:47.327291Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 13 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_2|c685599f-987a1b7d-1fcda55d-e27b476b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_2|c685599f-987a1b7d-1fcda55d-e27b476b_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.328482Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId: sid_rand_2|c685599f-987a1b7d-1fcda55d-e27b476b_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.328493Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 13 sessionId: sid_rand_2|c685599f-987a1b7d-1fcda55d-e27b476b_0 grpc read failed
2025-12-04T20:33:47.328499Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 13 sessionId: sid_rand_2|c685599f-987a1b7d-1fcda55d-e27b476b_0 grpc closed
2025-12-04T20:33:47.328504Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 13 sessionId: sid_rand_2|c685599f-987a1b7d-1fcda55d-e27b476b_0 is DEAD
2025-12-04T20:33:47.328687Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.328739Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.328747Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 14
2025-12-04T20:33:47.329020Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_3" }
2025-12-04T20:33:47.329059Z 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]:51304
2025-12-04T20:33:47.329065Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=14 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.329069Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.329582Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 14 sessionId:  describe result for acl check
2025-12-04T20:33:47.329606Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.329608Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.329610Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.329615Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719531933:2552] (SourceId=sid_rand_3, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.330167Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719531933:2552] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.333109Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719531933:2552] (SourceId=sid_rand_3, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.333822Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531949:2552] connected; active server actors: 1
2025-12-04T20:33:47.333904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719531933:2552] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_3
2025-12-04T20:33:47.333910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719531933:2552] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.334234Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531949:2552] disconnected.
2025-12-04T20:33:47.334240Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531949:2552] disconnected; active server actors: 1
2025-12-04T20:33:47.334243Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531949:2552] disconnected no session
2025-12-04T20:33:47.339312Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719531933:2552] (SourceId=sid_rand_3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.339324Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719531933:2552] (SourceId=sid_rand_3, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-04T20:33:47.339328Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719531933:2552] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.339336Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 14 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-04T20:33:47.340345Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.340522Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_3|cb19f2f5-2148deeb-3b1283b8-56f1ca7d_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_3
2025-12-04T20:33:47.340972Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 14 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_3|cb19f2f5-2148deeb-3b1283b8-56f1ca7d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_3|cb19f2f5-2148deeb-3b1283b8-56f1ca7d_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.344088Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId: sid_rand_3|cb19f2f5-2148deeb-3b1283b8-56f1ca7d_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.344097Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 14 sessionId: sid_rand_3|cb19f2f5-2148deeb-3b1283b8-56f1ca7d_0 grpc read failed
2025-12-04T20:33:47.344104Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 14 sessionId: sid_rand_3|cb19f2f5-2148deeb-3b1283b8-56f1ca7d_0 grpc closed
2025-12-04T20:33:47.344110Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 14 sessionId: sid_rand_3|cb19f2f5-2148deeb-3b1283b8-56f1ca7d_0 is DEAD
2025-12-04T20:33:47.344132Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.344138Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 15
2025-12-04T20:33:47.344292Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_4" }
2025-12-04T20:33:47.344316Z 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]:51304
2025-12-04T20:33:47.344320Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=15 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.344325Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.344368Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.344930Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 15 sessionId:  describe result for acl check
2025-12-04T20:33:47.344971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.344973Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.344976Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.344981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719531968:2556] (SourceId=sid_rand_4, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.345543Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719531968:2556] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.348521Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719531968:2556] (SourceId=sid_rand_4, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.348969Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531984:2556] connected; active server actors: 1
2025-12-04T20:33:47.348987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719531968:2556] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_4
2025-12-04T20:33:47.348991Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719531968:2556] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.349285Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531984:2556] disconnected.
2025-12-04T20:33:47.349295Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531984:2556] disconnected; active server actors: 1
2025-12-04T20:33:47.349299Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719531984:2556] disconnected no session
2025-12-04T20:33:47.354260Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719531968:2556] (SourceId=sid_rand_4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.354279Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719531968:2556] (SourceId=sid_rand_4, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-04T20:33:47.354284Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719531968:2556] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.354292Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 15 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-04T20:33:47.355202Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.355357Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_4|380e9061-31ed4913-225ae7cc-805f2f90_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_4
2025-12-04T20:33:47.355757Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 15 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_4|380e9061-31ed4913-225ae7cc-805f2f90_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_4|380e9061-31ed4913-225ae7cc-805f2f90_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.356455Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId: sid_rand_4|380e9061-31ed4913-225ae7cc-805f2f90_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.356463Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 15 sessionId: sid_rand_4|380e9061-31ed4913-225ae7cc-805f2f90_0 grpc read failed
2025-12-04T20:33:47.356552Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 15 sessionId: sid_rand_4|380e9061-31ed4913-225ae7cc-805f2f90_0
2025-12-04T20:33:47.356558Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 15 sessionId: sid_rand_4|380e9061-31ed4913-225ae7cc-805f2f90_0 is DEAD
2025-12-04T20:33:47.356649Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.356840Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.356845Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 16
2025-12-04T20:33:47.357812Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_5" }
2025-12-04T20:33:47.357843Z 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]:51304
2025-12-04T20:33:47.357856Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=16 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.357859Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.358942Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 16 sessionId:  describe result for acl check
2025-12-04T20:33:47.358973Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.358975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.358976Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.358982Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532002:2560] (SourceId=sid_rand_5, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.359552Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532002:2560] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.362209Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532002:2560] (SourceId=sid_rand_5, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.362604Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532018:2560] connected; active server actors: 1
2025-12-04T20:33:47.362659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532002:2560] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_5
2025-12-04T20:33:47.362668Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532002:2560] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.362846Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532018:2560] disconnected.
2025-12-04T20:33:47.362852Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532018:2560] disconnected; active server actors: 1
2025-12-04T20:33:47.362855Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532018:2560] disconnected no session
2025-12-04T20:33:47.365826Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532002:2560] (SourceId=sid_rand_5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.365836Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532002:2560] (SourceId=sid_rand_5, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-04T20:33:47.365840Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532002:2560] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.365848Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 16 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-04T20:33:47.366179Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.366218Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_5|3c072c71-8b4ff2fb-252f5929-2bf34bbd_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_5
2025-12-04T20:33:47.366323Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 16 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_5|3c072c71-8b4ff2fb-252f5929-2bf34bbd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_5|3c072c71-8b4ff2fb-252f5929-2bf34bbd_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.367062Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId: sid_rand_5|3c072c71-8b4ff2fb-252f5929-2bf34bbd_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.367069Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 16 sessionId: sid_rand_5|3c072c71-8b4ff2fb-252f5929-2bf34bbd_0 grpc read failed
2025-12-04T20:33:47.367073Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 16 sessionId: sid_rand_5|3c072c71-8b4ff2fb-252f5929-2bf34bbd_0 grpc closed
2025-12-04T20:33:47.367078Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 16 sessionId: sid_rand_5|3c072c71-8b4ff2fb-252f5929-2bf34bbd_0 is DEAD
2025-12-04T20:33:47.367224Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.367261Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.367264Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 17
2025-12-04T20:33:47.367523Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_6" }
2025-12-04T20:33:47.367546Z 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]:51304
2025-12-04T20:33:47.367550Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=17 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.367553Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.367951Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 17 sessionId:  describe result for acl check
2025-12-04T20:33:47.367978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.367980Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.367982Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.367986Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532037:2564] (SourceId=sid_rand_6, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.368528Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532037:2564] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.371817Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532037:2564] (SourceId=sid_rand_6, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.371935Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532053:2564] connected; active server actors: 1
2025-12-04T20:33:47.371944Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532037:2564] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_6
2025-12-04T20:33:47.371947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532037:2564] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.372016Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532053:2564] disconnected.
2025-12-04T20:33:47.372020Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532053:2564] disconnected; active server actors: 1
2025-12-04T20:33:47.372022Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532053:2564] disconnected no session
2025-12-04T20:33:47.374502Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532037:2564] (SourceId=sid_rand_6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.374512Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532037:2564] (SourceId=sid_rand_6, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-04T20:33:47.374515Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532037:2564] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.374523Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 17 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-04T20:33:47.374935Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.375063Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_6|50d572b4-3f8e7719-547e8e7a-856a7bd1_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_6
2025-12-04T20:33:47.375213Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 17 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_6|50d572b4-3f8e7719-547e8e7a-856a7bd1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_6|50d572b4-3f8e7719-547e8e7a-856a7bd1_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.375953Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId: sid_rand_6|50d572b4-3f8e7719-547e8e7a-856a7bd1_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.375960Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 17 sessionId: sid_rand_6|50d572b4-3f8e7719-547e8e7a-856a7bd1_0 grpc read failed
2025-12-04T20:33:47.375964Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 17 sessionId: sid_rand_6|50d572b4-3f8e7719-547e8e7a-856a7bd1_0 grpc closed
2025-12-04T20:33:47.375969Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 17 sessionId: sid_rand_6|50d572b4-3f8e7719-547e8e7a-856a7bd1_0 is DEAD
2025-12-04T20:33:47.376120Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.376157Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.376160Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 18
2025-12-04T20:33:47.376564Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_7" }
2025-12-04T20:33:47.376589Z 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]:51304
2025-12-04T20:33:47.376593Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=18 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.376596Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.377068Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 18 sessionId:  describe result for acl check
2025-12-04T20:33:47.377098Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.377104Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.377105Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.377109Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532072:2568] (SourceId=sid_rand_7, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.377822Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532072:2568] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.379687Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532072:2568] (SourceId=sid_rand_7, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.379763Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532088:2568] connected; active server actors: 1
2025-12-04T20:33:47.379770Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532072:2568] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_7
2025-12-04T20:33:47.379773Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532072:2568] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.379829Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532088:2568] disconnected.
2025-12-04T20:33:47.379834Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532088:2568] disconnected; active server actors: 1
2025-12-04T20:33:47.379837Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532088:2568] disconnected no session
2025-12-04T20:33:47.383009Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532072:2568] (SourceId=sid_rand_7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.383030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532072:2568] (SourceId=sid_rand_7, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-04T20:33:47.383034Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532072:2568] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.383042Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 18 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-04T20:33:47.383472Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.383595Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_7|b119061d-4be56e6d-c75cac55-de571f98_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_7
2025-12-04T20:33:47.383966Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 18 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_7|b119061d-4be56e6d-c75cac55-de571f98_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_7|b119061d-4be56e6d-c75cac55-de571f98_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.384685Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId: sid_rand_7|b119061d-4be56e6d-c75cac55-de571f98_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.384692Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 18 sessionId: sid_rand_7|b119061d-4be56e6d-c75cac55-de571f98_0 grpc read failed
2025-12-04T20:33:47.384695Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 18 sessionId: sid_rand_7|b119061d-4be56e6d-c75cac55-de571f98_0 grpc closed
2025-12-04T20:33:47.384700Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 18 sessionId: sid_rand_7|b119061d-4be56e6d-c75cac55-de571f98_0 is DEAD
2025-12-04T20:33:47.384745Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.384749Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 19
2025-12-04T20:33:47.384933Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_8" }
2025-12-04T20:33:47.384952Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.384968Z 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]:51304
2025-12-04T20:33:47.384973Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=19 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.384976Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.385376Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 19 sessionId:  describe result for acl check
2025-12-04T20:33:47.385404Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.385410Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.385413Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.385418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532106:2572] (SourceId=sid_rand_8, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.385966Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532106:2572] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.388093Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532106:2572] (SourceId=sid_rand_8, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.388343Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532122:2572] connected; active server actors: 1
2025-12-04T20:33:47.388408Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532106:2572] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_8
2025-12-04T20:33:47.388415Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532106:2572] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.388494Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532122:2572] disconnected.
2025-12-04T20:33:47.388498Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532122:2572] disconnected; active server actors: 1
2025-12-04T20:33:47.388501Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532122:2572] disconnected no session
2025-12-04T20:33:47.393197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532106:2572] (SourceId=sid_rand_8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.393211Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532106:2572] (SourceId=sid_rand_8, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-04T20:33:47.393215Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532106:2572] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.393224Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 19 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-04T20:33:47.393658Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.393702Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_8|eae71a3-29263e92-28389c23-53b73e9a_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_8
2025-12-04T20:33:47.393820Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 19 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_8|eae71a3-29263e92-28389c23-53b73e9a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_8|eae71a3-29263e92-28389c23-53b73e9a_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.394501Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId: sid_rand_8|eae71a3-29263e92-28389c23-53b73e9a_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.394510Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 19 sessionId: sid_rand_8|eae71a3-29263e92-28389c23-53b73e9a_0 grpc read failed
2025-12-04T20:33:47.394516Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 19 sessionId: sid_rand_8|eae71a3-29263e92-28389c23-53b73e9a_0 grpc closed
2025-12-04T20:33:47.394521Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 19 sessionId: sid_rand_8|eae71a3-29263e92-28389c23-53b73e9a_0 is DEAD
2025-12-04T20:33:47.394792Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.394863Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.394867Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 20
2025-12-04T20:33:47.394965Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_9" }
2025-12-04T20:33:47.394986Z 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]:51304
2025-12-04T20:33:47.394990Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=20 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.394994Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.395416Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 20 sessionId:  describe result for acl check
2025-12-04T20:33:47.395440Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.395442Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.395444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.395449Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532141:2576] (SourceId=sid_rand_9, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.396028Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532141:2576] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.398641Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532141:2576] (SourceId=sid_rand_9, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.398762Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532157:2576] connected; active server actors: 1
2025-12-04T20:33:47.398775Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532141:2576] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_9
2025-12-04T20:33:47.398778Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532141:2576] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.398839Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532157:2576] disconnected.
2025-12-04T20:33:47.398843Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532157:2576] disconnected; active server actors: 1
2025-12-04T20:33:47.398845Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532157:2576] disconnected no session
2025-12-04T20:33:47.404633Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532141:2576] (SourceId=sid_rand_9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.404648Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532141:2576] (SourceId=sid_rand_9, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-04T20:33:47.404652Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532141:2576] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.404660Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 20 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-04T20:33:47.405642Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.405796Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_9|329a0769-4c9b11f1-184f97f4-46f3bef5_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_9
2025-12-04T20:33:47.406232Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 20 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_9|329a0769-4c9b11f1-184f97f4-46f3bef5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_9|329a0769-4c9b11f1-184f97f4-46f3bef5_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.406949Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId: sid_rand_9|329a0769-4c9b11f1-184f97f4-46f3bef5_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.406958Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 20 sessionId: sid_rand_9|329a0769-4c9b11f1-184f97f4-46f3bef5_0 grpc read failed
2025-12-04T20:33:47.406964Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 20 sessionId: sid_rand_9|329a0769-4c9b11f1-184f97f4-46f3bef5_0 grpc closed
2025-12-04T20:33:47.406969Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 20 sessionId: sid_rand_9|329a0769-4c9b11f1-184f97f4-46f3bef5_0 is DEAD
2025-12-04T20:33:47.407084Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.407096Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 21
2025-12-04T20:33:47.407208Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.407221Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_10" }
2025-12-04T20:33:47.407243Z 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]:51304
2025-12-04T20:33:47.407248Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=21 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.407251Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.407836Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 21 sessionId:  describe result for acl check
2025-12-04T20:33:47.407869Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.407870Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.407872Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.407877Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532175:2580] (SourceId=sid_rand_10, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.408427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532175:2580] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.410573Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532175:2580] (SourceId=sid_rand_10, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.410717Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532194:2580] connected; active server actors: 1
2025-12-04T20:33:47.410737Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532175:2580] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_10
2025-12-04T20:33:47.410742Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532175:2580] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.410795Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532194:2580] disconnected.
2025-12-04T20:33:47.410815Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532194:2580] disconnected; active server actors: 1
2025-12-04T20:33:47.410822Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532194:2580] disconnected no session
2025-12-04T20:33:47.418591Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_10|d2d22cc1-e5c1d238-4f0be9f2-1d1e1fc7_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_10
Init result: { status: SUCCESS init_response { session_id: "sid_rand_10|d2d22cc1-e5c1d238-4f0be9f2-1d1e1fc7_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.418053Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532175:2580] (SourceId=sid_rand_10, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.418071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532175:2580] (SourceId=sid_rand_10, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-04T20:33:47.418075Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532175:2580] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.418086Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 21 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-04T20:33:47.418440Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.419174Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 21 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_10|d2d22cc1-e5c1d238-4f0be9f2-1d1e1fc7_0
2025-12-04T20:33:47.419902Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId: sid_rand_10|d2d22cc1-e5c1d238-4f0be9f2-1d1e1fc7_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.419912Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 21 sessionId: sid_rand_10|d2d22cc1-e5c1d238-4f0be9f2-1d1e1fc7_0 grpc read failed
2025-12-04T20:33:47.419919Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 21 sessionId: sid_rand_10|d2d22cc1-e5c1d238-4f0be9f2-1d1e1fc7_0 grpc closed
2025-12-04T20:33:47.419926Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 21 sessionId: sid_rand_10|d2d22cc1-e5c1d238-4f0be9f2-1d1e1fc7_0 is DEAD
2025-12-04T20:33:47.420239Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.420291Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.420300Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 22
2025-12-04T20:33:47.420398Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_11" }
2025-12-04T20:33:47.420427Z 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]:51304
2025-12-04T20:33:47.420436Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=22 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.420439Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.420888Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 22 sessionId:  describe result for acl check
2025-12-04T20:33:47.420935Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.420942Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.420945Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.420951Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532212:2584] (SourceId=sid_rand_11, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.421578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532212:2584] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.425146Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532212:2584] (SourceId=sid_rand_11, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.425587Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532228:2584] connected; active server actors: 1
2025-12-04T20:33:47.425665Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532212:2584] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_11
2025-12-04T20:33:47.425675Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532212:2584] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.425770Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532228:2584] disconnected.
2025-12-04T20:33:47.425774Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532228:2584] disconnected; active server actors: 1
2025-12-04T20:33:47.425776Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532228:2584] disconnected no session
2025-12-04T20:33:47.430166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532212:2584] (SourceId=sid_rand_11, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.430184Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532212:2584] (SourceId=sid_rand_11, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-04T20:33:47.430187Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532212:2584] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.430197Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 22 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-04T20:33:47.430349Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.430401Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_11|a901f8b8-e3d0b1cb-8cc5960a-e5b334b5_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_11
2025-12-04T20:33:47.430532Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 22 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_11|a901f8b8-e3d0b1cb-8cc5960a-e5b334b5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_11|a901f8b8-e3d0b1cb-8cc5960a-e5b334b5_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.431079Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId: sid_rand_11|a901f8b8-e3d0b1cb-8cc5960a-e5b334b5_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.431085Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 22 sessionId: sid_rand_11|a901f8b8-e3d0b1cb-8cc5960a-e5b334b5_0 grpc read failed
2025-12-04T20:33:47.431090Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 22 sessionId: sid_rand_11|a901f8b8-e3d0b1cb-8cc5960a-e5b334b5_0 grpc closed
2025-12-04T20:33:47.431096Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 22 sessionId: sid_rand_11|a901f8b8-e3d0b1cb-8cc5960a-e5b334b5_0 is DEAD
2025-12-04T20:33:47.431266Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.431292Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.431297Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 23
2025-12-04T20:33:47.431415Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_12" }
2025-12-04T20:33:47.431448Z 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]:51304
2025-12-04T20:33:47.431456Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=23 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.431460Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.431843Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 23 sessionId:  describe result for acl check
2025-12-04T20:33:47.431876Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.431882Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.431884Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.431888Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532247:2588] (SourceId=sid_rand_12, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.432432Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532247:2588] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.435145Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532247:2588] (SourceId=sid_rand_12, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.435307Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532263:2588] connected; active server actors: 1
2025-12-04T20:33:47.435316Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532247:2588] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_12
2025-12-04T20:33:47.435319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532247:2588] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.435380Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532263:2588] disconnected.
2025-12-04T20:33:47.435384Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532263:2588] disconnected; active server actors: 1
2025-12-04T20:33:47.435387Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532263:2588] disconnected no session
2025-12-04T20:33:47.439208Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532247:2588] (SourceId=sid_rand_12, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.439222Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532247:2588] (SourceId=sid_rand_12, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-04T20:33:47.439226Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532247:2588] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.439234Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 23 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-04T20:33:47.439521Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.439593Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_12|c0281ee0-ea271bdf-5d974756-8e101cfa_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_12
2025-12-04T20:33:47.439951Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 23 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_12|c0281ee0-ea271bdf-5d974756-8e101cfa_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_12|c0281ee0-ea271bdf-5d974756-8e101cfa_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.440804Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId: sid_rand_12|c0281ee0-ea271bdf-5d974756-8e101cfa_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.440813Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 23 sessionId: sid_rand_12|c0281ee0-ea271bdf-5d974756-8e101cfa_0 grpc read failed
2025-12-04T20:33:47.440820Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 23 sessionId: sid_rand_12|c0281ee0-ea271bdf-5d974756-8e101cfa_0 grpc closed
2025-12-04T20:33:47.440826Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 23 sessionId: sid_rand_12|c0281ee0-ea271bdf-5d974756-8e101cfa_0 is DEAD
2025-12-04T20:33:47.440898Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.440904Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 24
2025-12-04T20:33:47.441024Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_13" }
2025-12-04T20:33:47.441056Z 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]:51304
2025-12-04T20:33:47.441061Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=24 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.441065Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.441119Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.441437Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 24 sessionId:  describe result for acl check
2025-12-04T20:33:47.441457Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.441459Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.441460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.441465Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532281:2592] (SourceId=sid_rand_13, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.442009Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532281:2592] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.443732Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532281:2592] (SourceId=sid_rand_13, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.443843Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532297:2592] connected; active server actors: 1
2025-12-04T20:33:47.443858Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532281:2592] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_13
2025-12-04T20:33:47.443861Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532281:2592] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.444011Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532297:2592] disconnected.
2025-12-04T20:33:47.444017Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532297:2592] disconnected; active server actors: 1
2025-12-04T20:33:47.444020Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532297:2592] disconnected no session
2025-12-04T20:33:47.446629Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532281:2592] (SourceId=sid_rand_13, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.446643Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532281:2592] (SourceId=sid_rand_13, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-04T20:33:47.446646Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532281:2592] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.446653Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 24 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-04T20:33:47.447077Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.447235Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_13|811b7a3b-1dd39ab5-61f7a02a-95d5ab5c_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_13
2025-12-04T20:33:47.447735Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 24 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_13|811b7a3b-1dd39ab5-61f7a02a-95d5ab5c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_13|811b7a3b-1dd39ab5-61f7a02a-95d5ab5c_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.448368Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId: sid_rand_13|811b7a3b-1dd39ab5-61f7a02a-95d5ab5c_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.448376Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 24 sessionId: sid_rand_13|811b7a3b-1dd39ab5-61f7a02a-95d5ab5c_0 grpc read failed
2025-12-04T20:33:47.448382Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 24 sessionId: sid_rand_13|811b7a3b-1dd39ab5-61f7a02a-95d5ab5c_0 grpc closed
2025-12-04T20:33:47.448388Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 24 sessionId: sid_rand_13|811b7a3b-1dd39ab5-61f7a02a-95d5ab5c_0 is DEAD
2025-12-04T20:33:47.448647Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.448695Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.448702Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 25
2025-12-04T20:33:47.448790Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_14" }
2025-12-04T20:33:47.448816Z 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]:51304
2025-12-04T20:33:47.448824Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=25 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.448827Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.449457Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 25 sessionId:  describe result for acl check
2025-12-04T20:33:47.449496Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.449502Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.449505Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.449510Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532315:2596] (SourceId=sid_rand_14, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.450018Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532315:2596] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.452777Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532315:2596] (SourceId=sid_rand_14, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.453049Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532331:2596] connected; active server actors: 1
2025-12-04T20:33:47.453070Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532315:2596] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_14
2025-12-04T20:33:47.453074Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532315:2596] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.453163Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532331:2596] disconnected.
2025-12-04T20:33:47.453174Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532331:2596] disconnected; active server actors: 1
2025-12-04T20:33:47.453180Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532331:2596] disconnected no session
2025-12-04T20:33:47.462892Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532315:2596] (SourceId=sid_rand_14, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.462909Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532315:2596] (SourceId=sid_rand_14, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-04T20:33:47.462913Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532315:2596] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.462921Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 25 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-04T20:33:47.463348Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.463510Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_14|38303561-f5d6bdc8-396d58e4-2e3abacd_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_14
2025-12-04T20:33:47.464003Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 25 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_14|38303561-f5d6bdc8-396d58e4-2e3abacd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_14|38303561-f5d6bdc8-396d58e4-2e3abacd_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.464892Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId: sid_rand_14|38303561-f5d6bdc8-396d58e4-2e3abacd_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.464900Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 25 sessionId: sid_rand_14|38303561-f5d6bdc8-396d58e4-2e3abacd_0 grpc read failed
2025-12-04T20:33:47.464904Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 25 sessionId: sid_rand_14|38303561-f5d6bdc8-396d58e4-2e3abacd_0 grpc closed
2025-12-04T20:33:47.464910Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 25 sessionId: sid_rand_14|38303561-f5d6bdc8-396d58e4-2e3abacd_0 is DEAD
2025-12-04T20:33:47.465154Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.465198Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.465202Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 26
2025-12-04T20:33:47.465296Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_15" }
2025-12-04T20:33:47.465321Z 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]:51304
2025-12-04T20:33:47.465324Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=26 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.465327Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.465829Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 26 sessionId:  describe result for acl check
2025-12-04T20:33:47.465853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.465860Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.465861Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.465866Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532349:2600] (SourceId=sid_rand_15, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.466446Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532349:2600] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.469088Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532349:2600] (SourceId=sid_rand_15, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.469355Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532365:2600] connected; active server actors: 1
2025-12-04T20:33:47.469373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532349:2600] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_15
2025-12-04T20:33:47.469377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532349:2600] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.469450Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532365:2600] disconnected.
2025-12-04T20:33:47.469454Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532365:2600] disconnected; active server actors: 1
2025-12-04T20:33:47.469457Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532365:2600] disconnected no session
2025-12-04T20:33:47.478857Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532349:2600] (SourceId=sid_rand_15, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.478893Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532349:2600] (SourceId=sid_rand_15, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-04T20:33:47.478898Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532349:2600] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.478912Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 26 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-04T20:33:47.480089Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.480207Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_15|41108f05-820213cc-402bdaf3-f552ca47_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_15
2025-12-04T20:33:47.480612Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 26 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_15|41108f05-820213cc-402bdaf3-f552ca47_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_15|41108f05-820213cc-402bdaf3-f552ca47_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.481702Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId: sid_rand_15|41108f05-820213cc-402bdaf3-f552ca47_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.481714Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 26 sessionId: sid_rand_15|41108f05-820213cc-402bdaf3-f552ca47_0 grpc read failed
2025-12-04T20:33:47.481721Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 26 sessionId: sid_rand_15|41108f05-820213cc-402bdaf3-f552ca47_0 grpc closed
2025-12-04T20:33:47.481736Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 26 sessionId: sid_rand_15|41108f05-820213cc-402bdaf3-f552ca47_0 is DEAD
2025-12-04T20:33:47.482183Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.482242Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.482247Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 27
2025-12-04T20:33:47.482423Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_16" }
2025-12-04T20:33:47.482448Z 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]:51304
2025-12-04T20:33:47.482451Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=27 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.482456Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.483448Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 27 sessionId:  describe result for acl check
2025-12-04T20:33:47.483494Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.483504Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.483512Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.483518Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532384:2604] (SourceId=sid_rand_16, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.484721Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532384:2604] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.487747Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532384:2604] (SourceId=sid_rand_16, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.487927Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532400:2604] connected; active server actors: 1
2025-12-04T20:33:47.487969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532384:2604] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_16
2025-12-04T20:33:47.487973Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532384:2604] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.488065Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532400:2604] disconnected.
2025-12-04T20:33:47.488068Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532400:2604] disconnected; active server actors: 1
2025-12-04T20:33:47.488074Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532400:2604] disconnected no session
2025-12-04T20:33:47.493260Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532384:2604] (SourceId=sid_rand_16, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.493278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532384:2604] (SourceId=sid_rand_16, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-04T20:33:47.493282Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532384:2604] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.493291Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 27 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-04T20:33:47.493751Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.493812Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_16|8acc9f82-1c65c5ee-7f074cf-289da43b_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_16
2025-12-04T20:33:47.494003Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 27 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_16|8acc9f82-1c65c5ee-7f074cf-289da43b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_16|8acc9f82-1c65c5ee-7f074cf-289da43b_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.494877Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId: sid_rand_16|8acc9f82-1c65c5ee-7f074cf-289da43b_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.494886Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 27 sessionId: sid_rand_16|8acc9f82-1c65c5ee-7f074cf-289da43b_0 grpc read failed
2025-12-04T20:33:47.494891Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 27 sessionId: sid_rand_16|8acc9f82-1c65c5ee-7f074cf-289da43b_0 grpc closed
2025-12-04T20:33:47.494896Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 27 sessionId: sid_rand_16|8acc9f82-1c65c5ee-7f074cf-289da43b_0 is DEAD
2025-12-04T20:33:47.495002Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.495012Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 28
2025-12-04T20:33:47.495283Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_17" }
2025-12-04T20:33:47.495315Z 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]:51304
2025-12-04T20:33:47.495320Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=28 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.495323Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.495384Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.495849Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 28 sessionId:  describe result for acl check
2025-12-04T20:33:47.495888Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.495895Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.495896Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.495901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532419:2608] (SourceId=sid_rand_17, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.496557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532419:2608] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.503692Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532419:2608] (SourceId=sid_rand_17, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.503821Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532436:2608] connected; active server actors: 1
2025-12-04T20:33:47.503837Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532419:2608] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_17
2025-12-04T20:33:47.503842Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532419:2608] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.504042Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532436:2608] disconnected.
2025-12-04T20:33:47.504047Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532436:2608] disconnected; active server actors: 1
2025-12-04T20:33:47.504049Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532436:2608] disconnected no session
2025-12-04T20:33:47.510564Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532419:2608] (SourceId=sid_rand_17, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.510581Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532419:2608] (SourceId=sid_rand_17, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-04T20:33:47.510592Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532419:2608] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.510601Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 28 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-04T20:33:47.511226Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.511361Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_17|c0d78fa6-da57cbeb-594d36c3-fa927104_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_17
2025-12-04T20:33:47.511810Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 28 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_17|c0d78fa6-da57cbeb-594d36c3-fa927104_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_17|c0d78fa6-da57cbeb-594d36c3-fa927104_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.513004Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId: sid_rand_17|c0d78fa6-da57cbeb-594d36c3-fa927104_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.513010Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 28 sessionId: sid_rand_17|c0d78fa6-da57cbeb-594d36c3-fa927104_0 grpc read failed
2025-12-04T20:33:47.513016Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 28 sessionId: sid_rand_17|c0d78fa6-da57cbeb-594d36c3-fa927104_0 grpc closed
2025-12-04T20:33:47.513022Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 28 sessionId: sid_rand_17|c0d78fa6-da57cbeb-594d36c3-fa927104_0 is DEAD
2025-12-04T20:33:47.513233Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.513514Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.513521Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 29
2025-12-04T20:33:47.513652Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_18" }
2025-12-04T20:33:47.513691Z 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]:51304
2025-12-04T20:33:47.513695Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=29 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.513699Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.514131Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 29 sessionId:  describe result for acl check
2025-12-04T20:33:47.514162Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.514168Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.514171Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.514176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532454:2612] (SourceId=sid_rand_18, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.514843Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532454:2612] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.519235Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532454:2612] (SourceId=sid_rand_18, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.519388Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532470:2612] connected; active server actors: 1
2025-12-04T20:33:47.519400Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532454:2612] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_18
2025-12-04T20:33:47.519404Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532454:2612] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.519588Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532470:2612] disconnected.
2025-12-04T20:33:47.519596Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532470:2612] disconnected; active server actors: 1
2025-12-04T20:33:47.519610Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532470:2612] disconnected no session
2025-12-04T20:33:47.524954Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532454:2612] (SourceId=sid_rand_18, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.524973Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532454:2612] (SourceId=sid_rand_18, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-04T20:33:47.524977Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532454:2612] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.524987Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 29 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-04T20:33:47.525417Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.525474Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_18|3745029b-7c7adc13-a40c2f20-9f3dc0f1_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_18
2025-12-04T20:33:47.525694Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 29 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_18|3745029b-7c7adc13-a40c2f20-9f3dc0f1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_18|3745029b-7c7adc13-a40c2f20-9f3dc0f1_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.526822Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId: sid_rand_18|3745029b-7c7adc13-a40c2f20-9f3dc0f1_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.526831Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 29 sessionId: sid_rand_18|3745029b-7c7adc13-a40c2f20-9f3dc0f1_0 grpc read failed
2025-12-04T20:33:47.526845Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 29 sessionId: sid_rand_18|3745029b-7c7adc13-a40c2f20-9f3dc0f1_0
2025-12-04T20:33:47.526852Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 29 sessionId: sid_rand_18|3745029b-7c7adc13-a40c2f20-9f3dc0f1_0 is DEAD
2025-12-04T20:33:47.526955Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.528254Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.528265Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 30
2025-12-04T20:33:47.528415Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_19" }
2025-12-04T20:33:47.528456Z 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]:51304
2025-12-04T20:33:47.528466Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=30 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.528469Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.528988Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 30 sessionId:  describe result for acl check
2025-12-04T20:33:47.529027Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.529029Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.529031Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.529036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532489:2616] (SourceId=sid_rand_19, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.529687Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532489:2616] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.532453Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532489:2616] (SourceId=sid_rand_19, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.532524Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532505:2616] connected; active server actors: 1
2025-12-04T20:33:47.532543Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532489:2616] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_19
2025-12-04T20:33:47.532549Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532489:2616] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.532618Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532505:2616] disconnected.
2025-12-04T20:33:47.532623Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532505:2616] disconnected; active server actors: 1
2025-12-04T20:33:47.532626Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532505:2616] disconnected no session
2025-12-04T20:33:47.543376Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532489:2616] (SourceId=sid_rand_19, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.543392Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532489:2616] (SourceId=sid_rand_19, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-04T20:33:47.543396Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532489:2616] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.543404Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 30 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-04T20:33:47.543710Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.543857Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_19|5dea523d-843b3602-51f7207c-d4095d1d_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_19
2025-12-04T20:33:47.544273Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 30 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_19|5dea523d-843b3602-51f7207c-d4095d1d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_19|5dea523d-843b3602-51f7207c-d4095d1d_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.545066Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId: sid_rand_19|5dea523d-843b3602-51f7207c-d4095d1d_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.545075Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 30 sessionId: sid_rand_19|5dea523d-843b3602-51f7207c-d4095d1d_0 grpc read failed
2025-12-04T20:33:47.545080Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 30 sessionId: sid_rand_19|5dea523d-843b3602-51f7207c-d4095d1d_0 grpc closed
2025-12-04T20:33:47.545086Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 30 sessionId: sid_rand_19|5dea523d-843b3602-51f7207c-d4095d1d_0 is DEAD
2025-12-04T20:33:47.545413Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.545573Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.545582Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 31
2025-12-04T20:33:47.545802Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_20" }
2025-12-04T20:33:47.545833Z 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]:51304
2025-12-04T20:33:47.545842Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=31 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.545847Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.546296Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 31 sessionId:  describe result for acl check
2025-12-04T20:33:47.546332Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.546355Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.546358Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.546364Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532523:2620] (SourceId=sid_rand_20, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.547187Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532523:2620] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.553712Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532523:2620] (SourceId=sid_rand_20, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.553966Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532542:2620] connected; active server actors: 1
2025-12-04T20:33:47.553978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532523:2620] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_20
2025-12-04T20:33:47.553983Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532523:2620] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.554347Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532542:2620] disconnected.
2025-12-04T20:33:47.554352Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532542:2620] disconnected; active server actors: 1
2025-12-04T20:33:47.554355Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532542:2620] disconnected no session
2025-12-04T20:33:47.557970Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532523:2620] (SourceId=sid_rand_20, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.557987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532523:2620] (SourceId=sid_rand_20, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-04T20:33:47.557991Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532523:2620] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.558000Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 31 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-04T20:33:47.559223Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.559403Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_20|e7736848-9831e2f4-75afbf9-6e2ea214_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_20
2025-12-04T20:33:47.559821Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 31 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_20|e7736848-9831e2f4-75afbf9-6e2ea214_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_20|e7736848-9831e2f4-75afbf9-6e2ea214_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.560453Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId: sid_rand_20|e7736848-9831e2f4-75afbf9-6e2ea214_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.560461Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 31 sessionId: sid_rand_20|e7736848-9831e2f4-75afbf9-6e2ea214_0 grpc read failed
2025-12-04T20:33:47.560467Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 31 sessionId: sid_rand_20|e7736848-9831e2f4-75afbf9-6e2ea214_0 grpc closed
2025-12-04T20:33:47.560472Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 31 sessionId: sid_rand_20|e7736848-9831e2f4-75afbf9-6e2ea214_0 is DEAD
2025-12-04T20:33:47.560650Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.560686Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.560690Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 32
2025-12-04T20:33:47.560842Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_21" }
2025-12-04T20:33:47.560884Z 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]:51304
2025-12-04T20:33:47.560889Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=32 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.560892Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.561471Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 32 sessionId:  describe result for acl check
2025-12-04T20:33:47.561505Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.561512Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.561514Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.561520Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532560:2624] (SourceId=sid_rand_21, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.562139Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532560:2624] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.564559Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532560:2624] (SourceId=sid_rand_21, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.564776Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532576:2624] connected; active server actors: 1
2025-12-04T20:33:47.564835Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532560:2624] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_21
2025-12-04T20:33:47.564845Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532560:2624] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.565065Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532576:2624] disconnected.
2025-12-04T20:33:47.565073Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532576:2624] disconnected; active server actors: 1
2025-12-04T20:33:47.565076Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532576:2624] disconnected no session
2025-12-04T20:33:47.567754Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532560:2624] (SourceId=sid_rand_21, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.567768Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532560:2624] (SourceId=sid_rand_21, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-04T20:33:47.567772Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532560:2624] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.567781Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 32 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-04T20:33:47.568211Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.568314Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_21|d65228fb-6821ab85-e72b5b74-470f44c2_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_21
2025-12-04T20:33:47.568498Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 32 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_21|d65228fb-6821ab85-e72b5b74-470f44c2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_21|d65228fb-6821ab85-e72b5b74-470f44c2_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.569335Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId: sid_rand_21|d65228fb-6821ab85-e72b5b74-470f44c2_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.569346Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 32 sessionId: sid_rand_21|d65228fb-6821ab85-e72b5b74-470f44c2_0 grpc read failed
2025-12-04T20:33:47.569353Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 32 sessionId: sid_rand_21|d65228fb-6821ab85-e72b5b74-470f44c2_0 grpc closed
2025-12-04T20:33:47.569358Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 32 sessionId: sid_rand_21|d65228fb-6821ab85-e72b5b74-470f44c2_0 is DEAD
2025-12-04T20:33:47.569569Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.569616Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.569625Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 33
2025-12-04T20:33:47.569831Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_22" }
2025-12-04T20:33:47.569862Z 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]:51304
2025-12-04T20:33:47.569866Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=33 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.569869Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.570242Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 33 sessionId:  describe result for acl check
2025-12-04T20:33:47.570273Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.570275Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.570278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.570283Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532595:2628] (SourceId=sid_rand_22, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.570813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532595:2628] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.572947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532595:2628] (SourceId=sid_rand_22, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.573068Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532611:2628] connected; active server actors: 1
2025-12-04T20:33:47.573092Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532595:2628] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_22
2025-12-04T20:33:47.573096Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532595:2628] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.573168Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532611:2628] disconnected.
2025-12-04T20:33:47.573175Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532611:2628] disconnected; active server actors: 1
2025-12-04T20:33:47.573177Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532611:2628] disconnected no session
2025-12-04T20:33:47.581377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532595:2628] (SourceId=sid_rand_22, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.581393Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532595:2628] (SourceId=sid_rand_22, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-04T20:33:47.581396Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532595:2628] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.581405Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 33 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-04T20:33:47.581769Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.581951Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_22|d2e3a2fe-253ec35a-40b1ba02-a7b9889a_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_22
2025-12-04T20:33:47.585959Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 33 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_22|d2e3a2fe-253ec35a-40b1ba02-a7b9889a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_22|d2e3a2fe-253ec35a-40b1ba02-a7b9889a_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.587026Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId: sid_rand_22|d2e3a2fe-253ec35a-40b1ba02-a7b9889a_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.587037Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 33 sessionId: sid_rand_22|d2e3a2fe-253ec35a-40b1ba02-a7b9889a_0 grpc read failed
2025-12-04T20:33:47.587045Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 33 sessionId: sid_rand_22|d2e3a2fe-253ec35a-40b1ba02-a7b9889a_0 grpc closed
2025-12-04T20:33:47.587051Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 33 sessionId: sid_rand_22|d2e3a2fe-253ec35a-40b1ba02-a7b9889a_0 is DEAD
2025-12-04T20:33:47.587233Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.587245Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 34
2025-12-04T20:33:47.587383Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_23" }
2025-12-04T20:33:47.587405Z 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]:51304
2025-12-04T20:33:47.587411Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=34 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.587426Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.587433Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.587772Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 34 sessionId:  describe result for acl check
2025-12-04T20:33:47.587796Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.587798Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.587799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.587804Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532629:2632] (SourceId=sid_rand_23, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.588289Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532629:2632] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.591788Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532629:2632] (SourceId=sid_rand_23, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.591963Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532645:2632] connected; active server actors: 1
2025-12-04T20:33:47.591982Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532629:2632] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_23
2025-12-04T20:33:47.591987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532629:2632] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.592142Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532645:2632] disconnected.
2025-12-04T20:33:47.592150Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532645:2632] disconnected; active server actors: 1
2025-12-04T20:33:47.592152Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532645:2632] disconnected no session
2025-12-04T20:33:47.598403Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532629:2632] (SourceId=sid_rand_23, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.598420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532629:2632] (SourceId=sid_rand_23, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-04T20:33:47.598424Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532629:2632] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.598433Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 34 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-04T20:33:47.599325Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.599371Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_23|d8c01abc-9fa6b182-4037a115-e409f054_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_23
2025-12-04T20:33:47.599683Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 34 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_23|d8c01abc-9fa6b182-4037a115-e409f054_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_23|d8c01abc-9fa6b182-4037a115-e409f054_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.601497Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId: sid_rand_23|d8c01abc-9fa6b182-4037a115-e409f054_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.601509Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 34 sessionId: sid_rand_23|d8c01abc-9fa6b182-4037a115-e409f054_0 grpc read failed
2025-12-04T20:33:47.601515Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 34 sessionId: sid_rand_23|d8c01abc-9fa6b182-4037a115-e409f054_0 grpc closed
2025-12-04T20:33:47.601521Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 34 sessionId: sid_rand_23|d8c01abc-9fa6b182-4037a115-e409f054_0 is DEAD
2025-12-04T20:33:47.601781Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.601970Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.601983Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 35
2025-12-04T20:33:47.602095Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_24" }
2025-12-04T20:33:47.602124Z 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]:51304
2025-12-04T20:33:47.602133Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=35 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.602137Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.602741Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 35 sessionId:  describe result for acl check
2025-12-04T20:33:47.602774Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.602781Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.602783Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.602789Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532664:2636] (SourceId=sid_rand_24, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.603448Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532664:2636] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.606745Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532664:2636] (SourceId=sid_rand_24, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.606982Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532680:2636] connected; active server actors: 1
2025-12-04T20:33:47.607052Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532664:2636] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_24
2025-12-04T20:33:47.607063Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532664:2636] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.607181Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532680:2636] disconnected.
2025-12-04T20:33:47.607190Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532680:2636] disconnected; active server actors: 1
2025-12-04T20:33:47.607192Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532680:2636] disconnected no session
2025-12-04T20:33:47.610742Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532664:2636] (SourceId=sid_rand_24, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.610757Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532664:2636] (SourceId=sid_rand_24, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-04T20:33:47.610761Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532664:2636] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.610769Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 35 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-04T20:33:47.611293Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.611411Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_24|49fa836d-947ddd1a-d2d40ece-92dbb0bc_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_24
2025-12-04T20:33:47.611937Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 35 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_24|49fa836d-947ddd1a-d2d40ece-92dbb0bc_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_24|49fa836d-947ddd1a-d2d40ece-92dbb0bc_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.612687Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId: sid_rand_24|49fa836d-947ddd1a-d2d40ece-92dbb0bc_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.612697Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 35 sessionId: sid_rand_24|49fa836d-947ddd1a-d2d40ece-92dbb0bc_0 grpc read failed
2025-12-04T20:33:47.612703Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 35 sessionId: sid_rand_24|49fa836d-947ddd1a-d2d40ece-92dbb0bc_0 grpc closed
2025-12-04T20:33:47.612707Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 35 sessionId: sid_rand_24|49fa836d-947ddd1a-d2d40ece-92dbb0bc_0 is DEAD
2025-12-04T20:33:47.612746Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.612756Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 36
2025-12-04T20:33:47.612853Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_25" }
2025-12-04T20:33:47.612891Z 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]:51304
2025-12-04T20:33:47.612900Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=36 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.612904Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.612951Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.613380Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 36 sessionId:  describe result for acl check
2025-12-04T20:33:47.613405Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.613410Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.613414Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.613418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532698:2640] (SourceId=sid_rand_25, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.613825Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532698:2640] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.616195Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532698:2640] (SourceId=sid_rand_25, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.616330Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532714:2640] connected; active server actors: 1
2025-12-04T20:33:47.616343Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532698:2640] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_25
2025-12-04T20:33:47.616347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532698:2640] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.616406Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532714:2640] disconnected.
2025-12-04T20:33:47.616414Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532714:2640] disconnected; active server actors: 1
2025-12-04T20:33:47.616418Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532714:2640] disconnected no session
2025-12-04T20:33:47.619394Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532698:2640] (SourceId=sid_rand_25, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.619407Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532698:2640] (SourceId=sid_rand_25, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-04T20:33:47.619411Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532698:2640] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.619419Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 36 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-04T20:33:47.619731Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.619832Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_25|acf204bd-31be545b-d1c0148e-e530190f_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_25
2025-12-04T20:33:47.620180Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 36 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_25|acf204bd-31be545b-d1c0148e-e530190f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_25|acf204bd-31be545b-d1c0148e-e530190f_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.620939Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId: sid_rand_25|acf204bd-31be545b-d1c0148e-e530190f_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.620951Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 36 sessionId: sid_rand_25|acf204bd-31be545b-d1c0148e-e530190f_0 grpc read failed
2025-12-04T20:33:47.620958Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 36 sessionId: sid_rand_25|acf204bd-31be545b-d1c0148e-e530190f_0 grpc closed
2025-12-04T20:33:47.620964Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 36 sessionId: sid_rand_25|acf204bd-31be545b-d1c0148e-e530190f_0 is DEAD
2025-12-04T20:33:47.621147Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.621159Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 37
2025-12-04T20:33:47.621264Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_26" }
2025-12-04T20:33:47.621274Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.621290Z 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]:51304
2025-12-04T20:33:47.621294Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=37 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.621298Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.621729Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 37 sessionId:  describe result for acl check
2025-12-04T20:33:47.621760Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.621767Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.621770Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.621775Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532732:2644] (SourceId=sid_rand_26, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.622365Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532732:2644] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.625021Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532732:2644] (SourceId=sid_rand_26, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.625134Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532748:2644] connected; active server actors: 1
2025-12-04T20:33:47.625160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532732:2644] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_26
2025-12-04T20:33:47.625165Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532732:2644] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.625223Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532748:2644] disconnected.
2025-12-04T20:33:47.625233Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532748:2644] disconnected; active server actors: 1
2025-12-04T20:33:47.625236Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532748:2644] disconnected no session
2025-12-04T20:33:47.630551Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_26|766fed72-57390575-d74c5414-20c90f6d_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_26
Init result: { status: SUCCESS init_response { session_id: "sid_rand_26|766fed72-57390575-d74c5414-20c90f6d_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.630129Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532732:2644] (SourceId=sid_rand_26, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.630145Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532732:2644] (SourceId=sid_rand_26, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-04T20:33:47.630149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532732:2644] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.630157Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 37 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-04T20:33:47.630434Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.631063Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 37 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_26|766fed72-57390575-d74c5414-20c90f6d_0
2025-12-04T20:33:47.631784Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId: sid_rand_26|766fed72-57390575-d74c5414-20c90f6d_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.631788Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 37 sessionId: sid_rand_26|766fed72-57390575-d74c5414-20c90f6d_0 grpc read failed
2025-12-04T20:33:47.631794Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 37 sessionId: sid_rand_26|766fed72-57390575-d74c5414-20c90f6d_0 grpc closed
2025-12-04T20:33:47.631800Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 37 sessionId: sid_rand_26|766fed72-57390575-d74c5414-20c90f6d_0 is DEAD
2025-12-04T20:33:47.631967Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.631973Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 38
2025-12-04T20:33:47.632039Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.632148Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_27" }
2025-12-04T20:33:47.632175Z 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]:51304
2025-12-04T20:33:47.632179Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=38 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.632183Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.632658Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 38 sessionId:  describe result for acl check
2025-12-04T20:33:47.632684Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.632692Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.632694Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.632702Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532766:2648] (SourceId=sid_rand_27, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.633308Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532766:2648] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.635596Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532766:2648] (SourceId=sid_rand_27, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.635710Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532782:2648] connected; active server actors: 1
2025-12-04T20:33:47.635728Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532766:2648] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_27
2025-12-04T20:33:47.635732Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532766:2648] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.635794Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532782:2648] disconnected.
2025-12-04T20:33:47.635801Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532782:2648] disconnected; active server actors: 1
2025-12-04T20:33:47.635803Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532782:2648] disconnected no session
2025-12-04T20:33:47.642390Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532766:2648] (SourceId=sid_rand_27, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.642408Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532766:2648] (SourceId=sid_rand_27, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-04T20:33:47.642412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532766:2648] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.642420Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 38 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-04T20:33:47.642679Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.642777Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_27|db2067da-fb7e9b0a-7fa5a883-d2f9be54_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_27
2025-12-04T20:33:47.643155Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 38 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_27|db2067da-fb7e9b0a-7fa5a883-d2f9be54_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_27|db2067da-fb7e9b0a-7fa5a883-d2f9be54_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.643821Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId: sid_rand_27|db2067da-fb7e9b0a-7fa5a883-d2f9be54_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.643831Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 38 sessionId: sid_rand_27|db2067da-fb7e9b0a-7fa5a883-d2f9be54_0 grpc read failed
2025-12-04T20:33:47.643837Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 38 sessionId: sid_rand_27|db2067da-fb7e9b0a-7fa5a883-d2f9be54_0 grpc closed
2025-12-04T20:33:47.643843Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 38 sessionId: sid_rand_27|db2067da-fb7e9b0a-7fa5a883-d2f9be54_0 is DEAD
2025-12-04T20:33:47.644016Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.644028Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 39
2025-12-04T20:33:47.644109Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.644153Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_28" }
2025-12-04T20:33:47.644180Z 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]:51304
2025-12-04T20:33:47.644186Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=39 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.644189Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.644634Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 39 sessionId:  describe result for acl check
2025-12-04T20:33:47.644666Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.644669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.644670Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.644676Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532802:2653] (SourceId=sid_rand_28, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.645318Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532802:2653] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.648158Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532802:2653] (SourceId=sid_rand_28, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.648230Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532818:2653] connected; active server actors: 1
2025-12-04T20:33:47.648241Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532802:2653] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_28
2025-12-04T20:33:47.648244Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532802:2653] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.648290Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532818:2653] disconnected.
2025-12-04T20:33:47.648297Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532818:2653] disconnected; active server actors: 1
2025-12-04T20:33:47.648300Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532818:2653] disconnected no session
2025-12-04T20:33:47.652742Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532802:2653] (SourceId=sid_rand_28, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.652770Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532802:2653] (SourceId=sid_rand_28, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-04T20:33:47.652774Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532802:2653] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.652782Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 39 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-04T20:33:47.653087Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.653609Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 39 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_28|6c5248f2-2b64397c-6d4f26a3-44b582eb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_28|6c5248f2-2b64397c-6d4f26a3-44b582eb_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.654596Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId: sid_rand_28|6c5248f2-2b64397c-6d4f26a3-44b582eb_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.654608Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 39 sessionId: sid_rand_28|6c5248f2-2b64397c-6d4f26a3-44b582eb_0 grpc read failed
2025-12-04T20:33:47.654615Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 39 sessionId: sid_rand_28|6c5248f2-2b64397c-6d4f26a3-44b582eb_0 grpc closed
2025-12-04T20:33:47.654621Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 39 sessionId: sid_rand_28|6c5248f2-2b64397c-6d4f26a3-44b582eb_0 is DEAD
2025-12-04T20:33:47.654670Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.654682Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 40
2025-12-04T20:33:47.654810Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_29" }
2025-12-04T20:33:47.654839Z 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]:51304
2025-12-04T20:33:47.654849Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=40 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.654852Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.654938Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.655293Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 40 sessionId:  describe result for acl check
2025-12-04T20:33:47.655327Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.655332Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.655334Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.655340Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532836:2657] (SourceId=sid_rand_29, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.655895Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532836:2657] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.653236Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_28|6c5248f2-2b64397c-6d4f26a3-44b582eb_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_28
2025-12-04T20:33:47.658387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532836:2657] (SourceId=sid_rand_29, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.658470Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532852:2657] connected; active server actors: 1
2025-12-04T20:33:47.658484Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532836:2657] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_29
2025-12-04T20:33:47.658488Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532836:2657] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.658717Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532852:2657] disconnected.
2025-12-04T20:33:47.658726Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532852:2657] disconnected; active server actors: 1
2025-12-04T20:33:47.658729Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532852:2657] disconnected no session
2025-12-04T20:33:47.662603Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532836:2657] (SourceId=sid_rand_29, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.662620Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532836:2657] (SourceId=sid_rand_29, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-04T20:33:47.662624Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532836:2657] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.662632Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 40 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-04T20:33:47.662992Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.663097Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_29|34c06c07-c6682744-52f4c4fc-d0a3dc0b_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_29
2025-12-04T20:33:47.663504Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 40 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_29|34c06c07-c6682744-52f4c4fc-d0a3dc0b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_29|34c06c07-c6682744-52f4c4fc-d0a3dc0b_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.665148Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId: sid_rand_29|34c06c07-c6682744-52f4c4fc-d0a3dc0b_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.665162Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 40 sessionId: sid_rand_29|34c06c07-c6682744-52f4c4fc-d0a3dc0b_0 grpc read failed
2025-12-04T20:33:47.665181Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 40 sessionId: sid_rand_29|34c06c07-c6682744-52f4c4fc-d0a3dc0b_0 grpc closed
2025-12-04T20:33:47.665188Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 40 sessionId: sid_rand_29|34c06c07-c6682744-52f4c4fc-d0a3dc0b_0 is DEAD
2025-12-04T20:33:47.665235Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.665247Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 41
2025-12-04T20:33:47.665414Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_30" }
2025-12-04T20:33:47.665443Z 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]:51304
2025-12-04T20:33:47.665451Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=41 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.665455Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.665496Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.665995Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 41 sessionId:  describe result for acl check
2025-12-04T20:33:47.666037Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.666044Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.666049Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.666057Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532870:2661] (SourceId=sid_rand_30, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.666877Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532870:2661] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.669406Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532870:2661] (SourceId=sid_rand_30, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.669525Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532887:2661] connected; active server actors: 1
2025-12-04T20:33:47.669543Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532870:2661] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_30
2025-12-04T20:33:47.669552Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532870:2661] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.669614Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532887:2661] disconnected.
2025-12-04T20:33:47.669624Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532887:2661] disconnected; active server actors: 1
2025-12-04T20:33:47.669626Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532887:2661] disconnected no session
2025-12-04T20:33:47.678527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532870:2661] (SourceId=sid_rand_30, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.678546Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532870:2661] (SourceId=sid_rand_30, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-04T20:33:47.678550Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532870:2661] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.678559Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 41 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-04T20:33:47.678865Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.680195Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 41 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_30|78b1d7df-b74fbf5c-9761be19-3e48b388_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_30|78b1d7df-b74fbf5c-9761be19-3e48b388_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.678958Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_30|78b1d7df-b74fbf5c-9761be19-3e48b388_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_30
2025-12-04T20:33:47.681061Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId: sid_rand_30|78b1d7df-b74fbf5c-9761be19-3e48b388_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.681071Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 41 sessionId: sid_rand_30|78b1d7df-b74fbf5c-9761be19-3e48b388_0 grpc read failed
2025-12-04T20:33:47.681078Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 41 sessionId: sid_rand_30|78b1d7df-b74fbf5c-9761be19-3e48b388_0 grpc closed
2025-12-04T20:33:47.681085Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 41 sessionId: sid_rand_30|78b1d7df-b74fbf5c-9761be19-3e48b388_0 is DEAD
2025-12-04T20:33:47.681354Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.681400Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.681404Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 42
2025-12-04T20:33:47.681483Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_31" }
2025-12-04T20:33:47.681512Z 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]:51304
2025-12-04T20:33:47.681516Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=42 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.681519Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.682023Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 42 sessionId:  describe result for acl check
2025-12-04T20:33:47.682064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.682071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.682074Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.682080Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532905:2665] (SourceId=sid_rand_31, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.683008Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532905:2665] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.685659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532905:2665] (SourceId=sid_rand_31, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.685754Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532924:2665] connected; active server actors: 1
2025-12-04T20:33:47.685774Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532905:2665] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_31
2025-12-04T20:33:47.685780Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532905:2665] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.685845Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532924:2665] disconnected.
2025-12-04T20:33:47.685858Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532924:2665] disconnected; active server actors: 1
2025-12-04T20:33:47.685861Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532924:2665] disconnected no session
2025-12-04T20:33:47.694593Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532905:2665] (SourceId=sid_rand_31, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.694618Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532905:2665] (SourceId=sid_rand_31, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-04T20:33:47.694622Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532905:2665] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.694630Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 42 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-04T20:33:47.694931Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.695047Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_31|1c6921b3-1484a6b0-cd4c8074-7b38bc1_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_31
2025-12-04T20:33:47.695335Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 42 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_31|1c6921b3-1484a6b0-cd4c8074-7b38bc1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_31|1c6921b3-1484a6b0-cd4c8074-7b38bc1_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.696079Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId: sid_rand_31|1c6921b3-1484a6b0-cd4c8074-7b38bc1_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.696090Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 42 sessionId: sid_rand_31|1c6921b3-1484a6b0-cd4c8074-7b38bc1_0 grpc read failed
2025-12-04T20:33:47.696097Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 42 sessionId: sid_rand_31|1c6921b3-1484a6b0-cd4c8074-7b38bc1_0 grpc closed
2025-12-04T20:33:47.696103Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 42 sessionId: sid_rand_31|1c6921b3-1484a6b0-cd4c8074-7b38bc1_0 is DEAD
2025-12-04T20:33:47.696262Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.696274Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 43
2025-12-04T20:33:47.696362Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_32" }
2025-12-04T20:33:47.696387Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.696390Z 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]:51304
2025-12-04T20:33:47.696394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=43 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.696397Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.696832Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 43 sessionId:  describe result for acl check
2025-12-04T20:33:47.696892Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.696899Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.696901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.696905Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532942:2669] (SourceId=sid_rand_32, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.697511Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532942:2669] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.699673Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532942:2669] (SourceId=sid_rand_32, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.703107Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532958:2669] connected; active server actors: 1
2025-12-04T20:33:47.703151Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532942:2669] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_32
2025-12-04T20:33:47.703156Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532942:2669] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.703227Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532958:2669] disconnected.
2025-12-04T20:33:47.703234Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532958:2669] disconnected; active server actors: 1
2025-12-04T20:33:47.703237Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532958:2669] disconnected no session
Init result: { status: SUCCESS init_response { session_id: "sid_rand_32|948a9699-73e6b490-db8e1aa-7a5018fa_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.710466Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532942:2669] (SourceId=sid_rand_32, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.710486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532942:2669] (SourceId=sid_rand_32, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-04T20:33:47.710489Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532942:2669] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.710498Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 43 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-04T20:33:47.710696Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.710754Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_32|948a9699-73e6b490-db8e1aa-7a5018fa_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_32
2025-12-04T20:33:47.710896Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 43 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_32|948a9699-73e6b490-db8e1aa-7a5018fa_0
2025-12-04T20:33:47.711537Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId: sid_rand_32|948a9699-73e6b490-db8e1aa-7a5018fa_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.711540Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 43 sessionId: sid_rand_32|948a9699-73e6b490-db8e1aa-7a5018fa_0 grpc read failed
2025-12-04T20:33:47.711590Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 43 sessionId: sid_rand_32|948a9699-73e6b490-db8e1aa-7a5018fa_0
2025-12-04T20:33:47.711597Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 43 sessionId: sid_rand_32|948a9699-73e6b490-db8e1aa-7a5018fa_0 is DEAD
2025-12-04T20:33:47.711700Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.713018Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.713024Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 44
2025-12-04T20:33:47.713249Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_33" }
2025-12-04T20:33:47.713286Z 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]:51304
2025-12-04T20:33:47.713291Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=44 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.713305Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.713748Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 44 sessionId:  describe result for acl check
2025-12-04T20:33:47.713785Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.713788Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.713790Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.713795Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719532977:2673] (SourceId=sid_rand_33, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.714377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719532977:2673] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.716335Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719532977:2673] (SourceId=sid_rand_33, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.716412Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532993:2673] connected; active server actors: 1
2025-12-04T20:33:47.716421Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719532977:2673] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_33
2025-12-04T20:33:47.716424Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719532977:2673] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.716475Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532993:2673] disconnected.
2025-12-04T20:33:47.716479Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532993:2673] disconnected; active server actors: 1
2025-12-04T20:33:47.716482Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719532993:2673] disconnected no session
2025-12-04T20:33:47.722370Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719532977:2673] (SourceId=sid_rand_33, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.722387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719532977:2673] (SourceId=sid_rand_33, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-04T20:33:47.722408Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719532977:2673] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.722417Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 44 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-04T20:33:47.722593Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.722646Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_33|88c3cb20-680a5838-589e36bd-75c447cc_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_33
2025-12-04T20:33:47.722760Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 44 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_33|88c3cb20-680a5838-589e36bd-75c447cc_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_33|88c3cb20-680a5838-589e36bd-75c447cc_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.723441Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId: sid_rand_33|88c3cb20-680a5838-589e36bd-75c447cc_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.723451Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 44 sessionId: sid_rand_33|88c3cb20-680a5838-589e36bd-75c447cc_0 grpc read failed
2025-12-04T20:33:47.723458Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 44 sessionId: sid_rand_33|88c3cb20-680a5838-589e36bd-75c447cc_0 grpc closed
2025-12-04T20:33:47.723464Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 44 sessionId: sid_rand_33|88c3cb20-680a5838-589e36bd-75c447cc_0 is DEAD
2025-12-04T20:33:47.723627Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.723871Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.723881Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 45
2025-12-04T20:33:47.723980Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_34" }
2025-12-04T20:33:47.724025Z 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]:51304
2025-12-04T20:33:47.724034Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=45 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.724037Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.724458Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 45 sessionId:  describe result for acl check
2025-12-04T20:33:47.724491Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.724499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.724501Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.724507Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533012:2677] (SourceId=sid_rand_34, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.725245Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533012:2677] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.727482Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533012:2677] (SourceId=sid_rand_34, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.727646Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533028:2677] connected; active server actors: 1
2025-12-04T20:33:47.727661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533012:2677] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_34
2025-12-04T20:33:47.727664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533012:2677] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.727733Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533028:2677] disconnected.
2025-12-04T20:33:47.727741Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533028:2677] disconnected; active server actors: 1
2025-12-04T20:33:47.727744Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533028:2677] disconnected no session
2025-12-04T20:33:47.741730Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533012:2677] (SourceId=sid_rand_34, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.741750Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533012:2677] (SourceId=sid_rand_34, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-04T20:33:47.741754Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533012:2677] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.741764Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 45 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-04T20:33:47.742442Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.743832Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_34|c773509f-7f6fe67-90449665-6d699092_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_34
2025-12-04T20:33:47.744291Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 45 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_34|c773509f-7f6fe67-90449665-6d699092_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_34|c773509f-7f6fe67-90449665-6d699092_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.744939Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId: sid_rand_34|c773509f-7f6fe67-90449665-6d699092_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.744948Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 45 sessionId: sid_rand_34|c773509f-7f6fe67-90449665-6d699092_0 grpc read failed
2025-12-04T20:33:47.744954Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 45 sessionId: sid_rand_34|c773509f-7f6fe67-90449665-6d699092_0 grpc closed
2025-12-04T20:33:47.744961Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 45 sessionId: sid_rand_34|c773509f-7f6fe67-90449665-6d699092_0 is DEAD
2025-12-04T20:33:47.745185Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.745390Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.745401Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 46
2025-12-04T20:33:47.745515Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_35" }
2025-12-04T20:33:47.745553Z 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]:51304
2025-12-04T20:33:47.745561Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=46 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.745565Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.746001Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 46 sessionId:  describe result for acl check
2025-12-04T20:33:47.746035Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.746042Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.746044Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.746050Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533046:2681] (SourceId=sid_rand_35, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.746687Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533046:2681] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.750317Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533046:2681] (SourceId=sid_rand_35, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.750530Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533062:2681] connected; active server actors: 1
2025-12-04T20:33:47.750560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533046:2681] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_35
2025-12-04T20:33:47.750565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533046:2681] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.750660Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533062:2681] disconnected.
2025-12-04T20:33:47.750667Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533062:2681] disconnected; active server actors: 1
2025-12-04T20:33:47.750670Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533062:2681] disconnected no session
2025-12-04T20:33:47.754632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533046:2681] (SourceId=sid_rand_35, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.754649Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533046:2681] (SourceId=sid_rand_35, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-04T20:33:47.754652Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533046:2681] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.754661Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 46 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-04T20:33:47.755208Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.755279Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_35|43394a7c-e336cf45-663f344a-989f2a37_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_35
2025-12-04T20:33:47.755453Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 46 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_35|43394a7c-e336cf45-663f344a-989f2a37_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_35|43394a7c-e336cf45-663f344a-989f2a37_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.756200Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId: sid_rand_35|43394a7c-e336cf45-663f344a-989f2a37_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.756209Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 46 sessionId: sid_rand_35|43394a7c-e336cf45-663f344a-989f2a37_0 grpc read failed
2025-12-04T20:33:47.756215Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 46 sessionId: sid_rand_35|43394a7c-e336cf45-663f344a-989f2a37_0 grpc closed
2025-12-04T20:33:47.756250Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 46 sessionId: sid_rand_35|43394a7c-e336cf45-663f344a-989f2a37_0 is DEAD
2025-12-04T20:33:47.756406Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.756603Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.756616Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 47
2025-12-04T20:33:47.756730Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_36" }
2025-12-04T20:33:47.756756Z 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]:51304
2025-12-04T20:33:47.756766Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=47 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.756770Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.757328Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 47 sessionId:  describe result for acl check
2025-12-04T20:33:47.757362Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.757364Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.757367Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.757372Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533081:2685] (SourceId=sid_rand_36, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.758038Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533081:2685] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.761335Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533081:2685] (SourceId=sid_rand_36, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.761584Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533097:2685] connected; active server actors: 1
2025-12-04T20:33:47.761598Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533081:2685] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_36
2025-12-04T20:33:47.761602Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533081:2685] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.761691Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533097:2685] disconnected.
2025-12-04T20:33:47.761696Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533097:2685] disconnected; active server actors: 1
2025-12-04T20:33:47.761699Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533097:2685] disconnected no session
2025-12-04T20:33:47.767800Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533081:2685] (SourceId=sid_rand_36, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.767816Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533081:2685] (SourceId=sid_rand_36, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-04T20:33:47.767820Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533081:2685] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.767829Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 47 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-04T20:33:47.768462Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.769108Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_36|721079f4-24f73bc-663ed441-9ff0e44e_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_36
Init result: { status: SUCCESS init_response { session_id: "sid_rand_36|721079f4-24f73bc-663ed441-9ff0e44e_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.769498Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 47 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_36|721079f4-24f73bc-663ed441-9ff0e44e_0
2025-12-04T20:33:47.770321Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId: sid_rand_36|721079f4-24f73bc-663ed441-9ff0e44e_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.770331Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 47 sessionId: sid_rand_36|721079f4-24f73bc-663ed441-9ff0e44e_0 grpc read failed
2025-12-04T20:33:47.770336Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 47 sessionId: sid_rand_36|721079f4-24f73bc-663ed441-9ff0e44e_0 grpc closed
2025-12-04T20:33:47.770343Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 47 sessionId: sid_rand_36|721079f4-24f73bc-663ed441-9ff0e44e_0 is DEAD
2025-12-04T20:33:47.770398Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.770411Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 48
2025-12-04T20:33:47.770584Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.770601Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_37" }
2025-12-04T20:33:47.770634Z 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]:51304
2025-12-04T20:33:47.770639Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=48 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.770644Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.771172Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 48 sessionId:  describe result for acl check
2025-12-04T20:33:47.771229Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.771236Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.771238Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.771243Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533115:2689] (SourceId=sid_rand_37, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.771875Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533115:2689] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.774351Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533115:2689] (SourceId=sid_rand_37, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.774500Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533131:2689] connected; active server actors: 1
2025-12-04T20:33:47.774575Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533115:2689] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_37
2025-12-04T20:33:47.774584Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533115:2689] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.774808Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533131:2689] disconnected.
2025-12-04T20:33:47.774818Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533131:2689] disconnected; active server actors: 1
2025-12-04T20:33:47.774821Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533131:2689] disconnected no session
2025-12-04T20:33:47.781206Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533115:2689] (SourceId=sid_rand_37, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.781222Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533115:2689] (SourceId=sid_rand_37, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-04T20:33:47.781226Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533115:2689] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.781235Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 48 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-04T20:33:47.782139Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.782304Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_37|fb3005b9-d8480943-1cbc97c9-6ee9b2fe_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_37
2025-12-04T20:33:47.783726Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 48 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_37|fb3005b9-d8480943-1cbc97c9-6ee9b2fe_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_37|fb3005b9-d8480943-1cbc97c9-6ee9b2fe_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.785502Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId: sid_rand_37|fb3005b9-d8480943-1cbc97c9-6ee9b2fe_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.785511Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 48 sessionId: sid_rand_37|fb3005b9-d8480943-1cbc97c9-6ee9b2fe_0 grpc read failed
2025-12-04T20:33:47.785517Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 48 sessionId: sid_rand_37|fb3005b9-d8480943-1cbc97c9-6ee9b2fe_0 grpc closed
2025-12-04T20:33:47.785524Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 48 sessionId: sid_rand_37|fb3005b9-d8480943-1cbc97c9-6ee9b2fe_0 is DEAD
2025-12-04T20:33:47.785616Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.785626Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 49
2025-12-04T20:33:47.785724Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_38" }
2025-12-04T20:33:47.785762Z 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]:51304
2025-12-04T20:33:47.785772Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=49 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.785776Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.786328Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 49 sessionId:  describe result for acl check
2025-12-04T20:33:47.786361Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.786368Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.786370Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.786377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533149:2693] (SourceId=sid_rand_38, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.786547Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.787152Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533149:2693] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.790783Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533149:2693] (SourceId=sid_rand_38, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.790917Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533165:2693] connected; active server actors: 1
2025-12-04T20:33:47.790930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533149:2693] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_38
2025-12-04T20:33:47.790934Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533149:2693] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.791026Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533165:2693] disconnected.
2025-12-04T20:33:47.791035Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533165:2693] disconnected; active server actors: 1
2025-12-04T20:33:47.791038Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533165:2693] disconnected no session
2025-12-04T20:33:47.796151Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533149:2693] (SourceId=sid_rand_38, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.796174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533149:2693] (SourceId=sid_rand_38, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-04T20:33:47.796180Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533149:2693] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.796188Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 49 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-04T20:33:47.796357Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.796412Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_38|b01d41c9-17dd91e4-d4d88bb1-edcc9865_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_38
2025-12-04T20:33:47.796526Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 49 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_38|b01d41c9-17dd91e4-d4d88bb1-edcc9865_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_38|b01d41c9-17dd91e4-d4d88bb1-edcc9865_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.797526Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId: sid_rand_38|b01d41c9-17dd91e4-d4d88bb1-edcc9865_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.797537Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 49 sessionId: sid_rand_38|b01d41c9-17dd91e4-d4d88bb1-edcc9865_0 grpc read failed
2025-12-04T20:33:47.797542Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 49 sessionId: sid_rand_38|b01d41c9-17dd91e4-d4d88bb1-edcc9865_0 grpc closed
2025-12-04T20:33:47.797548Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 49 sessionId: sid_rand_38|b01d41c9-17dd91e4-d4d88bb1-edcc9865_0 is DEAD
2025-12-04T20:33:47.797764Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.797936Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.797943Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 50
2025-12-04T20:33:47.798082Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_39" }
2025-12-04T20:33:47.798108Z 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]:51304
2025-12-04T20:33:47.798113Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=50 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.798117Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.798570Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 50 sessionId:  describe result for acl check
2025-12-04T20:33:47.798604Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.798609Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.798611Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.798616Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533184:2697] (SourceId=sid_rand_39, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.799331Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533184:2697] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.803935Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533184:2697] (SourceId=sid_rand_39, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.804167Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533200:2697] connected; active server actors: 1
2025-12-04T20:33:47.804196Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533184:2697] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_39
2025-12-04T20:33:47.804201Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533184:2697] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.804266Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533200:2697] disconnected.
2025-12-04T20:33:47.804274Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533200:2697] disconnected; active server actors: 1
2025-12-04T20:33:47.804277Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533200:2697] disconnected no session
2025-12-04T20:33:47.807829Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533184:2697] (SourceId=sid_rand_39, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.807858Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533184:2697] (SourceId=sid_rand_39, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-04T20:33:47.807867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533184:2697] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.807876Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 50 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-04T20:33:47.808214Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.808332Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_39|f27d5c93-64a86b27-6bfb5d6e-6bb40829_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_39
2025-12-04T20:33:47.808860Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 50 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_39|f27d5c93-64a86b27-6bfb5d6e-6bb40829_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_39|f27d5c93-64a86b27-6bfb5d6e-6bb40829_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.809750Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId: sid_rand_39|f27d5c93-64a86b27-6bfb5d6e-6bb40829_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.809759Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 50 sessionId: sid_rand_39|f27d5c93-64a86b27-6bfb5d6e-6bb40829_0 grpc read failed
2025-12-04T20:33:47.809765Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 50 sessionId: sid_rand_39|f27d5c93-64a86b27-6bfb5d6e-6bb40829_0 grpc closed
2025-12-04T20:33:47.809771Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 50 sessionId: sid_rand_39|f27d5c93-64a86b27-6bfb5d6e-6bb40829_0 is DEAD
2025-12-04T20:33:47.809825Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.809836Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 51
2025-12-04T20:33:47.809956Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_40" }
2025-12-04T20:33:47.809984Z 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]:51304
2025-12-04T20:33:47.809992Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=51 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.809996Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.810026Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.810538Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 51 sessionId:  describe result for acl check
2025-12-04T20:33:47.810566Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.810572Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.810574Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.810579Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533218:2701] (SourceId=sid_rand_40, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.811255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533218:2701] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.813517Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533218:2701] (SourceId=sid_rand_40, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.813575Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533237:2701] connected; active server actors: 1
2025-12-04T20:33:47.813584Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533218:2701] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_40
2025-12-04T20:33:47.813587Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533218:2701] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.813728Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533237:2701] disconnected.
2025-12-04T20:33:47.813730Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533237:2701] disconnected; active server actors: 1
2025-12-04T20:33:47.813732Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533237:2701] disconnected no session
2025-12-04T20:33:47.818203Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533218:2701] (SourceId=sid_rand_40, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.818231Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533218:2701] (SourceId=sid_rand_40, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-04T20:33:47.818236Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533218:2701] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.818247Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 51 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-04T20:33:47.818404Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.818446Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_40|73905b68-fdec44d-ee5465e-c49e4fa7_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_40
2025-12-04T20:33:47.818610Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 51 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_40|73905b68-fdec44d-ee5465e-c49e4fa7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_40|73905b68-fdec44d-ee5465e-c49e4fa7_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.819439Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId: sid_rand_40|73905b68-fdec44d-ee5465e-c49e4fa7_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.819446Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 51 sessionId: sid_rand_40|73905b68-fdec44d-ee5465e-c49e4fa7_0 grpc read failed
2025-12-04T20:33:47.819451Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 51 sessionId: sid_rand_40|73905b68-fdec44d-ee5465e-c49e4fa7_0 grpc closed
2025-12-04T20:33:47.819457Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 51 sessionId: sid_rand_40|73905b68-fdec44d-ee5465e-c49e4fa7_0 is DEAD
2025-12-04T20:33:47.819686Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.819724Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.819730Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 52
2025-12-04T20:33:47.819798Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_41" }
2025-12-04T20:33:47.819822Z 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]:51304
2025-12-04T20:33:47.819829Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=52 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.819832Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.820279Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 52 sessionId:  describe result for acl check
2025-12-04T20:33:47.820303Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.820306Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.820308Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.820312Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533256:2705] (SourceId=sid_rand_41, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.820740Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533256:2705] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.823182Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533256:2705] (SourceId=sid_rand_41, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.823607Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533272:2705] connected; active server actors: 1
2025-12-04T20:33:47.823630Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533256:2705] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_41
2025-12-04T20:33:47.823633Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533256:2705] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.824203Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533272:2705] disconnected.
2025-12-04T20:33:47.824216Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533272:2705] disconnected; active server actors: 1
2025-12-04T20:33:47.824218Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533272:2705] disconnected no session
2025-12-04T20:33:47.829504Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533256:2705] (SourceId=sid_rand_41, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.829516Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533256:2705] (SourceId=sid_rand_41, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-04T20:33:47.829520Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533256:2705] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.829528Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 52 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-04T20:33:47.830180Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.830323Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_41|3f0e2b1b-1a4c4f54-96471bab-c91c6319_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_41
2025-12-04T20:33:47.830755Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 52 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_41|3f0e2b1b-1a4c4f54-96471bab-c91c6319_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_41|3f0e2b1b-1a4c4f54-96471bab-c91c6319_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.832500Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId: sid_rand_41|3f0e2b1b-1a4c4f54-96471bab-c91c6319_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.832510Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 52 sessionId: sid_rand_41|3f0e2b1b-1a4c4f54-96471bab-c91c6319_0 grpc read failed
2025-12-04T20:33:47.832516Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 52 sessionId: sid_rand_41|3f0e2b1b-1a4c4f54-96471bab-c91c6319_0 grpc closed
2025-12-04T20:33:47.832522Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 52 sessionId: sid_rand_41|3f0e2b1b-1a4c4f54-96471bab-c91c6319_0 is DEAD
2025-12-04T20:33:47.832578Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.832582Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 53
2025-12-04T20:33:47.832801Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_42" }
2025-12-04T20:33:47.832804Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.832825Z 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]:51304
2025-12-04T20:33:47.832828Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=53 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.832830Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.833294Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 53 sessionId:  describe result for acl check
2025-12-04T20:33:47.833329Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.833330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.833332Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.833337Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533290:2709] (SourceId=sid_rand_42, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.834088Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533290:2709] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.836827Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533290:2709] (SourceId=sid_rand_42, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.836909Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533307:2709] connected; active server actors: 1
2025-12-04T20:33:47.836928Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533290:2709] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_42
2025-12-04T20:33:47.836937Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533290:2709] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.837189Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533307:2709] disconnected.
2025-12-04T20:33:47.837205Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533307:2709] disconnected; active server actors: 1
2025-12-04T20:33:47.837208Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533307:2709] disconnected no session
2025-12-04T20:33:47.842168Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533290:2709] (SourceId=sid_rand_42, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.842180Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533290:2709] (SourceId=sid_rand_42, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-04T20:33:47.842184Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533290:2709] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.842193Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 53 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-04T20:33:47.845485Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.845622Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_42|b2ad0ab4-6a450c79-c0bf8a2d-d89dc470_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_42
Init result: { status: SUCCESS init_response { session_id: "sid_rand_42|b2ad0ab4-6a450c79-c0bf8a2d-d89dc470_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.846030Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 53 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_42|b2ad0ab4-6a450c79-c0bf8a2d-d89dc470_0
2025-12-04T20:33:47.847685Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId: sid_rand_42|b2ad0ab4-6a450c79-c0bf8a2d-d89dc470_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.847696Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 53 sessionId: sid_rand_42|b2ad0ab4-6a450c79-c0bf8a2d-d89dc470_0 grpc read failed
2025-12-04T20:33:47.847702Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 53 sessionId: sid_rand_42|b2ad0ab4-6a450c79-c0bf8a2d-d89dc470_0 grpc closed
2025-12-04T20:33:47.847716Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 53 sessionId: sid_rand_42|b2ad0ab4-6a450c79-c0bf8a2d-d89dc470_0 is DEAD
2025-12-04T20:33:47.847769Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.847779Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 54
2025-12-04T20:33:47.847981Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.848418Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_43" }
2025-12-04T20:33:47.848452Z 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]:51304
2025-12-04T20:33:47.848457Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=54 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.848461Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.849072Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 54 sessionId:  describe result for acl check
2025-12-04T20:33:47.849136Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.849143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.849145Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.849151Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533325:2713] (SourceId=sid_rand_43, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.849811Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533325:2713] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.852376Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533325:2713] (SourceId=sid_rand_43, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.852466Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533341:2713] connected; active server actors: 1
2025-12-04T20:33:47.852479Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533325:2713] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_43
2025-12-04T20:33:47.852483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533325:2713] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.852538Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533341:2713] disconnected.
2025-12-04T20:33:47.852546Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533341:2713] disconnected; active server actors: 1
2025-12-04T20:33:47.852549Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533341:2713] disconnected no session
2025-12-04T20:33:47.862178Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533325:2713] (SourceId=sid_rand_43, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.862196Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533325:2713] (SourceId=sid_rand_43, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-04T20:33:47.862199Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533325:2713] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.862205Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 54 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-04T20:33:47.862370Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.862423Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_43|fdc314e3-5517a567-3b95bcdd-52b7658d_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_43
2025-12-04T20:33:47.862611Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 54 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_43|fdc314e3-5517a567-3b95bcdd-52b7658d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_43|fdc314e3-5517a567-3b95bcdd-52b7658d_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.865866Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId: sid_rand_43|fdc314e3-5517a567-3b95bcdd-52b7658d_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.865879Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 54 sessionId: sid_rand_43|fdc314e3-5517a567-3b95bcdd-52b7658d_0 grpc read failed
2025-12-04T20:33:47.865886Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 54 sessionId: sid_rand_43|fdc314e3-5517a567-3b95bcdd-52b7658d_0 grpc closed
2025-12-04T20:33:47.865894Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 54 sessionId: sid_rand_43|fdc314e3-5517a567-3b95bcdd-52b7658d_0 is DEAD
2025-12-04T20:33:47.866137Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.866189Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.866196Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 55
2025-12-04T20:33:47.869110Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_44" }
2025-12-04T20:33:47.869171Z 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]:51304
2025-12-04T20:33:47.869176Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=55 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.869181Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.870390Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 55 sessionId:  describe result for acl check
2025-12-04T20:33:47.870430Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.870436Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.870439Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.870445Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533360:2717] (SourceId=sid_rand_44, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.871026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533360:2717] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.873802Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533360:2717] (SourceId=sid_rand_44, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.874309Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533376:2717] connected; active server actors: 1
2025-12-04T20:33:47.874337Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533360:2717] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_44
2025-12-04T20:33:47.874345Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533360:2717] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.874516Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533376:2717] disconnected.
2025-12-04T20:33:47.874527Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533376:2717] disconnected; active server actors: 1
2025-12-04T20:33:47.874531Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533376:2717] disconnected no session
2025-12-04T20:33:47.878419Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533360:2717] (SourceId=sid_rand_44, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.878434Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533360:2717] (SourceId=sid_rand_44, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-04T20:33:47.878441Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533360:2717] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.878450Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 55 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-04T20:33:47.879047Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.879198Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_44|fe89f96b-d1bd0a9d-db7a017a-86778c96_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_44
2025-12-04T20:33:47.879618Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 55 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_44|fe89f96b-d1bd0a9d-db7a017a-86778c96_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_44|fe89f96b-d1bd0a9d-db7a017a-86778c96_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.880556Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId: sid_rand_44|fe89f96b-d1bd0a9d-db7a017a-86778c96_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.880567Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 55 sessionId: sid_rand_44|fe89f96b-d1bd0a9d-db7a017a-86778c96_0 grpc read failed
2025-12-04T20:33:47.880573Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 55 sessionId: sid_rand_44|fe89f96b-d1bd0a9d-db7a017a-86778c96_0 grpc closed
2025-12-04T20:33:47.880579Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 55 sessionId: sid_rand_44|fe89f96b-d1bd0a9d-db7a017a-86778c96_0 is DEAD
2025-12-04T20:33:47.880744Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.880794Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.880802Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 56
2025-12-04T20:33:47.881091Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_45" }
2025-12-04T20:33:47.881123Z 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]:51304
2025-12-04T20:33:47.881128Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=56 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.881132Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.881605Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 56 sessionId:  describe result for acl check
2025-12-04T20:33:47.881639Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.881645Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.881648Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.881653Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533394:2721] (SourceId=sid_rand_45, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.882196Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533394:2721] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.884097Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533394:2721] (SourceId=sid_rand_45, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.884211Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533410:2721] connected; active server actors: 1
2025-12-04T20:33:47.884242Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533394:2721] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_45
2025-12-04T20:33:47.884245Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533394:2721] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.884300Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533410:2721] disconnected.
2025-12-04T20:33:47.884304Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533410:2721] disconnected; active server actors: 1
2025-12-04T20:33:47.884307Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533410:2721] disconnected no session
2025-12-04T20:33:47.894754Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533394:2721] (SourceId=sid_rand_45, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.894773Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533394:2721] (SourceId=sid_rand_45, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-04T20:33:47.894776Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533394:2721] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.894785Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 56 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-04T20:33:47.895120Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.895558Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 56 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_45|896e8383-600dcd16-4c2faf3-25bcd763_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_45|896e8383-600dcd16-4c2faf3-25bcd763_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.896287Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId: sid_rand_45|896e8383-600dcd16-4c2faf3-25bcd763_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.896295Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 56 sessionId: sid_rand_45|896e8383-600dcd16-4c2faf3-25bcd763_0 grpc read failed
2025-12-04T20:33:47.896307Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 56 sessionId: sid_rand_45|896e8383-600dcd16-4c2faf3-25bcd763_0
2025-12-04T20:33:47.896312Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 56 sessionId: sid_rand_45|896e8383-600dcd16-4c2faf3-25bcd763_0 is DEAD
2025-12-04T20:33:47.896414Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.896535Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.896547Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 57
2025-12-04T20:33:47.896651Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_46" }
2025-12-04T20:33:47.896676Z 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]:51304
2025-12-04T20:33:47.896685Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=57 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.896689Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.895218Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_45|896e8383-600dcd16-4c2faf3-25bcd763_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_45
2025-12-04T20:33:47.897122Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 57 sessionId:  describe result for acl check
2025-12-04T20:33:47.897151Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.897158Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.897160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.897165Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533428:2725] (SourceId=sid_rand_46, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.897854Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533428:2725] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.900125Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533428:2725] (SourceId=sid_rand_46, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.900226Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533444:2725] connected; active server actors: 1
2025-12-04T20:33:47.900251Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533428:2725] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_46
2025-12-04T20:33:47.900256Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533428:2725] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.900354Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533444:2725] disconnected.
2025-12-04T20:33:47.900363Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533444:2725] disconnected; active server actors: 1
2025-12-04T20:33:47.900365Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533444:2725] disconnected no session
2025-12-04T20:33:47.904269Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533428:2725] (SourceId=sid_rand_46, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.904285Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533428:2725] (SourceId=sid_rand_46, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-04T20:33:47.904289Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533428:2725] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.904296Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 57 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-04T20:33:47.904526Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.904685Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_46|5e358fad-5dc48518-5ce72d07-c4eee839_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_46
2025-12-04T20:33:47.905108Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 57 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_46|5e358fad-5dc48518-5ce72d07-c4eee839_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_46|5e358fad-5dc48518-5ce72d07-c4eee839_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.905918Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId: sid_rand_46|5e358fad-5dc48518-5ce72d07-c4eee839_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.905935Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 57 sessionId: sid_rand_46|5e358fad-5dc48518-5ce72d07-c4eee839_0 grpc read failed
2025-12-04T20:33:47.905941Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 57 sessionId: sid_rand_46|5e358fad-5dc48518-5ce72d07-c4eee839_0 grpc closed
2025-12-04T20:33:47.905947Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 57 sessionId: sid_rand_46|5e358fad-5dc48518-5ce72d07-c4eee839_0 is DEAD
2025-12-04T20:33:47.905979Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.905988Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 58
2025-12-04T20:33:47.906063Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_47" }
2025-12-04T20:33:47.906088Z 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]:51304
2025-12-04T20:33:47.906096Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=58 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.906100Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.906195Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.906645Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 58 sessionId:  describe result for acl check
2025-12-04T20:33:47.906689Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.906695Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.906697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.906702Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533462:2729] (SourceId=sid_rand_47, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.907352Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533462:2729] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.909566Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533462:2729] (SourceId=sid_rand_47, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.909634Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533478:2729] connected; active server actors: 1
2025-12-04T20:33:47.909653Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533462:2729] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_47
2025-12-04T20:33:47.909658Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533462:2729] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.909858Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533478:2729] disconnected.
2025-12-04T20:33:47.909867Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533478:2729] disconnected; active server actors: 1
2025-12-04T20:33:47.909870Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533478:2729] disconnected no session
2025-12-04T20:33:47.915157Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533462:2729] (SourceId=sid_rand_47, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.915183Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533462:2729] (SourceId=sid_rand_47, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-04T20:33:47.915187Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533462:2729] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.915197Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 58 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-04T20:33:47.915533Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.915627Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_47|4fbec292-de65a910-d0e91fa4-d46e3037_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_47
2025-12-04T20:33:47.916531Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 58 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_47|4fbec292-de65a910-d0e91fa4-d46e3037_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_47|4fbec292-de65a910-d0e91fa4-d46e3037_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.917406Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId: sid_rand_47|4fbec292-de65a910-d0e91fa4-d46e3037_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.917463Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 58 sessionId: sid_rand_47|4fbec292-de65a910-d0e91fa4-d46e3037_0 grpc read failed
2025-12-04T20:33:47.917474Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 58 sessionId: sid_rand_47|4fbec292-de65a910-d0e91fa4-d46e3037_0 grpc closed
2025-12-04T20:33:47.917492Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 58 sessionId: sid_rand_47|4fbec292-de65a910-d0e91fa4-d46e3037_0 is DEAD
2025-12-04T20:33:47.917499Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.917506Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 59
2025-12-04T20:33:47.917668Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_48" }
2025-12-04T20:33:47.917699Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.917702Z 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]:51304
2025-12-04T20:33:47.917707Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=59 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.917711Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.918151Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 59 sessionId:  describe result for acl check
2025-12-04T20:33:47.918172Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.918174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.918175Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.918179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533496:2733] (SourceId=sid_rand_48, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.918769Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533496:2733] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.920560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533496:2733] (SourceId=sid_rand_48, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.920691Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533512:2733] connected; active server actors: 1
2025-12-04T20:33:47.920714Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533496:2733] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_48
2025-12-04T20:33:47.920718Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533496:2733] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.920774Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533512:2733] disconnected.
2025-12-04T20:33:47.920777Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533512:2733] disconnected; active server actors: 1
2025-12-04T20:33:47.920782Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533512:2733] disconnected no session
2025-12-04T20:33:47.924695Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533496:2733] (SourceId=sid_rand_48, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.924708Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533496:2733] (SourceId=sid_rand_48, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-04T20:33:47.924711Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533496:2733] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.924717Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 59 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-04T20:33:47.924968Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.925160Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_48|a826f4a7-886a623a-dc79d34f-c80aa34e_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_48
Init result: { status: SUCCESS init_response { session_id: "sid_rand_48|a826f4a7-886a623a-dc79d34f-c80aa34e_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.925453Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 59 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_48|a826f4a7-886a623a-dc79d34f-c80aa34e_0
2025-12-04T20:33:47.927825Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId: sid_rand_48|a826f4a7-886a623a-dc79d34f-c80aa34e_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.927843Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 59 sessionId: sid_rand_48|a826f4a7-886a623a-dc79d34f-c80aa34e_0 grpc read failed
2025-12-04T20:33:47.927851Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 59 sessionId: sid_rand_48|a826f4a7-886a623a-dc79d34f-c80aa34e_0 grpc closed
2025-12-04T20:33:47.927856Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 59 sessionId: sid_rand_48|a826f4a7-886a623a-dc79d34f-c80aa34e_0 is DEAD
2025-12-04T20:33:47.928181Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.928226Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.928230Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 60
2025-12-04T20:33:47.928349Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_49" }
2025-12-04T20:33:47.928376Z 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]:51304
2025-12-04T20:33:47.928380Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=60 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.928384Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.928848Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 60 sessionId:  describe result for acl check
2025-12-04T20:33:47.928908Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.928909Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.928911Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.928916Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533530:2737] (SourceId=sid_rand_49, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.929471Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533530:2737] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.932095Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533530:2737] (SourceId=sid_rand_49, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.932155Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533546:2737] connected; active server actors: 1
2025-12-04T20:33:47.932165Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533530:2737] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_49
2025-12-04T20:33:47.932179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533530:2737] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.932254Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533546:2737] disconnected.
2025-12-04T20:33:47.932258Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533546:2737] disconnected; active server actors: 1
2025-12-04T20:33:47.932260Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533546:2737] disconnected no session
2025-12-04T20:33:47.938840Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533530:2737] (SourceId=sid_rand_49, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.938858Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533530:2737] (SourceId=sid_rand_49, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-04T20:33:47.938862Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533530:2737] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.938871Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 60 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-04T20:33:47.939632Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:47.939774Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_49|55e06e72-3b84d5e1-6bcf747f-94f2c526_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_49
2025-12-04T20:33:47.945353Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 60 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_49|55e06e72-3b84d5e1-6bcf747f-94f2c526_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_49|55e06e72-3b84d5e1-6bcf747f-94f2c526_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.946264Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId: sid_rand_49|55e06e72-3b84d5e1-6bcf747f-94f2c526_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.946275Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 60 sessionId: sid_rand_49|55e06e72-3b84d5e1-6bcf747f-94f2c526_0 grpc read failed
2025-12-04T20:33:47.946281Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 60 sessionId: sid_rand_49|55e06e72-3b84d5e1-6bcf747f-94f2c526_0 grpc closed
2025-12-04T20:33:47.946287Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 60 sessionId: sid_rand_49|55e06e72-3b84d5e1-6bcf747f-94f2c526_0 is DEAD
2025-12-04T20:33:47.946523Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.946573Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.946577Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 61
2025-12-04T20:33:47.946654Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_50" }
2025-12-04T20:33:47.946674Z 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]:51304
2025-12-04T20:33:47.946678Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=61 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.946682Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.947141Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 61 sessionId:  describe result for acl check
2025-12-04T20:33:47.947171Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.947173Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.947176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.947181Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533564:2741] (SourceId=sid_rand_50, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.947735Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533564:2741] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.952322Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533564:2741] (SourceId=sid_rand_50, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.952819Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533583:2741] connected; active server actors: 1
2025-12-04T20:33:47.952831Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533564:2741] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_50
2025-12-04T20:33:47.952835Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533564:2741] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.953101Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533583:2741] disconnected.
2025-12-04T20:33:47.953113Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533583:2741] disconnected; active server actors: 1
2025-12-04T20:33:47.953115Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533583:2741] disconnected no session
2025-12-04T20:33:47.957404Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533564:2741] (SourceId=sid_rand_50, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.957418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533564:2741] (SourceId=sid_rand_50, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-04T20:33:47.957422Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533564:2741] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.957431Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 61 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-04T20:33:47.957788Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.958082Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_50|53eeab2e-ae1ca265-4124dfb8-b8316b13_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_50
2025-12-04T20:33:47.958268Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 61 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_50|53eeab2e-ae1ca265-4124dfb8-b8316b13_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_50|53eeab2e-ae1ca265-4124dfb8-b8316b13_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.961949Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId: sid_rand_50|53eeab2e-ae1ca265-4124dfb8-b8316b13_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.961963Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 61 sessionId: sid_rand_50|53eeab2e-ae1ca265-4124dfb8-b8316b13_0 grpc read failed
2025-12-04T20:33:47.961971Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 61 sessionId: sid_rand_50|53eeab2e-ae1ca265-4124dfb8-b8316b13_0 grpc closed
2025-12-04T20:33:47.961977Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 61 sessionId: sid_rand_50|53eeab2e-ae1ca265-4124dfb8-b8316b13_0 is DEAD
2025-12-04T20:33:47.962275Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.962283Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 62
2025-12-04T20:33:47.962317Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.962384Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_51" }
2025-12-04T20:33:47.962410Z 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]:51304
2025-12-04T20:33:47.962415Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=62 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.962418Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.962926Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 62 sessionId:  describe result for acl check
2025-12-04T20:33:47.962960Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.962965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.962967Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.962973Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533602:2745] (SourceId=sid_rand_51, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.963884Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533602:2745] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.966405Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533602:2745] (SourceId=sid_rand_51, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.966628Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533618:2745] connected; active server actors: 1
2025-12-04T20:33:47.966656Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533602:2745] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_51
2025-12-04T20:33:47.966660Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533602:2745] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.966719Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533618:2745] disconnected.
2025-12-04T20:33:47.966727Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533618:2745] disconnected; active server actors: 1
2025-12-04T20:33:47.966729Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533618:2745] disconnected no session
2025-12-04T20:33:47.969981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533602:2745] (SourceId=sid_rand_51, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.969996Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533602:2745] (SourceId=sid_rand_51, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-04T20:33:47.970000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533602:2745] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.970008Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 62 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-04T20:33:47.970227Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.970276Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_51|c4798e2f-77486492-5c940512-b9ebddeb_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_51
2025-12-04T20:33:47.970413Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 62 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_51|c4798e2f-77486492-5c940512-b9ebddeb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_51|c4798e2f-77486492-5c940512-b9ebddeb_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.971712Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId: sid_rand_51|c4798e2f-77486492-5c940512-b9ebddeb_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.971722Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 62 sessionId: sid_rand_51|c4798e2f-77486492-5c940512-b9ebddeb_0 grpc read failed
2025-12-04T20:33:47.971728Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 62 sessionId: sid_rand_51|c4798e2f-77486492-5c940512-b9ebddeb_0 grpc closed
2025-12-04T20:33:47.971733Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 62 sessionId: sid_rand_51|c4798e2f-77486492-5c940512-b9ebddeb_0 is DEAD
2025-12-04T20:33:47.971869Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.971879Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 63
2025-12-04T20:33:47.971998Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.972022Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_52" }
2025-12-04T20:33:47.972049Z 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]:51304
2025-12-04T20:33:47.972057Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=63 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.972060Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.972473Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 63 sessionId:  describe result for acl check
2025-12-04T20:33:47.972509Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.972511Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.972513Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.972518Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533637:2749] (SourceId=sid_rand_52, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.973070Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533637:2749] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.978424Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533637:2749] (SourceId=sid_rand_52, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.978628Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533657:2749] connected; active server actors: 1
2025-12-04T20:33:47.978691Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533637:2749] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_52
2025-12-04T20:33:47.978699Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533637:2749] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.979138Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533657:2749] disconnected.
2025-12-04T20:33:47.979147Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533657:2749] disconnected; active server actors: 1
2025-12-04T20:33:47.979149Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533657:2749] disconnected no session
2025-12-04T20:33:47.983264Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533637:2749] (SourceId=sid_rand_52, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.983278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533637:2749] (SourceId=sid_rand_52, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-04T20:33:47.983282Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533637:2749] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.983290Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 63 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-04T20:33:47.983767Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:47.983864Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_52|ded0631c-97d2201f-7e5f54ab-e5ee9828_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_52
2025-12-04T20:33:47.984279Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 63 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_52|ded0631c-97d2201f-7e5f54ab-e5ee9828_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_52|ded0631c-97d2201f-7e5f54ab-e5ee9828_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.985037Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId: sid_rand_52|ded0631c-97d2201f-7e5f54ab-e5ee9828_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.985053Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 63 sessionId: sid_rand_52|ded0631c-97d2201f-7e5f54ab-e5ee9828_0 grpc read failed
2025-12-04T20:33:47.985059Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 63 sessionId: sid_rand_52|ded0631c-97d2201f-7e5f54ab-e5ee9828_0 grpc closed
2025-12-04T20:33:47.985063Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 63 sessionId: sid_rand_52|ded0631c-97d2201f-7e5f54ab-e5ee9828_0 is DEAD
2025-12-04T20:33:47.985320Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.985361Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.985365Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 64
2025-12-04T20:33:47.985444Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_53" }
2025-12-04T20:33:47.985464Z 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]:51304
2025-12-04T20:33:47.985468Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=64 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.985471Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.986040Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 64 sessionId:  describe result for acl check
2025-12-04T20:33:47.986079Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.986081Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.986083Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.986089Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533675:2754] (SourceId=sid_rand_53, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.986625Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533675:2754] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.988856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533675:2754] (SourceId=sid_rand_53, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.989008Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533691:2754] connected; active server actors: 1
2025-12-04T20:33:47.989021Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533675:2754] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_53
2025-12-04T20:33:47.989025Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533675:2754] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.989277Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533691:2754] disconnected.
2025-12-04T20:33:47.989285Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533691:2754] disconnected; active server actors: 1
2025-12-04T20:33:47.989288Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533691:2754] disconnected no session
2025-12-04T20:33:47.992319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533675:2754] (SourceId=sid_rand_53, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:47.992332Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533675:2754] (SourceId=sid_rand_53, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-04T20:33:47.992336Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533675:2754] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:47.992344Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 64 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-04T20:33:47.992724Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:47.992758Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_53|75fdd824-e6452069-33d94547-c246981_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_53
2025-12-04T20:33:47.992855Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 64 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_53|75fdd824-e6452069-33d94547-c246981_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_53|75fdd824-e6452069-33d94547-c246981_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:47.993550Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId: sid_rand_53|75fdd824-e6452069-33d94547-c246981_0 grpc read done: success: 0 data: 
2025-12-04T20:33:47.993556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 64 sessionId: sid_rand_53|75fdd824-e6452069-33d94547-c246981_0 grpc read failed
2025-12-04T20:33:47.993656Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 64 sessionId: sid_rand_53|75fdd824-e6452069-33d94547-c246981_0
2025-12-04T20:33:47.993661Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 64 sessionId: sid_rand_53|75fdd824-e6452069-33d94547-c246981_0 is DEAD
2025-12-04T20:33:47.993780Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:47.993817Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:47.993820Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 65
2025-12-04T20:33:47.994022Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_54" }
2025-12-04T20:33:47.994047Z 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]:51304
2025-12-04T20:33:47.994052Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=65 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:47.994055Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:47.994519Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 65 sessionId:  describe result for acl check
2025-12-04T20:33:47.994542Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:47.994544Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:47.994546Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:47.994549Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103715719533710:2758] (SourceId=sid_rand_54, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:47.995101Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103715719533710:2758] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:47.998177Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103715719533710:2758] (SourceId=sid_rand_54, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:47.998340Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533726:2758] connected; active server actors: 1
2025-12-04T20:33:47.998417Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103715719533710:2758] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_54
2025-12-04T20:33:47.998422Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103715719533710:2758] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:47.998599Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533726:2758] disconnected.
2025-12-04T20:33:47.998602Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533726:2758] disconnected; active server actors: 1
2025-12-04T20:33:47.998605Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103715719533726:2758] disconnected no session
2025-12-04T20:33:48.000910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103715719533710:2758] (SourceId=sid_rand_54, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.000920Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103715719533710:2758] (SourceId=sid_rand_54, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-04T20:33:48.000924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103715719533710:2758] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.000932Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 65 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-04T20:33:48.001457Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:48.001702Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_54|c369807e-5602469d-b78ef1bd-ef59a776_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_54
2025-12-04T20:33:48.002091Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 65 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_54|c369807e-5602469d-b78ef1bd-ef59a776_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_54|c369807e-5602469d-b78ef1bd-ef59a776_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.002754Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId: sid_rand_54|c369807e-5602469d-b78ef1bd-ef59a776_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.002765Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 65 sessionId: sid_rand_54|c369807e-5602469d-b78ef1bd-ef59a776_0 grpc read failed
2025-12-04T20:33:48.002772Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 65 sessionId: sid_rand_54|c369807e-5602469d-b78ef1bd-ef59a776_0 grpc closed
2025-12-04T20:33:48.002777Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 65 sessionId: sid_rand_54|c369807e-5602469d-b78ef1bd-ef59a776_0 is DEAD
2025-12-04T20:33:48.002998Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.003072Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.003082Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 66
2025-12-04T20:33:48.003183Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_55" }
2025-12-04T20:33:48.003210Z 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]:51304
2025-12-04T20:33:48.003219Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=66 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.003222Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.003697Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 66 sessionId:  describe result for acl check
2025-12-04T20:33:48.003734Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.003743Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.003745Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.003750Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501041:2762] (SourceId=sid_rand_55, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.004313Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501041:2762] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.006267Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501041:2762] (SourceId=sid_rand_55, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.006351Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501057:2762] connected; active server actors: 1
2025-12-04T20:33:48.006364Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501041:2762] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_55
2025-12-04T20:33:48.006368Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501041:2762] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.006411Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501057:2762] disconnected.
2025-12-04T20:33:48.006414Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501057:2762] disconnected; active server actors: 1
2025-12-04T20:33:48.006418Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501057:2762] disconnected no session
2025-12-04T20:33:48.009525Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501041:2762] (SourceId=sid_rand_55, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.009540Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501041:2762] (SourceId=sid_rand_55, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-04T20:33:48.009543Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501041:2762] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.009552Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 66 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-04T20:33:48.009851Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:48.010235Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_55|dd63fef0-3e735175-4f5b683f-eda06419_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_55
2025-12-04T20:33:48.010607Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 66 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_55|dd63fef0-3e735175-4f5b683f-eda06419_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_55|dd63fef0-3e735175-4f5b683f-eda06419_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.011341Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId: sid_rand_55|dd63fef0-3e735175-4f5b683f-eda06419_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.011352Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 66 sessionId: sid_rand_55|dd63fef0-3e735175-4f5b683f-eda06419_0 grpc read failed
2025-12-04T20:33:48.011357Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 66 sessionId: sid_rand_55|dd63fef0-3e735175-4f5b683f-eda06419_0 grpc closed
2025-12-04T20:33:48.011363Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 66 sessionId: sid_rand_55|dd63fef0-3e735175-4f5b683f-eda06419_0 is DEAD
2025-12-04T20:33:48.011468Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.011481Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 67
2025-12-04T20:33:48.011584Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.012805Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_56" }
2025-12-04T20:33:48.012854Z 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]:51304
2025-12-04T20:33:48.012860Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=67 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.012864Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.013328Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 67 sessionId:  describe result for acl check
2025-12-04T20:33:48.013359Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.013361Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.013363Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.013368Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501075:2766] (SourceId=sid_rand_56, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.014039Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501075:2766] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.016651Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501075:2766] (SourceId=sid_rand_56, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.016789Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501091:2766] connected; active server actors: 1
2025-12-04T20:33:48.016804Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501075:2766] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_56
2025-12-04T20:33:48.016808Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501075:2766] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.016906Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501091:2766] disconnected.
2025-12-04T20:33:48.016915Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501091:2766] disconnected; active server actors: 1
2025-12-04T20:33:48.016918Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501091:2766] disconnected no session
2025-12-04T20:33:48.020281Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501075:2766] (SourceId=sid_rand_56, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.020295Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501075:2766] (SourceId=sid_rand_56, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-04T20:33:48.020299Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501075:2766] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.020306Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 67 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-04T20:33:48.020454Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:48.020494Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_56|b13acc3a-dffb26c6-276638c2-7311e616_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_56
2025-12-04T20:33:48.020601Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 67 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_56|b13acc3a-dffb26c6-276638c2-7311e616_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_56|b13acc3a-dffb26c6-276638c2-7311e616_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.021371Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId: sid_rand_56|b13acc3a-dffb26c6-276638c2-7311e616_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.021380Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 67 sessionId: sid_rand_56|b13acc3a-dffb26c6-276638c2-7311e616_0 grpc read failed
2025-12-04T20:33:48.021386Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 67 sessionId: sid_rand_56|b13acc3a-dffb26c6-276638c2-7311e616_0 grpc closed
2025-12-04T20:33:48.021391Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 67 sessionId: sid_rand_56|b13acc3a-dffb26c6-276638c2-7311e616_0 is DEAD
2025-12-04T20:33:48.021641Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.021671Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.021674Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 68
2025-12-04T20:33:48.021987Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_57" }
2025-12-04T20:33:48.022014Z 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]:51304
2025-12-04T20:33:48.022018Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=68 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.022021Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.022456Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 68 sessionId:  describe result for acl check
2025-12-04T20:33:48.022492Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.022493Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.022495Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.022501Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501110:2770] (SourceId=sid_rand_57, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.023220Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501110:2770] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.026266Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501110:2770] (SourceId=sid_rand_57, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.026659Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501126:2770] connected; active server actors: 1
2025-12-04T20:33:48.026720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501110:2770] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_57
2025-12-04T20:33:48.026728Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501110:2770] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.027031Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501126:2770] disconnected.
2025-12-04T20:33:48.027039Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501126:2770] disconnected; active server actors: 1
2025-12-04T20:33:48.027042Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501126:2770] disconnected no session
2025-12-04T20:33:48.029664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501110:2770] (SourceId=sid_rand_57, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.029673Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501110:2770] (SourceId=sid_rand_57, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-12-04T20:33:48.029675Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501110:2770] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.029681Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 68 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-12-04T20:33:48.029944Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:48.029983Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_57|6fed616f-491bf5b1-f65ed11a-a49d4bfe_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_57
2025-12-04T20:33:48.030077Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 68 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_57|6fed616f-491bf5b1-f65ed11a-a49d4bfe_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_57|6fed616f-491bf5b1-f65ed11a-a49d4bfe_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.030681Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId: sid_rand_57|6fed616f-491bf5b1-f65ed11a-a49d4bfe_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.030687Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 68 sessionId: sid_rand_57|6fed616f-491bf5b1-f65ed11a-a49d4bfe_0 grpc read failed
2025-12-04T20:33:48.030692Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 68 sessionId: sid_rand_57|6fed616f-491bf5b1-f65ed11a-a49d4bfe_0 grpc closed
2025-12-04T20:33:48.030697Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 68 sessionId: sid_rand_57|6fed616f-491bf5b1-f65ed11a-a49d4bfe_0 is DEAD
2025-12-04T20:33:48.030849Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.030901Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.030907Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 69
2025-12-04T20:33:48.030970Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_58" }
2025-12-04T20:33:48.031003Z 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]:51304
2025-12-04T20:33:48.031012Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=69 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.031024Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.031309Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 69 sessionId:  describe result for acl check
2025-12-04T20:33:48.031328Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.031329Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.031330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.031333Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501149:2776] (SourceId=sid_rand_58, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.031683Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501149:2776] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.033518Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501149:2776] (SourceId=sid_rand_58, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.033655Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501174:2776] connected; active server actors: 1
2025-12-04T20:33:48.033669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501149:2776] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_58
2025-12-04T20:33:48.033673Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501149:2776] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.033728Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501174:2776] disconnected.
2025-12-04T20:33:48.033734Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501174:2776] disconnected; active server actors: 1
2025-12-04T20:33:48.033737Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501174:2776] disconnected no session
2025-12-04T20:33:48.037470Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501149:2776] (SourceId=sid_rand_58, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.037480Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501149:2776] (SourceId=sid_rand_58, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-12-04T20:33:48.037482Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501149:2776] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.037488Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 69 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-12-04T20:33:48.037863Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:48.037952Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_58|6ac553b4-b029f715-eb01775a-bb14498f_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_58
2025-12-04T20:33:48.038227Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 69 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_58|6ac553b4-b029f715-eb01775a-bb14498f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_58|6ac553b4-b029f715-eb01775a-bb14498f_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.038715Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId: sid_rand_58|6ac553b4-b029f715-eb01775a-bb14498f_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.038721Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 69 sessionId: sid_rand_58|6ac553b4-b029f715-eb01775a-bb14498f_0 grpc read failed
2025-12-04T20:33:48.038726Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 69 sessionId: sid_rand_58|6ac553b4-b029f715-eb01775a-bb14498f_0 grpc closed
2025-12-04T20:33:48.038730Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 69 sessionId: sid_rand_58|6ac553b4-b029f715-eb01775a-bb14498f_0 is DEAD
2025-12-04T20:33:48.038908Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.038941Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.038954Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 70
2025-12-04T20:33:48.039052Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_59" }
2025-12-04T20:33:48.039071Z 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]:51304
2025-12-04T20:33:48.039074Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=70 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.039076Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.039330Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 70 sessionId:  describe result for acl check
2025-12-04T20:33:48.039347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.039348Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.039349Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.039352Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501192:2784] (SourceId=sid_rand_59, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.039665Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501192:2784] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.041049Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501192:2784] (SourceId=sid_rand_59, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.041148Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501208:2784] connected; active server actors: 1
2025-12-04T20:33:48.041159Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501192:2784] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_59
2025-12-04T20:33:48.041161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501192:2784] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.041206Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501208:2784] disconnected.
2025-12-04T20:33:48.041211Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501208:2784] disconnected; active server actors: 1
2025-12-04T20:33:48.041213Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501208:2784] disconnected no session
2025-12-04T20:33:48.043933Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501192:2784] (SourceId=sid_rand_59, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.043945Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501192:2784] (SourceId=sid_rand_59, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-12-04T20:33:48.043948Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501192:2784] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.043955Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 70 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-12-04T20:33:48.044278Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:48.044363Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_59|6c39f3db-48bfc3a7-b8ed320f-58850342_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_59
2025-12-04T20:33:48.044646Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 70 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_59|6c39f3db-48bfc3a7-b8ed320f-58850342_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_59|6c39f3db-48bfc3a7-b8ed320f-58850342_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.045247Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId: sid_rand_59|6c39f3db-48bfc3a7-b8ed320f-58850342_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.045256Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 70 sessionId: sid_rand_59|6c39f3db-48bfc3a7-b8ed320f-58850342_0 grpc read failed
2025-12-04T20:33:48.045261Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 70 sessionId: sid_rand_59|6c39f3db-48bfc3a7-b8ed320f-58850342_0 grpc closed
2025-12-04T20:33:48.045265Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 70 sessionId: sid_rand_59|6c39f3db-48bfc3a7-b8ed320f-58850342_0 is DEAD
2025-12-04T20:33:48.045486Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.045535Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.045545Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 71
2025-12-04T20:33:48.045616Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_60" }
2025-12-04T20:33:48.045641Z 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]:51304
2025-12-04T20:33:48.045645Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=71 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.045648Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.045968Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 71 sessionId:  describe result for acl check
2025-12-04T20:33:48.045993Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.046000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.046002Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.046006Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501226:2788] (SourceId=sid_rand_60, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.046499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501226:2788] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.048420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501226:2788] (SourceId=sid_rand_60, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.048548Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501242:2788] connected; active server actors: 1
2025-12-04T20:33:48.048558Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501226:2788] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_60
2025-12-04T20:33:48.048561Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501226:2788] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.048609Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501242:2788] disconnected.
2025-12-04T20:33:48.048614Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501242:2788] disconnected; active server actors: 1
2025-12-04T20:33:48.048616Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501242:2788] disconnected no session
2025-12-04T20:33:48.051867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501226:2788] (SourceId=sid_rand_60, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.051883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501226:2788] (SourceId=sid_rand_60, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-12-04T20:33:48.051886Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501226:2788] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.051892Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 71 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-12-04T20:33:48.052219Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:48.052258Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_60|b3c875b9-67a6bed3-13d5fe1d-9fbd1993_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_60
2025-12-04T20:33:48.052349Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 71 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_60|b3c875b9-67a6bed3-13d5fe1d-9fbd1993_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_60|b3c875b9-67a6bed3-13d5fe1d-9fbd1993_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.053117Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId: sid_rand_60|b3c875b9-67a6bed3-13d5fe1d-9fbd1993_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.053126Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 71 sessionId: sid_rand_60|b3c875b9-67a6bed3-13d5fe1d-9fbd1993_0 grpc read failed
2025-12-04T20:33:48.053132Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 71 sessionId: sid_rand_60|b3c875b9-67a6bed3-13d5fe1d-9fbd1993_0 grpc closed
2025-12-04T20:33:48.053137Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 71 sessionId: sid_rand_60|b3c875b9-67a6bed3-13d5fe1d-9fbd1993_0 is DEAD
2025-12-04T20:33:48.053374Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.053452Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.053461Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 72
2025-12-04T20:33:48.053571Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_61" }
2025-12-04T20:33:48.053600Z 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]:51304
2025-12-04T20:33:48.053609Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=72 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.053612Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.053951Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 72 sessionId:  describe result for acl check
2025-12-04T20:33:48.053982Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.053988Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.053990Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.053995Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501261:2792] (SourceId=sid_rand_61, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.054506Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501261:2792] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.056216Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501261:2792] (SourceId=sid_rand_61, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.056385Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501277:2792] connected; active server actors: 1
2025-12-04T20:33:48.056398Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501261:2792] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_61
2025-12-04T20:33:48.056402Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501261:2792] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.056459Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501277:2792] disconnected.
2025-12-04T20:33:48.056467Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501277:2792] disconnected; active server actors: 1
2025-12-04T20:33:48.056469Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501277:2792] disconnected no session
2025-12-04T20:33:48.059501Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501261:2792] (SourceId=sid_rand_61, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.059520Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501261:2792] (SourceId=sid_rand_61, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-12-04T20:33:48.059531Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501261:2792] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.059538Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 72 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-12-04T20:33:48.059939Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:48.060016Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_61|62c41ed4-3345fdfc-c782f46c-413096fb_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_61
2025-12-04T20:33:48.060312Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 72 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_61|62c41ed4-3345fdfc-c782f46c-413096fb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_61|62c41ed4-3345fdfc-c782f46c-413096fb_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.060948Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId: sid_rand_61|62c41ed4-3345fdfc-c782f46c-413096fb_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.060958Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 72 sessionId: sid_rand_61|62c41ed4-3345fdfc-c782f46c-413096fb_0 grpc read failed
2025-12-04T20:33:48.060963Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 72 sessionId: sid_rand_61|62c41ed4-3345fdfc-c782f46c-413096fb_0 grpc closed
2025-12-04T20:33:48.060968Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 72 sessionId: sid_rand_61|62c41ed4-3345fdfc-c782f46c-413096fb_0 is DEAD
2025-12-04T20:33:48.061246Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.061296Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.061304Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 73
2025-12-04T20:33:48.061391Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_62" }
2025-12-04T20:33:48.061419Z 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]:51304
2025-12-04T20:33:48.061423Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=73 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.061426Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.061771Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 73 sessionId:  describe result for acl check
2025-12-04T20:33:48.061803Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.061809Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.061811Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.061815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501295:2796] (SourceId=sid_rand_62, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.062319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501295:2796] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.064193Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501295:2796] (SourceId=sid_rand_62, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.064312Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501311:2796] connected; active server actors: 1
2025-12-04T20:33:48.064325Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501295:2796] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_62
2025-12-04T20:33:48.064329Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501295:2796] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.064386Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501311:2796] disconnected.
2025-12-04T20:33:48.064396Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501311:2796] disconnected; active server actors: 1
2025-12-04T20:33:48.064398Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501311:2796] disconnected no session
2025-12-04T20:33:48.067292Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501295:2796] (SourceId=sid_rand_62, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.067306Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501295:2796] (SourceId=sid_rand_62, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-04T20:33:48.067309Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501295:2796] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.067315Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 73 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-04T20:33:48.067442Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:48.067464Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_62|5d629706-84cad4fc-453c754c-4cda8f58_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_62
2025-12-04T20:33:48.067620Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 73 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_62|5d629706-84cad4fc-453c754c-4cda8f58_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_62|5d629706-84cad4fc-453c754c-4cda8f58_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.068158Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId: sid_rand_62|5d629706-84cad4fc-453c754c-4cda8f58_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.068166Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 73 sessionId: sid_rand_62|5d629706-84cad4fc-453c754c-4cda8f58_0 grpc read failed
2025-12-04T20:33:48.068171Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 73 sessionId: sid_rand_62|5d629706-84cad4fc-453c754c-4cda8f58_0 grpc closed
2025-12-04T20:33:48.068175Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 73 sessionId: sid_rand_62|5d629706-84cad4fc-453c754c-4cda8f58_0 is DEAD
2025-12-04T20:33:48.068280Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.068290Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 74
2025-12-04T20:33:48.068419Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.068434Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_63" }
2025-12-04T20:33:48.068461Z 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]:51304
2025-12-04T20:33:48.068470Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=74 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.068474Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.068773Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 74 sessionId:  describe result for acl check
2025-12-04T20:33:48.068797Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.068803Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.068805Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.068810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501343:2803] (SourceId=sid_rand_63, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.069262Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501343:2803] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.070749Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501343:2803] (SourceId=sid_rand_63, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.070812Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501359:2803] connected; active server actors: 1
2025-12-04T20:33:48.070824Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501343:2803] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_63
2025-12-04T20:33:48.070828Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501343:2803] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.070880Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501359:2803] disconnected.
2025-12-04T20:33:48.070888Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501359:2803] disconnected; active server actors: 1
2025-12-04T20:33:48.070891Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501359:2803] disconnected no session
2025-12-04T20:33:48.073585Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501343:2803] (SourceId=sid_rand_63, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.073597Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501343:2803] (SourceId=sid_rand_63, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-04T20:33:48.073601Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501343:2803] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.073608Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 74 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-04T20:33:48.073854Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:48.073947Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_63|bceabf4f-f648e736-8e9937ce-88c2a2c7_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_63
2025-12-04T20:33:48.074181Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 74 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_63|bceabf4f-f648e736-8e9937ce-88c2a2c7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_63|bceabf4f-f648e736-8e9937ce-88c2a2c7_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.074741Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId: sid_rand_63|bceabf4f-f648e736-8e9937ce-88c2a2c7_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.074749Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 74 sessionId: sid_rand_63|bceabf4f-f648e736-8e9937ce-88c2a2c7_0 grpc read failed
2025-12-04T20:33:48.074754Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 74 sessionId: sid_rand_63|bceabf4f-f648e736-8e9937ce-88c2a2c7_0 grpc closed
2025-12-04T20:33:48.074758Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 74 sessionId: sid_rand_63|bceabf4f-f648e736-8e9937ce-88c2a2c7_0 is DEAD
2025-12-04T20:33:48.074934Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.074944Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 75
2025-12-04T20:33:48.074954Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.075033Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_64" }
2025-12-04T20:33:48.075067Z 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]:51304
2025-12-04T20:33:48.075077Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=75 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.075081Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.075455Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 75 sessionId:  describe result for acl check
2025-12-04T20:33:48.075485Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.075492Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.075494Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.075498Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501380:2807] (SourceId=sid_rand_64, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.075961Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501380:2807] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.077439Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501380:2807] (SourceId=sid_rand_64, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.077498Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501396:2807] connected; active server actors: 1
2025-12-04T20:33:48.077512Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501380:2807] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_64
2025-12-04T20:33:48.077516Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501380:2807] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.077552Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501396:2807] disconnected.
2025-12-04T20:33:48.077560Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501396:2807] disconnected; active server actors: 1
2025-12-04T20:33:48.077563Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501396:2807] disconnected no session
2025-12-04T20:33:48.080435Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501380:2807] (SourceId=sid_rand_64, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.080447Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501380:2807] (SourceId=sid_rand_64, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-04T20:33:48.080450Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501380:2807] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.080457Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 75 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-04T20:33:48.080664Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:48.080769Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_64|47d8cc45-48b30723-917597f5-86416314_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_64
2025-12-04T20:33:48.081140Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 75 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_64|47d8cc45-48b30723-917597f5-86416314_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_64|47d8cc45-48b30723-917597f5-86416314_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.081712Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId: sid_rand_64|47d8cc45-48b30723-917597f5-86416314_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.081719Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 75 sessionId: sid_rand_64|47d8cc45-48b30723-917597f5-86416314_0 grpc read failed
2025-12-04T20:33:48.081736Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 75 sessionId: sid_rand_64|47d8cc45-48b30723-917597f5-86416314_0 grpc closed
2025-12-04T20:33:48.081740Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 75 sessionId: sid_rand_64|47d8cc45-48b30723-917597f5-86416314_0 is DEAD
2025-12-04T20:33:48.081874Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.081884Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 76
2025-12-04T20:33:48.081968Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_65" }
2025-12-04T20:33:48.081974Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.081992Z 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]:51304
2025-12-04T20:33:48.082000Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=76 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.082002Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.082422Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 76 sessionId:  describe result for acl check
2025-12-04T20:33:48.082451Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.082457Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.082459Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.082463Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501414:2811] (SourceId=sid_rand_65, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.082947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501414:2811] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.084582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501414:2811] (SourceId=sid_rand_65, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.084649Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501430:2811] connected; active server actors: 1
2025-12-04T20:33:48.084667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501414:2811] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_65
2025-12-04T20:33:48.084670Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501414:2811] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.084709Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501430:2811] disconnected.
2025-12-04T20:33:48.084716Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501430:2811] disconnected; active server actors: 1
2025-12-04T20:33:48.084718Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501430:2811] disconnected no session
2025-12-04T20:33:48.087493Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501414:2811] (SourceId=sid_rand_65, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.087507Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501414:2811] (SourceId=sid_rand_65, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-12-04T20:33:48.087510Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501414:2811] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.087518Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 76 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-12-04T20:33:48.087784Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:48.087881Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_65|cd5b9d50-3cc10c3a-c18f3007-3e186964_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_65
2025-12-04T20:33:48.088198Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 76 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_65|cd5b9d50-3cc10c3a-c18f3007-3e186964_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_65|cd5b9d50-3cc10c3a-c18f3007-3e186964_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.088775Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId: sid_rand_65|cd5b9d50-3cc10c3a-c18f3007-3e186964_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.088784Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 76 sessionId: sid_rand_65|cd5b9d50-3cc10c3a-c18f3007-3e186964_0 grpc read failed
2025-12-04T20:33:48.088790Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 76 sessionId: sid_rand_65|cd5b9d50-3cc10c3a-c18f3007-3e186964_0 grpc closed
2025-12-04T20:33:48.088795Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 76 sessionId: sid_rand_65|cd5b9d50-3cc10c3a-c18f3007-3e186964_0 is DEAD
2025-12-04T20:33:48.088928Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.088937Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 77
2025-12-04T20:33:48.089030Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.089032Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_66" }
2025-12-04T20:33:48.089054Z 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]:51304
2025-12-04T20:33:48.089057Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=77 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.089060Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.089424Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 77 sessionId:  describe result for acl check
2025-12-04T20:33:48.089450Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.089456Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.089458Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.089463Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501448:2815] (SourceId=sid_rand_66, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.089963Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501448:2815] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.091607Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501448:2815] (SourceId=sid_rand_66, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.091667Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501464:2815] connected; active server actors: 1
2025-12-04T20:33:48.091683Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501448:2815] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_66
2025-12-04T20:33:48.091691Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501448:2815] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.091731Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501464:2815] disconnected.
2025-12-04T20:33:48.091740Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501464:2815] disconnected; active server actors: 1
2025-12-04T20:33:48.091743Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501464:2815] disconnected no session
2025-12-04T20:33:48.094091Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501448:2815] (SourceId=sid_rand_66, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.094103Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501448:2815] (SourceId=sid_rand_66, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-12-04T20:33:48.094107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501448:2815] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.094113Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 77 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-12-04T20:33:48.094304Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:48.094402Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_66|2c8262a0-850577c9-52a171e1-e29c90df_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_66
2025-12-04T20:33:48.094647Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 77 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_66|2c8262a0-850577c9-52a171e1-e29c90df_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_66|2c8262a0-850577c9-52a171e1-e29c90df_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.095201Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId: sid_rand_66|2c8262a0-850577c9-52a171e1-e29c90df_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.095209Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 77 sessionId: sid_rand_66|2c8262a0-850577c9-52a171e1-e29c90df_0 grpc read failed
2025-12-04T20:33:48.095286Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 77 sessionId: sid_rand_66|2c8262a0-850577c9-52a171e1-e29c90df_0
2025-12-04T20:33:48.095295Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 77 sessionId: sid_rand_66|2c8262a0-850577c9-52a171e1-e29c90df_0 is DEAD
2025-12-04T20:33:48.095342Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.095351Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 78
2025-12-04T20:33:48.095388Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.095436Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_67" }
2025-12-04T20:33:48.095462Z 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]:51304
2025-12-04T20:33:48.095470Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=78 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.095474Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.095761Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 78 sessionId:  describe result for acl check
2025-12-04T20:33:48.095782Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.095783Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.095784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.095787Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501482:2819] (SourceId=sid_rand_67, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.096196Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501482:2819] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.097760Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501482:2819] (SourceId=sid_rand_67, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.097845Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501498:2819] connected; active server actors: 1
2025-12-04T20:33:48.097863Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501482:2819] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_67
2025-12-04T20:33:48.097867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501482:2819] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.097930Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501498:2819] disconnected.
2025-12-04T20:33:48.097938Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501498:2819] disconnected; active server actors: 1
2025-12-04T20:33:48.097940Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501498:2819] disconnected no session
2025-12-04T20:33:48.100506Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501482:2819] (SourceId=sid_rand_67, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.100516Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501482:2819] (SourceId=sid_rand_67, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-12-04T20:33:48.100519Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501482:2819] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.100526Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 78 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-12-04T20:33:48.100744Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:48.100829Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_67|e3a3cde5-1cafe73a-299a3a1d-5da51f91_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_67
2025-12-04T20:33:48.101057Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 78 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_67|e3a3cde5-1cafe73a-299a3a1d-5da51f91_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_67|e3a3cde5-1cafe73a-299a3a1d-5da51f91_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.101614Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId: sid_rand_67|e3a3cde5-1cafe73a-299a3a1d-5da51f91_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.101624Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 78 sessionId: sid_rand_67|e3a3cde5-1cafe73a-299a3a1d-5da51f91_0 grpc read failed
2025-12-04T20:33:48.101629Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 78 sessionId: sid_rand_67|e3a3cde5-1cafe73a-299a3a1d-5da51f91_0 grpc closed
2025-12-04T20:33:48.101634Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 78 sessionId: sid_rand_67|e3a3cde5-1cafe73a-299a3a1d-5da51f91_0 is DEAD
2025-12-04T20:33:48.101699Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.101707Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 79
2025-12-04T20:33:48.101759Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.101793Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_68" }
2025-12-04T20:33:48.101820Z 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]:51304
2025-12-04T20:33:48.101825Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=79 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.101828Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.102196Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 79 sessionId:  describe result for acl check
2025-12-04T20:33:48.102221Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.102227Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.102229Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.102233Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501516:2823] (SourceId=sid_rand_68, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.102702Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501516:2823] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.104059Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501516:2823] (SourceId=sid_rand_68, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.104118Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501532:2823] connected; active server actors: 1
2025-12-04T20:33:48.104138Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501516:2823] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_68
2025-12-04T20:33:48.104142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501516:2823] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.104184Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501532:2823] disconnected.
2025-12-04T20:33:48.104193Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501532:2823] disconnected; active server actors: 1
2025-12-04T20:33:48.104196Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501532:2823] disconnected no session
2025-12-04T20:33:48.107153Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501516:2823] (SourceId=sid_rand_68, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.107164Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501516:2823] (SourceId=sid_rand_68, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-12-04T20:33:48.107167Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501516:2823] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.107186Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 79 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-12-04T20:33:48.107369Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:48.107450Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_68|6780864b-4240f2d8-86a149b9-c35ead1_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_68
2025-12-04T20:33:48.107692Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 79 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_68|6780864b-4240f2d8-86a149b9-c35ead1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_68|6780864b-4240f2d8-86a149b9-c35ead1_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.108186Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId: sid_rand_68|6780864b-4240f2d8-86a149b9-c35ead1_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.108193Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 79 sessionId: sid_rand_68|6780864b-4240f2d8-86a149b9-c35ead1_0 grpc read failed
2025-12-04T20:33:48.108197Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 79 sessionId: sid_rand_68|6780864b-4240f2d8-86a149b9-c35ead1_0 grpc closed
2025-12-04T20:33:48.108201Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 79 sessionId: sid_rand_68|6780864b-4240f2d8-86a149b9-c35ead1_0 is DEAD
2025-12-04T20:33:48.108333Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.108345Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 80
2025-12-04T20:33:48.108417Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.108424Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_69" }
2025-12-04T20:33:48.108456Z 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]:51304
2025-12-04T20:33:48.108464Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=80 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.108466Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.108908Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 80 sessionId:  describe result for acl check
2025-12-04T20:33:48.108937Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.108943Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.108945Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.108949Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501550:2827] (SourceId=sid_rand_69, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.109422Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501550:2827] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.111418Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501550:2827] (SourceId=sid_rand_69, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.111478Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501566:2827] connected; active server actors: 1
2025-12-04T20:33:48.111495Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501550:2827] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_69
2025-12-04T20:33:48.111506Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501550:2827] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.111564Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501566:2827] disconnected.
2025-12-04T20:33:48.111572Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501566:2827] disconnected; active server actors: 1
2025-12-04T20:33:48.111575Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501566:2827] disconnected no session
2025-12-04T20:33:48.114458Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501550:2827] (SourceId=sid_rand_69, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.114472Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501550:2827] (SourceId=sid_rand_69, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-12-04T20:33:48.114476Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501550:2827] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.114484Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 80 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-04T20:33:48.114612Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:48.114658Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_69|c2324447-27ee642b-366515c8-e223bac0_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_69
2025-12-04T20:33:48.114790Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 80 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_69|c2324447-27ee642b-366515c8-e223bac0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_69|c2324447-27ee642b-366515c8-e223bac0_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.115362Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId: sid_rand_69|c2324447-27ee642b-366515c8-e223bac0_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.115372Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 80 sessionId: sid_rand_69|c2324447-27ee642b-366515c8-e223bac0_0 grpc read failed
2025-12-04T20:33:48.115461Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 80 sessionId: sid_rand_69|c2324447-27ee642b-366515c8-e223bac0_0
2025-12-04T20:33:48.115471Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 80 sessionId: sid_rand_69|c2324447-27ee642b-366515c8-e223bac0_0 is DEAD
2025-12-04T20:33:48.115516Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.115526Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 81
2025-12-04T20:33:48.115574Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.115617Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_70" }
2025-12-04T20:33:48.115645Z 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]:51304
2025-12-04T20:33:48.115652Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=81 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.115655Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.116013Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 81 sessionId:  describe result for acl check
2025-12-04T20:33:48.116043Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.116049Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.116051Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.116055Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501585:2831] (SourceId=sid_rand_70, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.116545Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501585:2831] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.118707Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501585:2831] (SourceId=sid_rand_70, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.118779Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501601:2831] connected; active server actors: 1
2025-12-04T20:33:48.118801Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501585:2831] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_70
2025-12-04T20:33:48.118811Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501585:2831] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.118859Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501601:2831] disconnected.
2025-12-04T20:33:48.118866Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501601:2831] disconnected; active server actors: 1
2025-12-04T20:33:48.118869Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501601:2831] disconnected no session
2025-12-04T20:33:48.121965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501585:2831] (SourceId=sid_rand_70, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.121977Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501585:2831] (SourceId=sid_rand_70, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-12-04T20:33:48.121981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501585:2831] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.121988Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 81 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-12-04T20:33:48.122124Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:48.122168Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_70|22d53e6a-eae0d244-4e2f7534-8b35f67a_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_70
2025-12-04T20:33:48.122281Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 81 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_70|22d53e6a-eae0d244-4e2f7534-8b35f67a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_70|22d53e6a-eae0d244-4e2f7534-8b35f67a_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.122846Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId: sid_rand_70|22d53e6a-eae0d244-4e2f7534-8b35f67a_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.122854Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 81 sessionId: sid_rand_70|22d53e6a-eae0d244-4e2f7534-8b35f67a_0 grpc read failed
2025-12-04T20:33:48.122859Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 81 sessionId: sid_rand_70|22d53e6a-eae0d244-4e2f7534-8b35f67a_0 grpc closed
2025-12-04T20:33:48.122863Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 81 sessionId: sid_rand_70|22d53e6a-eae0d244-4e2f7534-8b35f67a_0 is DEAD
2025-12-04T20:33:48.123010Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.123032Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 82
2025-12-04T20:33:48.123124Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.123144Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_71" }
2025-12-04T20:33:48.123173Z 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]:51304
2025-12-04T20:33:48.123182Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=82 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.123185Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.123566Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 82 sessionId:  describe result for acl check
2025-12-04T20:33:48.123603Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.123609Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.123611Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.123616Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501620:2835] (SourceId=sid_rand_71, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.124154Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501620:2835] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.125661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501620:2835] (SourceId=sid_rand_71, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.125717Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501636:2835] connected; active server actors: 1
2025-12-04T20:33:48.125737Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501620:2835] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_71
2025-12-04T20:33:48.125741Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501620:2835] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.125786Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501636:2835] disconnected.
2025-12-04T20:33:48.125794Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501636:2835] disconnected; active server actors: 1
2025-12-04T20:33:48.125797Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501636:2835] disconnected no session
2025-12-04T20:33:48.128673Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501620:2835] (SourceId=sid_rand_71, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.128684Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501620:2835] (SourceId=sid_rand_71, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-12-04T20:33:48.128686Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501620:2835] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.128693Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 82 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-12-04T20:33:48.128925Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:48.128999Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_71|56f95757-738b600-81d69dd0-717bfda0_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_71
2025-12-04T20:33:48.129268Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 82 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_71|56f95757-738b600-81d69dd0-717bfda0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_71|56f95757-738b600-81d69dd0-717bfda0_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.129869Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId: sid_rand_71|56f95757-738b600-81d69dd0-717bfda0_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.129877Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 82 sessionId: sid_rand_71|56f95757-738b600-81d69dd0-717bfda0_0 grpc read failed
2025-12-04T20:33:48.129883Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 82 sessionId: sid_rand_71|56f95757-738b600-81d69dd0-717bfda0_0 grpc closed
2025-12-04T20:33:48.129888Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 82 sessionId: sid_rand_71|56f95757-738b600-81d69dd0-717bfda0_0 is DEAD
2025-12-04T20:33:48.129977Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.129988Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 83
2025-12-04T20:33:48.130127Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.130143Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_72" }
2025-12-04T20:33:48.130175Z 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]:51304
2025-12-04T20:33:48.130183Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=83 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.130185Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.130488Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 83 sessionId:  describe result for acl check
2025-12-04T20:33:48.130517Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.130523Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.130524Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.130527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501654:2839] (SourceId=sid_rand_72, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.130956Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501654:2839] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.132705Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501654:2839] (SourceId=sid_rand_72, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.132767Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501670:2839] connected; active server actors: 1
2025-12-04T20:33:48.132780Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501654:2839] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_72
2025-12-04T20:33:48.132783Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501654:2839] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.132818Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501670:2839] disconnected.
2025-12-04T20:33:48.132826Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501670:2839] disconnected; active server actors: 1
2025-12-04T20:33:48.132828Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501670:2839] disconnected no session
2025-12-04T20:33:48.135767Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501654:2839] (SourceId=sid_rand_72, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.135786Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501654:2839] (SourceId=sid_rand_72, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-12-04T20:33:48.135788Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501654:2839] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.135794Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 83 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-12-04T20:33:48.135917Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-12-04T20:33:48.135976Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_72|1634dc84-a59c8a34-de58eb8d-7c6851eb_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_72
2025-12-04T20:33:48.136130Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 83 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_72|1634dc84-a59c8a34-de58eb8d-7c6851eb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_72|1634dc84-a59c8a34-de58eb8d-7c6851eb_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.136712Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId: sid_rand_72|1634dc84-a59c8a34-de58eb8d-7c6851eb_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.136719Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 83 sessionId: sid_rand_72|1634dc84-a59c8a34-de58eb8d-7c6851eb_0 grpc read failed
2025-12-04T20:33:48.136723Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 83 sessionId: sid_rand_72|1634dc84-a59c8a34-de58eb8d-7c6851eb_0 grpc closed
2025-12-04T20:33:48.136727Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 83 sessionId: sid_rand_72|1634dc84-a59c8a34-de58eb8d-7c6851eb_0 is DEAD
2025-12-04T20:33:48.136821Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.136829Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 84
2025-12-04T20:33:48.136937Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.136970Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_73" }
2025-12-04T20:33:48.137001Z 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]:51304
2025-12-04T20:33:48.137005Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=84 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.137007Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.137426Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 84 sessionId:  describe result for acl check
2025-12-04T20:33:48.137459Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.137466Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.137468Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.137472Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501689:2843] (SourceId=sid_rand_73, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.138020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501689:2843] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.139898Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501689:2843] (SourceId=sid_rand_73, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.139979Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501705:2843] connected; active server actors: 1
2025-12-04T20:33:48.139996Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501689:2843] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_73
2025-12-04T20:33:48.140000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501689:2843] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.140051Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501705:2843] disconnected.
2025-12-04T20:33:48.140062Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501705:2843] disconnected; active server actors: 1
2025-12-04T20:33:48.140065Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501705:2843] disconnected no session
2025-12-04T20:33:48.142871Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501689:2843] (SourceId=sid_rand_73, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.142885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501689:2843] (SourceId=sid_rand_73, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-12-04T20:33:48.142888Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501689:2843] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.142895Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 84 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-12-04T20:33:48.143148Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-12-04T20:33:48.143229Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_73|6e3778d8-2d00ee8a-ea8596cf-db73e945_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_73
2025-12-04T20:33:48.143486Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 84 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_73|6e3778d8-2d00ee8a-ea8596cf-db73e945_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_73|6e3778d8-2d00ee8a-ea8596cf-db73e945_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-12-04T20:33:48.144056Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId: sid_rand_73|6e3778d8-2d00ee8a-ea8596cf-db73e945_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.144064Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 84 sessionId: sid_rand_73|6e3778d8-2d00ee8a-ea8596cf-db73e945_0 grpc read failed
2025-12-04T20:33:48.144069Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 84 sessionId: sid_rand_73|6e3778d8-2d00ee8a-ea8596cf-db73e945_0 grpc closed
2025-12-04T20:33:48.144074Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 84 sessionId: sid_rand_73|6e3778d8-2d00ee8a-ea8596cf-db73e945_0 is DEAD
2025-12-04T20:33:48.144168Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-04T20:33:48.144179Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 85
2025-12-04T20:33:48.144312Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-12-04T20:33:48.144322Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_74" }
2025-12-04T20:33:48.144342Z 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]:51304
2025-12-04T20:33:48.144351Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=85 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:51304 proto=v1  topic=topic1 durationSec=0
2025-12-04T20:33:48.144354Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-04T20:33:48.144710Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 85 sessionId:  describe result for acl check
2025-12-04T20:33:48.144734Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-12-04T20:33:48.144739Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-04T20:33:48.144741Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-12-04T20:33:48.144745Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7580103720014501723:2847] (SourceId=sid_rand_74, PreferedPartition=(NULL)) StartKqpSession
2025-12-04T20:33:48.145246Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7580103720014501723:2847] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Select from the table
2025-12-04T20:33:48.147196Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7580103720014501723:2847] (SourceId=sid_rand_74, PreferedPartition=(NULL)) RequestPQRB
2025-12-04T20:33:48.147258Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1656: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501739:2847] connected; active server actors: 1
2025-12-04T20:33:48.147274Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7580103720014501723:2847] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_74
2025-12-04T20:33:48.147277Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7580103720014501723:2847] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Update the table
2025-12-04T20:33:48.147325Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1660: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501739:2847] disconnected.
2025-12-04T20:33:48.147334Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1671: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501739:2847] disconnected; active server actors: 1
2025-12-04T20:33:48.147336Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1696: [72075186224037894][rt3.dc1--topic1] pipe [17:7580103720014501739:2847] disconnected no session
2025-12-04T20:33:48.149968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7580103720014501723:2847] (SourceId=sid_rand_74, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-12-04T20:33:48.149979Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7580103720014501723:2847] (SourceId=sid_rand_74, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-12-04T20:33:48.149982Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7580103720014501723:2847] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Start idle
2025-12-04T20:33:48.149989Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 85 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-12-04T20:33:48.150204Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-12-04T20:33:48.150268Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_74|531d1461-63a7f2f5-40f0fcee-217f05be_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_74
2025-12-04T20:33:48.150520Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 85 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_74|531d1461-63a7f2f5-40f0fcee-217f05be_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_74|531d1461-63a7f2f5-40f0fcee-217f05be_0" topic: "topic1" cluster: "dc1" partition_id: 10 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:5
Round robin check: 7:4
Round robin check: 8:5
Round robin check: 9:5
Round robin check: 10:6
Round robin check: 11:5
Round robin check: 12:5
Round robin check: 13:5
Round robin check: 14:5
2025-12-04T20:33:48.151070Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId: sid_rand_74|531d1461-63a7f2f5-40f0fcee-217f05be_0 grpc read done: success: 0 data: 
2025-12-04T20:33:48.151077Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 85 sessionId: sid_rand_74|531d1461-63a7f2f5-40f0fcee-217f05be_0 grpc read failed
2025-12-04T20:33:48.151082Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 85 sessionId: sid_rand_74|531d1461-63a7f2f5-40f0fcee-217f05be_0 grpc closed
2025-12-04T20:33:48.151085Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 85 sessionId: sid_rand_74|531d1461-63a7f2f5-40f0fcee-217f05be_0 is DEAD
2025-12-04T20:33:48.151323Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
