2025-10-15T15:42:20.967126Z node 17 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[17:7561474354491678355:2079];send_to=[0:7307199536658146131:7762515];
2025-10-15T15:42:20.967371Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2025-10-15T15:42:20.969026Z node 18 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[18:7561474352283077950:2077];send_to=[0:7307199536658146131:7762515];
2025-10-15T15:42:20.969099Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2025-10-15T15:42:20.969762Z node 17 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/pv2i/0027c6/r3tmp/tmpcVpon4/pdisk_1.dat
2025-10-15T15:42:20.970115Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-10-15T15:42:20.971309Z node 18 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-10-15T15:42:20.971745Z node 18 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-10-15T15:42:21.003438Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-10-15T15:42:21.007744Z node 18 :CONFIGS_DISPATCHER ERROR: configs_dispatcher.cpp:1229: Notification cookie mismatch for subscription [18:7561474352283077899:2073] 1760542940968564 != 1760542940968561
2025-10-15T15:42:21.009031Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-15T15:42:21.009052Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-15T15:42:21.010306Z node 17 :HIVE WARN: hive_impl.cpp:811: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 18 Cookie 18
2025-10-15T15:42:21.010599Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 17920, node 17
2025-10-15T15:42:21.017947Z 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/pv2i/0027c6/r3tmp/yandexGa2pDu.tmp
2025-10-15T15:42:21.017958Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/pv2i/0027c6/r3tmp/yandexGa2pDu.tmp
2025-10-15T15:42:21.018019Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/pv2i/0027c6/r3tmp/yandexGa2pDu.tmp
2025-10-15T15:42:21.018082Z node 17 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-10-15T15:42:21.021518Z INFO: TTestServer started on Port 16091 GrpcPort 17920
TClient is connected to server localhost:16091
PQClient connected to localhost:17920
WaitRootIsUp 'Root'...
TClient::Ls request: Root
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "Root"
    PathId: 1
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 1
    CreateStep: 0
    ParentPathId: 1
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 1
      SubDomainVersion: 0
      SecurityStateVersion: 0
    }
    ChildrenExist: false
  }
  Children {
    Name: ".sys"
    PathId: 18446744073709551615
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 0
    CreateStep: 0
    ParentPathId: 18446744073709551615
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 0
      Pl...
(TRUNCATED)
WaitRootIsUp 'Root' success.
2025-10-15T15:42:21.070322Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-15T15:42:21.070372Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-15T15:42:21.071775Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976720657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
2025-10-15T15:42:21.071845Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Connecting -> Connected
waiting...
waiting...
2025-10-15T15:42:21.091371Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720659:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:684)
waiting...
waiting...
waiting...
2025-10-15T15:42:21.152726Z node 18 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2025-10-15T15:42:21.255871Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2025-10-15T15:42:21.442552Z node 18 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [18:7561474356578045568:2299], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-15T15:42:21.442581Z node 18 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [18:7561474356578045542:2295], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-15T15:42:21.442598Z node 18 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-15T15:42:21.442808Z node 18 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [18:7561474356578045573:2301], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-15T15:42:21.442820Z node 18 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-15T15:42:21.444205Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateResourcePool, opId: 281474976715657:3, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:179)
2025-10-15T15:42:21.445248Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7561474358786646726:2332], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-15T15:42:21.445285Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7561474358786646714: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-10-15T15:42:21.445315Z 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-10-15T15:42:21.445491Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7561474358786646731:2335], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-10-15T15:42:21.445512Z 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-10-15T15:42:21.447638Z node 17 :TX_PROXY ERROR: schemereq.cpp:590: Actor# [17:7561474358786646732:2726] txid# 281474976720662, issues: { message: "Check failed: path: \'/Root/.metadata/workload_manager/pools/default\', error: path exists but creating right now (id: [OwnerId: 72057594046644480, LocalPathId: 9], type: EPathTypeResourcePool, state: EPathStateCreate), source_location: ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:92" severity: 1 }
2025-10-15T15:42:21.450011Z node 17 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [17:7561474358786646730:2334], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976715657 completed, doublechecking }
2025-10-15T15:42:21.450065Z node 18 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [18:7561474356578045572:2300], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976715657 completed, doublechecking }
2025-10-15T15:42:21.453120Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720663:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:684)
2025-10-15T15:42:21.472487Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720664:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:684)
2025-10-15T15:42:21.498949Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976720665:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:684)
2025-10-15T15:42:21.515233Z node 18 :TX_PROXY ERROR: schemereq.cpp:590: Actor# [18:7561474356578045699:2196] txid# 281474976715658, 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 }
=== Init DC: UPSERT INTO `/Root/PQ/Config/V2/Cluster` (name, balancer, local, enabled, weight) VALUES ("dc1", "localhost", true, true, 1000), ("dc2", "dc2.logbroker.yandex.net", false, true, 1000);
2025-10-15T15:42:21.523886Z node 17 :TX_PROXY ERROR: schemereq.cpp:590: Actor# [17:7561474358786647140:3029] txid# 281474976720666, issues: { message: "Check failed: path: \'/Root/.metadata/workload_manager/pools/default\', error: path exist, request accepts it (id: [OwnerId: 72057594046644480, LocalPathId: 9], type: EPathTypeResourcePool, state: EPathStateNoChanges), source_location: ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:92" severity: 1 }
2025-10-15T15:42:21.546954Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976720667. Ctx: { TraceId: 01k7m8jraj7hmye2zm0x0jfg0c, Database: , SessionId: ydb://session/3?node_id=17&id=Y2ZjYzNiOC02MWY1ZmQ5YS00NWNlZDAzNi05MTFkMzFhMw==, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [17:7561474358786647196:3056] 
2025-10-15T15:42:21.971199Z node 18 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-10-15T15:42:21.972328Z node 17 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-10-15T15:42:25.967378Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[17:7561474354491678355:2079];send_to=[0:7307199536658146131:7762515];
2025-10-15T15:42:25.967461Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
2025-10-15T15:42:25.969012Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[18:7561474352283077950:2077];send_to=[0:7307199536658146131:7762515];
2025-10-15T15:42:25.969050Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
=== CheckClustersList. Ok
PQ Client: create topic: rt3.dc1--topic1 with 10 partitions
CallPersQueueGRPC request to localhost:17920
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-15T15:42:26.818338Z 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:17920
MetaRequest {
  CmdCreateTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 10
    Config {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000
      }
      LocalDC: true
      Codecs {
        Ids: 0
        Ids: 1
        Ids: 2
        Codecs: "raw"
        Codecs: "gzip"
        Codecs: "lzop"
      }
      Consumers {
        Name: "user"
        ReadFromTimestampsMs: 0
        FormatVersion: 0
        Version: 0
      }
    }
  }
}
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976720674
  SchemeShardTabletId: 72057594046644480
  PathId: 13
}
ErrorCode: OK
AddTopic: rt3.dc1--topic1
===Run query:``DECLARE $version as Int64; DECLARE $path AS Utf8; DECLARE $cluster as Utf8; UPSERT INTO `/Root/PQ/Config/V2/Topics` (path, dc) VALUES ($path, $cluster); UPSERT INTO `/Root/PQ/Config/V2/Versions` (name, version) VALUES ("Topics", $version);`` with topic = topic1, dc = dc1
2025-10-15T15:42:26.828264Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:908: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-15T15:42:26.828318Z node 18 :PERSQUEUE INFO: pq_impl.cpp:609: [PQ: 72075186224037893] doesn't have tx writes info
2025-10-15T15:42:26.830030Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][] pipe [17:7561474380261484012:3246] connected; active server actors: 1
2025-10-15T15:42:26.830219Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1517: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [3, 0, 1, 6, 8, 9, 2, 5, 7, 4]
2025-10-15T15:42:26.830511Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:908: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-15T15:42:26.830525Z node 17 :PERSQUEUE INFO: pq_impl.cpp:609: [PQ: 72075186224037892] doesn't have tx writes info
2025-10-15T15:42:26.830566Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:940: [72075186224037894][rt3.dc1--topic1] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037894
2025-10-15T15:42:26.830953Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:138: [72075186224037894][rt3.dc1--topic1] BALANCER INIT DONE for rt3.dc1--topic1: (0, 72075186224037892) (1, 72075186224037892) (2, 72075186224037893) (3, 72075186224037892) (4, 72075186224037893) (5, 72075186224037893) (6, 72075186224037892) (7, 72075186224037893) (8, 72075186224037892) (9, 72075186224037893) 
2025-10-15T15:42:26.831235Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:402: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037892, NodeId 17, Generation 1
2025-10-15T15:42:26.831629Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:402: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037893, NodeId 18, Generation 1
2025-10-15T15:42:26.835966Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][3][StateInit] bootstrapping 3 [17:7561474380261484123:2438]
2025-10-15T15:42:26.836805Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037892][Partition][3][StateInit] init complete for topic 'rt3.dc1--topic1' partition 3 generation 1 [17:7561474380261484123:2438]
2025-10-15T15:42:26.837236Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [17:7561474380261484124:2438]
2025-10-15T15:42:26.837817Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037892][Partition][0][StateInit] init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [17:7561474380261484124:2438]
2025-10-15T15:42:26.838159Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][1][StateInit] bootstrapping 1 [17:7561474380261484125:2438]
2025-10-15T15:42:26.838724Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037892][Partition][1][StateInit] init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [17:7561474380261484125:2438]
2025-10-15T15:42:26.839055Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][6][StateInit] bootstrapping 6 [17:7561474380261484126:2438]
2025-10-15T15:42:26.839607Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037892][Partition][6][StateInit] init complete for topic 'rt3.dc1--topic1' partition 6 generation 1 [17:7561474380261484126:2438]
2025-10-15T15:42:26.839911Z node 17 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][8][StateInit] bootstrapping 8 [17:7561474380261484127:2438]
2025-10-15T15:42:26.840457Z node 17 :PERSQUEUE INFO: partition.cpp:698: [72075186224037892][Partition][8][StateInit] init complete for topic 'rt3.dc1--topic1' partition 8 generation 1 [17:7561474380261484127:2438]
2025-10-15T15:42:26.841503Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][9][StateInit] bootstrapping 9 [18:7561474378052882595:2396]
2025-10-15T15:42:26.842291Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037893][Partition][9][StateInit] init complete for topic 'rt3.dc1--topic1' partition 9 generation 1 [18:7561474378052882595:2396]
2025-10-15T15:42:26.842760Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][2][StateInit] bootstrapping 2 [18:7561474378052882596:2396]
2025-10-15T15:42:26.843100Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976720675. Ctx: { TraceId: 01k7m8jxg820vypg1d1gmbgs95, Database: , SessionId: ydb://session/3?node_id=17&id=ZDhiMzIyODMtOWRlZmFjMWYtYmJlNzU1MTctOTNkNzJjZmE=, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
2025-10-15T15:42:26.843318Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037893][Partition][2][StateInit] init complete for topic 'rt3.dc1--topic1' partition 2 generation 1 [18:7561474378052882596:2396]
2025-10-15T15:42:26.843670Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:908: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-15T15:42:26.843740Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][5][StateInit] bootstrapping 5 [18:7561474378052882597:2396]
2025-10-15T15:42:26.844310Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037893][Partition][5][StateInit] init complete for topic 'rt3.dc1--topic1' partition 5 generation 1 [18:7561474378052882597:2396]
2025-10-15T15:42:26.844684Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][7][StateInit] bootstrapping 7 [18:7561474378052882598:2396]
2025-10-15T15:42:26.845229Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037893][Partition][7][StateInit] init complete for topic 'rt3.dc1--topic1' partition 7 generation 1 [18:7561474378052882598:2396]
2025-10-15T15:42:26.845580Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037893][Partition][4][StateInit] bootstrapping 4 [18:7561474378052882599:2396]
2025-10-15T15:42:26.846109Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037893][Partition][4][StateInit] init complete for topic 'rt3.dc1--topic1' partition 4 generation 1 [18:7561474378052882599:2396]
===Query complete
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
2025-10-15T15:42:26.849740Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:908: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
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
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976720674
    CreateStep: 1760542946883
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 1
    }
    ChildrenExist: false
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 13
    TotalGroupCount: 10
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 60000...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976720674
    CreateStep: 1760542946883
    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:17920
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-15T15:42:27.389866Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 1
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 1
2025-10-15T15:42:27.391349Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:27.391364Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-10-15T15:42:27.391514Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "12345678" }
2025-10-15T15:42:27.391550Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:52884
2025-10-15T15:42:27.391555Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:27.391559Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:27.392061Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-10-15T15:42:27.392176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:27.392188Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:27.392190Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:27.392198Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474384556451570:2455] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:27.392990Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474384556451570:2455] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:27.430033Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474384556451570:2455] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:27.430156Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474384556451605:2455] connected; active server actors: 1
2025-10-15T15:42:27.430198Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474384556451570:2455] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=12345678
2025-10-15T15:42:27.430205Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474384556451570:2455] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:27.430328Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474384556451605:2455] disconnected.
2025-10-15T15:42:27.430338Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474384556451605:2455] disconnected; active server actors: 1
2025-10-15T15:42:27.430341Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474384556451605:2455] disconnected no session
2025-10-15T15:42:27.451828Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474384556451570:2455] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:27.451854Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474384556451570:2455] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-15T15:42:27.451858Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474384556451570:2455] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:27.451871Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-15T15:42:27.452352Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:27.452520Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 12345678|380085de-2346b59a-12f26896-bdd1a555_0 generated for partition 5 topic 'rt3.dc1--topic1' owner 12345678
2025-10-15T15:42:27.452936Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 5 MaxSeqNo: 0 sessionId: 12345678|380085de-2346b59a-12f26896-bdd1a555_0
2025-10-15T15:42:27.453740Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: 12345678|380085de-2346b59a-12f26896-bdd1a555_0 grpc read done: success: 0 data: 
2025-10-15T15:42:27.453748Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: 12345678|380085de-2346b59a-12f26896-bdd1a555_0 grpc read failed
2025-10-15T15:42:27.453855Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 1 sessionId: 12345678|380085de-2346b59a-12f26896-bdd1a555_0
2025-10-15T15:42:27.453866Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: 12345678|380085de-2346b59a-12f26896-bdd1a555_0 is DEAD
Finish: 0 
2025-10-15T15:42:27.454026Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:27.454434Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:27.454446Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-10-15T15:42:27.454756Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-10-15T15:42:27.454821Z 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]:52884
2025-10-15T15:42:27.454830Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:27.454834Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:27.455416Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-10-15T15:42:27.455456Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:27.455466Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:27.455469Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:27.455475Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474384556451633:2466] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:27.456200Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474384556451633:2466] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:27.458244Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474384556451633:2466] (SourceId=source, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:27.458415Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474384556451649:2466] connected; active server actors: 1
2025-10-15T15:42:27.458437Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474384556451633:2466] (SourceId=source, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=source
2025-10-15T15:42:27.458441Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474384556451633:2466] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:27.458539Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474384556451649:2466] disconnected.
2025-10-15T15:42:27.458548Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474384556451649:2466] disconnected; active server actors: 1
request: { 2025-10-15T15:42:27.458551Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474384556451649:2466] disconnected no session
2025-10-15T15:42:27.461762Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474384556451633:2466] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:27.461770Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474384556451633:2466] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-15T15:42:27.461773Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474384556451633:2466] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:27.461781Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-15T15:42:27.461928Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:27.462078Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|1f9ce708-37a6c543-7536d378-80fd82a2_0 generated for partition 6 topic 'rt3.dc1--topic1' owner source
2025-10-15T15:42:27.462344Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 6 MaxSeqNo: 0 sessionId: source|1f9ce708-37a6c543-7536d378-80fd82a2_0
write_request { sequence_numbers: 2 created_at_ms: 1760542947462 sent_at_ms: 1760542947462 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-10-15T15:42:27.495616Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|1f9ce708-37a6c543-7536d378-80fd82a2_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:42:27.495768Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:42:27.495917Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-15T15:42:27.497936Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 3 created_at_ms: 1760542947498 sent_at_ms: 1760542947498 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-10-15T15:42:27.498604Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|1f9ce708-37a6c543-7536d378-80fd82a2_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:42:27.498715Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:42:27.498841Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-15T15:42:27.500049Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 4 created_at_ms: 1760542947500 sent_at_ms: 1760542947500 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-10-15T15:42:27.500458Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|1f9ce708-37a6c543-7536d378-80fd82a2_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:42:27.500527Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:42:27.500599Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-15T15:42:27.501521Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 5 created_at_ms: 1760542947501 sent_at_ms: 1760542947501 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-10-15T15:42:27.501879Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|1f9ce708-37a6c543-7536d378-80fd82a2_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:42:27.501974Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:42:27.502047Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-15T15:42:27.502956Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-15T15:42:27.503261Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|1f9ce708-37a6c543-7536d378-80fd82a2_0 grpc read done: success: 0 data: 
2025-10-15T15:42:27.503267Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: source|1f9ce708-37a6c543-7536d378-80fd82a2_0 grpc read failed
2025-10-15T15:42:27.503343Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 2 sessionId: source|1f9ce708-37a6c543-7536d378-80fd82a2_0
2025-10-15T15:42:27.503354Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: source|1f9ce708-37a6c543-7536d378-80fd82a2_0 is DEAD
1 0 
2025-10-15T15:42:27.503465Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
CallPersQueueGRPC request to localhost:17920
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-15T15:42:27.504454Z 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:17920
MetaRequest {
  CmdChangeTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 15
  }
}
2025-10-15T15:42:27.505763Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterPersQueueGroup, opId: 281474976720680:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_pq.cpp:313)
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976720680
  SchemeShardTabletId: 72057594046644480
}
ErrorCode: OK
Alter got 1
2025-10-15T15:42:27.510166Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1517: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [11, 13, 14, 12, 10]
2025-10-15T15:42:27.513146Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:908: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-15T15:42:27.513171Z node 18 :PERSQUEUE INFO: pq_impl.cpp:609: [PQ: 72075186224037895] doesn't have tx writes info
2025-10-15T15:42:27.518984Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][11][StateInit] bootstrapping 11 [18:7561474382347850025:2405]
2025-10-15T15:42:27.519774Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:908: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-15T15:42:27.519761Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037895][Partition][11][StateInit] init complete for topic 'rt3.dc1--topic1' partition 11 generation 1 [18:7561474382347850025:2405]
2025-10-15T15:42:27.520219Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:908: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-15T15:42:27.520322Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][13][StateInit] bootstrapping 13 [18:7561474382347850028:2405]
2025-10-15T15:42:27.520924Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037895][Partition][13][StateInit] init complete for topic 'rt3.dc1--topic1' partition 13 generation 1 [18:7561474382347850028:2405]
2025-10-15T15:42:27.521126Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976720681. Ctx: { TraceId: 01k7m8jy5ne5wradshmxj5n0hg, Database: , SessionId: ydb://session/3?node_id=17&id=YTc1NmI2ZWUtYmJmNGQwMTEtOTYxZmI4Y2EtN2FkNGFlODY=, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
2025-10-15T15:42:27.521334Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][14][StateInit] bootstrapping 14 [18:7561474382347850029:2405]
CallPersQueueGRPC request to localhost:17920
2025-10-15T15:42:27.521854Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037895][Partition][14][StateInit] init complete for topic 'rt3.dc1--topic1' partition 14 generation 1 [18:7561474382347850029:2405]
2025-10-15T15:42:27.522206Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][12][StateInit] bootstrapping 12 [18:7561474382347850034:2405]
2025-10-15T15:42:27.522692Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037895][Partition][12][StateInit] init complete for topic 'rt3.dc1--topic1' partition 12 generation 1 [18:7561474382347850034:2405]
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-15T15:42:27.523041Z node 18 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037895][Partition][10][StateInit] bootstrapping 10 [18:7561474382347850035:2405]
2025-10-15T15:42:27.523486Z node 18 :PERSQUEUE INFO: partition.cpp:698: [72075186224037895][Partition][10][StateInit] init complete for topic 'rt3.dc1--topic1' partition 10 generation 1 [18:7561474382347850035:2405]
2025-10-15T15:42:27.527845Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:908: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-15T15:42:27.597629Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 15
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 2
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 2
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976720674
    CreateStep: 1760542946883
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 3
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 3
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 2
    }
    ChildrenExist: false
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 13
    TotalGroupCount: 15
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 60000...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976720674
    CreateStep: 1760542946883
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 3
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 3
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 2
    }
    ChildrenExist: false
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 13
    TotalGroupCount: 15
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000
      }
      LocalDC: true
      Codecs {
        Ids: 0
        Ids: 1
        Ids: 2
        Codecs: "raw"
        Codecs: "gzip"
        Codecs: "lzop"
      }
      YdbDatabasePath: "/Root"
      Consumers {
        Name: "user"
        ReadFromTimestampsMs: 0
        FormatVersion: 0
        Version: 0
      }
    }
    Partitions {
      PartitionId: 0
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 1
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 2
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 3
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 4
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 5
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 6
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 7
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 8
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 9
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 10
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 11
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 12
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 13
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 14
      TabletId: 72075186224037895
      Status: Active
    }
    AlterVersion: 2
    BalancerTabletID: 72075186224037894
    NextPartitionId: 15
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 1
      PlanResolution: 7
      Coordinators: 72057594046316545
      TimeCastBucketsPerMediator: 2
      Mediators: 72057594046382081
    }
    DomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    PathsInside: 12
    PathsLimit: 10000
    ShardsInside: 8
    ShardsLimit: 200000
    ResourcesDomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    DiskSpaceUsage {
      Tables {
        TotalSize: 0
        DataSize: 0
        IndexSize: 0
      }
      Topics {
        ReserveSize: 0
        AccountSize: 0
        DataSize: 0
        UsedReserveSize: 0
      }
    }
    PQPartitionsInside: 15
    PQPartitionsLimit: 1000000
    SchemeLimits {
      MaxDepth: 32
      MaxPaths: 10000
      MaxChildrenInDir: 100000
      MaxAclBytesSize: 10240
      MaxTableColumns: 200
      MaxTableColumnNameLength: 255
      MaxTableKeyColumns: 30
      MaxTableIndices: 20
      MaxShards: 200000
      MaxShardsInPath: 35000
      MaxConsistentCopyTargets: 10000
      MaxPathElementLength: 255
      ExtraPathSymbolsAllowed: "!\"#$%&\'()*+,-.:;<=>?@[\\]^_`{|}~"
      MaxPQPartitions: 1000000
      MaxTableCdcStreams: 5
      MaxExports: 10
      MaxImports: 10
      MaxColumnTableColumns: 10000
    }
  }
}
Path: "/Root/PQ/rt3.dc1--topic1"
 name rt3.dc1--topic1 version2
2025-10-15T15:42:27.599655Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:27.599676Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-10-15T15:42:27.599849Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-10-15T15:42:27.599890Z 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]:52884
2025-10-15T15:42:27.599895Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:27.599899Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:27.600309Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-10-15T15:42:27.600343Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:27.600354Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:27.600356Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:27.600362Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474384556451889:2486] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:27.600965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474384556451889:2486] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:27.605425Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474384556451889:2486] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:27.608248Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474384556451889:2486] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:27.608276Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474384556451889:2486] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=0
2025-10-15T15:42:27.608279Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474384556451889:2486] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:27.608286Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-15T15:42:27.608441Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:27.608494Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|9d22ec0c-92215d8e-49e51bc6-f2421ac8_0 generated for partition 6 topic 'rt3.dc1--topic1' owner source
2025-10-15T15:42:27.608695Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 6 MaxSeqNo: 5 sessionId: source|9d22ec0c-92215d8e-49e51bc6-f2421ac8_0
request: { write_request { sequence_numbers: 6 created_at_ms: 1760542947609 sent_at_ms: 1760542947609 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-10-15T15:42:27.609307Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|9d22ec0c-92215d8e-49e51bc6-f2421ac8_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:42:27.609433Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:42:27.609511Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-15T15:42:27.610506Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 7 created_at_ms: 1760542947610 sent_at_ms: 1760542947610 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-10-15T15:42:27.611001Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|9d22ec0c-92215d8e-49e51bc6-f2421ac8_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:42:27.611086Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:42:27.611182Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-15T15:42:27.612092Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 8 created_at_ms: 1760542947612 sent_at_ms: 1760542947612 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-10-15T15:42:27.612482Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|9d22ec0c-92215d8e-49e51bc6-f2421ac8_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:42:27.612566Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:42:27.612628Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-15T15:42:27.613510Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 9 created_at_ms: 1760542947613 sent_at_ms: 1760542947613 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-10-15T15:42:27.613919Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|9d22ec0c-92215d8e-49e51bc6-f2421ac8_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:42:27.614010Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:42:27.614071Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-15T15:42:27.614842Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-15T15:42:27.615212Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|9d22ec0c-92215d8e-49e51bc6-f2421ac8_0 grpc read done: success: 0 data: 
2025-10-15T15:42:27.615221Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: source|9d22ec0c-92215d8e-49e51bc6-f2421ac8_0 grpc read failed
2025-10-15T15:42:27.615284Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 3 sessionId: source|9d22ec0c-92215d8e-49e51bc6-f2421ac8_0
2025-10-15T15:42:27.615293Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: source|9d22ec0c-92215d8e-49e51bc6-f2421ac8_0 is DEAD
1 0 
2025-10-15T15:42:27.615477Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:27.615746Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:27.615756Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 4
2025-10-15T15:42:27.615932Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-10-15T15:42:27.615977Z 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]:52884
2025-10-15T15:42:27.615985Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:27.615988Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:27.616373Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 4 sessionId:  describe result for acl check
2025-10-15T15:42:27.616399Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:27.616400Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
request: { 2025-10-15T15:42:27.616402Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:27.616406Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474384556451940:2490] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:27.616930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474384556451940:2490] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:27.618882Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474384556451940:2490] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:27.621373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474384556451940:2490] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:27.621381Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474384556451940:2490] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=0
2025-10-15T15:42:27.621384Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474384556451940:2490] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:27.621391Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 4 sessionId:  partition: 6 expectedGeneration: (NULL)
write_request { sequence_numbers: 10 sequence_numbers: 11 sequence_numbers: 12 sequence_numbers: 13 sequence_numbers: 14 created_at_ms: 1760542947622 created_at_ms: 1760542947622 created_at_ms: 1760542947622 created_at_ms: 1760542947622 created_at_ms: 1760542947622 sent_at_ms: 1760542947622 sent_at_ms: 1760542947622 sent_at_ms: 1760542947622 sent_at_ms: 1760542947622 sent_at_ms: 1760542947622 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-10-15T15:42:27.621794Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:27.621843Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|e2eacab2-b2de0a85-ccc9a833-67a399d6_0 generated for partition 6 topic 'rt3.dc1--topic1' owner source
2025-10-15T15:42:27.621967Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 4 partition: 6 MaxSeqNo: 9 sessionId: source|e2eacab2-b2de0a85-ccc9a833-67a399d6_0
2025-10-15T15:42:27.707320Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|e2eacab2-b2de0a85-ccc9a833-67a399d6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:42:27.707475Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:42:27.707695Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-15T15:42:27.709440Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) 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: 1760542947709 created_at_ms: 1760542947709 created_at_ms: 1760542947709 created_at_ms: 1760542947709 created_at_ms: 1760542947709 sent_at_ms: 1760542947709 sent_at_ms: 1760542947709 sent_at_ms: 1760542947709 sent_at_ms: 1760542947709 sent_at_ms: 1760542947709 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-10-15T15:42:27.710119Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|e2eacab2-b2de0a85-ccc9a833-67a399d6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:42:27.710271Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:42:27.710378Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-15T15:42:27.711566Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) 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: 1760542947711 created_at_ms: 1760542947711 created_at_ms: 1760542947711 created_at_ms: 1760542947711 created_at_ms: 1760542947711 sent_at_ms: 1760542947711 sent_at_ms: 1760542947711 sent_at_ms: 1760542947711 sent_at_ms: 1760542947711 sent_at_ms: 1760542947711 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-10-15T15:42:27.712308Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|e2eacab2-b2de0a85-ccc9a833-67a399d6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:42:27.712443Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:42:27.712531Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-15T15:42:27.713491Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) 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: 1760542947713 created_at_ms: 1760542947713 created_at_ms: 1760542947713 created_at_ms: 1760542947713 created_at_ms: 1760542947713 sent_at_ms: 1760542947713 sent_at_ms: 1760542947713 sent_at_ms: 1760542947713 sent_at_ms: 1760542947713 sent_at_ms: 1760542947713 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-10-15T15:42:27.713988Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|e2eacab2-b2de0a85-ccc9a833-67a399d6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-15T15:42:27.714111Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-15T15:42:27.714173Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-15T15:42:27.715124Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-15T15:42:27.715438Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|e2eacab2-b2de0a85-ccc9a833-67a399d6_0 grpc read done: success: 0 data: 
2025-10-15T15:42:27.715447Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 4 sessionId: source|e2eacab2-b2de0a85-ccc9a833-67a399d6_0 grpc read failed
2025-10-15T15:42:27.715554Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 4 sessionId: source|e2eacab2-b2de0a85-ccc9a833-67a399d6_0
2025-10-15T15:42:27.715577Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 4 sessionId: source|e2eacab2-b2de0a85-ccc9a833-67a399d6_0 is DEAD
1 0 
2025-10-15T15:42:27.715726Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:27.716098Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:27.716107Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 5
2025-10-15T15:42:27.716276Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 5 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic2" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-10-15T15:42:27.716326Z 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]:52884
2025-10-15T15:42:27.716334Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic2 durationSec=0
2025-10-15T15:42:27.716337Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:27.716686Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:815: session v1 error cookie: 5 reason: no path 'Root/PQ/rt3.dc1--topic2', Marker# PQ15 sessionId: 
2025-10-15T15:42:27.716800Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 5 sessionId:  is DEAD
{ status: SCHEME_ERROR issues { message: "no path \'Root/PQ/rt3.dc1--topic2\', Marker# PQ15" issue_code: 500017 severity: 1 } }
2025-10-15T15:42:27.808968Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:27.808979Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 6
2025-10-15T15:42:27.809096Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" partition_group_id: 2 }
2025-10-15T15:42:27.809125Z 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]:52884
2025-10-15T15:42:27.809129Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:27.809132Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:27.809563Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 6 sessionId:  describe result for acl check
2025-10-15T15:42:27.809612Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:27.809618Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:27.809620Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:27.809625Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474384556452003:2497] (SourceId=sid1, PreferedPartition=1) StartKqpSession
2025-10-15T15:42:27.810241Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474384556452003:2497] (SourceId=sid1, PreferedPartition=1) Select from the table
2025-10-15T15:42:27.812179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474384556452003:2497] (SourceId=sid1, PreferedPartition=1) Update the table
2025-10-15T15:42:27.814937Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474384556452003:2497] (SourceId=sid1, PreferedPartition=1) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:27.814948Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474384556452003:2497] (SourceId=sid1, PreferedPartition=1) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-15T15:42:27.814951Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474384556452003:2497] (SourceId=sid1, PreferedPartition=1) Start idle
2025-10-15T15:42:27.814957Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 6 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-15T15:42:27.815086Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:27.815135Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|2d8c0a39-2e23f50e-2850a5a7-2842d2b2_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-10-15T15:42:27.815292Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 6 partition: 1 MaxSeqNo: 0 sessionId: sid1|2d8c0a39-2e23f50e-2850a5a7-2842d2b2_0
Init result: { status: SUCCESS init_response { session_id: "sid1|2d8c0a39-2e23f50e-2850a5a7-2842d2b2_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:27.815979Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId: sid1|2d8c0a39-2e23f50e-2850a5a7-2842d2b2_0 grpc read done: success: 0 data: 
2025-10-15T15:42:27.815992Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 6 sessionId: sid1|2d8c0a39-2e23f50e-2850a5a7-2842d2b2_0 grpc read failed
2025-10-15T15:42:27.815998Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 6 sessionId: sid1|2d8c0a39-2e23f50e-2850a5a7-2842d2b2_0 grpc closed
2025-10-15T15:42:27.816002Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 6 sessionId: sid1|2d8c0a39-2e23f50e-2850a5a7-2842d2b2_0 is DEAD
2025-10-15T15:42:27.816233Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:27.816244Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 7
2025-10-15T15:42:27.816315Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:27.816402Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" }
2025-10-15T15:42:27.816432Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 7 topic: "topic1" message_group_id: "sid1" from ipv6:[::1]:52884
2025-10-15T15:42:27.816434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:27.816438Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:27.816784Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 7 sessionId:  describe result for acl check
2025-10-15T15:42:27.816848Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:27.816856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:27.816858Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:27.816864Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474384556452045:2502] (SourceId=sid1, PreferedPartition=(NULL)) StartKqpSession
Init result: { 2025-10-15T15:42:27.817451Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474384556452045:2502] (SourceId=sid1, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:27.818711Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474384556452045:2502] (SourceId=sid1, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:27.821038Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474384556452045:2502] (SourceId=sid1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:27.821043Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474384556452045:2502] (SourceId=sid1, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2025-10-15T15:42:27.821046Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474384556452045:2502] (SourceId=sid1, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:27.821051Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-15T15:42:27.821342Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:27.821397Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|42054a86-d95ba033-aeafdf2-943e5db_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
status: SUCCESS init_response { session_id: "sid1|42054a86-d95ba033-aeafdf2-943e5db_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:27.821505Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: sid1|42054a86-d95ba033-aeafdf2-943e5db_0
2025-10-15T15:42:27.909764Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId: sid1|42054a86-d95ba033-aeafdf2-943e5db_0 grpc read done: success: 0 data: 
2025-10-15T15:42:27.909786Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 7 sessionId: sid1|42054a86-d95ba033-aeafdf2-943e5db_0 grpc read failed
2025-10-15T15:42:27.909813Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 7 sessionId: sid1|42054a86-d95ba033-aeafdf2-943e5db_0 grpc closed
2025-10-15T15:42:27.909822Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 7 sessionId: sid1|42054a86-d95ba033-aeafdf2-943e5db_0 is DEAD
2025-10-15T15:42:27.909892Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:27.909904Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 8
2025-10-15T15:42:27.910122Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sidx" }
2025-10-15T15:42:27.910160Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 8 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:52884
2025-10-15T15:42:27.910172Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:27.910178Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:27.910296Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:27.910684Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 8 sessionId:  describe result for acl check
2025-10-15T15:42:27.910719Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:27.910727Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:27.910729Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:27.910736Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474384556452099:2512] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:27.911457Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474384556452099:2512] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:27.913513Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474384556452099:2512] (SourceId=sidx, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:27.913635Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474384556452115:2512] connected; active server actors: 1
2025-10-15T15:42:27.913663Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474384556452099:2512] (SourceId=sidx, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sidx
2025-10-15T15:42:27.913667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474384556452099:2512] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:27.913702Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474384556452115:2512] disconnected.
2025-10-15T15:42:27.913710Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474384556452115:2512] disconnected; active server actors: 1
2025-10-15T15:42:27.913713Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474384556452115:2512] disconnected no session
2025-10-15T15:42:27.916799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474384556452099:2512] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:27.916814Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474384556452099:2512] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-15T15:42:27.916819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474384556452099:2512] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:27.916828Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 8 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-15T15:42:27.917243Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|c31d87d9-6e3f12df-9cc0c4cb-9e717e7_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sidx
2025-10-15T15:42:27.917163Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:27.917662Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 8 partition: 7 MaxSeqNo: 0 sessionId: sidx|c31d87d9-6e3f12df-9cc0c4cb-9e717e7_0
Init result: { status: SUCCESS init_response { session_id: "sidx|c31d87d9-6e3f12df-9cc0c4cb-9e717e7_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:27.918363Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId: sidx|c31d87d9-6e3f12df-9cc0c4cb-9e717e7_0 grpc read done: success: 0 data: 
2025-10-15T15:42:27.918370Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 8 sessionId: sidx|c31d87d9-6e3f12df-9cc0c4cb-9e717e7_0 grpc read failed
2025-10-15T15:42:27.918375Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 8 sessionId: sidx|c31d87d9-6e3f12df-9cc0c4cb-9e717e7_0 grpc closed
2025-10-15T15:42:27.918380Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 8 sessionId: sidx|c31d87d9-6e3f12df-9cc0c4cb-9e717e7_0 is DEAD
2025-10-15T15:42:27.918551Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:27.918561Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 9
2025-10-15T15:42:27.918646Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:27.918689Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sidx" }
2025-10-15T15:42:27.918719Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 9 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:52884
2025-10-15T15:42:27.918737Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:27.918744Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:27.919212Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 9 sessionId:  describe result for acl check
2025-10-15T15:42:27.919243Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:27.919248Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:27.919250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:27.925116Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|869e963c-104db524-5d72a2af-6bdcd562_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sidx
Init result: { 2025-10-15T15:42:27.919254Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474384556452135:2516] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:27.919887Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474384556452135:2516] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:27.921828Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474384556452135:2516] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:27.924719Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474384556452135:2516] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:27.924726Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474384556452135:2516] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=0
status: SUCCESS init_response { session_id: "sidx|869e963c-104db524-5d72a2af-6bdcd562_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:27.924730Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474384556452135:2516] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:27.924738Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 9 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-15T15:42:27.925023Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:27.925455Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 9 partition: 7 MaxSeqNo: 0 sessionId: sidx|869e963c-104db524-5d72a2af-6bdcd562_0
2025-10-15T15:42:28.011249Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId: sidx|869e963c-104db524-5d72a2af-6bdcd562_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.011267Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 9 sessionId: sidx|869e963c-104db524-5d72a2af-6bdcd562_0 grpc read failed
2025-10-15T15:42:28.011279Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 9 sessionId: sidx|869e963c-104db524-5d72a2af-6bdcd562_0 grpc closed
2025-10-15T15:42:28.011288Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 9 sessionId: sidx|869e963c-104db524-5d72a2af-6bdcd562_0 is DEAD
2025-10-15T15:42:28.011493Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.011524Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 10
2025-10-15T15:42:28.011741Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.011745Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 10 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" partition_group_id: 3 }
2025-10-15T15:42:28.011777Z 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]:52884
2025-10-15T15:42:28.011784Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.011788Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.012325Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 10 sessionId:  describe result for acl check
2025-10-15T15:42:28.012372Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.012388Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.012391Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:28.012397Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851419476:2522] (SourceId=sid1, PreferedPartition=2) StartKqpSession
2025-10-15T15:42:28.013164Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851419476:2522] (SourceId=sid1, PreferedPartition=2) Select from the table
2025-10-15T15:42:28.015707Z node 17 :PQ_PARTITION_CHOOSER INFO: partition_chooser_impl__abstract_chooser_actor.h:312: TPartitionChooser [17:7561474388851419476:2522] (SourceId=sid1, PreferedPartition=2) ReplyError: MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all.
2025-10-15T15:42:28.015737Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:815: session v1 error cookie: 10 reason: MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all. sessionId: 
2025-10-15T15:42:28.015918Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 10 sessionId:  is DEAD
Init result: { status: BAD_REQUEST issues { message: "MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all." issue_code: 500003 severity: 1 } }
2025-10-15T15:42:28.016672Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.016683Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 11
2025-10-15T15:42:28.016866Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_0" }
2025-10-15T15:42:28.016902Z 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]:52884
2025-10-15T15:42:28.016911Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=11 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.016915Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.017441Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 11 sessionId:  describe result for acl check
2025-10-15T15:42:28.017487Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.017497Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.017499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:28.017505Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851419498:2526] (SourceId=sid_rand_0, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.018121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851419498:2526] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.020268Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851419498:2526] (SourceId=sid_rand_0, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.020400Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419517:2526] connected; active server actors: 1
2025-10-15T15:42:28.020416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851419498:2526] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_0
2025-10-15T15:42:28.020421Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851419498:2526] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.020487Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419517:2526] disconnected.
2025-10-15T15:42:28.020500Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419517:2526] disconnected; active server actors: 1
2025-10-15T15:42:28.020503Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419517:2526] disconnected no session
2025-10-15T15:42:28.023702Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851419498:2526] (SourceId=sid_rand_0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.023727Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851419498:2526] (SourceId=sid_rand_0, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
Init result: { 2025-10-15T15:42:28.023732Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851419498:2526] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.023740Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 11 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-15T15:42:28.023920Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:28.023966Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_0|b0aaed9c-c41f52c7-855c51ab-d4d66737_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_0
status: SUCCESS init_response { session_id: "sid_rand_0|b0aaed9c-c41f52c7-855c51ab-d4d66737_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }2025-10-15T15:42:28.024115Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 11 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_0|b0aaed9c-c41f52c7-855c51ab-d4d66737_0
2025-10-15T15:42:28.112666Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId: sid_rand_0|b0aaed9c-c41f52c7-855c51ab-d4d66737_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.112684Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 11 sessionId: sid_rand_0|b0aaed9c-c41f52c7-855c51ab-d4d66737_0 grpc read failed
2025-10-15T15:42:28.112695Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 11 sessionId: sid_rand_0|b0aaed9c-c41f52c7-855c51ab-d4d66737_0 grpc closed
2025-10-15T15:42:28.112703Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 11 sessionId: sid_rand_0|b0aaed9c-c41f52c7-855c51ab-d4d66737_0 is DEAD
2025-10-15T15:42:28.112820Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.112840Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 12
2025-10-15T15:42:28.112930Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.112972Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_1" }
2025-10-15T15:42:28.113013Z 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]:52884
2025-10-15T15:42:28.113019Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=12 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.113025Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.113529Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 12 sessionId:  describe result for acl check
2025-10-15T15:42:28.113569Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.113580Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.113582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:28.113589Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851419539:2530] (SourceId=sid_rand_1, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.114309Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851419539:2530] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.120448Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851419539:2530] (SourceId=sid_rand_1, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.120626Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419558:2530] connected; active server actors: 1
2025-10-15T15:42:28.120653Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851419539:2530] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_1
2025-10-15T15:42:28.120664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851419539:2530] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.120752Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419558:2530] disconnected.
2025-10-15T15:42:28.120762Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419558:2530] disconnected; active server actors: 1
2025-10-15T15:42:28.120765Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419558:2530] disconnected no session
2025-10-15T15:42:28.125358Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851419539:2530] (SourceId=sid_rand_1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.125376Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851419539:2530] (SourceId=sid_rand_1, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-15T15:42:28.125382Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851419539:2530] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.125392Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 12 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-15T15:42:28.125898Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:28.126010Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_1|6c989a7-e9a6580e-f742e869-76af22f3_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_1
2025-10-15T15:42:28.126424Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 12 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_1|6c989a7-e9a6580e-f742e869-76af22f3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_1|6c989a7-e9a6580e-f742e869-76af22f3_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:28.127327Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId: sid_rand_1|6c989a7-e9a6580e-f742e869-76af22f3_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.127336Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 12 sessionId: sid_rand_1|6c989a7-e9a6580e-f742e869-76af22f3_0 grpc read failed
2025-10-15T15:42:28.127344Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 12 sessionId: sid_rand_1|6c989a7-e9a6580e-f742e869-76af22f3_0 grpc closed
2025-10-15T15:42:28.127350Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 12 sessionId: sid_rand_1|6c989a7-e9a6580e-f742e869-76af22f3_0 is DEAD
2025-10-15T15:42:28.127562Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.127584Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 13
2025-10-15T15:42:28.127799Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.127820Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_2" }
2025-10-15T15:42:28.127848Z 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]:52884
2025-10-15T15:42:28.127861Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=13 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.127867Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.128438Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 13 sessionId:  describe result for acl check
2025-10-15T15:42:28.128469Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.128477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.128479Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:28.128485Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851419578:2534] (SourceId=sid_rand_2, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.129365Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851419578:2534] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.131638Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851419578:2534] (SourceId=sid_rand_2, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.131771Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419594:2534] connected; active server actors: 1
2025-10-15T15:42:28.131791Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851419578:2534] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_2
2025-10-15T15:42:28.131803Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851419578:2534] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.131894Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419594:2534] disconnected.
2025-10-15T15:42:28.135893Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_2|c6d3e192-1f63dbee-547b5350-347b9be6_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_2
Init result: { 2025-10-15T15:42:28.131904Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419594:2534] disconnected; active server actors: 1
2025-10-15T15:42:28.131920Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419594:2534] disconnected no session
2025-10-15T15:42:28.135384Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851419578:2534] (SourceId=sid_rand_2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.135399Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851419578:2534] (SourceId=sid_rand_2, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-15T15:42:28.135404Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851419578:2534] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.135423Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 13 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-15T15:42:28.135768Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:28.136306Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 13 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_2|c6d3e192-1f63dbee-547b5350-347b9be6_0
status: SUCCESS init_response { session_id: "sid_rand_2|c6d3e192-1f63dbee-547b5350-347b9be6_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:28.217352Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId: sid_rand_2|c6d3e192-1f63dbee-547b5350-347b9be6_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.217366Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 13 sessionId: sid_rand_2|c6d3e192-1f63dbee-547b5350-347b9be6_0 grpc read failed
2025-10-15T15:42:28.217490Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 13 sessionId: sid_rand_2|c6d3e192-1f63dbee-547b5350-347b9be6_0
2025-10-15T15:42:28.217502Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 13 sessionId: sid_rand_2|c6d3e192-1f63dbee-547b5350-347b9be6_0 is DEAD
2025-10-15T15:42:28.217572Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.217590Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 14
2025-10-15T15:42:28.217656Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.217811Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_3" }
2025-10-15T15:42:28.217845Z 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]:52884
2025-10-15T15:42:28.217854Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=14 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.217858Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.218383Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 14 sessionId:  describe result for acl check
2025-10-15T15:42:28.218432Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.218440Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.218442Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:28.218450Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851419614:2538] (SourceId=sid_rand_3, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.219257Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851419614:2538] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.221833Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851419614:2538] (SourceId=sid_rand_3, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.222013Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419630:2538] connected; active server actors: 1
2025-10-15T15:42:28.222035Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851419614:2538] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_3
2025-10-15T15:42:28.222040Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851419614:2538] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.222110Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419630:2538] disconnected.
2025-10-15T15:42:28.222119Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419630:2538] disconnected; active server actors: 1
2025-10-15T15:42:28.222122Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419630:2538] disconnected no session
2025-10-15T15:42:28.225446Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851419614:2538] (SourceId=sid_rand_3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.225462Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851419614:2538] (SourceId=sid_rand_3, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-15T15:42:28.225876Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_3|f6e3fa05-a4858c18-d6b6b052-30739417_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_3
Init result: { 2025-10-15T15:42:28.225466Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851419614:2538] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.225475Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 14 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-15T15:42:28.225760Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:28.226301Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 14 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_3|f6e3fa05-a4858c18-d6b6b052-30739417_0
status: SUCCESS init_response { session_id: "sid_rand_3|f6e3fa05-a4858c18-d6b6b052-30739417_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:28.317304Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId: sid_rand_3|f6e3fa05-a4858c18-d6b6b052-30739417_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.317322Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 14 sessionId: sid_rand_3|f6e3fa05-a4858c18-d6b6b052-30739417_0 grpc read failed
2025-10-15T15:42:28.317333Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 14 sessionId: sid_rand_3|f6e3fa05-a4858c18-d6b6b052-30739417_0 grpc closed
2025-10-15T15:42:28.317340Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 14 sessionId: sid_rand_3|f6e3fa05-a4858c18-d6b6b052-30739417_0 is DEAD
2025-10-15T15:42:28.317411Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.317424Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 15
2025-10-15T15:42:28.317535Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_4" }
2025-10-15T15:42:28.317567Z 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]:52884
2025-10-15T15:42:28.317579Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=15 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.317584Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.317741Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.318160Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 15 sessionId:  describe result for acl check
2025-10-15T15:42:28.318194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.318202Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.318204Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:28.318210Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851419652:2542] (SourceId=sid_rand_4, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.319000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851419652:2542] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.321141Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851419652:2542] (SourceId=sid_rand_4, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.321228Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419671:2542] connected; active server actors: 1
2025-10-15T15:42:28.321244Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851419652:2542] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_4
2025-10-15T15:42:28.321248Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851419652:2542] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.321309Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419671:2542] disconnected.
2025-10-15T15:42:28.321318Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419671:2542] disconnected; active server actors: 1
2025-10-15T15:42:28.321320Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419671:2542] disconnected no session
2025-10-15T15:42:28.323969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851419652:2542] (SourceId=sid_rand_4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.323982Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851419652:2542] (SourceId=sid_rand_4, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-15T15:42:28.323986Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851419652:2542] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.323993Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 15 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-15T15:42:28.324381Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:28.324526Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_4|800dd607-e83a8449-2a53a54f-1497f4_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_4
2025-10-15T15:42:28.324871Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 15 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_4|800dd607-e83a8449-2a53a54f-1497f4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_4|800dd607-e83a8449-2a53a54f-1497f4_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:28.325513Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId: sid_rand_4|800dd607-e83a8449-2a53a54f-1497f4_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.325533Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 15 sessionId: sid_rand_4|800dd607-e83a8449-2a53a54f-1497f4_0 grpc read failed
2025-10-15T15:42:28.325551Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 15 sessionId: sid_rand_4|800dd607-e83a8449-2a53a54f-1497f4_0
2025-10-15T15:42:28.325556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 15 sessionId: sid_rand_4|800dd607-e83a8449-2a53a54f-1497f4_0 is DEAD
2025-10-15T15:42:28.325665Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.325816Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.325824Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 16
2025-10-15T15:42:28.325974Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_5" }
2025-10-15T15:42:28.326028Z 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]:52884
2025-10-15T15:42:28.326035Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=16 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.326045Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.326500Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 16 sessionId:  describe result for acl check
2025-10-15T15:42:28.326538Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.326545Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.326547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:28.326551Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851419691:2546] (SourceId=sid_rand_5, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.327167Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851419691:2546] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.329043Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851419691:2546] (SourceId=sid_rand_5, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.329121Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419707:2546] connected; active server actors: 1
2025-10-15T15:42:28.329151Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851419691:2546] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_5
2025-10-15T15:42:28.329157Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851419691:2546] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.329209Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419707:2546] disconnected.
2025-10-15T15:42:28.332677Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_5|8babee51-9804cc16-1d116e78-7823c90c_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_5
Init result: { 2025-10-15T15:42:28.329218Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419707:2546] disconnected; active server actors: 1
2025-10-15T15:42:28.329220Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419707:2546] disconnected no session
2025-10-15T15:42:28.332189Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851419691:2546] (SourceId=sid_rand_5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.332196Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851419691:2546] (SourceId=sid_rand_5, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-15T15:42:28.332200Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851419691:2546] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.332206Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 16 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-15T15:42:28.332546Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:28.333065Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 16 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_5|8babee51-9804cc16-1d116e78-7823c90c_0
status: SUCCESS init_response { session_id: "sid_rand_5|8babee51-9804cc16-1d116e78-7823c90c_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:28.420637Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId: sid_rand_5|8babee51-9804cc16-1d116e78-7823c90c_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.420668Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 16 sessionId: sid_rand_5|8babee51-9804cc16-1d116e78-7823c90c_0 grpc read failed
2025-10-15T15:42:28.420678Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 16 sessionId: sid_rand_5|8babee51-9804cc16-1d116e78-7823c90c_0 grpc closed
2025-10-15T15:42:28.420684Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 16 sessionId: sid_rand_5|8babee51-9804cc16-1d116e78-7823c90c_0 is DEAD
2025-10-15T15:42:28.420753Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.420765Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 17
2025-10-15T15:42:28.420889Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_6" }
2025-10-15T15:42:28.420918Z 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]:52884
2025-10-15T15:42:28.420924Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=17 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.420928Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.421015Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.421331Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 17 sessionId:  describe result for acl check
2025-10-15T15:42:28.421361Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.421363Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.421365Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:28.421370Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851419727:2550] (SourceId=sid_rand_6, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.421945Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851419727:2550] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.423880Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851419727:2550] (SourceId=sid_rand_6, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.423991Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419743:2550] connected; active server actors: 1
2025-10-15T15:42:28.424007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851419727:2550] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_6
2025-10-15T15:42:28.424011Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851419727:2550] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.424067Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419743:2550] disconnected.
2025-10-15T15:42:28.424075Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419743:2550] disconnected; active server actors: 1
2025-10-15T15:42:28.424082Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419743:2550] disconnected no session
2025-10-15T15:42:28.426825Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851419727:2550] (SourceId=sid_rand_6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.426842Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851419727:2550] (SourceId=sid_rand_6, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-15T15:42:28.426847Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851419727:2550] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.426858Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 17 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-15T15:42:28.427172Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:28.427316Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_6|6b809de1-f89cea18-3f1dbfcc-ca09ba8b_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_6
2025-10-15T15:42:28.427683Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 17 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_6|6b809de1-f89cea18-3f1dbfcc-ca09ba8b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_6|6b809de1-f89cea18-3f1dbfcc-ca09ba8b_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:28.428483Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId: sid_rand_6|6b809de1-f89cea18-3f1dbfcc-ca09ba8b_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.428492Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 17 sessionId: sid_rand_6|6b809de1-f89cea18-3f1dbfcc-ca09ba8b_0 grpc read failed
2025-10-15T15:42:28.428498Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 17 sessionId: sid_rand_6|6b809de1-f89cea18-3f1dbfcc-ca09ba8b_0 grpc closed
2025-10-15T15:42:28.428504Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 17 sessionId: sid_rand_6|6b809de1-f89cea18-3f1dbfcc-ca09ba8b_0 is DEAD
2025-10-15T15:42:28.428598Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.428609Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 18
2025-10-15T15:42:28.428784Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.428801Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_7" }
2025-10-15T15:42:28.428862Z 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]:52884
2025-10-15T15:42:28.428884Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=18 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.428888Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.429308Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 18 sessionId:  describe result for acl check
2025-10-15T15:42:28.429339Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.429341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
Init result: { 2025-10-15T15:42:28.429342Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:28.429347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851419763:2554] (SourceId=sid_rand_7, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.429992Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851419763:2554] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.432022Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851419763:2554] (SourceId=sid_rand_7, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.432116Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419780:2554] connected; active server actors: 1
status: SUCCESS init_response { session_id: "sid_rand_7|54d6e703-a8895182-d88f1b91-2c51ebe7_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }2025-10-15T15:42:28.432140Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851419763:2554] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_7
2025-10-15T15:42:28.432145Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851419763:2554] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.432200Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419780:2554] disconnected.
2025-10-15T15:42:28.432203Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419780:2554] disconnected; active server actors: 1
2025-10-15T15:42:28.432206Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419780:2554] disconnected no session
2025-10-15T15:42:28.435213Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851419763:2554] (SourceId=sid_rand_7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.435222Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851419763:2554] (SourceId=sid_rand_7, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-15T15:42:28.435227Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851419763:2554] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.435236Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 18 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-15T15:42:28.435460Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:28.435512Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_7|54d6e703-a8895182-d88f1b91-2c51ebe7_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_7
2025-10-15T15:42:28.435670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 18 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_7|54d6e703-a8895182-d88f1b91-2c51ebe7_0
2025-10-15T15:42:28.521914Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId: sid_rand_7|54d6e703-a8895182-d88f1b91-2c51ebe7_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.521929Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 18 sessionId: sid_rand_7|54d6e703-a8895182-d88f1b91-2c51ebe7_0 grpc read failed
2025-10-15T15:42:28.521953Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 18 sessionId: sid_rand_7|54d6e703-a8895182-d88f1b91-2c51ebe7_0 grpc closed
2025-10-15T15:42:28.521962Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 18 sessionId: sid_rand_7|54d6e703-a8895182-d88f1b91-2c51ebe7_0 is DEAD
2025-10-15T15:42:28.522140Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.522160Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 19
2025-10-15T15:42:28.522293Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.522323Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_8" }
2025-10-15T15:42:28.522353Z 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]:52884
2025-10-15T15:42:28.522366Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=19 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.522372Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.522863Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 19 sessionId:  describe result for acl check
2025-10-15T15:42:28.522906Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.522916Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.522918Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:28.522925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851419804:2559] (SourceId=sid_rand_8, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.523610Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851419804:2559] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.525807Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851419804:2559] (SourceId=sid_rand_8, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.525878Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419823:2559] connected; active server actors: 1
2025-10-15T15:42:28.525899Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851419804:2559] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_8
2025-10-15T15:42:28.525909Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851419804:2559] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.525968Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419823:2559] disconnected.
2025-10-15T15:42:28.525979Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419823:2559] disconnected; active server actors: 1
2025-10-15T15:42:28.525982Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419823:2559] disconnected no session
2025-10-15T15:42:28.528862Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851419804:2559] (SourceId=sid_rand_8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.528878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851419804:2559] (SourceId=sid_rand_8, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-15T15:42:28.528883Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851419804:2559] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.528893Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 19 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-15T15:42:28.529128Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:28.529170Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_8|5314be94-557f5aa2-cc644eba-bd65aea7_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_8
2025-10-15T15:42:28.529359Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 19 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_8|5314be94-557f5aa2-cc644eba-bd65aea7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_8|5314be94-557f5aa2-cc644eba-bd65aea7_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:28.530247Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId: sid_rand_8|5314be94-557f5aa2-cc644eba-bd65aea7_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.530259Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 19 sessionId: sid_rand_8|5314be94-557f5aa2-cc644eba-bd65aea7_0 grpc read failed
2025-10-15T15:42:28.530267Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 19 sessionId: sid_rand_8|5314be94-557f5aa2-cc644eba-bd65aea7_0 grpc closed
2025-10-15T15:42:28.530273Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 19 sessionId: sid_rand_8|5314be94-557f5aa2-cc644eba-bd65aea7_0 is DEAD
2025-10-15T15:42:28.530299Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.530322Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 20
2025-10-15T15:42:28.530438Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_9" }
2025-10-15T15:42:28.530472Z 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]:52884
2025-10-15T15:42:28.530483Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=20 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.530487Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.530622Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.530956Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 20 sessionId:  describe result for acl check
2025-10-15T15:42:28.530990Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.530997Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.537725Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_9|b015c32c-bc5adc7b-3dc0b561-4e435857_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_9
Init result: 2025-10-15T15:42:28.530999Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
{ 2025-10-15T15:42:28.531008Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851419844:2563] (SourceId=sid_rand_9, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.531675Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851419844:2563] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.534091Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851419844:2563] (SourceId=sid_rand_9, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.534154Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419860:2563] connected; active server actors: 1
2025-10-15T15:42:28.534168Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851419844:2563] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_9
2025-10-15T15:42:28.534174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851419844:2563] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.534234Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419860:2563] disconnected.
2025-10-15T15:42:28.534239Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419860:2563] disconnected; active server actors: 1
status: SUCCESS init_response { session_id: "sid_rand_9|b015c32c-bc5adc7b-3dc0b561-4e435857_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:28.534242Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419860:2563] disconnected no session
2025-10-15T15:42:28.537152Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851419844:2563] (SourceId=sid_rand_9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.537162Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851419844:2563] (SourceId=sid_rand_9, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-15T15:42:28.537166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851419844:2563] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.537175Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 20 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-15T15:42:28.537619Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:28.538093Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 20 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_9|b015c32c-bc5adc7b-3dc0b561-4e435857_0
2025-10-15T15:42:28.623544Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId: sid_rand_9|b015c32c-bc5adc7b-3dc0b561-4e435857_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.623563Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 20 sessionId: sid_rand_9|b015c32c-bc5adc7b-3dc0b561-4e435857_0 grpc read failed
2025-10-15T15:42:28.623587Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 20 sessionId: sid_rand_9|b015c32c-bc5adc7b-3dc0b561-4e435857_0 grpc closed
2025-10-15T15:42:28.623595Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 20 sessionId: sid_rand_9|b015c32c-bc5adc7b-3dc0b561-4e435857_0 is DEAD
2025-10-15T15:42:28.623895Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.623908Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 21
2025-10-15T15:42:28.623987Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.624077Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_10" }
2025-10-15T15:42:28.624152Z 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]:52884
2025-10-15T15:42:28.624165Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=21 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.624171Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.624737Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 21 sessionId:  describe result for acl check
2025-10-15T15:42:28.624772Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.624779Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.624781Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:28.624788Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851419881:2567] (SourceId=sid_rand_10, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.625523Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851419881:2567] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.627712Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851419881:2567] (SourceId=sid_rand_10, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.627788Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419897:2567] connected; active server actors: 1
2025-10-15T15:42:28.627815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851419881:2567] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_10
2025-10-15T15:42:28.627824Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851419881:2567] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.627902Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419897:2567] disconnected.
2025-10-15T15:42:28.627911Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419897:2567] disconnected; active server actors: 1
2025-10-15T15:42:28.627914Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419897:2567] disconnected no session
2025-10-15T15:42:28.630776Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851419881:2567] (SourceId=sid_rand_10, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.630801Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851419881:2567] (SourceId=sid_rand_10, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-15T15:42:28.630806Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851419881:2567] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.630815Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 21 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-15T15:42:28.630975Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:28.631024Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_10|6383a212-c8087435-3ef16114-9117e9b6_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_10
2025-10-15T15:42:28.631177Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 21 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_10|6383a212-c8087435-3ef16114-9117e9b6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_10|6383a212-c8087435-3ef16114-9117e9b6_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:28.631903Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId: sid_rand_10|6383a212-c8087435-3ef16114-9117e9b6_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.631913Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 21 sessionId: sid_rand_10|6383a212-c8087435-3ef16114-9117e9b6_0 grpc read failed
2025-10-15T15:42:28.631919Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 21 sessionId: sid_rand_10|6383a212-c8087435-3ef16114-9117e9b6_0 grpc closed
2025-10-15T15:42:28.631922Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 21 sessionId: sid_rand_10|6383a212-c8087435-3ef16114-9117e9b6_0 is DEAD
2025-10-15T15:42:28.632093Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.632105Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 22
2025-10-15T15:42:28.632221Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.632242Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_11" }
2025-10-15T15:42:28.632280Z 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]:52884
2025-10-15T15:42:28.632290Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=22 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.632294Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.632707Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 22 sessionId:  describe result for acl check
2025-10-15T15:42:28.632742Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.632749Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.632752Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:28.632757Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851419918:2571] (SourceId=sid_rand_11, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.633390Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851419918:2571] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.635024Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851419918:2571] (SourceId=sid_rand_11, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.635121Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419934:2571] connected; active server actors: 1
2025-10-15T15:42:28.635144Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851419918:2571] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_11
2025-10-15T15:42:28.635157Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851419918:2571] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.635218Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419934:2571] disconnected.
2025-10-15T15:42:28.635225Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419934:2571] disconnected; active server actors: 1
2025-10-15T15:42:28.635228Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419934:2571] disconnected no session
2025-10-15T15:42:28.637819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851419918:2571] (SourceId=sid_rand_11, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.637833Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851419918:2571] (SourceId=sid_rand_11, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-15T15:42:28.637837Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851419918:2571] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.638256Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_11|d6056bd5-bb7d82db-994e80b2-8cc7f4a3_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_11
Init result: 2025-10-15T15:42:28.637845Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 22 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-15T15:42:28.638148Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
{ 2025-10-15T15:42:28.638580Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 22 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_11|d6056bd5-bb7d82db-994e80b2-8cc7f4a3_0
status: SUCCESS init_response { session_id: "sid_rand_11|d6056bd5-bb7d82db-994e80b2-8cc7f4a3_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:28.729691Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId: sid_rand_11|d6056bd5-bb7d82db-994e80b2-8cc7f4a3_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.729708Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 22 sessionId: sid_rand_11|d6056bd5-bb7d82db-994e80b2-8cc7f4a3_0 grpc read failed
2025-10-15T15:42:28.729717Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 22 sessionId: sid_rand_11|d6056bd5-bb7d82db-994e80b2-8cc7f4a3_0 grpc closed
2025-10-15T15:42:28.729723Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 22 sessionId: sid_rand_11|d6056bd5-bb7d82db-994e80b2-8cc7f4a3_0 is DEAD
2025-10-15T15:42:28.729990Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.730006Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 23
2025-10-15T15:42:28.730103Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.730179Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_12" }
2025-10-15T15:42:28.730224Z 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]:52884
2025-10-15T15:42:28.730229Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=23 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.730233Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.730642Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 23 sessionId:  describe result for acl check
2025-10-15T15:42:28.730690Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.730692Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.730694Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:28.730700Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851419955:2575] (SourceId=sid_rand_12, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.731282Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851419955:2575] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.733398Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851419955:2575] (SourceId=sid_rand_12, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.733527Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419974:2575] connected; active server actors: 1
2025-10-15T15:42:28.733547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851419955:2575] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_12
2025-10-15T15:42:28.733552Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851419955:2575] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.733600Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419974:2575] disconnected.
2025-10-15T15:42:28.733608Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419974:2575] disconnected; active server actors: 1
2025-10-15T15:42:28.733610Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851419974:2575] disconnected no session
2025-10-15T15:42:28.736020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851419955:2575] (SourceId=sid_rand_12, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.736034Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851419955:2575] (SourceId=sid_rand_12, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-15T15:42:28.736038Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851419955:2575] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.736044Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 23 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-15T15:42:28.736402Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:28.736536Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_12|2c128051-2ace8223-4dfb5eb-4e8ed178_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_12
2025-10-15T15:42:28.737009Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 23 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_12|2c128051-2ace8223-4dfb5eb-4e8ed178_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_12|2c128051-2ace8223-4dfb5eb-4e8ed178_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:28.737844Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId: sid_rand_12|2c128051-2ace8223-4dfb5eb-4e8ed178_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.737867Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 23 sessionId: sid_rand_12|2c128051-2ace8223-4dfb5eb-4e8ed178_0 grpc read failed
2025-10-15T15:42:28.737873Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 23 sessionId: sid_rand_12|2c128051-2ace8223-4dfb5eb-4e8ed178_0 grpc closed
2025-10-15T15:42:28.737877Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 23 sessionId: sid_rand_12|2c128051-2ace8223-4dfb5eb-4e8ed178_0 is DEAD
2025-10-15T15:42:28.737909Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.737916Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 24
2025-10-15T15:42:28.738133Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.738138Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_13" }
2025-10-15T15:42:28.738176Z 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]:52884
2025-10-15T15:42:28.738193Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=24 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.738198Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.738613Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 24 sessionId:  describe result for acl check
2025-10-15T15:42:28.738653Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.738656Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.738658Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:28.738664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851419994:2579] (SourceId=sid_rand_13, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.739371Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851419994:2579] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.741114Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851419994:2579] (SourceId=sid_rand_13, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.741200Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420010:2579] connected; active server actors: 1
2025-10-15T15:42:28.741222Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851419994:2579] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_13
2025-10-15T15:42:28.741230Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851419994:2579] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.741281Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420010:2579] disconnected.
2025-10-15T15:42:28.744845Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_13|149ef7de-4730fcaf-cb39fff9-37ba2306_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_13
Init result: { 2025-10-15T15:42:28.741289Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420010:2579] disconnected; active server actors: 1
2025-10-15T15:42:28.741291Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420010:2579] disconnected no session
2025-10-15T15:42:28.744378Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851419994:2579] (SourceId=sid_rand_13, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.744385Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851419994:2579] (SourceId=sid_rand_13, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-15T15:42:28.744388Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851419994:2579] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.744394Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 24 sessionId:  partition: 5 expectedGeneration: (NULL)
status: SUCCESS init_response { session_id: "sid_rand_13|149ef7de-4730fcaf-cb39fff9-37ba2306_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:28.744679Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:28.745296Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 24 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_13|149ef7de-4730fcaf-cb39fff9-37ba2306_0
2025-10-15T15:42:28.833765Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId: sid_rand_13|149ef7de-4730fcaf-cb39fff9-37ba2306_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.833781Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 24 sessionId: sid_rand_13|149ef7de-4730fcaf-cb39fff9-37ba2306_0 grpc read failed
2025-10-15T15:42:28.833792Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 24 sessionId: sid_rand_13|149ef7de-4730fcaf-cb39fff9-37ba2306_0 grpc closed
2025-10-15T15:42:28.833803Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 24 sessionId: sid_rand_13|149ef7de-4730fcaf-cb39fff9-37ba2306_0 is DEAD
2025-10-15T15:42:28.834014Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.834033Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 25
2025-10-15T15:42:28.834197Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.834211Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_14" }
2025-10-15T15:42:28.834243Z 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]:52884
2025-10-15T15:42:28.834255Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=25 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.834260Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.834778Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 25 sessionId:  describe result for acl check
2025-10-15T15:42:28.834833Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.834842Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.834844Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:28.834850Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851420031:2583] (SourceId=sid_rand_14, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.835473Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851420031:2583] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.837353Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851420031:2583] (SourceId=sid_rand_14, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.837454Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420047:2583] connected; active server actors: 1
2025-10-15T15:42:28.837478Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851420031:2583] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_14
2025-10-15T15:42:28.837488Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851420031:2583] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.837616Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420047:2583] disconnected.
2025-10-15T15:42:28.837629Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420047:2583] disconnected; active server actors: 1
2025-10-15T15:42:28.837631Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420047:2583] disconnected no session
2025-10-15T15:42:28.840069Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851420031:2583] (SourceId=sid_rand_14, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.840083Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851420031:2583] (SourceId=sid_rand_14, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-15T15:42:28.840086Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851420031:2583] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.840093Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 25 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-15T15:42:28.840267Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:28.840299Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_14|ef74118-6d7c822f-12ca38c-265455c9_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_14
2025-10-15T15:42:28.840443Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 25 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_14|ef74118-6d7c822f-12ca38c-265455c9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_14|ef74118-6d7c822f-12ca38c-265455c9_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:28.841059Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId: sid_rand_14|ef74118-6d7c822f-12ca38c-265455c9_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.841082Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 25 sessionId: sid_rand_14|ef74118-6d7c822f-12ca38c-265455c9_0 grpc read failed
2025-10-15T15:42:28.841088Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 25 sessionId: sid_rand_14|ef74118-6d7c822f-12ca38c-265455c9_0 grpc closed
2025-10-15T15:42:28.841091Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 25 sessionId: sid_rand_14|ef74118-6d7c822f-12ca38c-265455c9_0 is DEAD
2025-10-15T15:42:28.841272Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.841293Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 26
2025-10-15T15:42:28.841349Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.841420Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_15" }
2025-10-15T15:42:28.841450Z 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]:52884
2025-10-15T15:42:28.841459Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=26 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.841473Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.841924Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 26 sessionId:  describe result for acl check
2025-10-15T15:42:28.841963Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.841968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.847607Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_15|de24e999-22227581-8d62bb2c-28873199_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_15
Init result: { 2025-10-15T15:42:28.841988Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
status: SUCCESS init_response { session_id: "sid_rand_15|de24e999-22227581-8d62bb2c-28873199_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:28.841994Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851420068:2587] (SourceId=sid_rand_15, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.842582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851420068:2587] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.844297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851420068:2587] (SourceId=sid_rand_15, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.844365Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420084:2587] connected; active server actors: 1
2025-10-15T15:42:28.844374Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851420068:2587] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_15
2025-10-15T15:42:28.844378Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851420068:2587] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.844435Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420084:2587] disconnected.
2025-10-15T15:42:28.844438Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420084:2587] disconnected; active server actors: 1
2025-10-15T15:42:28.844440Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420084:2587] disconnected no session
2025-10-15T15:42:28.847239Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851420068:2587] (SourceId=sid_rand_15, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.847245Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851420068:2587] (SourceId=sid_rand_15, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-15T15:42:28.847249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851420068:2587] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.847255Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 26 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-15T15:42:28.847504Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:28.848027Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 26 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_15|de24e999-22227581-8d62bb2c-28873199_0
2025-10-15T15:42:28.935158Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId: sid_rand_15|de24e999-22227581-8d62bb2c-28873199_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.935179Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 26 sessionId: sid_rand_15|de24e999-22227581-8d62bb2c-28873199_0 grpc read failed
2025-10-15T15:42:28.935188Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 26 sessionId: sid_rand_15|de24e999-22227581-8d62bb2c-28873199_0 grpc closed
2025-10-15T15:42:28.935193Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 26 sessionId: sid_rand_15|de24e999-22227581-8d62bb2c-28873199_0 is DEAD
2025-10-15T15:42:28.935312Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.935329Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 27
2025-10-15T15:42:28.935485Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.935611Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_16" }
2025-10-15T15:42:28.935643Z 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]:52884
2025-10-15T15:42:28.935652Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=27 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.935656Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.936061Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 27 sessionId:  describe result for acl check
2025-10-15T15:42:28.936093Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.936100Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.936102Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:28.936107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851420131:2598] (SourceId=sid_rand_16, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.936699Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851420131:2598] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.938593Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851420131:2598] (SourceId=sid_rand_16, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.938678Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420147:2598] connected; active server actors: 1
2025-10-15T15:42:28.938698Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851420131:2598] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_16
2025-10-15T15:42:28.938702Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851420131:2598] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.938742Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420147:2598] disconnected.
2025-10-15T15:42:28.938751Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420147:2598] disconnected; active server actors: 1
2025-10-15T15:42:28.938753Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420147:2598] disconnected no session
2025-10-15T15:42:28.941334Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851420131:2598] (SourceId=sid_rand_16, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.941348Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851420131:2598] (SourceId=sid_rand_16, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-15T15:42:28.941351Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851420131:2598] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.941358Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 27 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-15T15:42:28.941468Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:28.941520Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_16|6c95476d-85709982-9489c587-3331747a_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_16
2025-10-15T15:42:28.941665Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 27 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_16|6c95476d-85709982-9489c587-3331747a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_16|6c95476d-85709982-9489c587-3331747a_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:28.942340Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId: sid_rand_16|6c95476d-85709982-9489c587-3331747a_0 grpc read done: success: 0 data: 
2025-10-15T15:42:28.942349Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 27 sessionId: sid_rand_16|6c95476d-85709982-9489c587-3331747a_0 grpc read failed
2025-10-15T15:42:28.942354Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 27 sessionId: sid_rand_16|6c95476d-85709982-9489c587-3331747a_0 grpc closed
2025-10-15T15:42:28.942359Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 27 sessionId: sid_rand_16|6c95476d-85709982-9489c587-3331747a_0 is DEAD
2025-10-15T15:42:28.942402Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:28.942411Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 28
2025-10-15T15:42:28.942561Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:28.942575Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_17" }
2025-10-15T15:42:28.942597Z 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]:52884
2025-10-15T15:42:28.942605Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=28 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:28.942608Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:28.942985Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 28 sessionId:  describe result for acl check
2025-10-15T15:42:28.943028Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:28.943035Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:28.943036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:28.943040Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474388851420168:2602] (SourceId=sid_rand_17, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:28.943599Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474388851420168:2602] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:28.944998Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474388851420168:2602] (SourceId=sid_rand_17, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:28.945052Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420184:2602] connected; active server actors: 1
2025-10-15T15:42:28.945070Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474388851420168:2602] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_17
2025-10-15T15:42:28.947761Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_17|bc5e51c7-501d1425-b63b1539-cd25094b_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_17
Init result: { 2025-10-15T15:42:28.945073Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474388851420168:2602] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:28.945123Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420184:2602] disconnected.
2025-10-15T15:42:28.945127Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420184:2602] disconnected; active server actors: 1
2025-10-15T15:42:28.945129Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474388851420184:2602] disconnected no session
2025-10-15T15:42:28.947427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474388851420168:2602] (SourceId=sid_rand_17, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:28.947431Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474388851420168:2602] (SourceId=sid_rand_17, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
status: SUCCESS init_response { session_id: "sid_rand_17|bc5e51c7-501d1425-b63b1539-cd25094b_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:28.947434Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474388851420168:2602] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:28.947439Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 28 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-15T15:42:28.947662Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:28.948090Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 28 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_17|bc5e51c7-501d1425-b63b1539-cd25094b_0
2025-10-15T15:42:29.037289Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId: sid_rand_17|bc5e51c7-501d1425-b63b1539-cd25094b_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.037302Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 28 sessionId: sid_rand_17|bc5e51c7-501d1425-b63b1539-cd25094b_0 grpc read failed
2025-10-15T15:42:29.037310Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 28 sessionId: sid_rand_17|bc5e51c7-501d1425-b63b1539-cd25094b_0 grpc closed
2025-10-15T15:42:29.037352Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 28 sessionId: sid_rand_17|bc5e51c7-501d1425-b63b1539-cd25094b_0 is DEAD
2025-10-15T15:42:29.037415Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.037438Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 29
2025-10-15T15:42:29.037591Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_18" }
2025-10-15T15:42:29.037623Z 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]:52884
2025-10-15T15:42:29.037634Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=29 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.037638Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.037726Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.038059Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 29 sessionId:  describe result for acl check
2025-10-15T15:42:29.038088Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.038098Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:29.038100Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.038105Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146387510:2608] (SourceId=sid_rand_18, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.038689Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146387510:2608] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.040532Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146387510:2608] (SourceId=sid_rand_18, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.040619Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387529:2608] connected; active server actors: 1
2025-10-15T15:42:29.040648Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146387510:2608] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_18
2025-10-15T15:42:29.040653Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146387510:2608] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.040707Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387529:2608] disconnected.
2025-10-15T15:42:29.040716Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387529:2608] disconnected; active server actors: 1
2025-10-15T15:42:29.040717Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387529:2608] disconnected no session
2025-10-15T15:42:29.043172Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146387510:2608] (SourceId=sid_rand_18, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.043188Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146387510:2608] (SourceId=sid_rand_18, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-15T15:42:29.043193Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146387510:2608] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.043199Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 29 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-15T15:42:29.043444Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:29.043555Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_18|a713fce3-24b81517-8aa1b9b8-2c6395b4_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_18
2025-10-15T15:42:29.043825Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 29 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_18|a713fce3-24b81517-8aa1b9b8-2c6395b4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_18|a713fce3-24b81517-8aa1b9b8-2c6395b4_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.044512Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId: sid_rand_18|a713fce3-24b81517-8aa1b9b8-2c6395b4_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.044520Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 29 sessionId: sid_rand_18|a713fce3-24b81517-8aa1b9b8-2c6395b4_0 grpc read failed
2025-10-15T15:42:29.044613Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 29 sessionId: sid_rand_18|a713fce3-24b81517-8aa1b9b8-2c6395b4_0
2025-10-15T15:42:29.044622Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 29 sessionId: sid_rand_18|a713fce3-24b81517-8aa1b9b8-2c6395b4_0 is DEAD
2025-10-15T15:42:29.044650Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.044669Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 30
2025-10-15T15:42:29.044725Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.044753Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_19" }
2025-10-15T15:42:29.044772Z 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]:52884
2025-10-15T15:42:29.044780Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=30 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.044783Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.045129Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 30 sessionId:  describe result for acl check
2025-10-15T15:42:29.045153Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.045160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:29.049504Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_19|753b72fc-64f87a13-dde0ac11-e3d74a2_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_19
Init result: { 2025-10-15T15:42:29.045161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.045165Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146387549:2612] (SourceId=sid_rand_19, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.045622Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146387549:2612] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.046740Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146387549:2612] (SourceId=sid_rand_19, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.046795Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387565:2612] connected; active server actors: 1
2025-10-15T15:42:29.046805Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146387549:2612] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_19
2025-10-15T15:42:29.046808Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146387549:2612] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.046852Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387565:2612] disconnected.
2025-10-15T15:42:29.046856Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387565:2612] disconnected; active server actors: 1
2025-10-15T15:42:29.046858Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387565:2612] disconnected no session
2025-10-15T15:42:29.049187Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146387549:2612] (SourceId=sid_rand_19, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
status: SUCCESS init_response { session_id: "sid_rand_19|753b72fc-64f87a13-dde0ac11-e3d74a2_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.049192Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146387549:2612] (SourceId=sid_rand_19, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-15T15:42:29.049195Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146387549:2612] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.049199Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 30 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-15T15:42:29.049424Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:29.049762Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 30 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_19|753b72fc-64f87a13-dde0ac11-e3d74a2_0
2025-10-15T15:42:29.138703Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId: sid_rand_19|753b72fc-64f87a13-dde0ac11-e3d74a2_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.138721Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 30 sessionId: sid_rand_19|753b72fc-64f87a13-dde0ac11-e3d74a2_0 grpc read failed
2025-10-15T15:42:29.138729Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 30 sessionId: sid_rand_19|753b72fc-64f87a13-dde0ac11-e3d74a2_0 grpc closed
2025-10-15T15:42:29.138734Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 30 sessionId: sid_rand_19|753b72fc-64f87a13-dde0ac11-e3d74a2_0 is DEAD
2025-10-15T15:42:29.138811Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.138824Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 31
2025-10-15T15:42:29.138956Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_20" }
2025-10-15T15:42:29.138992Z 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]:52884
2025-10-15T15:42:29.138996Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=31 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.139000Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.139081Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.139385Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 31 sessionId:  describe result for acl check
2025-10-15T15:42:29.139413Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.139420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:29.139421Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.139426Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146387586:2616] (SourceId=sid_rand_20, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.140004Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146387586:2616] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.141668Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146387586:2616] (SourceId=sid_rand_20, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.141825Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387602:2616] connected; active server actors: 1
2025-10-15T15:42:29.141845Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146387586:2616] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_20
2025-10-15T15:42:29.141850Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146387586:2616] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.141903Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387602:2616] disconnected.
2025-10-15T15:42:29.141910Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387602:2616] disconnected; active server actors: 1
2025-10-15T15:42:29.141913Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387602:2616] disconnected no session
2025-10-15T15:42:29.144529Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146387586:2616] (SourceId=sid_rand_20, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.144540Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146387586:2616] (SourceId=sid_rand_20, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-15T15:42:29.144543Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146387586:2616] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.144549Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 31 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-15T15:42:29.144763Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:29.144866Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_20|c93e0d20-27e65a85-a701f45c-6dbfbb34_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_20
2025-10-15T15:42:29.145338Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 31 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_20|c93e0d20-27e65a85-a701f45c-6dbfbb34_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_20|c93e0d20-27e65a85-a701f45c-6dbfbb34_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.146168Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId: sid_rand_20|c93e0d20-27e65a85-a701f45c-6dbfbb34_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.146176Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 31 sessionId: sid_rand_20|c93e0d20-27e65a85-a701f45c-6dbfbb34_0 grpc read failed
2025-10-15T15:42:29.146181Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 31 sessionId: sid_rand_20|c93e0d20-27e65a85-a701f45c-6dbfbb34_0 grpc closed
2025-10-15T15:42:29.146185Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 31 sessionId: sid_rand_20|c93e0d20-27e65a85-a701f45c-6dbfbb34_0 is DEAD
2025-10-15T15:42:29.146348Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.146366Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 32
2025-10-15T15:42:29.146444Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.146494Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_21" }
2025-10-15T15:42:29.146522Z 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]:52884
2025-10-15T15:42:29.146530Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=32 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.146532Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.146893Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 32 sessionId:  describe result for acl check
2025-10-15T15:42:29.146916Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.146922Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:29.146923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.146927Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146387622:2620] (SourceId=sid_rand_21, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.147387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146387622:2620] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.148740Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146387622:2620] (SourceId=sid_rand_21, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.148864Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387638:2620] connected; active server actors: 1
2025-10-15T15:42:29.148887Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146387622:2620] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_21
2025-10-15T15:42:29.151514Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_21|3e67645f-1f5dd7c6-41d7ac96-e8d91218_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_21
Init result: { 2025-10-15T15:42:29.148897Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146387622:2620] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.148974Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387638:2620] disconnected.
2025-10-15T15:42:29.148977Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387638:2620] disconnected; active server actors: 1
2025-10-15T15:42:29.148979Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387638:2620] disconnected no session
2025-10-15T15:42:29.151159Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146387622:2620] (SourceId=sid_rand_21, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.151164Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146387622:2620] (SourceId=sid_rand_21, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
status: SUCCESS init_response { session_id: "sid_rand_21|3e67645f-1f5dd7c6-41d7ac96-e8d91218_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.151167Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146387622:2620] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.151173Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 32 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-15T15:42:29.151423Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:29.151912Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 32 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_21|3e67645f-1f5dd7c6-41d7ac96-e8d91218_0
2025-10-15T15:42:29.240689Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId: sid_rand_21|3e67645f-1f5dd7c6-41d7ac96-e8d91218_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.240703Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 32 sessionId: sid_rand_21|3e67645f-1f5dd7c6-41d7ac96-e8d91218_0 grpc read failed
2025-10-15T15:42:29.240712Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 32 sessionId: sid_rand_21|3e67645f-1f5dd7c6-41d7ac96-e8d91218_0 grpc closed
2025-10-15T15:42:29.240718Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 32 sessionId: sid_rand_21|3e67645f-1f5dd7c6-41d7ac96-e8d91218_0 is DEAD
2025-10-15T15:42:29.240869Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.240880Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 33
2025-10-15T15:42:29.241056Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.241081Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_22" }
2025-10-15T15:42:29.241108Z 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]:52884
2025-10-15T15:42:29.241118Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=33 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.241123Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.241520Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 33 sessionId:  describe result for acl check
2025-10-15T15:42:29.241565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.241568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:29.241569Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.241574Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146387659:2624] (SourceId=sid_rand_22, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.242195Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146387659:2624] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.243781Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146387659:2624] (SourceId=sid_rand_22, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.243871Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387678:2624] connected; active server actors: 1
2025-10-15T15:42:29.243887Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146387659:2624] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_22
2025-10-15T15:42:29.243895Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146387659:2624] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.243939Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387678:2624] disconnected.
2025-10-15T15:42:29.243947Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387678:2624] disconnected; active server actors: 1
2025-10-15T15:42:29.243950Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387678:2624] disconnected no session
2025-10-15T15:42:29.246533Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146387659:2624] (SourceId=sid_rand_22, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.246544Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146387659:2624] (SourceId=sid_rand_22, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-15T15:42:29.246548Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146387659:2624] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.246554Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 33 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-15T15:42:29.246859Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:29.246993Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_22|c1c4dc5d-a190b9ec-3ba21b8a-fd926c9d_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_22
2025-10-15T15:42:29.247291Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 33 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_22|c1c4dc5d-a190b9ec-3ba21b8a-fd926c9d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_22|c1c4dc5d-a190b9ec-3ba21b8a-fd926c9d_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.247913Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId: sid_rand_22|c1c4dc5d-a190b9ec-3ba21b8a-fd926c9d_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.247921Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 33 sessionId: sid_rand_22|c1c4dc5d-a190b9ec-3ba21b8a-fd926c9d_0 grpc read failed
2025-10-15T15:42:29.247926Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 33 sessionId: sid_rand_22|c1c4dc5d-a190b9ec-3ba21b8a-fd926c9d_0 grpc closed
2025-10-15T15:42:29.247930Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 33 sessionId: sid_rand_22|c1c4dc5d-a190b9ec-3ba21b8a-fd926c9d_0 is DEAD
2025-10-15T15:42:29.248058Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.248068Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 34
2025-10-15T15:42:29.248204Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.248346Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_23" }
2025-10-15T15:42:29.248373Z 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]:52884
2025-10-15T15:42:29.248381Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=34 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.248384Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.248739Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 34 sessionId:  describe result for acl check
2025-10-15T15:42:29.248762Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.248767Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
Init result: { 2025-10-15T15:42:29.248769Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
status: SUCCESS init_response { session_id: "sid_rand_23|f2ef5919-fadab547-7efd8618-5e91325a_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.248773Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146387698:2628] (SourceId=sid_rand_23, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.249297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146387698:2628] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.250637Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146387698:2628] (SourceId=sid_rand_23, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.250707Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387714:2628] connected; active server actors: 1
2025-10-15T15:42:29.250717Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146387698:2628] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_23
2025-10-15T15:42:29.250720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146387698:2628] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.250768Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387714:2628] disconnected.
2025-10-15T15:42:29.250773Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387714:2628] disconnected; active server actors: 1
2025-10-15T15:42:29.250775Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387714:2628] disconnected no session
2025-10-15T15:42:29.253115Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146387698:2628] (SourceId=sid_rand_23, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.253121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146387698:2628] (SourceId=sid_rand_23, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-15T15:42:29.253124Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146387698:2628] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.253138Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 34 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-15T15:42:29.253244Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:29.253286Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_23|f2ef5919-fadab547-7efd8618-5e91325a_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_23
2025-10-15T15:42:29.253434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 34 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_23|f2ef5919-fadab547-7efd8618-5e91325a_0
2025-10-15T15:42:29.342153Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId: sid_rand_23|f2ef5919-fadab547-7efd8618-5e91325a_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.342172Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 34 sessionId: sid_rand_23|f2ef5919-fadab547-7efd8618-5e91325a_0 grpc read failed
2025-10-15T15:42:29.342192Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 34 sessionId: sid_rand_23|f2ef5919-fadab547-7efd8618-5e91325a_0 grpc closed
2025-10-15T15:42:29.342200Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 34 sessionId: sid_rand_23|f2ef5919-fadab547-7efd8618-5e91325a_0 is DEAD
2025-10-15T15:42:29.342268Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.342283Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 35
2025-10-15T15:42:29.342404Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_24" }
2025-10-15T15:42:29.342434Z 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]:52884
2025-10-15T15:42:29.342443Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=35 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.342448Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.342684Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.342898Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 35 sessionId:  describe result for acl check
2025-10-15T15:42:29.342940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.342942Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:29.342944Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.342949Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146387736:2632] (SourceId=sid_rand_24, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.343535Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146387736:2632] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.346090Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146387736:2632] (SourceId=sid_rand_24, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.346198Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387752:2632] connected; active server actors: 1
2025-10-15T15:42:29.346218Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146387736:2632] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_24
2025-10-15T15:42:29.346222Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146387736:2632] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.346282Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387752:2632] disconnected.
2025-10-15T15:42:29.346290Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387752:2632] disconnected; active server actors: 1
2025-10-15T15:42:29.346292Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387752:2632] disconnected no session
2025-10-15T15:42:29.349238Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146387736:2632] (SourceId=sid_rand_24, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.349252Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146387736:2632] (SourceId=sid_rand_24, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-15T15:42:29.349255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146387736:2632] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.349263Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 35 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-15T15:42:29.349433Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:29.349489Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_24|57732cf2-daa4f967-8c0a6b4f-b395e6ab_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_24
2025-10-15T15:42:29.349664Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 35 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_24|57732cf2-daa4f967-8c0a6b4f-b395e6ab_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_24|57732cf2-daa4f967-8c0a6b4f-b395e6ab_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.350355Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId: sid_rand_24|57732cf2-daa4f967-8c0a6b4f-b395e6ab_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.350364Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 35 sessionId: sid_rand_24|57732cf2-daa4f967-8c0a6b4f-b395e6ab_0 grpc read failed
2025-10-15T15:42:29.350370Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 35 sessionId: sid_rand_24|57732cf2-daa4f967-8c0a6b4f-b395e6ab_0 grpc closed
2025-10-15T15:42:29.350374Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 35 sessionId: sid_rand_24|57732cf2-daa4f967-8c0a6b4f-b395e6ab_0 is DEAD
2025-10-15T15:42:29.350533Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.350541Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 36
2025-10-15T15:42:29.350662Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.350665Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_25" }
2025-10-15T15:42:29.350688Z 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]:52884
2025-10-15T15:42:29.350697Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=36 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.350699Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.351130Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 36 sessionId:  describe result for acl check
2025-10-15T15:42:29.351156Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.351163Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:29.351164Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.351168Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146387773:2636] (SourceId=sid_rand_25, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.351705Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146387773:2636] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.353276Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146387773:2636] (SourceId=sid_rand_25, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.353344Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387789:2636] connected; active server actors: 1
2025-10-15T15:42:29.353361Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146387773:2636] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_25
2025-10-15T15:42:29.356632Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_25|d980437f-c1dd18cf-15561240-6648127e_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_25
Init result: { 2025-10-15T15:42:29.353368Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146387773:2636] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.353415Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387789:2636] disconnected.
2025-10-15T15:42:29.353418Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387789:2636] disconnected; active server actors: 1
2025-10-15T15:42:29.353421Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387789:2636] disconnected no session
2025-10-15T15:42:29.356212Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146387773:2636] (SourceId=sid_rand_25, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.356220Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146387773:2636] (SourceId=sid_rand_25, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-15T15:42:29.356224Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146387773:2636] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.356249Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 36 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-15T15:42:29.356531Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
status: SUCCESS init_response { session_id: "sid_rand_25|d980437f-c1dd18cf-15561240-6648127e_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.357007Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 36 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_25|d980437f-c1dd18cf-15561240-6648127e_0
2025-10-15T15:42:29.444149Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId: sid_rand_25|d980437f-c1dd18cf-15561240-6648127e_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.444164Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 36 sessionId: sid_rand_25|d980437f-c1dd18cf-15561240-6648127e_0 grpc read failed
2025-10-15T15:42:29.444171Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 36 sessionId: sid_rand_25|d980437f-c1dd18cf-15561240-6648127e_0 grpc closed
2025-10-15T15:42:29.444177Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 36 sessionId: sid_rand_25|d980437f-c1dd18cf-15561240-6648127e_0 is DEAD
2025-10-15T15:42:29.444247Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.444266Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 37
2025-10-15T15:42:29.444385Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_26" }
2025-10-15T15:42:29.444433Z 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]:52884
2025-10-15T15:42:29.444439Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=37 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.444443Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.444490Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.444859Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 37 sessionId:  describe result for acl check
2025-10-15T15:42:29.444889Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.444897Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:29.444899Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.444903Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146387811:2640] (SourceId=sid_rand_26, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.445515Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146387811:2640] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.447055Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146387811:2640] (SourceId=sid_rand_26, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.447124Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387832:2640] connected; active server actors: 1
2025-10-15T15:42:29.447151Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146387811:2640] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_26
2025-10-15T15:42:29.447154Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146387811:2640] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.447226Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387832:2640] disconnected.
2025-10-15T15:42:29.447235Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387832:2640] disconnected; active server actors: 1
2025-10-15T15:42:29.447237Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387832:2640] disconnected no session
2025-10-15T15:42:29.449630Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146387811:2640] (SourceId=sid_rand_26, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.449643Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146387811:2640] (SourceId=sid_rand_26, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-15T15:42:29.449647Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146387811:2640] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.449655Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 37 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-15T15:42:29.449801Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:29.449848Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_26|d5995be0-e37cd05d-1ffca7ef-a52655a_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_26
2025-10-15T15:42:29.450001Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 37 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_26|d5995be0-e37cd05d-1ffca7ef-a52655a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_26|d5995be0-e37cd05d-1ffca7ef-a52655a_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.450646Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId: sid_rand_26|d5995be0-e37cd05d-1ffca7ef-a52655a_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.450654Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 37 sessionId: sid_rand_26|d5995be0-e37cd05d-1ffca7ef-a52655a_0 grpc read failed
2025-10-15T15:42:29.450659Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 37 sessionId: sid_rand_26|d5995be0-e37cd05d-1ffca7ef-a52655a_0 grpc closed
2025-10-15T15:42:29.450662Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 37 sessionId: sid_rand_26|d5995be0-e37cd05d-1ffca7ef-a52655a_0 is DEAD
2025-10-15T15:42:29.450750Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.450761Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 38
2025-10-15T15:42:29.450900Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.450903Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_27" }
2025-10-15T15:42:29.450934Z 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]:52884
2025-10-15T15:42:29.450939Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=38 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.450941Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.451316Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 38 sessionId:  describe result for acl check
2025-10-15T15:42:29.451349Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.451351Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
Init result: { 2025-10-15T15:42:29.451353Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.451358Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146387853:2645] (SourceId=sid_rand_27, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.451915Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146387853:2645] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.453601Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146387853:2645] (SourceId=sid_rand_27, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.453679Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387869:2645] connected; active server actors: 1
2025-10-15T15:42:29.453698Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146387853:2645] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_27
status: SUCCESS init_response { session_id: "sid_rand_27|10be3c2c-299926ef-48624853-87671e1b_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.453705Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146387853:2645] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.453751Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387869:2645] disconnected.
2025-10-15T15:42:29.453754Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387869:2645] disconnected; active server actors: 1
2025-10-15T15:42:29.453757Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387869:2645] disconnected no session
2025-10-15T15:42:29.456382Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146387853:2645] (SourceId=sid_rand_27, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.456388Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146387853:2645] (SourceId=sid_rand_27, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-15T15:42:29.456392Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146387853:2645] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.456397Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 38 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-15T15:42:29.456509Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:29.456564Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_27|10be3c2c-299926ef-48624853-87671e1b_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_27
2025-10-15T15:42:29.456700Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 38 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_27|10be3c2c-299926ef-48624853-87671e1b_0
2025-10-15T15:42:29.546667Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId: sid_rand_27|10be3c2c-299926ef-48624853-87671e1b_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.546683Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 38 sessionId: sid_rand_27|10be3c2c-299926ef-48624853-87671e1b_0 grpc read failed
2025-10-15T15:42:29.546693Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 38 sessionId: sid_rand_27|10be3c2c-299926ef-48624853-87671e1b_0 grpc closed
2025-10-15T15:42:29.546699Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 38 sessionId: sid_rand_27|10be3c2c-299926ef-48624853-87671e1b_0 is DEAD
2025-10-15T15:42:29.546825Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.546839Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 39
2025-10-15T15:42:29.547015Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.547048Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_28" }
2025-10-15T15:42:29.547080Z 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]:52884
2025-10-15T15:42:29.547092Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=39 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.547095Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.547510Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 39 sessionId:  describe result for acl check
2025-10-15T15:42:29.547548Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.547558Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:29.547560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
Init result: { 2025-10-15T15:42:29.547568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146387890:2649] (SourceId=sid_rand_28, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.548173Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146387890:2649] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.550024Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146387890:2649] (SourceId=sid_rand_28, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.550086Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387906:2649] connected; active server actors: 1
2025-10-15T15:42:29.550096Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146387890:2649] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_28
2025-10-15T15:42:29.550101Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146387890:2649] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.550175Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387906:2649] disconnected.
status: SUCCESS init_response { session_id: "sid_rand_28|49b82c7e-d3d82870-9692a5af-12d43612_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.550178Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387906:2649] disconnected; active server actors: 1
2025-10-15T15:42:29.550183Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387906:2649] disconnected no session
2025-10-15T15:42:29.552629Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146387890:2649] (SourceId=sid_rand_28, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.552636Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146387890:2649] (SourceId=sid_rand_28, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-15T15:42:29.552640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146387890:2649] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.552647Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 39 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-15T15:42:29.552768Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:29.552811Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_28|49b82c7e-d3d82870-9692a5af-12d43612_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_28
2025-10-15T15:42:29.552952Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 39 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_28|49b82c7e-d3d82870-9692a5af-12d43612_0
2025-10-15T15:42:29.646828Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId: sid_rand_28|49b82c7e-d3d82870-9692a5af-12d43612_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.646857Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 39 sessionId: sid_rand_28|49b82c7e-d3d82870-9692a5af-12d43612_0 grpc read failed
2025-10-15T15:42:29.646866Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 39 sessionId: sid_rand_28|49b82c7e-d3d82870-9692a5af-12d43612_0 grpc closed
2025-10-15T15:42:29.646872Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 39 sessionId: sid_rand_28|49b82c7e-d3d82870-9692a5af-12d43612_0 is DEAD
2025-10-15T15:42:29.647148Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.647164Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 40
2025-10-15T15:42:29.647320Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.647322Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_29" }
2025-10-15T15:42:29.647347Z 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]:52884
2025-10-15T15:42:29.647354Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=40 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.647359Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.647830Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 40 sessionId:  describe result for acl check
2025-10-15T15:42:29.647871Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.647879Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:29.647881Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.647888Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146387929:2653] (SourceId=sid_rand_29, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.648636Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146387929:2653] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.651018Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146387929:2653] (SourceId=sid_rand_29, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.651113Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387948:2653] connected; active server actors: 1
2025-10-15T15:42:29.651137Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146387929:2653] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_29
2025-10-15T15:42:29.651142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146387929:2653] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.651199Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387948:2653] disconnected.
2025-10-15T15:42:29.651207Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387948:2653] disconnected; active server actors: 1
2025-10-15T15:42:29.651209Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387948:2653] disconnected no session
2025-10-15T15:42:29.653520Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146387929:2653] (SourceId=sid_rand_29, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.653532Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146387929:2653] (SourceId=sid_rand_29, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-15T15:42:29.653535Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146387929:2653] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.653542Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 40 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-15T15:42:29.653810Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:29.653923Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_29|e3931a29-2dfc330f-7197a6f4-6276304e_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_29
2025-10-15T15:42:29.654256Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 40 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_29|e3931a29-2dfc330f-7197a6f4-6276304e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_29|e3931a29-2dfc330f-7197a6f4-6276304e_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.655098Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId: sid_rand_29|e3931a29-2dfc330f-7197a6f4-6276304e_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.655107Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 40 sessionId: sid_rand_29|e3931a29-2dfc330f-7197a6f4-6276304e_0 grpc read failed
2025-10-15T15:42:29.655113Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 40 sessionId: sid_rand_29|e3931a29-2dfc330f-7197a6f4-6276304e_0 grpc closed
2025-10-15T15:42:29.655117Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 40 sessionId: sid_rand_29|e3931a29-2dfc330f-7197a6f4-6276304e_0 is DEAD
2025-10-15T15:42:29.655278Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.655289Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 41
2025-10-15T15:42:29.655403Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.655421Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_30" }
2025-10-15T15:42:29.655459Z 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]:52884
2025-10-15T15:42:29.655469Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=41 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.655472Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.655837Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 41 sessionId:  describe result for acl check
2025-10-15T15:42:29.655862Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.655873Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:29.655875Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.655878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146387968:2657] (SourceId=sid_rand_30, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.656449Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146387968:2657] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.657762Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146387968:2657] (SourceId=sid_rand_30, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.657835Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387984:2657] connected; active server actors: 1
2025-10-15T15:42:29.657852Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146387968:2657] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_30
2025-10-15T15:42:29.657859Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146387968:2657] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.657900Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387984:2657] disconnected.
2025-10-15T15:42:29.657908Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387984:2657] disconnected; active server actors: 1
2025-10-15T15:42:29.657911Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146387984:2657] disconnected no session
2025-10-15T15:42:29.660057Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146387968:2657] (SourceId=sid_rand_30, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.660069Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146387968:2657] (SourceId=sid_rand_30, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-15T15:42:29.660072Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146387968:2657] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.660077Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 41 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-15T15:42:29.660213Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:29.660234Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_30|8faa7144-8e127e48-83e00b56-a243c77_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_30
2025-10-15T15:42:29.660373Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 41 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_30|8faa7144-8e127e48-83e00b56-a243c77_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_30|8faa7144-8e127e48-83e00b56-a243c77_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.661200Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId: sid_rand_30|8faa7144-8e127e48-83e00b56-a243c77_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.661208Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 41 sessionId: sid_rand_30|8faa7144-8e127e48-83e00b56-a243c77_0 grpc read failed
2025-10-15T15:42:29.661212Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 41 sessionId: sid_rand_30|8faa7144-8e127e48-83e00b56-a243c77_0 grpc closed
2025-10-15T15:42:29.661215Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 41 sessionId: sid_rand_30|8faa7144-8e127e48-83e00b56-a243c77_0 is DEAD
2025-10-15T15:42:29.661339Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.661349Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 42
2025-10-15T15:42:29.661480Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.661520Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_31" }
2025-10-15T15:42:29.661547Z 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]:52884
2025-10-15T15:42:29.661549Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=42 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.661552Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.662037Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 42 sessionId:  describe result for acl check
2025-10-15T15:42:29.662083Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.662085Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:29.662087Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.662094Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146388005:2661] (SourceId=sid_rand_31, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.662764Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146388005:2661] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.664600Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146388005:2661] (SourceId=sid_rand_31, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.664693Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388021:2661] connected; active server actors: 1
2025-10-15T15:42:29.664720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146388005:2661] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_31
2025-10-15T15:42:29.664728Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146388005:2661] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.664796Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388021:2661] disconnected.
2025-10-15T15:42:29.667889Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_31|35464c50-f2cb5406-bce163ee-f0d91190_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_31
Init result: { 2025-10-15T15:42:29.664804Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388021:2661] disconnected; active server actors: 1
2025-10-15T15:42:29.664806Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388021:2661] disconnected no session
2025-10-15T15:42:29.667438Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146388005:2661] (SourceId=sid_rand_31, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.667446Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146388005:2661] (SourceId=sid_rand_31, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-15T15:42:29.667450Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146388005:2661] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.667458Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 42 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-15T15:42:29.667783Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:29.668294Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 42 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_31|35464c50-f2cb5406-bce163ee-f0d91190_0
status: SUCCESS init_response { session_id: "sid_rand_31|35464c50-f2cb5406-bce163ee-f0d91190_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.757571Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId: sid_rand_31|35464c50-f2cb5406-bce163ee-f0d91190_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.757596Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 42 sessionId: sid_rand_31|35464c50-f2cb5406-bce163ee-f0d91190_0 grpc read failed
2025-10-15T15:42:29.757616Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 42 sessionId: sid_rand_31|35464c50-f2cb5406-bce163ee-f0d91190_0 grpc closed
2025-10-15T15:42:29.757624Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 42 sessionId: sid_rand_31|35464c50-f2cb5406-bce163ee-f0d91190_0 is DEAD
2025-10-15T15:42:29.757699Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.757715Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 43
2025-10-15T15:42:29.757850Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_32" }
2025-10-15T15:42:29.757888Z 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]:52884
2025-10-15T15:42:29.757894Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=43 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.757900Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.757966Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.758441Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 43 sessionId:  describe result for acl check
2025-10-15T15:42:29.758477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.758479Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:29.758482Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.758488Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146388041:2665] (SourceId=sid_rand_32, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.759151Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146388041:2665] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.761285Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146388041:2665] (SourceId=sid_rand_32, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.761412Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388057:2665] connected; active server actors: 1
2025-10-15T15:42:29.761444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146388041:2665] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_32
2025-10-15T15:42:29.761449Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146388041:2665] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.761516Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388057:2665] disconnected.
2025-10-15T15:42:29.761524Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388057:2665] disconnected; active server actors: 1
2025-10-15T15:42:29.761528Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388057:2665] disconnected no session
2025-10-15T15:42:29.764358Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146388041:2665] (SourceId=sid_rand_32, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.764373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146388041:2665] (SourceId=sid_rand_32, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-15T15:42:29.764377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146388041:2665] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.764386Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 43 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-15T15:42:29.764750Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:29.764844Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_32|259b71c6-99e70e15-b5c96aff-7d679585_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_32
2025-10-15T15:42:29.765213Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 43 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_32|259b71c6-99e70e15-b5c96aff-7d679585_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_32|259b71c6-99e70e15-b5c96aff-7d679585_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.765938Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId: sid_rand_32|259b71c6-99e70e15-b5c96aff-7d679585_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.765950Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 43 sessionId: sid_rand_32|259b71c6-99e70e15-b5c96aff-7d679585_0 grpc read failed
2025-10-15T15:42:29.765956Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 43 sessionId: sid_rand_32|259b71c6-99e70e15-b5c96aff-7d679585_0 grpc closed
2025-10-15T15:42:29.765962Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 43 sessionId: sid_rand_32|259b71c6-99e70e15-b5c96aff-7d679585_0 is DEAD
2025-10-15T15:42:29.766078Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.766091Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 44
2025-10-15T15:42:29.766242Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.766303Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_33" }
2025-10-15T15:42:29.766342Z 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]:52884
2025-10-15T15:42:29.766352Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=44 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.766356Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.766882Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 44 sessionId:  describe result for acl check
2025-10-15T15:42:29.766916Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.766924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
Init result: { status: SUCCESS init_response { session_id: "sid_rand_33|224e2b1d-82c34617-678a243f-89bea8ce_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.766925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.766931Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146388078:2669] (SourceId=sid_rand_33, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.767551Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146388078:2669] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.769029Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146388078:2669] (SourceId=sid_rand_33, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.769129Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388094:2669] connected; active server actors: 1
2025-10-15T15:42:29.769143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146388078:2669] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_33
2025-10-15T15:42:29.769148Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146388078:2669] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.769206Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388094:2669] disconnected.
2025-10-15T15:42:29.769210Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388094:2669] disconnected; active server actors: 1
2025-10-15T15:42:29.769213Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388094:2669] disconnected no session
2025-10-15T15:42:29.771949Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146388078:2669] (SourceId=sid_rand_33, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.771956Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146388078:2669] (SourceId=sid_rand_33, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-15T15:42:29.771960Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146388078:2669] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.771967Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 44 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-15T15:42:29.772116Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:29.772190Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_33|224e2b1d-82c34617-678a243f-89bea8ce_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_33
2025-10-15T15:42:29.772370Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 44 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_33|224e2b1d-82c34617-678a243f-89bea8ce_0
2025-10-15T15:42:29.858811Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId: sid_rand_33|224e2b1d-82c34617-678a243f-89bea8ce_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.858833Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 44 sessionId: sid_rand_33|224e2b1d-82c34617-678a243f-89bea8ce_0 grpc read failed
2025-10-15T15:42:29.858841Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 44 sessionId: sid_rand_33|224e2b1d-82c34617-678a243f-89bea8ce_0 grpc closed
2025-10-15T15:42:29.858847Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 44 sessionId: sid_rand_33|224e2b1d-82c34617-678a243f-89bea8ce_0 is DEAD
2025-10-15T15:42:29.858943Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.858959Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 45
2025-10-15T15:42:29.859129Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.859157Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_34" }
2025-10-15T15:42:29.859191Z 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]:52884
2025-10-15T15:42:29.859204Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=45 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.859209Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.859856Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 45 sessionId:  describe result for acl check
2025-10-15T15:42:29.859904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.859921Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:29.859923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.859930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146388116:2673] (SourceId=sid_rand_34, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.860695Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146388116:2673] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.862959Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146388116:2673] (SourceId=sid_rand_34, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.863066Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388135:2673] connected; active server actors: 1
2025-10-15T15:42:29.863102Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146388116:2673] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_34
2025-10-15T15:42:29.863107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146388116:2673] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.863173Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388135:2673] disconnected.
2025-10-15T15:42:29.863182Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388135:2673] disconnected; active server actors: 1
2025-10-15T15:42:29.863184Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388135:2673] disconnected no session
2025-10-15T15:42:29.865536Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146388116:2673] (SourceId=sid_rand_34, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.865553Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146388116:2673] (SourceId=sid_rand_34, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-15T15:42:29.865558Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146388116:2673] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.865568Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 45 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-15T15:42:29.865930Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:29.866072Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_34|516195ff-26aee239-8cc0462c-a0fe77ab_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_34
2025-10-15T15:42:29.866494Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 45 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_34|516195ff-26aee239-8cc0462c-a0fe77ab_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_34|516195ff-26aee239-8cc0462c-a0fe77ab_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.867097Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId: sid_rand_34|516195ff-26aee239-8cc0462c-a0fe77ab_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.867106Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 45 sessionId: sid_rand_34|516195ff-26aee239-8cc0462c-a0fe77ab_0 grpc read failed
2025-10-15T15:42:29.867111Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 45 sessionId: sid_rand_34|516195ff-26aee239-8cc0462c-a0fe77ab_0 grpc closed
2025-10-15T15:42:29.867116Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 45 sessionId: sid_rand_34|516195ff-26aee239-8cc0462c-a0fe77ab_0 is DEAD
2025-10-15T15:42:29.867262Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.867276Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 46
2025-10-15T15:42:29.867396Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.867427Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_35" }
2025-10-15T15:42:29.867457Z 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]:52884
2025-10-15T15:42:29.867470Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=46 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.867474Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.867903Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 46 sessionId:  describe result for acl check
2025-10-15T15:42:29.867932Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.867938Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:29.867940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.867945Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146388155:2677] (SourceId=sid_rand_35, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.868555Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146388155:2677] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.870225Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146388155:2677] (SourceId=sid_rand_35, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.870284Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388171:2677] connected; active server actors: 1
2025-10-15T15:42:29.870294Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146388155:2677] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_35
2025-10-15T15:42:29.870297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146388155:2677] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.870353Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388171:2677] disconnected.
2025-10-15T15:42:29.870358Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388171:2677] disconnected; active server actors: 1
2025-10-15T15:42:29.870360Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388171:2677] disconnected no session
2025-10-15T15:42:29.872666Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146388155:2677] (SourceId=sid_rand_35, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.872672Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146388155:2677] (SourceId=sid_rand_35, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-15T15:42:29.872676Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146388155:2677] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.872693Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 46 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-15T15:42:29.872803Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:29.872850Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_35|6a6599a2-b6206bb0-3574afc6-edf81e0a_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_35
2025-10-15T15:42:29.872984Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 46 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_35|6a6599a2-b6206bb0-3574afc6-edf81e0a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_35|6a6599a2-b6206bb0-3574afc6-edf81e0a_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.961121Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId: sid_rand_35|6a6599a2-b6206bb0-3574afc6-edf81e0a_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.961137Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 46 sessionId: sid_rand_35|6a6599a2-b6206bb0-3574afc6-edf81e0a_0 grpc read failed
2025-10-15T15:42:29.961144Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 46 sessionId: sid_rand_35|6a6599a2-b6206bb0-3574afc6-edf81e0a_0 grpc closed
2025-10-15T15:42:29.961148Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 46 sessionId: sid_rand_35|6a6599a2-b6206bb0-3574afc6-edf81e0a_0 is DEAD
2025-10-15T15:42:29.961376Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.961380Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 47
2025-10-15T15:42:29.961424Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.961473Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_36" }
2025-10-15T15:42:29.961495Z 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]:52884
2025-10-15T15:42:29.961499Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=47 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.961501Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.961863Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 47 sessionId:  describe result for acl check
2025-10-15T15:42:29.961895Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.961904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:29.961906Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.961910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146388215:2688] (SourceId=sid_rand_36, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.962399Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146388215:2688] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.963952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146388215:2688] (SourceId=sid_rand_36, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:29.964043Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388231:2688] connected; active server actors: 1
2025-10-15T15:42:29.964061Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146388215:2688] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_36
2025-10-15T15:42:29.964065Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146388215:2688] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.964106Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388231:2688] disconnected.
2025-10-15T15:42:29.964118Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388231:2688] disconnected; active server actors: 1
2025-10-15T15:42:29.964120Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388231:2688] disconnected no session
2025-10-15T15:42:29.966421Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146388215:2688] (SourceId=sid_rand_36, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.966434Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146388215:2688] (SourceId=sid_rand_36, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-15T15:42:29.966437Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146388215:2688] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.966443Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 47 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-15T15:42:29.966709Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:29.966800Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_36|d68eda55-1ca1db45-989b07e1-1b3e4d35_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_36
2025-10-15T15:42:29.967046Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 47 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_36|d68eda55-1ca1db45-989b07e1-1b3e4d35_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_36|d68eda55-1ca1db45-989b07e1-1b3e4d35_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.967572Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId: sid_rand_36|d68eda55-1ca1db45-989b07e1-1b3e4d35_0 grpc read done: success: 0 data: 
2025-10-15T15:42:29.967580Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 47 sessionId: sid_rand_36|d68eda55-1ca1db45-989b07e1-1b3e4d35_0 grpc read failed
2025-10-15T15:42:29.967650Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 47 sessionId: sid_rand_36|d68eda55-1ca1db45-989b07e1-1b3e4d35_0
2025-10-15T15:42:29.967658Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 47 sessionId: sid_rand_36|d68eda55-1ca1db45-989b07e1-1b3e4d35_0 is DEAD
2025-10-15T15:42:29.967675Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:29.967679Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 48
2025-10-15T15:42:29.967738Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:29.973682Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_37|cf65bd64-81aea89b-4fea52fb-156990d3_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_37
Init result: { 2025-10-15T15:42:29.967817Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_37" }
2025-10-15T15:42:29.967836Z 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]:52884
2025-10-15T15:42:29.967840Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=48 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:29.967842Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:29.968232Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 48 sessionId:  describe result for acl check
2025-10-15T15:42:29.968265Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:29.968267Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:29.968269Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:29.968273Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474393146388254:2692] (SourceId=sid_rand_37, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:29.968744Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474393146388254:2692] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:29.969867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474393146388254:2692] (SourceId=sid_rand_37, PreferedPartition=(NULL)) RequestPQRB
status: SUCCESS init_response { session_id: "sid_rand_37|cf65bd64-81aea89b-4fea52fb-156990d3_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:29.969905Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388272:2692] connected; active server actors: 1
2025-10-15T15:42:29.969915Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474393146388254:2692] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_37
2025-10-15T15:42:29.969919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474393146388254:2692] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:29.969967Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388272:2692] disconnected.
2025-10-15T15:42:29.969970Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388272:2692] disconnected; active server actors: 1
2025-10-15T15:42:29.969972Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474393146388272:2692] disconnected no session
2025-10-15T15:42:29.973001Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474393146388254:2692] (SourceId=sid_rand_37, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:29.973006Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474393146388254:2692] (SourceId=sid_rand_37, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-15T15:42:29.973009Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474393146388254:2692] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:29.973014Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 48 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-15T15:42:29.973556Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:29.974045Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 48 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_37|cf65bd64-81aea89b-4fea52fb-156990d3_0
2025-10-15T15:42:30.062323Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId: sid_rand_37|cf65bd64-81aea89b-4fea52fb-156990d3_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.062344Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 48 sessionId: sid_rand_37|cf65bd64-81aea89b-4fea52fb-156990d3_0 grpc read failed
2025-10-15T15:42:30.062355Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 48 sessionId: sid_rand_37|cf65bd64-81aea89b-4fea52fb-156990d3_0 grpc closed
2025-10-15T15:42:30.062365Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 48 sessionId: sid_rand_37|cf65bd64-81aea89b-4fea52fb-156990d3_0 is DEAD
2025-10-15T15:42:30.062555Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.062576Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 49
2025-10-15T15:42:30.062800Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.062849Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_38" }
2025-10-15T15:42:30.062879Z 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]:52884
2025-10-15T15:42:30.062893Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=49 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.062897Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.063414Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 49 sessionId:  describe result for acl check
2025-10-15T15:42:30.063446Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.063452Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.063455Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.063460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441355594:2698] (SourceId=sid_rand_38, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.064065Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441355594:2698] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.066731Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441355594:2698] (SourceId=sid_rand_38, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.066892Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355613:2698] connected; active server actors: 1
2025-10-15T15:42:30.066919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441355594:2698] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_38
2025-10-15T15:42:30.066925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441355594:2698] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.067001Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355613:2698] disconnected.
2025-10-15T15:42:30.067013Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355613:2698] disconnected; active server actors: 1
2025-10-15T15:42:30.067016Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355613:2698] disconnected no session
2025-10-15T15:42:30.070865Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441355594:2698] (SourceId=sid_rand_38, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.070885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441355594:2698] (SourceId=sid_rand_38, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-15T15:42:30.070890Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441355594:2698] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.070900Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 49 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-15T15:42:30.071299Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:30.071494Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_38|f14f6d0d-b47f7e5c-cf8616-9a5e5f24_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_38
2025-10-15T15:42:30.072059Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 49 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_38|f14f6d0d-b47f7e5c-cf8616-9a5e5f24_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_38|f14f6d0d-b47f7e5c-cf8616-9a5e5f24_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.073016Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId: sid_rand_38|f14f6d0d-b47f7e5c-cf8616-9a5e5f24_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.073028Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 49 sessionId: sid_rand_38|f14f6d0d-b47f7e5c-cf8616-9a5e5f24_0 grpc read failed
2025-10-15T15:42:30.073036Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 49 sessionId: sid_rand_38|f14f6d0d-b47f7e5c-cf8616-9a5e5f24_0 grpc closed
2025-10-15T15:42:30.073045Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 49 sessionId: sid_rand_38|f14f6d0d-b47f7e5c-cf8616-9a5e5f24_0 is DEAD
2025-10-15T15:42:30.073141Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.073165Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 50
2025-10-15T15:42:30.073344Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.073401Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_39" }
2025-10-15T15:42:30.073448Z 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]:52884
2025-10-15T15:42:30.073458Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=50 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.073462Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.073982Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 50 sessionId:  describe result for acl check
2025-10-15T15:42:30.074027Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.074029Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.074032Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.074038Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441355633:2702] (SourceId=sid_rand_39, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.074724Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441355633:2702] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.077512Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441355633:2702] (SourceId=sid_rand_39, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.077630Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355649:2702] connected; active server actors: 1
2025-10-15T15:42:30.077656Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441355633:2702] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_39
2025-10-15T15:42:30.077661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441355633:2702] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.077726Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355649:2702] disconnected.
2025-10-15T15:42:30.081667Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_39|feb00032-ce6aeeb-fa4dda20-7302a802_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_39
Init result: { 2025-10-15T15:42:30.077729Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355649:2702] disconnected; active server actors: 1
2025-10-15T15:42:30.077732Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355649:2702] disconnected no session
2025-10-15T15:42:30.081141Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441355633:2702] (SourceId=sid_rand_39, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.081151Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441355633:2702] (SourceId=sid_rand_39, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-15T15:42:30.081156Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441355633:2702] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Start idle
status: SUCCESS init_response { session_id: "sid_rand_39|feb00032-ce6aeeb-fa4dda20-7302a802_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.081166Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 50 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-15T15:42:30.081540Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:30.082180Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 50 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_39|feb00032-ce6aeeb-fa4dda20-7302a802_0
2025-10-15T15:42:30.166696Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId: sid_rand_39|feb00032-ce6aeeb-fa4dda20-7302a802_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.166726Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 50 sessionId: sid_rand_39|feb00032-ce6aeeb-fa4dda20-7302a802_0 grpc read failed
2025-10-15T15:42:30.166737Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 50 sessionId: sid_rand_39|feb00032-ce6aeeb-fa4dda20-7302a802_0 grpc closed
2025-10-15T15:42:30.166750Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 50 sessionId: sid_rand_39|feb00032-ce6aeeb-fa4dda20-7302a802_0 is DEAD
2025-10-15T15:42:30.166993Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.167008Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 51
2025-10-15T15:42:30.167163Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.167183Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_40" }
2025-10-15T15:42:30.167236Z 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]:52884
2025-10-15T15:42:30.167251Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=51 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.167257Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.167781Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 51 sessionId:  describe result for acl check
2025-10-15T15:42:30.167821Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.167828Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.167831Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.167837Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441355670:2706] (SourceId=sid_rand_40, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.168647Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441355670:2706] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.171068Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441355670:2706] (SourceId=sid_rand_40, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.171208Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355686:2706] connected; active server actors: 1
2025-10-15T15:42:30.171234Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441355670:2706] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_40
2025-10-15T15:42:30.171248Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441355670:2706] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.171325Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355686:2706] disconnected.
2025-10-15T15:42:30.171345Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355686:2706] disconnected; active server actors: 1
2025-10-15T15:42:30.171348Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355686:2706] disconnected no session
2025-10-15T15:42:30.174750Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441355670:2706] (SourceId=sid_rand_40, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.174771Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441355670:2706] (SourceId=sid_rand_40, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-15T15:42:30.174776Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441355670:2706] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.174800Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 51 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-15T15:42:30.175164Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:30.175305Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_40|b5947e82-58dd7b56-6c57c139-42deb839_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_40
2025-10-15T15:42:30.175753Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 51 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_40|b5947e82-58dd7b56-6c57c139-42deb839_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_40|b5947e82-58dd7b56-6c57c139-42deb839_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.176605Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId: sid_rand_40|b5947e82-58dd7b56-6c57c139-42deb839_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.176615Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 51 sessionId: sid_rand_40|b5947e82-58dd7b56-6c57c139-42deb839_0 grpc read failed
2025-10-15T15:42:30.176776Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 51 sessionId: sid_rand_40|b5947e82-58dd7b56-6c57c139-42deb839_0
2025-10-15T15:42:30.176789Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 51 sessionId: sid_rand_40|b5947e82-58dd7b56-6c57c139-42deb839_0 is DEAD
2025-10-15T15:42:30.176815Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.176828Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 52
2025-10-15T15:42:30.176961Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.176996Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_41" }
2025-10-15T15:42:30.177035Z 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]:52884
2025-10-15T15:42:30.177058Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=52 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.177063Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.177595Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 52 sessionId:  describe result for acl check
2025-10-15T15:42:30.185036Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_41|3a38ce39-d5006a16-2942c94a-3a816b9e_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_41
Init result: { 2025-10-15T15:42:30.177628Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.177631Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.177634Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.177641Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441355706:2710] (SourceId=sid_rand_41, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.178397Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441355706:2710] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.180754Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441355706:2710] (SourceId=sid_rand_41, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.180875Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355722:2710] connected; active server actors: 1
2025-10-15T15:42:30.180894Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441355706:2710] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_41
2025-10-15T15:42:30.180901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441355706:2710] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.180973Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355722:2710] disconnected.
status: SUCCESS init_response { session_id: "sid_rand_41|3a38ce39-d5006a16-2942c94a-3a816b9e_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.180978Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355722:2710] disconnected; active server actors: 1
2025-10-15T15:42:30.180981Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355722:2710] disconnected no session
2025-10-15T15:42:30.184396Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441355706:2710] (SourceId=sid_rand_41, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.184407Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441355706:2710] (SourceId=sid_rand_41, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-15T15:42:30.184412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441355706:2710] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.184423Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 52 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-15T15:42:30.184916Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:30.185446Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 52 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_41|3a38ce39-d5006a16-2942c94a-3a816b9e_0
2025-10-15T15:42:30.268484Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId: sid_rand_41|3a38ce39-d5006a16-2942c94a-3a816b9e_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.268512Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 52 sessionId: sid_rand_41|3a38ce39-d5006a16-2942c94a-3a816b9e_0 grpc read failed
2025-10-15T15:42:30.268521Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 52 sessionId: sid_rand_41|3a38ce39-d5006a16-2942c94a-3a816b9e_0 grpc closed
2025-10-15T15:42:30.268527Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 52 sessionId: sid_rand_41|3a38ce39-d5006a16-2942c94a-3a816b9e_0 is DEAD
2025-10-15T15:42:30.268656Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.268674Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 53
2025-10-15T15:42:30.268896Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.268945Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_42" }
2025-10-15T15:42:30.268978Z 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]:52884
2025-10-15T15:42:30.268990Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=53 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.268995Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.269509Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 53 sessionId:  describe result for acl check
2025-10-15T15:42:30.269548Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.269557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.269559Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.269564Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441355744:2714] (SourceId=sid_rand_42, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.270240Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441355744:2714] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.272067Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441355744:2714] (SourceId=sid_rand_42, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.272158Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355763:2714] connected; active server actors: 1
2025-10-15T15:42:30.272176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441355744:2714] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_42
2025-10-15T15:42:30.272187Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441355744:2714] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.272254Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355763:2714] disconnected.
2025-10-15T15:42:30.272266Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355763:2714] disconnected; active server actors: 1
2025-10-15T15:42:30.272269Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355763:2714] disconnected no session
2025-10-15T15:42:30.274682Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441355744:2714] (SourceId=sid_rand_42, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.274695Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441355744:2714] (SourceId=sid_rand_42, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-15T15:42:30.274698Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441355744:2714] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.274705Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 53 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-15T15:42:30.274871Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:30.274929Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_42|810dcc6a-632d97fa-dcabfff7-e4bba551_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_42
2025-10-15T15:42:30.275113Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 53 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_42|810dcc6a-632d97fa-dcabfff7-e4bba551_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_42|810dcc6a-632d97fa-dcabfff7-e4bba551_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.275909Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId: sid_rand_42|810dcc6a-632d97fa-dcabfff7-e4bba551_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.275918Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 53 sessionId: sid_rand_42|810dcc6a-632d97fa-dcabfff7-e4bba551_0 grpc read failed
2025-10-15T15:42:30.275976Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 53 sessionId: sid_rand_42|810dcc6a-632d97fa-dcabfff7-e4bba551_0
2025-10-15T15:42:30.275985Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 53 sessionId: sid_rand_42|810dcc6a-632d97fa-dcabfff7-e4bba551_0 is DEAD
2025-10-15T15:42:30.276080Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.276250Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.276260Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 54
2025-10-15T15:42:30.276408Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_43" }
2025-10-15T15:42:30.276432Z 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]:52884
2025-10-15T15:42:30.276442Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=54 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.276445Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.276859Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 54 sessionId:  describe result for acl check
2025-10-15T15:42:30.276901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.276910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.276912Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.276917Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441355784:2718] (SourceId=sid_rand_43, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.277485Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441355784:2718] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.280218Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441355784:2718] (SourceId=sid_rand_43, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.280278Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355800:2718] connected; active server actors: 1
2025-10-15T15:42:30.280293Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441355784:2718] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_43
Init result: { 2025-10-15T15:42:30.280297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441355784:2718] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.280343Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355800:2718] disconnected.
2025-10-15T15:42:30.280346Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355800:2718] disconnected; active server actors: 1
2025-10-15T15:42:30.280348Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355800:2718] disconnected no session
2025-10-15T15:42:30.283452Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441355784:2718] (SourceId=sid_rand_43, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.283459Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441355784:2718] (SourceId=sid_rand_43, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-15T15:42:30.283463Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441355784:2718] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.283470Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 54 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-15T15:42:30.283589Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:30.283637Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_43|b709a649-dcd7333d-90d14054-399f701a_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_43
status: SUCCESS init_response { session_id: "sid_rand_43|b709a649-dcd7333d-90d14054-399f701a_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.283817Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 54 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_43|b709a649-dcd7333d-90d14054-399f701a_0
2025-10-15T15:42:30.371116Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId: sid_rand_43|b709a649-dcd7333d-90d14054-399f701a_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.371147Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 54 sessionId: sid_rand_43|b709a649-dcd7333d-90d14054-399f701a_0 grpc read failed
2025-10-15T15:42:30.371159Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 54 sessionId: sid_rand_43|b709a649-dcd7333d-90d14054-399f701a_0 grpc closed
2025-10-15T15:42:30.371169Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 54 sessionId: sid_rand_43|b709a649-dcd7333d-90d14054-399f701a_0 is DEAD
2025-10-15T15:42:30.371255Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.371268Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 55
2025-10-15T15:42:30.371471Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_44" }
2025-10-15T15:42:30.371537Z 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]:52884
2025-10-15T15:42:30.371548Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=55 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.371553Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.371555Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.372042Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 55 sessionId:  describe result for acl check
2025-10-15T15:42:30.372079Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.372086Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.372088Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.372094Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441355821:2722] (SourceId=sid_rand_44, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.372780Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441355821:2722] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.375118Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441355821:2722] (SourceId=sid_rand_44, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.375219Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355837:2722] connected; active server actors: 1
2025-10-15T15:42:30.375257Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441355821:2722] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_44
2025-10-15T15:42:30.375261Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441355821:2722] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.375330Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355837:2722] disconnected.
2025-10-15T15:42:30.375340Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355837:2722] disconnected; active server actors: 1
2025-10-15T15:42:30.375343Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355837:2722] disconnected no session
2025-10-15T15:42:30.378287Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441355821:2722] (SourceId=sid_rand_44, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.378305Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441355821:2722] (SourceId=sid_rand_44, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-15T15:42:30.378310Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441355821:2722] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.378328Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 55 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-15T15:42:30.378726Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:30.378849Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_44|83f61c92-5e047c16-a67df1af-92b2d045_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_44
2025-10-15T15:42:30.379295Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 55 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_44|83f61c92-5e047c16-a67df1af-92b2d045_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_44|83f61c92-5e047c16-a67df1af-92b2d045_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.380166Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId: sid_rand_44|83f61c92-5e047c16-a67df1af-92b2d045_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.380178Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 55 sessionId: sid_rand_44|83f61c92-5e047c16-a67df1af-92b2d045_0 grpc read failed
2025-10-15T15:42:30.380185Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 55 sessionId: sid_rand_44|83f61c92-5e047c16-a67df1af-92b2d045_0 grpc closed
2025-10-15T15:42:30.380190Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 55 sessionId: sid_rand_44|83f61c92-5e047c16-a67df1af-92b2d045_0 is DEAD
2025-10-15T15:42:30.380384Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.380397Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 56
2025-10-15T15:42:30.380510Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.380532Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_45" }
2025-10-15T15:42:30.380566Z 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]:52884
2025-10-15T15:42:30.380581Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=56 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.380585Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.381065Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 56 sessionId:  describe result for acl check
2025-10-15T15:42:30.381103Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.381110Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
Init result: { 2025-10-15T15:42:30.381112Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.381119Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441355857:2726] (SourceId=sid_rand_45, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.381804Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441355857:2726] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Select from the table
status: SUCCESS init_response { session_id: "sid_rand_45|2a603c8f-87e46a60-c7eb4011-f4211f0a_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.383911Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441355857:2726] (SourceId=sid_rand_45, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.383987Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355873:2726] connected; active server actors: 1
2025-10-15T15:42:30.384004Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441355857:2726] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_45
2025-10-15T15:42:30.384009Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441355857:2726] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.384075Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355873:2726] disconnected.
2025-10-15T15:42:30.384079Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355873:2726] disconnected; active server actors: 1
2025-10-15T15:42:30.384082Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355873:2726] disconnected no session
2025-10-15T15:42:30.387105Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441355857:2726] (SourceId=sid_rand_45, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.387113Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441355857:2726] (SourceId=sid_rand_45, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-15T15:42:30.387117Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441355857:2726] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.387126Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 56 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-15T15:42:30.387285Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:30.387334Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_45|2a603c8f-87e46a60-c7eb4011-f4211f0a_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_45
2025-10-15T15:42:30.387517Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 56 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_45|2a603c8f-87e46a60-c7eb4011-f4211f0a_0
2025-10-15T15:42:30.472732Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId: sid_rand_45|2a603c8f-87e46a60-c7eb4011-f4211f0a_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.472756Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 56 sessionId: sid_rand_45|2a603c8f-87e46a60-c7eb4011-f4211f0a_0 grpc read failed
2025-10-15T15:42:30.472767Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 56 sessionId: sid_rand_45|2a603c8f-87e46a60-c7eb4011-f4211f0a_0 grpc closed
2025-10-15T15:42:30.472775Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 56 sessionId: sid_rand_45|2a603c8f-87e46a60-c7eb4011-f4211f0a_0 is DEAD
2025-10-15T15:42:30.472957Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.472974Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 57
2025-10-15T15:42:30.473237Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.473260Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_46" }
2025-10-15T15:42:30.473305Z 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]:52884
2025-10-15T15:42:30.473317Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=57 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.473322Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.473874Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 57 sessionId:  describe result for acl check
2025-10-15T15:42:30.473917Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.473924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.473927Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.473934Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441355898:2731] (SourceId=sid_rand_46, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.474705Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441355898:2731] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.477747Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441355898:2731] (SourceId=sid_rand_46, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.477845Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355917:2731] connected; active server actors: 1
2025-10-15T15:42:30.477870Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441355898:2731] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_46
2025-10-15T15:42:30.477875Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441355898:2731] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.477949Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355917:2731] disconnected.
2025-10-15T15:42:30.477957Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355917:2731] disconnected; active server actors: 1
2025-10-15T15:42:30.477960Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355917:2731] disconnected no session
2025-10-15T15:42:30.481436Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441355898:2731] (SourceId=sid_rand_46, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.481455Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441355898:2731] (SourceId=sid_rand_46, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-15T15:42:30.481460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441355898:2731] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.481470Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 57 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-15T15:42:30.481849Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:30.482015Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_46|61910f4e-592ebbbb-91e24884-8c6a8579_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_46
2025-10-15T15:42:30.482549Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 57 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_46|61910f4e-592ebbbb-91e24884-8c6a8579_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_46|61910f4e-592ebbbb-91e24884-8c6a8579_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.483490Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId: sid_rand_46|61910f4e-592ebbbb-91e24884-8c6a8579_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.483503Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 57 sessionId: sid_rand_46|61910f4e-592ebbbb-91e24884-8c6a8579_0 grpc read failed
2025-10-15T15:42:30.483509Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 57 sessionId: sid_rand_46|61910f4e-592ebbbb-91e24884-8c6a8579_0 grpc closed
2025-10-15T15:42:30.483514Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 57 sessionId: sid_rand_46|61910f4e-592ebbbb-91e24884-8c6a8579_0 is DEAD
2025-10-15T15:42:30.483557Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.483571Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 58
2025-10-15T15:42:30.483778Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_47" }
2025-10-15T15:42:30.483814Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.483824Z 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]:52884
2025-10-15T15:42:30.483831Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=58 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.483835Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.484338Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 58 sessionId:  describe result for acl check
2025-10-15T15:42:30.484377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.484396Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.490315Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_47|ef55ec01-96a707f6-de9da0a3-cf6117f6_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_47
Init result: { 2025-10-15T15:42:30.484398Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.484405Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441355937:2735] (SourceId=sid_rand_47, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.485085Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441355937:2735] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.486867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441355937:2735] (SourceId=sid_rand_47, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.486915Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355953:2735] connected; active server actors: 1
2025-10-15T15:42:30.486941Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441355937:2735] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_47
2025-10-15T15:42:30.486945Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441355937:2735] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Update the table
status: SUCCESS init_response { session_id: "sid_rand_47|ef55ec01-96a707f6-de9da0a3-cf6117f6_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.486986Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355953:2735] disconnected.
2025-10-15T15:42:30.486989Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355953:2735] disconnected; active server actors: 1
2025-10-15T15:42:30.486991Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355953:2735] disconnected no session
2025-10-15T15:42:30.489822Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441355937:2735] (SourceId=sid_rand_47, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.489839Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441355937:2735] (SourceId=sid_rand_47, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-15T15:42:30.489842Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441355937:2735] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.489849Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 58 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-15T15:42:30.490117Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:30.490823Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 58 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_47|ef55ec01-96a707f6-de9da0a3-cf6117f6_0
2025-10-15T15:42:30.574533Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId: sid_rand_47|ef55ec01-96a707f6-de9da0a3-cf6117f6_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.574551Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 58 sessionId: sid_rand_47|ef55ec01-96a707f6-de9da0a3-cf6117f6_0 grpc read failed
2025-10-15T15:42:30.574568Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 58 sessionId: sid_rand_47|ef55ec01-96a707f6-de9da0a3-cf6117f6_0 grpc closed
2025-10-15T15:42:30.574572Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 58 sessionId: sid_rand_47|ef55ec01-96a707f6-de9da0a3-cf6117f6_0 is DEAD
2025-10-15T15:42:30.574824Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.574851Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 59
2025-10-15T15:42:30.574994Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.575045Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_48" }
2025-10-15T15:42:30.575076Z 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]:52884
2025-10-15T15:42:30.575084Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=59 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.575089Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.575516Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 59 sessionId:  describe result for acl check
2025-10-15T15:42:30.575556Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.575558Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.575560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.575565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441355973:2739] (SourceId=sid_rand_48, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.576219Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441355973:2739] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.578123Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441355973:2739] (SourceId=sid_rand_48, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.578196Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355989:2739] connected; active server actors: 1
2025-10-15T15:42:30.578213Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441355973:2739] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_48
2025-10-15T15:42:30.578216Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441355973:2739] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.578256Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355989:2739] disconnected.
2025-10-15T15:42:30.578264Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355989:2739] disconnected; active server actors: 1
2025-10-15T15:42:30.578266Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441355989:2739] disconnected no session
2025-10-15T15:42:30.581046Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441355973:2739] (SourceId=sid_rand_48, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.581057Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441355973:2739] (SourceId=sid_rand_48, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-15T15:42:30.581061Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441355973:2739] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.581067Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 59 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-15T15:42:30.581213Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:30.581239Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_48|9aa25c3c-b6645a2b-8e3a0a3e-e0b2ce16_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_48
2025-10-15T15:42:30.581368Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 59 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_48|9aa25c3c-b6645a2b-8e3a0a3e-e0b2ce16_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_48|9aa25c3c-b6645a2b-8e3a0a3e-e0b2ce16_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.582132Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId: sid_rand_48|9aa25c3c-b6645a2b-8e3a0a3e-e0b2ce16_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.582140Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 59 sessionId: sid_rand_48|9aa25c3c-b6645a2b-8e3a0a3e-e0b2ce16_0 grpc read failed
2025-10-15T15:42:30.582156Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 59 sessionId: sid_rand_48|9aa25c3c-b6645a2b-8e3a0a3e-e0b2ce16_0
2025-10-15T15:42:30.582160Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 59 sessionId: sid_rand_48|9aa25c3c-b6645a2b-8e3a0a3e-e0b2ce16_0 is DEAD
2025-10-15T15:42:30.582258Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.582387Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.582397Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 60
2025-10-15T15:42:30.582486Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_49" }
2025-10-15T15:42:30.582516Z 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]:52884
2025-10-15T15:42:30.582520Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=60 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.582523Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.582905Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 60 sessionId:  describe result for acl check
2025-10-15T15:42:30.582935Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.582941Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.588518Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_49|71cc426b-ab31d39e-dacbf093-230b4a9_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_49
Init result: { 2025-10-15T15:42:30.582943Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.582946Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441356010:2743] (SourceId=sid_rand_49, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.583435Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441356010:2743] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.585079Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441356010:2743] (SourceId=sid_rand_49, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.585154Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356026:2743] connected; active server actors: 1
2025-10-15T15:42:30.585166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441356010:2743] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_49
2025-10-15T15:42:30.585170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441356010:2743] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.585221Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356026:2743] disconnected.
2025-10-15T15:42:30.585225Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356026:2743] disconnected; active server actors: 1
2025-10-15T15:42:30.585227Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356026:2743] disconnected no session
2025-10-15T15:42:30.588098Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441356010:2743] (SourceId=sid_rand_49, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.588104Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441356010:2743] (SourceId=sid_rand_49, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
status: SUCCESS init_response { session_id: "sid_rand_49|71cc426b-ab31d39e-dacbf093-230b4a9_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.588108Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441356010:2743] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.588114Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 60 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-15T15:42:30.588442Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:30.588810Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 60 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_49|71cc426b-ab31d39e-dacbf093-230b4a9_0
2025-10-15T15:42:30.676104Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId: sid_rand_49|71cc426b-ab31d39e-dacbf093-230b4a9_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.676113Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 60 sessionId: sid_rand_49|71cc426b-ab31d39e-dacbf093-230b4a9_0 grpc read failed
2025-10-15T15:42:30.676121Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 60 sessionId: sid_rand_49|71cc426b-ab31d39e-dacbf093-230b4a9_0 grpc closed
2025-10-15T15:42:30.676143Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 60 sessionId: sid_rand_49|71cc426b-ab31d39e-dacbf093-230b4a9_0 is DEAD
2025-10-15T15:42:30.676364Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.676382Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 61
2025-10-15T15:42:30.676524Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.676528Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_50" }
2025-10-15T15:42:30.676560Z 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]:52884
2025-10-15T15:42:30.676566Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=61 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.676571Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.677053Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 61 sessionId:  describe result for acl check
2025-10-15T15:42:30.677111Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.677118Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.677120Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.677126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441356048:2747] (SourceId=sid_rand_50, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.677838Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441356048:2747] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.679523Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441356048:2747] (SourceId=sid_rand_50, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.679603Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356067:2747] connected; active server actors: 1
2025-10-15T15:42:30.679626Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441356048:2747] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_50
2025-10-15T15:42:30.679639Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441356048:2747] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.679710Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356067:2747] disconnected.
2025-10-15T15:42:30.679721Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356067:2747] disconnected; active server actors: 1
2025-10-15T15:42:30.679724Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356067:2747] disconnected no session
2025-10-15T15:42:30.682857Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441356048:2747] (SourceId=sid_rand_50, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.682874Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441356048:2747] (SourceId=sid_rand_50, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-15T15:42:30.682878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441356048:2747] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.682887Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 61 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-15T15:42:30.683057Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:30.683108Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_50|2e5d358c-f0bd30e2-53a408f5-79c78b1c_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_50
2025-10-15T15:42:30.683281Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 61 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_50|2e5d358c-f0bd30e2-53a408f5-79c78b1c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_50|2e5d358c-f0bd30e2-53a408f5-79c78b1c_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.684157Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId: sid_rand_50|2e5d358c-f0bd30e2-53a408f5-79c78b1c_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.684167Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 61 sessionId: sid_rand_50|2e5d358c-f0bd30e2-53a408f5-79c78b1c_0 grpc read failed
2025-10-15T15:42:30.684175Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 61 sessionId: sid_rand_50|2e5d358c-f0bd30e2-53a408f5-79c78b1c_0 grpc closed
2025-10-15T15:42:30.684181Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 61 sessionId: sid_rand_50|2e5d358c-f0bd30e2-53a408f5-79c78b1c_0 is DEAD
2025-10-15T15:42:30.684378Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.684390Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 62
2025-10-15T15:42:30.684507Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.684554Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_51" }
2025-10-15T15:42:30.684588Z 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]:52884
2025-10-15T15:42:30.684598Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=62 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.684603Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.685051Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 62 sessionId:  describe result for acl check
2025-10-15T15:42:30.685076Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.685081Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.691744Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_51|f79c1630-1a9380e8-10388ff-20823784_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_51
Init result: { 2025-10-15T15:42:30.685082Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.685087Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441356088:2751] (SourceId=sid_rand_51, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.685636Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441356088:2751] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.687765Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441356088:2751] (SourceId=sid_rand_51, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.687843Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356104:2751] connected; active server actors: 1
2025-10-15T15:42:30.687856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441356088:2751] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_51
2025-10-15T15:42:30.687862Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441356088:2751] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.687918Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356104:2751] disconnected.
2025-10-15T15:42:30.687922Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356104:2751] disconnected; active server actors: 1
2025-10-15T15:42:30.687925Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356104:2751] disconnected no session
status: SUCCESS init_response { session_id: "sid_rand_51|f79c1630-1a9380e8-10388ff-20823784_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP }2025-10-15T15:42:30.691165Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441356088:2751] (SourceId=sid_rand_51, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.691174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441356088:2751] (SourceId=sid_rand_51, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
 }
2025-10-15T15:42:30.691178Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441356088:2751] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.691188Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 62 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-15T15:42:30.691636Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:30.692159Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 62 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_51|f79c1630-1a9380e8-10388ff-20823784_0
2025-10-15T15:42:30.777709Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId: sid_rand_51|f79c1630-1a9380e8-10388ff-20823784_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.777723Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 62 sessionId: sid_rand_51|f79c1630-1a9380e8-10388ff-20823784_0 grpc read failed
2025-10-15T15:42:30.777736Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 62 sessionId: sid_rand_51|f79c1630-1a9380e8-10388ff-20823784_0 grpc closed
2025-10-15T15:42:30.777745Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 62 sessionId: sid_rand_51|f79c1630-1a9380e8-10388ff-20823784_0 is DEAD
2025-10-15T15:42:30.777831Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.777858Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 63
2025-10-15T15:42:30.777999Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_52" }
2025-10-15T15:42:30.778057Z 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]:52884
2025-10-15T15:42:30.778069Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=63 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.778074Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.778626Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 63 sessionId:  describe result for acl check
2025-10-15T15:42:30.778665Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.778673Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.778675Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.778683Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441356125:2755] (SourceId=sid_rand_52, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.779094Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.779423Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441356125:2755] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.781984Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441356125:2755] (SourceId=sid_rand_52, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.782083Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356141:2755] connected; active server actors: 1
2025-10-15T15:42:30.782102Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441356125:2755] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_52
2025-10-15T15:42:30.782107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441356125:2755] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.782179Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356141:2755] disconnected.
2025-10-15T15:42:30.782202Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356141:2755] disconnected; active server actors: 1
2025-10-15T15:42:30.782204Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356141:2755] disconnected no session
2025-10-15T15:42:30.786040Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441356125:2755] (SourceId=sid_rand_52, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.786059Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441356125:2755] (SourceId=sid_rand_52, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-15T15:42:30.786064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441356125:2755] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.786075Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 63 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-15T15:42:30.786497Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:30.786712Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_52|bfdab838-6f854872-b34d37b4-a784e84f_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_52
2025-10-15T15:42:30.787248Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 63 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_52|bfdab838-6f854872-b34d37b4-a784e84f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_52|bfdab838-6f854872-b34d37b4-a784e84f_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.788079Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId: sid_rand_52|bfdab838-6f854872-b34d37b4-a784e84f_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.788089Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 63 sessionId: sid_rand_52|bfdab838-6f854872-b34d37b4-a784e84f_0 grpc read failed
2025-10-15T15:42:30.788097Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 63 sessionId: sid_rand_52|bfdab838-6f854872-b34d37b4-a784e84f_0 grpc closed
2025-10-15T15:42:30.788102Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 63 sessionId: sid_rand_52|bfdab838-6f854872-b34d37b4-a784e84f_0 is DEAD
2025-10-15T15:42:30.788279Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.788302Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 64
2025-10-15T15:42:30.788444Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.788499Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_53" }
2025-10-15T15:42:30.788536Z 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]:52884
2025-10-15T15:42:30.788542Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=64 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.788546Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.789024Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 64 sessionId:  describe result for acl check
2025-10-15T15:42:30.789057Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.789065Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.796076Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_53|594dbb02-e6a23be-463bf2c8-4ae6c966_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_53
Init result: { 2025-10-15T15:42:30.789067Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.789073Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441356161:2759] (SourceId=sid_rand_53, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.789733Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441356161:2759] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.791998Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441356161:2759] (SourceId=sid_rand_53, PreferedPartition=(NULL)) RequestPQRB
status: SUCCESS init_response { session_id: "sid_rand_53|594dbb02-e6a23be-463bf2c8-4ae6c966_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.792105Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356177:2759] connected; active server actors: 1
2025-10-15T15:42:30.792117Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441356161:2759] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_53
2025-10-15T15:42:30.792133Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441356161:2759] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.792196Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356177:2759] disconnected.
2025-10-15T15:42:30.792210Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356177:2759] disconnected; active server actors: 1
2025-10-15T15:42:30.792213Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356177:2759] disconnected no session
2025-10-15T15:42:30.795567Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441356161:2759] (SourceId=sid_rand_53, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.795576Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441356161:2759] (SourceId=sid_rand_53, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-15T15:42:30.795581Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441356161:2759] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.795590Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 64 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-15T15:42:30.795969Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:30.796566Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 64 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_53|594dbb02-e6a23be-463bf2c8-4ae6c966_0
2025-10-15T15:42:30.879320Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId: sid_rand_53|594dbb02-e6a23be-463bf2c8-4ae6c966_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.879337Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 64 sessionId: sid_rand_53|594dbb02-e6a23be-463bf2c8-4ae6c966_0 grpc read failed
2025-10-15T15:42:30.879347Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 64 sessionId: sid_rand_53|594dbb02-e6a23be-463bf2c8-4ae6c966_0 grpc closed
2025-10-15T15:42:30.879352Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 64 sessionId: sid_rand_53|594dbb02-e6a23be-463bf2c8-4ae6c966_0 is DEAD
2025-10-15T15:42:30.879646Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.879664Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 65
2025-10-15T15:42:30.879736Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.879812Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_54" }
2025-10-15T15:42:30.879851Z 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]:52884
2025-10-15T15:42:30.879860Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=65 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.879865Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.880418Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 65 sessionId:  describe result for acl check
2025-10-15T15:42:30.880467Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.880469Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.880471Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.880478Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441356198:2763] (SourceId=sid_rand_54, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.881219Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441356198:2763] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.883835Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441356198:2763] (SourceId=sid_rand_54, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.883948Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356217:2763] connected; active server actors: 1
2025-10-15T15:42:30.883976Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441356198:2763] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_54
2025-10-15T15:42:30.883987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441356198:2763] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.884073Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356217:2763] disconnected.
2025-10-15T15:42:30.884085Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356217:2763] disconnected; active server actors: 1
2025-10-15T15:42:30.884087Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356217:2763] disconnected no session
2025-10-15T15:42:30.887055Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441356198:2763] (SourceId=sid_rand_54, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.887071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441356198:2763] (SourceId=sid_rand_54, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-15T15:42:30.887075Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441356198:2763] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.887094Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 65 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-15T15:42:30.887397Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:30.887542Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_54|a042e028-40e94b73-b2c259-139937e0_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_54
2025-10-15T15:42:30.887981Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 65 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_54|a042e028-40e94b73-b2c259-139937e0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_54|a042e028-40e94b73-b2c259-139937e0_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.888977Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId: sid_rand_54|a042e028-40e94b73-b2c259-139937e0_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.888992Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 65 sessionId: sid_rand_54|a042e028-40e94b73-b2c259-139937e0_0 grpc read failed
2025-10-15T15:42:30.889001Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 65 sessionId: sid_rand_54|a042e028-40e94b73-b2c259-139937e0_0 grpc closed
2025-10-15T15:42:30.889007Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 65 sessionId: sid_rand_54|a042e028-40e94b73-b2c259-139937e0_0 is DEAD
2025-10-15T15:42:30.889161Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.889174Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 66
2025-10-15T15:42:30.889350Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.889373Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_55" }
2025-10-15T15:42:30.889400Z 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]:52884
2025-10-15T15:42:30.889410Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=66 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.889413Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.889907Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 66 sessionId:  describe result for acl check
2025-10-15T15:42:30.889943Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.889951Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.896387Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_55|f86487db-2c343268-dcda2d9e-514e3bdb_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_55
Init result: { 2025-10-15T15:42:30.889953Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.889959Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441356237:2767] (SourceId=sid_rand_55, PreferedPartition=(NULL)) StartKqpSession
status: SUCCESS init_response { session_id: "sid_rand_55|f86487db-2c343268-dcda2d9e-514e3bdb_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.890610Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441356237:2767] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.892904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441356237:2767] (SourceId=sid_rand_55, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.892996Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356253:2767] connected; active server actors: 1
2025-10-15T15:42:30.893015Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441356237:2767] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_55
2025-10-15T15:42:30.893020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441356237:2767] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.893076Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356253:2767] disconnected.
2025-10-15T15:42:30.893079Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356253:2767] disconnected; active server actors: 1
2025-10-15T15:42:30.893082Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356253:2767] disconnected no session
2025-10-15T15:42:30.895899Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441356237:2767] (SourceId=sid_rand_55, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.895907Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441356237:2767] (SourceId=sid_rand_55, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-15T15:42:30.895912Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441356237:2767] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.895930Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 66 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-15T15:42:30.896264Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:30.896744Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 66 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_55|f86487db-2c343268-dcda2d9e-514e3bdb_0
2025-10-15T15:42:30.981035Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId: sid_rand_55|f86487db-2c343268-dcda2d9e-514e3bdb_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.981056Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 66 sessionId: sid_rand_55|f86487db-2c343268-dcda2d9e-514e3bdb_0 grpc read failed
2025-10-15T15:42:30.981064Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 66 sessionId: sid_rand_55|f86487db-2c343268-dcda2d9e-514e3bdb_0 grpc closed
2025-10-15T15:42:30.981068Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 66 sessionId: sid_rand_55|f86487db-2c343268-dcda2d9e-514e3bdb_0 is DEAD
2025-10-15T15:42:30.981362Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.981415Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.981424Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 67
2025-10-15T15:42:30.981540Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_56" }
2025-10-15T15:42:30.981567Z 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]:52884
2025-10-15T15:42:30.981576Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=67 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.981582Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.981942Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 67 sessionId:  describe result for acl check
2025-10-15T15:42:30.981969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.981971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:30.981973Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.981977Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441356298:2779] (SourceId=sid_rand_56, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:30.982487Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441356298:2779] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.984030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441356298:2779] (SourceId=sid_rand_56, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.984213Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356314:2779] connected; active server actors: 1
2025-10-15T15:42:30.984229Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441356298:2779] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_56
2025-10-15T15:42:30.984232Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441356298:2779] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.984288Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356314:2779] disconnected.
2025-10-15T15:42:30.984297Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356314:2779] disconnected; active server actors: 1
2025-10-15T15:42:30.984325Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356314:2779] disconnected no session
2025-10-15T15:42:30.986899Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441356298:2779] (SourceId=sid_rand_56, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.986914Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441356298:2779] (SourceId=sid_rand_56, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-15T15:42:30.986917Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441356298:2779] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.986923Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 67 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-15T15:42:30.987363Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:30.987467Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_56|38fec75b-ead6e456-5e4e26fe-75aba038_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_56
2025-10-15T15:42:30.987797Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 67 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_56|38fec75b-ead6e456-5e4e26fe-75aba038_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_56|38fec75b-ead6e456-5e4e26fe-75aba038_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.988450Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId: sid_rand_56|38fec75b-ead6e456-5e4e26fe-75aba038_0 grpc read done: success: 0 data: 
2025-10-15T15:42:30.988471Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 67 sessionId: sid_rand_56|38fec75b-ead6e456-5e4e26fe-75aba038_0 grpc read failed
2025-10-15T15:42:30.988476Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 67 sessionId: sid_rand_56|38fec75b-ead6e456-5e4e26fe-75aba038_0 grpc closed
2025-10-15T15:42:30.988480Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 67 sessionId: sid_rand_56|38fec75b-ead6e456-5e4e26fe-75aba038_0 is DEAD
2025-10-15T15:42:30.988713Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:30.988745Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:30.988753Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 68
2025-10-15T15:42:30.988927Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_57" }
2025-10-15T15:42:30.988973Z 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]:52884
2025-10-15T15:42:30.988982Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=68 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:30.988987Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:30.989454Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 68 sessionId:  describe result for acl check
2025-10-15T15:42:30.989487Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:30.989492Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
Init result: { 2025-10-15T15:42:30.989495Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:30.989504Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474397441356336:2783] (SourceId=sid_rand_57, PreferedPartition=(NULL)) StartKqpSession
status: SUCCESS init_response { session_id: "sid_rand_57|130fd88c-64f27f23-a7c7dbd3-d16f158e_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:30.990095Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474397441356336:2783] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:30.991667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474397441356336:2783] (SourceId=sid_rand_57, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:30.991744Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356352:2783] connected; active server actors: 1
2025-10-15T15:42:30.991784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474397441356336:2783] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_57
2025-10-15T15:42:30.991787Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474397441356336:2783] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:30.991943Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356352:2783] disconnected.
2025-10-15T15:42:30.991947Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356352:2783] disconnected; active server actors: 1
2025-10-15T15:42:30.991949Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474397441356352:2783] disconnected no session
2025-10-15T15:42:30.994459Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474397441356336:2783] (SourceId=sid_rand_57, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:30.994467Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474397441356336:2783] (SourceId=sid_rand_57, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-15T15:42:30.994470Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474397441356336:2783] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:30.994476Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 68 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-15T15:42:30.994773Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:30.994822Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_57|130fd88c-64f27f23-a7c7dbd3-d16f158e_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_57
2025-10-15T15:42:30.994921Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 68 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_57|130fd88c-64f27f23-a7c7dbd3-d16f158e_0
2025-10-15T15:42:31.082573Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId: sid_rand_57|130fd88c-64f27f23-a7c7dbd3-d16f158e_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.082590Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 68 sessionId: sid_rand_57|130fd88c-64f27f23-a7c7dbd3-d16f158e_0 grpc read failed
2025-10-15T15:42:31.082599Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 68 sessionId: sid_rand_57|130fd88c-64f27f23-a7c7dbd3-d16f158e_0 grpc closed
2025-10-15T15:42:31.082605Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 68 sessionId: sid_rand_57|130fd88c-64f27f23-a7c7dbd3-d16f158e_0 is DEAD
2025-10-15T15:42:31.082802Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:31.082816Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 69
2025-10-15T15:42:31.082923Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:31.082932Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_58" }
2025-10-15T15:42:31.082967Z 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]:52884
2025-10-15T15:42:31.082978Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=69 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:31.082982Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:31.083412Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 69 sessionId:  describe result for acl check
2025-10-15T15:42:31.083449Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:31.083453Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:31.083455Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:31.083460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474401736323685:2788] (SourceId=sid_rand_58, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:31.084054Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474401736323685:2788] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:31.086077Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474401736323685:2788] (SourceId=sid_rand_58, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:31.086179Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323701:2788] connected; active server actors: 1
2025-10-15T15:42:31.086203Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474401736323685:2788] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_58
2025-10-15T15:42:31.086206Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474401736323685:2788] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:31.086270Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323701:2788] disconnected.
2025-10-15T15:42:31.086280Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323701:2788] disconnected; active server actors: 1
2025-10-15T15:42:31.086283Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323701:2788] disconnected no session
2025-10-15T15:42:31.092163Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474401736323685:2788] (SourceId=sid_rand_58, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:31.092176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474401736323685:2788] (SourceId=sid_rand_58, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-15T15:42:31.092183Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474401736323685:2788] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:31.092190Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 69 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-15T15:42:31.092534Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:31.092635Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_58|27da6e38-f48685af-3a684496-8cdd7f77_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_58
2025-10-15T15:42:31.092960Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 69 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_58|27da6e38-f48685af-3a684496-8cdd7f77_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_58|27da6e38-f48685af-3a684496-8cdd7f77_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:31.093624Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId: sid_rand_58|27da6e38-f48685af-3a684496-8cdd7f77_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.093634Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 69 sessionId: sid_rand_58|27da6e38-f48685af-3a684496-8cdd7f77_0 grpc read failed
2025-10-15T15:42:31.093639Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 69 sessionId: sid_rand_58|27da6e38-f48685af-3a684496-8cdd7f77_0 grpc closed
2025-10-15T15:42:31.093643Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 69 sessionId: sid_rand_58|27da6e38-f48685af-3a684496-8cdd7f77_0 is DEAD
2025-10-15T15:42:31.093757Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:31.093768Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 70
2025-10-15T15:42:31.093896Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:31.093908Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_59" }
2025-10-15T15:42:31.093930Z 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]:52884
2025-10-15T15:42:31.093934Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=70 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:31.093937Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:31.094309Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 70 sessionId:  describe result for acl check
2025-10-15T15:42:31.094342Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:31.094365Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:31.094371Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:31.094375Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474401736323721:2792] (SourceId=sid_rand_59, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:31.094961Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474401736323721:2792] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:31.097147Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474401736323721:2792] (SourceId=sid_rand_59, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:31.097261Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323737:2792] connected; active server actors: 1
2025-10-15T15:42:31.097288Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474401736323721:2792] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_59
Init result: { 2025-10-15T15:42:31.097293Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474401736323721:2792] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:31.097350Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323737:2792] disconnected.
2025-10-15T15:42:31.097353Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323737:2792] disconnected; active server actors: 1
2025-10-15T15:42:31.097356Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323737:2792] disconnected no session
2025-10-15T15:42:31.101776Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474401736323721:2792] (SourceId=sid_rand_59, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:31.101784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474401736323721:2792] (SourceId=sid_rand_59, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
status: SUCCESS init_response { session_id: "sid_rand_59|3cda326c-e4743fed-6ed3fda3-d29e4348_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:31.101791Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474401736323721:2792] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:31.101801Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 70 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-15T15:42:31.101959Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:31.102006Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_59|3cda326c-e4743fed-6ed3fda3-d29e4348_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_59
2025-10-15T15:42:31.102166Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 70 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_59|3cda326c-e4743fed-6ed3fda3-d29e4348_0
2025-10-15T15:42:31.184482Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId: sid_rand_59|3cda326c-e4743fed-6ed3fda3-d29e4348_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.184499Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 70 sessionId: sid_rand_59|3cda326c-e4743fed-6ed3fda3-d29e4348_0 grpc read failed
2025-10-15T15:42:31.184508Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 70 sessionId: sid_rand_59|3cda326c-e4743fed-6ed3fda3-d29e4348_0 grpc closed
2025-10-15T15:42:31.184513Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 70 sessionId: sid_rand_59|3cda326c-e4743fed-6ed3fda3-d29e4348_0 is DEAD
2025-10-15T15:42:31.184582Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:31.184595Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 71
2025-10-15T15:42:31.184729Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_60" }
2025-10-15T15:42:31.184761Z 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]:52884
2025-10-15T15:42:31.184766Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=71 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:31.184770Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:31.184829Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:31.185161Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 71 sessionId:  describe result for acl check
2025-10-15T15:42:31.185211Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:31.185219Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:31.185220Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:31.185226Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474401736323765:2797] (SourceId=sid_rand_60, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:31.185816Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474401736323765:2797] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:31.187865Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474401736323765:2797] (SourceId=sid_rand_60, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:31.187944Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323784:2797] connected; active server actors: 1
2025-10-15T15:42:31.187964Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474401736323765:2797] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_60
2025-10-15T15:42:31.187968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474401736323765:2797] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:31.188013Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323784:2797] disconnected.
2025-10-15T15:42:31.188021Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323784:2797] disconnected; active server actors: 1
2025-10-15T15:42:31.188024Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323784:2797] disconnected no session
2025-10-15T15:42:31.190688Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474401736323765:2797] (SourceId=sid_rand_60, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:31.190700Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474401736323765:2797] (SourceId=sid_rand_60, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-15T15:42:31.190703Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474401736323765:2797] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:31.190711Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 71 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-15T15:42:31.191028Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:31.191164Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_60|ce71ff81-602a5f60-f5c44fce-4c50596a_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_60
2025-10-15T15:42:31.191581Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 71 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_60|ce71ff81-602a5f60-f5c44fce-4c50596a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_60|ce71ff81-602a5f60-f5c44fce-4c50596a_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:31.192219Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId: sid_rand_60|ce71ff81-602a5f60-f5c44fce-4c50596a_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.192229Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 71 sessionId: sid_rand_60|ce71ff81-602a5f60-f5c44fce-4c50596a_0 grpc read failed
2025-10-15T15:42:31.192235Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 71 sessionId: sid_rand_60|ce71ff81-602a5f60-f5c44fce-4c50596a_0 grpc closed
2025-10-15T15:42:31.192239Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 71 sessionId: sid_rand_60|ce71ff81-602a5f60-f5c44fce-4c50596a_0 is DEAD
2025-10-15T15:42:31.192351Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:31.192361Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 72
2025-10-15T15:42:31.192473Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_61" }
2025-10-15T15:42:31.192473Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:31.192509Z 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]:52884
2025-10-15T15:42:31.192517Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=72 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:31.192521Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:31.192930Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 72 sessionId:  describe result for acl check
2025-10-15T15:42:31.192975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:31.192982Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:31.192984Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:31.192988Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474401736323804:2801] (SourceId=sid_rand_61, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:31.193527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474401736323804:2801] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:31.196116Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474401736323804:2801] (SourceId=sid_rand_61, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:31.196252Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323820:2801] connected; active server actors: 1
2025-10-15T15:42:31.196277Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474401736323804:2801] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_61
2025-10-15T15:42:31.200186Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_61|6aed562a-b279a457-cbff2476-f5cc508d_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_61
Init result: { 2025-10-15T15:42:31.196289Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474401736323804:2801] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:31.196344Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323820:2801] disconnected.
2025-10-15T15:42:31.196348Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323820:2801] disconnected; active server actors: 1
2025-10-15T15:42:31.196353Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323820:2801] disconnected no session
2025-10-15T15:42:31.199687Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474401736323804:2801] (SourceId=sid_rand_61, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
status: SUCCESS init_response { session_id: "sid_rand_61|6aed562a-b279a457-cbff2476-f5cc508d_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP }2025-10-15T15:42:31.199697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474401736323804:2801] (SourceId=sid_rand_61, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-15T15:42:31.199706Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474401736323804:2801] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Start idle
 }
2025-10-15T15:42:31.199716Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 72 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-15T15:42:31.200072Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:31.200643Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 72 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_61|6aed562a-b279a457-cbff2476-f5cc508d_0
2025-10-15T15:42:31.286224Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId: sid_rand_61|6aed562a-b279a457-cbff2476-f5cc508d_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.286241Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 72 sessionId: sid_rand_61|6aed562a-b279a457-cbff2476-f5cc508d_0 grpc read failed
2025-10-15T15:42:31.286254Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 72 sessionId: sid_rand_61|6aed562a-b279a457-cbff2476-f5cc508d_0 grpc closed
2025-10-15T15:42:31.286263Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 72 sessionId: sid_rand_61|6aed562a-b279a457-cbff2476-f5cc508d_0 is DEAD
2025-10-15T15:42:31.286335Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:31.286350Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 73
2025-10-15T15:42:31.286690Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_62" }
2025-10-15T15:42:31.286704Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:31.286739Z 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]:52884
2025-10-15T15:42:31.286750Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=73 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:31.286757Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:31.287352Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 73 sessionId:  describe result for acl check
2025-10-15T15:42:31.287392Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:31.287394Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:31.287397Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:31.287404Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474401736323841:2805] (SourceId=sid_rand_62, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:31.288187Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474401736323841:2805] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:31.290720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474401736323841:2805] (SourceId=sid_rand_62, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:31.290847Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323857:2805] connected; active server actors: 1
2025-10-15T15:42:31.290868Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474401736323841:2805] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_62
2025-10-15T15:42:31.290885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474401736323841:2805] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:31.290975Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323857:2805] disconnected.
2025-10-15T15:42:31.290986Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323857:2805] disconnected; active server actors: 1
2025-10-15T15:42:31.290988Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323857:2805] disconnected no session
2025-10-15T15:42:31.294383Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474401736323841:2805] (SourceId=sid_rand_62, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:31.294400Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474401736323841:2805] (SourceId=sid_rand_62, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-15T15:42:31.294406Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474401736323841:2805] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:31.294416Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 73 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-15T15:42:31.294591Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:31.294649Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_62|9066cc4f-afb1235c-265bfd88-5cca80a7_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_62
2025-10-15T15:42:31.294857Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 73 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_62|9066cc4f-afb1235c-265bfd88-5cca80a7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_62|9066cc4f-afb1235c-265bfd88-5cca80a7_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:31.295743Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId: sid_rand_62|9066cc4f-afb1235c-265bfd88-5cca80a7_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.295755Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 73 sessionId: sid_rand_62|9066cc4f-afb1235c-265bfd88-5cca80a7_0 grpc read failed
2025-10-15T15:42:31.295763Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 73 sessionId: sid_rand_62|9066cc4f-afb1235c-265bfd88-5cca80a7_0 grpc closed
2025-10-15T15:42:31.295768Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 73 sessionId: sid_rand_62|9066cc4f-afb1235c-265bfd88-5cca80a7_0 is DEAD
2025-10-15T15:42:31.295896Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:31.295909Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 74
2025-10-15T15:42:31.296065Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:31.296097Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_63" }
2025-10-15T15:42:31.296175Z 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]:52884
2025-10-15T15:42:31.296186Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=74 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:31.296204Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:31.296735Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 74 sessionId:  describe result for acl check
2025-10-15T15:42:31.296770Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:31.296778Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:31.304349Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_63|737aece9-3704eed3-ae0574fd-bbd0f168_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_63
Init result: { 2025-10-15T15:42:31.296780Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:31.296786Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474401736323878:2809] (SourceId=sid_rand_63, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:31.297539Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474401736323878:2809] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:31.299853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474401736323878:2809] (SourceId=sid_rand_63, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:31.299942Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323894:2809] connected; active server actors: 1
2025-10-15T15:42:31.299952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474401736323878:2809] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_63
status: SUCCESS init_response { session_id: "sid_rand_63|737aece9-3704eed3-ae0574fd-bbd0f168_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:31.299957Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474401736323878:2809] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:31.300017Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323894:2809] disconnected.
2025-10-15T15:42:31.300020Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323894:2809] disconnected; active server actors: 1
2025-10-15T15:42:31.300023Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323894:2809] disconnected no session
2025-10-15T15:42:31.303735Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474401736323878:2809] (SourceId=sid_rand_63, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:31.303747Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474401736323878:2809] (SourceId=sid_rand_63, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-15T15:42:31.303752Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474401736323878:2809] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:31.303774Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 74 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-15T15:42:31.304187Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:31.304734Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 74 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_63|737aece9-3704eed3-ae0574fd-bbd0f168_0
2025-10-15T15:42:31.387980Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId: sid_rand_63|737aece9-3704eed3-ae0574fd-bbd0f168_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.387997Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 74 sessionId: sid_rand_63|737aece9-3704eed3-ae0574fd-bbd0f168_0 grpc read failed
2025-10-15T15:42:31.388009Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 74 sessionId: sid_rand_63|737aece9-3704eed3-ae0574fd-bbd0f168_0 grpc closed
2025-10-15T15:42:31.388017Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 74 sessionId: sid_rand_63|737aece9-3704eed3-ae0574fd-bbd0f168_0 is DEAD
2025-10-15T15:42:31.388103Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:31.388117Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 75
2025-10-15T15:42:31.388282Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_64" }
2025-10-15T15:42:31.388332Z 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]:52884
2025-10-15T15:42:31.388344Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=75 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:31.388356Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:31.388440Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:31.388971Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 75 sessionId:  describe result for acl check
2025-10-15T15:42:31.389020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:31.389027Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:31.389030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:31.389037Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474401736323915:2813] (SourceId=sid_rand_64, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:31.389850Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474401736323915:2813] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:31.392042Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474401736323915:2813] (SourceId=sid_rand_64, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:31.392154Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323934:2813] connected; active server actors: 1
2025-10-15T15:42:31.392176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474401736323915:2813] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_64
2025-10-15T15:42:31.392181Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474401736323915:2813] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:31.392231Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323934:2813] disconnected.
2025-10-15T15:42:31.392234Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323934:2813] disconnected; active server actors: 1
2025-10-15T15:42:31.392235Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323934:2813] disconnected no session
2025-10-15T15:42:31.396568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474401736323915:2813] (SourceId=sid_rand_64, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:31.396586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474401736323915:2813] (SourceId=sid_rand_64, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-15T15:42:31.396590Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474401736323915:2813] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:31.396598Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 75 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-15T15:42:31.396751Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:31.396805Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_64|2218f34b-dccd066-501cec09-168c8c60_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_64
2025-10-15T15:42:31.397016Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 75 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_64|2218f34b-dccd066-501cec09-168c8c60_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_64|2218f34b-dccd066-501cec09-168c8c60_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:31.397849Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId: sid_rand_64|2218f34b-dccd066-501cec09-168c8c60_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.397874Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 75 sessionId: sid_rand_64|2218f34b-dccd066-501cec09-168c8c60_0 grpc read failed
2025-10-15T15:42:31.397881Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 75 sessionId: sid_rand_64|2218f34b-dccd066-501cec09-168c8c60_0 grpc closed
2025-10-15T15:42:31.397885Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 75 sessionId: sid_rand_64|2218f34b-dccd066-501cec09-168c8c60_0 is DEAD
2025-10-15T15:42:31.398060Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:31.398070Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 76
2025-10-15T15:42:31.398203Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:31.398214Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_65" }
2025-10-15T15:42:31.398238Z 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]:52884
2025-10-15T15:42:31.398250Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=76 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:31.398257Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:31.398651Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 76 sessionId:  describe result for acl check
2025-10-15T15:42:31.398681Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:31.398691Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:31.404284Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_65|a72075c4-ebfdde1-fef8d191-7381e024_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_65
Init result: { 2025-10-15T15:42:31.398693Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:31.398697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474401736323955:2817] (SourceId=sid_rand_65, PreferedPartition=(NULL)) StartKqpSession
status: SUCCESS init_response { session_id: "sid_rand_65|a72075c4-ebfdde1-fef8d191-7381e024_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:31.399264Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474401736323955:2817] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:31.401062Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474401736323955:2817] (SourceId=sid_rand_65, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:31.401116Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323971:2817] connected; active server actors: 1
2025-10-15T15:42:31.401134Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474401736323955:2817] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_65
2025-10-15T15:42:31.401139Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474401736323955:2817] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:31.401217Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323971:2817] disconnected.
2025-10-15T15:42:31.401220Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323971:2817] disconnected; active server actors: 1
2025-10-15T15:42:31.401223Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736323971:2817] disconnected no session
2025-10-15T15:42:31.403792Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474401736323955:2817] (SourceId=sid_rand_65, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:31.403800Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474401736323955:2817] (SourceId=sid_rand_65, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-15T15:42:31.403804Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474401736323955:2817] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:31.403811Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 76 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-15T15:42:31.404115Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-10-15T15:42:31.404762Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 76 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_65|a72075c4-ebfdde1-fef8d191-7381e024_0
2025-10-15T15:42:31.489544Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId: sid_rand_65|a72075c4-ebfdde1-fef8d191-7381e024_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.489568Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 76 sessionId: sid_rand_65|a72075c4-ebfdde1-fef8d191-7381e024_0 grpc read failed
2025-10-15T15:42:31.489579Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 76 sessionId: sid_rand_65|a72075c4-ebfdde1-fef8d191-7381e024_0 grpc closed
2025-10-15T15:42:31.489587Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 76 sessionId: sid_rand_65|a72075c4-ebfdde1-fef8d191-7381e024_0 is DEAD
2025-10-15T15:42:31.489651Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:31.489666Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 77
2025-10-15T15:42:31.489858Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_66" }
2025-10-15T15:42:31.489896Z 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]:52884
2025-10-15T15:42:31.489906Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=77 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:31.489912Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:31.490007Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:31.490442Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 77 sessionId:  describe result for acl check
2025-10-15T15:42:31.490483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:31.490491Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:31.490492Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:31.490499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474401736323997:2823] (SourceId=sid_rand_66, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:31.491273Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474401736323997:2823] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:31.493333Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474401736323997:2823] (SourceId=sid_rand_66, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:31.493502Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324013:2823] connected; active server actors: 1
2025-10-15T15:42:31.493545Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474401736323997:2823] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_66
2025-10-15T15:42:31.493551Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474401736323997:2823] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:31.493640Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324013:2823] disconnected.
2025-10-15T15:42:31.493647Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324013:2823] disconnected; active server actors: 1
2025-10-15T15:42:31.493650Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324013:2823] disconnected no session
2025-10-15T15:42:31.497137Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474401736323997:2823] (SourceId=sid_rand_66, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:31.497156Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474401736323997:2823] (SourceId=sid_rand_66, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-15T15:42:31.497160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474401736323997:2823] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:31.497167Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 77 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-15T15:42:31.497491Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:31.497626Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_66|fd22f4ea-2408fa9a-7d8dae33-a9c1ed5c_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_66
2025-10-15T15:42:31.498065Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 77 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_66|fd22f4ea-2408fa9a-7d8dae33-a9c1ed5c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_66|fd22f4ea-2408fa9a-7d8dae33-a9c1ed5c_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:31.498834Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId: sid_rand_66|fd22f4ea-2408fa9a-7d8dae33-a9c1ed5c_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.498842Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 77 sessionId: sid_rand_66|fd22f4ea-2408fa9a-7d8dae33-a9c1ed5c_0 grpc read failed
2025-10-15T15:42:31.498849Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 77 sessionId: sid_rand_66|fd22f4ea-2408fa9a-7d8dae33-a9c1ed5c_0 grpc closed
2025-10-15T15:42:31.498853Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 77 sessionId: sid_rand_66|fd22f4ea-2408fa9a-7d8dae33-a9c1ed5c_0 is DEAD
2025-10-15T15:42:31.499056Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:31.499066Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 78
2025-10-15T15:42:31.499094Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:31.499303Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_67" }
2025-10-15T15:42:31.499338Z 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]:52884
2025-10-15T15:42:31.499348Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=78 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:31.499351Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:31.499782Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 78 sessionId:  describe result for acl check
2025-10-15T15:42:31.499810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:31.499817Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:31.499819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:31.499823Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474401736324033:2827] (SourceId=sid_rand_67, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:31.500414Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474401736324033:2827] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:31.502295Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474401736324033:2827] (SourceId=sid_rand_67, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:31.502394Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324049:2827] connected; active server actors: 1
2025-10-15T15:42:31.502412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474401736324033:2827] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_67
2025-10-15T15:42:31.505432Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_67|8f8e395e-b82dea02-11f95c12-cec7622c_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_67
Init result: { 2025-10-15T15:42:31.502427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474401736324033:2827] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:31.502486Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324049:2827] disconnected.
2025-10-15T15:42:31.502490Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324049:2827] disconnected; active server actors: 1
2025-10-15T15:42:31.502492Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324049:2827] disconnected no session
2025-10-15T15:42:31.505016Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474401736324033:2827] (SourceId=sid_rand_67, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
status: SUCCESS init_response { session_id: "sid_rand_67|8f8e395e-b82dea02-11f95c12-cec7622c_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:31.505022Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474401736324033:2827] (SourceId=sid_rand_67, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-15T15:42:31.505026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474401736324033:2827] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:31.505032Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 78 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-15T15:42:31.505304Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:31.505747Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 78 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_67|8f8e395e-b82dea02-11f95c12-cec7622c_0
2025-10-15T15:42:31.591581Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId: sid_rand_67|8f8e395e-b82dea02-11f95c12-cec7622c_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.591607Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 78 sessionId: sid_rand_67|8f8e395e-b82dea02-11f95c12-cec7622c_0 grpc read failed
2025-10-15T15:42:31.591615Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 78 sessionId: sid_rand_67|8f8e395e-b82dea02-11f95c12-cec7622c_0 grpc closed
2025-10-15T15:42:31.591621Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 78 sessionId: sid_rand_67|8f8e395e-b82dea02-11f95c12-cec7622c_0 is DEAD
2025-10-15T15:42:31.591655Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:31.591672Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 79
2025-10-15T15:42:31.591798Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_68" }
2025-10-15T15:42:31.591837Z 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]:52884
2025-10-15T15:42:31.591847Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=79 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:31.591851Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:31.591913Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:31.592242Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 79 sessionId:  describe result for acl check
2025-10-15T15:42:31.592275Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:31.592277Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:31.592279Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:31.592284Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474401736324071:2831] (SourceId=sid_rand_68, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:31.592799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474401736324071:2831] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:31.594415Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474401736324071:2831] (SourceId=sid_rand_68, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:31.594496Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324090:2831] connected; active server actors: 1
2025-10-15T15:42:31.594514Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474401736324071:2831] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_68
2025-10-15T15:42:31.594518Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474401736324071:2831] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:31.594558Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324090:2831] disconnected.
2025-10-15T15:42:31.594568Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324090:2831] disconnected; active server actors: 1
2025-10-15T15:42:31.594570Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324090:2831] disconnected no session
2025-10-15T15:42:31.597181Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474401736324071:2831] (SourceId=sid_rand_68, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:31.597195Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474401736324071:2831] (SourceId=sid_rand_68, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-15T15:42:31.597199Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474401736324071:2831] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:31.597205Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 79 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-15T15:42:31.597567Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:31.597717Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_68|d1f01b48-30f8e01-63d4862f-e62b18b2_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_68
2025-10-15T15:42:31.598075Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 79 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_68|d1f01b48-30f8e01-63d4862f-e62b18b2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_68|d1f01b48-30f8e01-63d4862f-e62b18b2_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:31.598716Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId: sid_rand_68|d1f01b48-30f8e01-63d4862f-e62b18b2_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.598724Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 79 sessionId: sid_rand_68|d1f01b48-30f8e01-63d4862f-e62b18b2_0 grpc read failed
2025-10-15T15:42:31.598845Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 79 sessionId: sid_rand_68|d1f01b48-30f8e01-63d4862f-e62b18b2_0
2025-10-15T15:42:31.598857Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:31.598857Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 79 sessionId: sid_rand_68|d1f01b48-30f8e01-63d4862f-e62b18b2_0 is DEAD
2025-10-15T15:42:31.598861Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 80
2025-10-15T15:42:31.598955Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:31.598995Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_69" }
2025-10-15T15:42:31.599024Z 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]:52884
2025-10-15T15:42:31.599033Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=80 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:31.599036Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:31.599533Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 80 sessionId:  describe result for acl check
2025-10-15T15:42:31.599623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:31.599633Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:31.605188Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_69|31003a6b-2fe0327e-8bed23a4-255cb9ec_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_69
Init result: { 2025-10-15T15:42:31.599635Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:31.599642Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474401736324110:2835] (SourceId=sid_rand_69, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:31.600446Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474401736324110:2835] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:31.601983Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474401736324110:2835] (SourceId=sid_rand_69, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:31.602036Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324127:2835] connected; active server actors: 1
2025-10-15T15:42:31.602048Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474401736324110:2835] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_69
2025-10-15T15:42:31.602052Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474401736324110:2835] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Update the table
status: SUCCESS init_response { session_id: "sid_rand_69|31003a6b-2fe0327e-8bed23a4-255cb9ec_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }2025-10-15T15:42:31.602095Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324127:2835] disconnected.
2025-10-15T15:42:31.602099Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324127:2835] disconnected; active server actors: 1
2025-10-15T15:42:31.602101Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324127:2835] disconnected no session
2025-10-15T15:42:31.604772Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474401736324110:2835] (SourceId=sid_rand_69, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:31.604789Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474401736324110:2835] (SourceId=sid_rand_69, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-15T15:42:31.604792Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474401736324110:2835] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:31.604798Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 80 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-15T15:42:31.605062Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:31.605582Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 80 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_69|31003a6b-2fe0327e-8bed23a4-255cb9ec_0
2025-10-15T15:42:31.693029Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId: sid_rand_69|31003a6b-2fe0327e-8bed23a4-255cb9ec_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.693058Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 80 sessionId: sid_rand_69|31003a6b-2fe0327e-8bed23a4-255cb9ec_0 grpc read failed
2025-10-15T15:42:31.693066Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 80 sessionId: sid_rand_69|31003a6b-2fe0327e-8bed23a4-255cb9ec_0 grpc closed
2025-10-15T15:42:31.693072Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 80 sessionId: sid_rand_69|31003a6b-2fe0327e-8bed23a4-255cb9ec_0 is DEAD
2025-10-15T15:42:31.693182Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:31.693195Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 81
2025-10-15T15:42:31.693309Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:31.693492Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_70" }
2025-10-15T15:42:31.693526Z 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]:52884
2025-10-15T15:42:31.693544Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=81 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:31.693548Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:31.693986Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 81 sessionId:  describe result for acl check
2025-10-15T15:42:31.694023Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:31.694029Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:31.694031Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:31.694036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474401736324147:2839] (SourceId=sid_rand_70, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:31.694529Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474401736324147:2839] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:31.696354Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474401736324147:2839] (SourceId=sid_rand_70, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:31.696431Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324163:2839] connected; active server actors: 1
2025-10-15T15:42:31.696454Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474401736324147:2839] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_70
2025-10-15T15:42:31.696459Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474401736324147:2839] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:31.696516Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324163:2839] disconnected.
2025-10-15T15:42:31.696524Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324163:2839] disconnected; active server actors: 1
2025-10-15T15:42:31.696526Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324163:2839] disconnected no session
2025-10-15T15:42:31.699134Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474401736324147:2839] (SourceId=sid_rand_70, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:31.699149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474401736324147:2839] (SourceId=sid_rand_70, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-15T15:42:31.699152Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474401736324147:2839] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:31.699159Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 81 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-15T15:42:31.699540Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:31.699681Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_70|8441a16f-7a9611a0-77ca622-e860e729_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_70
2025-10-15T15:42:31.700065Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 81 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_70|8441a16f-7a9611a0-77ca622-e860e729_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_70|8441a16f-7a9611a0-77ca622-e860e729_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:31.700670Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId: sid_rand_70|8441a16f-7a9611a0-77ca622-e860e729_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.700678Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 81 sessionId: sid_rand_70|8441a16f-7a9611a0-77ca622-e860e729_0 grpc read failed
2025-10-15T15:42:31.700683Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 81 sessionId: sid_rand_70|8441a16f-7a9611a0-77ca622-e860e729_0 grpc closed
2025-10-15T15:42:31.700687Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 81 sessionId: sid_rand_70|8441a16f-7a9611a0-77ca622-e860e729_0 is DEAD
2025-10-15T15:42:31.700877Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:31.700887Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:31.700889Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 82
2025-10-15T15:42:31.700987Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_71" }
2025-10-15T15:42:31.701016Z 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]:52884
2025-10-15T15:42:31.701024Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=82 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:31.701028Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:31.701408Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 82 sessionId:  describe result for acl check
2025-10-15T15:42:31.701440Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:31.701446Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:31.701448Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:31.701452Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474401736324183:2843] (SourceId=sid_rand_71, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:31.702054Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474401736324183:2843] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:31.703881Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474401736324183:2843] (SourceId=sid_rand_71, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:31.703955Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324199:2843] connected; active server actors: 1
2025-10-15T15:42:31.703974Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474401736324183:2843] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_71
2025-10-15T15:42:31.703984Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474401736324183:2843] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:31.704033Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324199:2843] disconnected.
Init result: { 2025-10-15T15:42:31.704041Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324199:2843] disconnected; active server actors: 1
status: SUCCESS init_response { session_id: "sid_rand_71|ffff28fa-e4fdca39-a5fad9ab-92da6e24_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:31.704044Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324199:2843] disconnected no session
2025-10-15T15:42:31.706773Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474401736324183:2843] (SourceId=sid_rand_71, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:31.706779Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474401736324183:2843] (SourceId=sid_rand_71, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-15T15:42:31.706802Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474401736324183:2843] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:31.706808Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 82 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-15T15:42:31.706971Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:31.707010Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_71|ffff28fa-e4fdca39-a5fad9ab-92da6e24_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_71
2025-10-15T15:42:31.707173Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 82 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_71|ffff28fa-e4fdca39-a5fad9ab-92da6e24_0
2025-10-15T15:42:31.797037Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId: sid_rand_71|ffff28fa-e4fdca39-a5fad9ab-92da6e24_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.797071Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 82 sessionId: sid_rand_71|ffff28fa-e4fdca39-a5fad9ab-92da6e24_0 grpc read failed
2025-10-15T15:42:31.797078Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 82 sessionId: sid_rand_71|ffff28fa-e4fdca39-a5fad9ab-92da6e24_0 grpc closed
2025-10-15T15:42:31.797084Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 82 sessionId: sid_rand_71|ffff28fa-e4fdca39-a5fad9ab-92da6e24_0 is DEAD
2025-10-15T15:42:31.797175Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:31.797189Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 83
2025-10-15T15:42:31.797365Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:31.797397Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_72" }
2025-10-15T15:42:31.797435Z 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]:52884
2025-10-15T15:42:31.797444Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=83 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:31.797448Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:31.797920Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 83 sessionId:  describe result for acl check
2025-10-15T15:42:31.797964Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:31.797970Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:31.797972Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:31.797978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474401736324222:2847] (SourceId=sid_rand_72, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:31.798564Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474401736324222:2847] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:31.800187Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474401736324222:2847] (SourceId=sid_rand_72, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:31.800264Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324241:2847] connected; active server actors: 1
2025-10-15T15:42:31.800288Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474401736324222:2847] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_72
2025-10-15T15:42:31.800296Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474401736324222:2847] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:31.800347Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324241:2847] disconnected.
2025-10-15T15:42:31.800354Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324241:2847] disconnected; active server actors: 1
2025-10-15T15:42:31.800356Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324241:2847] disconnected no session
2025-10-15T15:42:31.802861Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474401736324222:2847] (SourceId=sid_rand_72, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:31.802873Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474401736324222:2847] (SourceId=sid_rand_72, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-15T15:42:31.802876Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474401736324222:2847] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:31.802883Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 83 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-15T15:42:31.803169Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:31.803289Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_72|34ffedd0-45b10f87-c15a192f-d213b7a1_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_72
2025-10-15T15:42:31.803687Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 83 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_72|34ffedd0-45b10f87-c15a192f-d213b7a1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_72|34ffedd0-45b10f87-c15a192f-d213b7a1_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:31.804293Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId: sid_rand_72|34ffedd0-45b10f87-c15a192f-d213b7a1_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.804302Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 83 sessionId: sid_rand_72|34ffedd0-45b10f87-c15a192f-d213b7a1_0 grpc read failed
2025-10-15T15:42:31.804307Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 83 sessionId: sid_rand_72|34ffedd0-45b10f87-c15a192f-d213b7a1_0 grpc closed
2025-10-15T15:42:31.804311Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 83 sessionId: sid_rand_72|34ffedd0-45b10f87-c15a192f-d213b7a1_0 is DEAD
2025-10-15T15:42:31.804415Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:31.804426Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 84
2025-10-15T15:42:31.804547Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:31.804573Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_73" }
2025-10-15T15:42:31.804600Z 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]:52884
2025-10-15T15:42:31.804608Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=84 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:31.804611Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:31.804970Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 84 sessionId:  describe result for acl check
2025-10-15T15:42:31.804992Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:31.804998Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:31.810598Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_73|ecf5154f-5e659c39-ec870426-8e41d1be_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_73
Init result: { 2025-10-15T15:42:31.805000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:31.805004Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474401736324261:2851] (SourceId=sid_rand_73, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:31.805440Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474401736324261:2851] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:31.807264Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474401736324261:2851] (SourceId=sid_rand_73, PreferedPartition=(NULL)) RequestPQRB
status: SUCCESS init_response { session_id: "sid_rand_73|ecf5154f-5e659c39-ec870426-8e41d1be_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-15T15:42:31.807380Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324277:2851] connected; active server actors: 1
2025-10-15T15:42:31.807393Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474401736324261:2851] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_73
2025-10-15T15:42:31.807397Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474401736324261:2851] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:31.807454Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324277:2851] disconnected.
2025-10-15T15:42:31.807457Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324277:2851] disconnected; active server actors: 1
2025-10-15T15:42:31.807459Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324277:2851] disconnected no session
2025-10-15T15:42:31.810226Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474401736324261:2851] (SourceId=sid_rand_73, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:31.810232Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474401736324261:2851] (SourceId=sid_rand_73, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-15T15:42:31.810235Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474401736324261:2851] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:31.810241Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 84 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-15T15:42:31.810510Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-10-15T15:42:31.811029Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 84 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_73|ecf5154f-5e659c39-ec870426-8e41d1be_0
2025-10-15T15:42:31.898631Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId: sid_rand_73|ecf5154f-5e659c39-ec870426-8e41d1be_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.898649Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 84 sessionId: sid_rand_73|ecf5154f-5e659c39-ec870426-8e41d1be_0 grpc read failed
2025-10-15T15:42:31.898657Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 84 sessionId: sid_rand_73|ecf5154f-5e659c39-ec870426-8e41d1be_0 grpc closed
2025-10-15T15:42:31.898662Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 84 sessionId: sid_rand_73|ecf5154f-5e659c39-ec870426-8e41d1be_0 is DEAD
2025-10-15T15:42:31.898740Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-15T15:42:31.898758Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 85
2025-10-15T15:42:31.898837Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:31.898878Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_74" }
2025-10-15T15:42:31.898911Z 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]:52884
2025-10-15T15:42:31.898922Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=85 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:52884 proto=v1  topic=topic1 durationSec=0
2025-10-15T15:42:31.898926Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-15T15:42:31.899343Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 85 sessionId:  describe result for acl check
2025-10-15T15:42:31.899388Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-15T15:42:31.899390Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-15T15:42:31.899393Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-15T15:42:31.899398Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7561474401736324297:2855] (SourceId=sid_rand_74, PreferedPartition=(NULL)) StartKqpSession
2025-10-15T15:42:31.900008Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7561474401736324297:2855] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Select from the table
2025-10-15T15:42:31.901387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7561474401736324297:2855] (SourceId=sid_rand_74, PreferedPartition=(NULL)) RequestPQRB
2025-10-15T15:42:31.901455Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324313:2855] connected; active server actors: 1
2025-10-15T15:42:31.901474Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7561474401736324297:2855] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_74
2025-10-15T15:42:31.901479Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7561474401736324297:2855] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Update the table
2025-10-15T15:42:31.901540Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1657: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324313:2855] disconnected.
2025-10-15T15:42:31.901551Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1668: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324313:2855] disconnected; active server actors: 1
2025-10-15T15:42:31.901553Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1693: [72075186224037894][rt3.dc1--topic1] pipe [17:7561474401736324313:2855] disconnected no session
2025-10-15T15:42:31.904593Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7561474401736324297:2855] (SourceId=sid_rand_74, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-15T15:42:31.904606Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7561474401736324297:2855] (SourceId=sid_rand_74, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-15T15:42:31.904610Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7561474401736324297:2855] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Start idle
2025-10-15T15:42:31.904617Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 85 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-15T15:42:31.904740Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-10-15T15:42:31.904798Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_74|19959d11-f3a5e2ea-3c642564-14db5a1c_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_74
2025-10-15T15:42:31.904966Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 85 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_74|19959d11-f3a5e2ea-3c642564-14db5a1c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_74|19959d11-f3a5e2ea-3c642564-14db5a1c_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
Round robin check: 0:6
Round robin check: 1:5
Round robin check: 2:5
Round robin check: 3:5
Round robin check: 4:5
Round robin check: 5:4
Round robin check: 6:4
Round robin check: 7:4
Round robin check: 8:5
Round robin check: 9:5
Round robin check: 10:5
Round robin check: 11:5
Round robin check: 12:5
Round robin check: 13:6
Round robin check: 14:6
2025-10-15T15:42:31.905570Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId: sid_rand_74|19959d11-f3a5e2ea-3c642564-14db5a1c_0 grpc read done: success: 0 data: 
2025-10-15T15:42:31.905581Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 85 sessionId: sid_rand_74|19959d11-f3a5e2ea-3c642564-14db5a1c_0 grpc read failed
2025-10-15T15:42:31.905730Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 85 sessionId: sid_rand_74|19959d11-f3a5e2ea-3c642564-14db5a1c_0
2025-10-15T15:42:31.905741Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 85 sessionId: sid_rand_74|19959d11-f3a5e2ea-3c642564-14db5a1c_0 is DEAD
2025-10-15T15:42:31.905865Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-15T15:42:32.053883Z node 17 :KQP_EXECUTER ERROR: kqp_executer_impl.h:1010: ActorId: [17:7561474406031291657:2861] TxId: 281474976720850. Ctx: { TraceId: 01k7m8k2j9cj4a3cw3p02ymhar, Database: /Root, SessionId: ydb://session/3?node_id=17&id=MmU5NDBkZDktZTlmMWFlNzQtOTAzNzFmNTUtMTQxZTA2ODM=, PoolId: default}. UNAVAILABLE: Failed to send EvStartKqpTasksRequest because node is unavailable: 18
2025-10-15T15:42:32.054172Z node 17 :KQP_COMPUTE ERROR: dq_compute_actor_impl.h:1210: SelfId: [17:7561474406031291663:2861], TxId: 281474976720850, task: 3. Ctx: { TraceId : 01k7m8k2j9cj4a3cw3p02ymhar.  RunScriptActorId : [0:0:0].  CustomerSuppliedId : .  PoolId : default.  SessionId : ydb://session/3?node_id=17&id=MmU5NDBkZDktZTlmMWFlNzQtOTAzNzFmNTUtMTQxZTA2ODM=.  CurrentExecutionId : .  Database : /Root.  DatabaseId : /Root. }. Handle abort execution event from: [17:7561474406031291657:2861], status: UNAVAILABLE, reason: { <main>: Error: Terminate execution }
