2025-11-01T19:48:51.866584Z node 17 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[17:7567846325433331224:2089];send_to=[0:7307199536658146131:7762515];
2025-11-01T19:48:51.871440Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/4xuc/001abc/r3tmp/tmp2HtQ4u/pdisk_1.dat
2025-11-01T19:48:51.922898Z node 17 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-11-01T19:48:51.923670Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-11-01T19:48:51.924666Z node 18 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-11-01T19:48:51.937443Z node 18 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-11-01T19:48:51.937612Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=incorrect path status: LookupError;
2025-11-01T19:48:52.105427Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-11-01T19:48:52.141728Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-11-01T19:48:52.141880Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-11-01T19:48:52.143382Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-11-01T19:48:52.143490Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-11-01T19:48:52.151170Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-11-01T19:48:52.151460Z node 17 :HIVE WARN: hive_impl.cpp:811: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 18 Cookie 18
2025-11-01T19:48:52.153096Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 65341, node 17
2025-11-01T19:48:52.207679Z 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-11-01T19:48:52.213307Z node 18 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2025-11-01T19:48:52.259633Z 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/4xuc/001abc/r3tmp/yandexnwHrcw.tmp
2025-11-01T19:48:52.259664Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/4xuc/001abc/r3tmp/yandexnwHrcw.tmp
2025-11-01T19:48:52.259852Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/4xuc/001abc/r3tmp/yandexnwHrcw.tmp
2025-11-01T19:48:52.260083Z node 17 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-11-01T19:48:52.318589Z INFO: TTestServer started on Port 28217 GrpcPort 65341
TClient is connected to server localhost:28217
PQClient connected to localhost:65341
WaitRootIsUp 'Root'...
TClient::Ls request: Root
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "Root"
    PathId: 1
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 1
    CreateStep: 0
    ParentPathId: 1
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 1
      SubDomainVersion: 0
      SecurityStateVersion: 0
    }
    ChildrenExist: false
  }
  Children {
    Name: ".sys"
    PathId: 18446744073709551615
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 0
    CreateStep: 0
    ParentPathId: 18446744073709551615
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 0
      Pl...
(TRUNCATED)
WaitRootIsUp 'Root' success.
2025-11-01T19:48:52.634136Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976710657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
waiting...
waiting...
2025-11-01T19:48:52.689312Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710659:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
waiting...
2025-11-01T19:48:52.868220Z node 17 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
waiting...
2025-11-01T19:48:52.905714Z node 18 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
waiting...
2025-11-01T19:48:56.844453Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[17:7567846325433331224:2089];send_to=[0:7307199536658146131:7762515];
2025-11-01T19:48:56.844582Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
2025-11-01T19:48:57.378381Z node 18 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [18:7567846352298369292:2308], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-01T19:48:57.378393Z node 18 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [18:7567846352298369281:2305], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-01T19:48:57.378520Z node 18 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-01T19:48:57.379054Z node 18 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [18:7567846352298369296:2310], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-01T19:48:57.379163Z node 18 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-01T19:48:57.389418Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateResourcePool, opId: 281474976720657:3, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:179)
2025-11-01T19:48:57.425854Z node 18 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [18:7567846352298369295:2309], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976720657 completed, doublechecking }
2025-11-01T19:48:57.504876Z node 18 :TX_PROXY ERROR: schemereq.cpp:593: Actor# [18:7567846352298369324:2187] txid# 281474976720658, issues: { message: "Check failed: path: \'/Root/.metadata/workload_manager/pools/default\', error: path exist, request accepts it (id: [OwnerId: 72057594046644480, LocalPathId: 9], type: EPathTypeResourcePool, state: EPathStateNoChanges)" severity: 1 }
2025-11-01T19:48:57.563141Z node 18 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:570: Compilation failed, self: [18:7567846352298369338:2314], status: SCHEME_ERROR, issues: <main>: Error: Type annotation, code: 1030
    <main>:3:16: Error: At function: KiReadTable!
        <main>:3:16: Error: Cannot find table 'db.[/Root/PQ/Config/V2/Cluster]' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions., code: 2003
2025-11-01T19:48:57.563479Z node 18 :KQP_SESSION WARN: kqp_session_actor.cpp:2506: SessionId: ydb://session/3?node_id=18&id=NzJmYmQxZjgtNmYxYzg0MmItNTBkYWViMi01NGI0MzgwYQ==, ActorId: [18:7567846352298369278:2304], ActorState: ExecuteState, TraceId: 01k90fegd0a4hx0ex0m4bewdbf, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-11-01T19:48:57.564167Z node 18 :PERSQUEUE_CLUSTER_TRACKER ERROR: cluster_tracker.cpp:167: failed to list clusters: { Response { QueryIssues { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 3 column: 16 } message: "At function: KiReadTable!" end_position { row: 3 column: 16 } severity: 1 issues { position { row: 3 column: 16 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Cluster]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 3 column: 16 } issue_code: 2003 severity: 1 } } } TxMeta { } } YdbStatus: SCHEME_ERROR ConsumedRu: 1 }
2025-11-01T19:48:57.698577Z node 17 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:570: Compilation failed, self: [17:7567846351203136136:2336], status: SCHEME_ERROR, issues: <main>: Error: Type annotation, code: 1030
    <main>:3:16: Error: At function: KiReadTable!
        <main>:3:16: Error: Cannot find table 'db.[/Root/PQ/Config/V2/Cluster]' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions., code: 2003
2025-11-01T19:48:57.702845Z node 17 :KQP_SESSION WARN: kqp_session_actor.cpp:2506: SessionId: ydb://session/3?node_id=17&id=NjE0MzkyZTUtNzBiNDFjZWYtYTRlMTM3YTgtMmEyYzdmZGU=, ActorId: [17:7567846351203136110:2329], ActorState: ExecuteState, TraceId: 01k90fegnf8mgpj7df24fjdwq7, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-11-01T19:48:57.703455Z node 17 :PERSQUEUE_CLUSTER_TRACKER ERROR: cluster_tracker.cpp:167: failed to list clusters: { Response { QueryIssues { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 3 column: 16 } message: "At function: KiReadTable!" end_position { row: 3 column: 16 } severity: 1 issues { position { row: 3 column: 16 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Cluster]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 3 column: 16 } issue_code: 2003 severity: 1 } } } TxMeta { } } YdbStatus: SCHEME_ERROR ConsumedRu: 1 }
2025-11-01T19:48:57.717420Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710662:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
2025-11-01T19:48:57.869053Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710663:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
2025-11-01T19:48:58.027982Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710664:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
=== Init DC: UPSERT INTO `/Root/PQ/Config/V2/Cluster` (name, balancer, local, enabled, weight) VALUES ("dc1", "localhost", true, true, 1000), ("dc2", "dc2.logbroker.yandex.net", false, true, 1000);
2025-11-01T19:48:58.389532Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976710665. Ctx: { TraceId: 01k90feh586gtyvsxyaqej1akc, Database: , SessionId: ydb://session/3?node_id=17&id=ZGZkMGZkMTgtNjE2NTAzNWMtMTgyNDY1NWQtMmY3OTRhM2Y=, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [17:7567846355498103887:3098] 
2025-11-01T19:49:07.060343Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard_impl.cpp:7727: Cannot get console configs
2025-11-01T19:49:07.060378Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
=== CheckClustersList. Ok
PQ Client: create topic: rt3.dc1--topic1 with 10 partitions
CallPersQueueGRPC request to localhost:65341
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
CallPersQueueGRPC response:
Status: 128
ErrorReason: "the following topics are not created: rt3.dc1--topic1, Marker# PQ95"
ErrorCode: UNKNOWN_TOPIC
CallPersQueueGRPC request to localhost:65341
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
      }
    }
  }
}
2025-11-01T19:49:07.409720Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976710670
  SchemeShardTabletId: 72057594046644480
  PathId: 13
}
ErrorCode: OK
AddTopic: rt3.dc1--topic1
===Run query:``DECLARE $version as Int64; DECLARE $path AS Utf8; DECLARE $cluster as Utf8; UPSERT INTO `/Root/PQ/Config/V2/Topics` (path, dc) VALUES ($path, $cluster); UPSERT INTO `/Root/PQ/Config/V2/Versions` (name, version) VALUES ("Topics", $version);`` with topic = topic1, dc = dc1
2025-11-01T19:49:07.503531Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-01T19:49:07.503602Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037893] doesn't have tx writes info
2025-11-01T19:49:07.510030Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][] pipe [17:7567846394152809997:3350] connected; active server actors: 1
2025-11-01T19:49:07.511766Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1519: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [3, 0, 1, 6, 8, 9, 2, 5, 7, 4]
2025-11-01T19:49:07.513871Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:971: [72075186224037894][rt3.dc1--topic1] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037894
2025-11-01T19:49:07.521654Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-01T19:49:07.521734Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037892] doesn't have tx writes info
2025-11-01T19:49:07.522563Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:404: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037892, NodeId 18, Generation 1
2025-11-01T19:49:07.522754Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:404: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037893, NodeId 17, Generation 1
2025-11-01T19:49:07.523007Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:140: [72075186224037894][rt3.dc1--topic1] BALANCER INIT DONE for rt3.dc1--topic1: (0, 72075186224037892) (1, 72075186224037892) (2, 72075186224037893) (3, 72075186224037892) (4, 72075186224037893) (5, 72075186224037893) (6, 72075186224037892) (7, 72075186224037893) (8, 72075186224037892) (9, 72075186224037893) 
2025-11-01T19:49:07.587099Z node 18 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037892][Partition][3][StateInit] bootstrapping 3 [18:7567846395248042589:2372]
2025-11-01T19:49:07.588846Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037893][Partition][9][StateInit] bootstrapping 9 [17:7567846394152810095:2457]
2025-11-01T19:49:07.592040Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][3][StateInit] init complete for topic 'rt3.dc1--topic1' partition 3 generation 1 [18:7567846395248042589:2372]
2025-11-01T19:49:07.595499Z node 18 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [18:7567846395248042590:2372]
2025-11-01T19:49:07.596828Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][9][StateInit] init complete for topic 'rt3.dc1--topic1' partition 9 generation 1 [17:7567846394152810095:2457]
2025-11-01T19:49:07.600012Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][0][StateInit] init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [18:7567846395248042590:2372]
2025-11-01T19:49:07.601402Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037893][Partition][2][StateInit] bootstrapping 2 [17:7567846394152810096:2457]
2025-11-01T19:49:07.603031Z node 18 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037892][Partition][1][StateInit] bootstrapping 1 [18:7567846395248042591:2372]
2025-11-01T19:49:07.605189Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][2][StateInit] init complete for topic 'rt3.dc1--topic1' partition 2 generation 1 [17:7567846394152810096:2457]
2025-11-01T19:49:07.606253Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][1][StateInit] init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [18:7567846395248042591:2372]
2025-11-01T19:49:07.608682Z node 18 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037892][Partition][6][StateInit] bootstrapping 6 [18:7567846395248042592:2372]
2025-11-01T19:49:07.607706Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037893][Partition][5][StateInit] bootstrapping 5 [17:7567846394152810097:2457]
2025-11-01T19:49:07.612207Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][6][StateInit] init complete for topic 'rt3.dc1--topic1' partition 6 generation 1 [18:7567846395248042592:2372]
2025-11-01T19:49:07.611048Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][5][StateInit] init complete for topic 'rt3.dc1--topic1' partition 5 generation 1 [17:7567846394152810097:2457]
2025-11-01T19:49:07.613567Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037893][Partition][7][StateInit] bootstrapping 7 [17:7567846394152810101:2457]
2025-11-01T19:49:07.614689Z node 18 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037892][Partition][8][StateInit] bootstrapping 8 [18:7567846395248042593:2372]
2025-11-01T19:49:07.617337Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][7][StateInit] init complete for topic 'rt3.dc1--topic1' partition 7 generation 1 [17:7567846394152810101:2457]
2025-11-01T19:49:07.618611Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][8][StateInit] init complete for topic 'rt3.dc1--topic1' partition 8 generation 1 [18:7567846395248042593:2372]
2025-11-01T19:49:07.620154Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037893][Partition][4][StateInit] bootstrapping 4 [17:7567846394152810102:2457]
2025-11-01T19:49:07.623670Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][4][StateInit] init complete for topic 'rt3.dc1--topic1' partition 4 generation 1 [17:7567846394152810102:2457]
2025-11-01T19:49:07.645712Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-01T19:49:07.652780Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-01T19:49:07.755887Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976710671. Ctx: { TraceId: 01k90fet9z6zww6qbsgvkyy2vq, Database: , SessionId: ydb://session/3?node_id=17&id=ZTQ3Y2FkMWUtNDA5Y2YzMDItOWY1M2NhYWItYWFhZjI3Nzg=, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
===Query complete
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976710670
    CreateStep: 1762026547603
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 1
    }
    ChildrenExist: false
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 13
    TotalGroupCount: 10
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 60000...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976710670
    CreateStep: 1762026547603
    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:65341
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-01T19:49:07.834861Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 1
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 1
2025-11-01T19:49:07.844377Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:07.844430Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-11-01T19:49:07.844877Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "12345678" }
2025-11-01T19:49:07.845131Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:44138
2025-11-01T19:49:07.845164Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:07.845178Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:07.847627Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-11-01T19:49:07.847864Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:07.847885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:07.847901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:07.847930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846394152810240:2476] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:07.853665Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846394152810240:2476] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:08.312926Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846394152810240:2476] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:08.313649Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846398447777588:2476] connected; active server actors: 1
2025-11-01T19:49:08.314333Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846394152810240:2476] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=12345678
2025-11-01T19:49:08.314374Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846394152810240:2476] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:08.314977Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846398447777588:2476] disconnected.
2025-11-01T19:49:08.315018Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846398447777588:2476] disconnected; active server actors: 1
2025-11-01T19:49:08.315046Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846398447777588:2476] disconnected no session
2025-11-01T19:49:08.496374Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846394152810240:2476] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:08.496430Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846394152810240:2476] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-01T19:49:08.496457Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846394152810240:2476] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:08.496499Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-01T19:49:08.501026Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:08.502844Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 12345678|a4aca192-ce8e432d-94fee279-faf479f0_0 generated for partition 6 topic 'rt3.dc1--topic1' owner 12345678
2025-11-01T19:49:08.507552Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 6 MaxSeqNo: 0 sessionId: 12345678|a4aca192-ce8e432d-94fee279-faf479f0_0
2025-11-01T19:49:08.510840Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: 12345678|a4aca192-ce8e432d-94fee279-faf479f0_0 grpc read done: success: 0 data: 
2025-11-01T19:49:08.510870Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: 12345678|a4aca192-ce8e432d-94fee279-faf479f0_0 grpc read failed
2025-11-01T19:49:08.511114Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 1 sessionId: 12345678|a4aca192-ce8e432d-94fee279-faf479f0_0
2025-11-01T19:49:08.511142Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: 12345678|a4aca192-ce8e432d-94fee279-faf479f0_0 is DEAD
2025-11-01T19:49:08.511571Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
Finish: 0 
2025-11-01T19:49:08.519192Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:08.519230Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-11-01T19:49:08.520069Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-11-01T19:49:08.520288Z 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]:44138
2025-11-01T19:49:08.520312Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:08.520326Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:08.525868Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-11-01T19:49:08.526059Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:08.526075Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:08.526090Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:08.526118Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846398447777631:2495] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:08.531006Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846398447777631:2495] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:08.543304Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846398447777631:2495] (SourceId=source, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:08.544831Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846398447777650:2495] connected; active server actors: 1
2025-11-01T19:49:08.545687Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846398447777631:2495] (SourceId=source, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=source
2025-11-01T19:49:08.545738Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846398447777631:2495] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:08.547278Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846398447777650:2495] disconnected.
2025-11-01T19:49:08.547325Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846398447777650:2495] disconnected; active server actors: 1
2025-11-01T19:49:08.547361Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846398447777650:2495] disconnected no session
2025-11-01T19:49:08.562358Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846398447777631:2495] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:08.562414Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846398447777631:2495] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-01T19:49:08.562443Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846398447777631:2495] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:08.562487Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-01T19:49:08.564443Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:08.564646Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|f4e26222-3270ae71-1db8207f-1e3c962f_0 generated for partition 7 topic 'rt3.dc1--topic1' owner source
2025-11-01T19:49:08.565210Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 7 MaxSeqNo: 0 sessionId: source|f4e26222-3270ae71-1db8207f-1e3c962f_0
request: { write_request { sequence_numbers: 2 created_at_ms: 1762026548567 sent_at_ms: 1762026548567 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-11-01T19:49:08.571017Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|f4e26222-3270ae71-1db8207f-1e3c962f_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T19:49:08.571489Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T19:49:08.572437Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 3 created_at_ms: 1762026548581 sent_at_ms: 1762026548581 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-11-01T19:49:08.580056Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T19:49:08.583629Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|f4e26222-3270ae71-1db8207f-1e3c962f_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T19:49:08.584002Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T19:49:08.584310Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 4 created_at_ms: 1762026548675 sent_at_ms: 1762026548675 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-11-01T19:49:08.673280Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T19:49:08.676472Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|f4e26222-3270ae71-1db8207f-1e3c962f_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T19:49:08.676809Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T19:49:08.677205Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T19:49:08.682409Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 5 created_at_ms: 1762026548686 sent_at_ms: 1762026548686 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-11-01T19:49:08.691161Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|f4e26222-3270ae71-1db8207f-1e3c962f_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T19:49:08.691955Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T19:49:08.692365Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T19:49:08.703272Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T19:49:08.707159Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|f4e26222-3270ae71-1db8207f-1e3c962f_0 grpc read done: success: 0 data: 
2025-11-01T19:49:08.707193Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: source|f4e26222-3270ae71-1db8207f-1e3c962f_0 grpc read failed
2025-11-01T19:49:08.707516Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 2 sessionId: source|f4e26222-3270ae71-1db8207f-1e3c962f_0
2025-11-01T19:49:08.707546Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: source|f4e26222-3270ae71-1db8207f-1e3c962f_0 is DEAD
2025-11-01T19:49:08.708103Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
1 0 
CallPersQueueGRPC request to localhost:65341
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-01T19:49:08.715178Z 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:65341
MetaRequest {
  CmdChangeTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 15
  }
}
2025-11-01T19:49:08.723644Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterPersQueueGroup, opId: 281474976710676:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_pq.cpp:313)
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976710676
  SchemeShardTabletId: 72057594046644480
}
ErrorCode: OK
Alter got 1
2025-11-01T19:49:08.758883Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1519: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [11, 13, 14, 12, 10]
2025-11-01T19:49:08.794520Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-01T19:49:08.794598Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037895] doesn't have tx writes info
2025-11-01T19:49:08.883022Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-01T19:49:08.926364Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976710677. Ctx: { TraceId: 01k90fevhx3ent1dejw26ffcwe, Database: , SessionId: ydb://session/3?node_id=17&id=MzlhYjIwMmUtYTk2MzNhZTItODNmZTZiZWMtMzdmNzA4Nw==, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
2025-11-01T19:49:08.935974Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037895][Partition][11][StateInit] bootstrapping 11 [17:7567846398447777857:2503]
2025-11-01T19:49:08.939721Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][11][StateInit] init complete for topic 'rt3.dc1--topic1' partition 11 generation 1 [17:7567846398447777857:2503]
2025-11-01T19:49:08.943633Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037895][Partition][13][StateInit] bootstrapping 13 [17:7567846398447777859:2503]
2025-11-01T19:49:08.946873Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][13][StateInit] init complete for topic 'rt3.dc1--topic1' partition 13 generation 1 [17:7567846398447777859:2503]
2025-11-01T19:49:08.949151Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037895][Partition][14][StateInit] bootstrapping 14 [17:7567846398447777861:2503]
2025-11-01T19:49:08.952449Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][14][StateInit] init complete for topic 'rt3.dc1--topic1' partition 14 generation 1 [17:7567846398447777861:2503]
2025-11-01T19:49:08.959997Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037895][Partition][12][StateInit] bootstrapping 12 [17:7567846398447777862:2503]
2025-11-01T19:49:08.964881Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][12][StateInit] init complete for topic 'rt3.dc1--topic1' partition 12 generation 1 [17:7567846398447777862:2503]
2025-11-01T19:49:08.967484Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037895][Partition][10][StateInit] bootstrapping 10 [17:7567846398447777863:2503]
2025-11-01T19:49:08.970340Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][10][StateInit] init complete for topic 'rt3.dc1--topic1' partition 10 generation 1 [17:7567846398447777863:2503]
2025-11-01T19:49:08.975293Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
CallPersQueueGRPC request to localhost:65341
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-01T19:49:09.006299Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-01T19:49:09.009005Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 1
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 1
Alter1 got 1
CallPersQueueGRPC request to localhost:65341
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-01T19:49:09.520045Z 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: 281474976710670
    CreateStep: 1762026547603
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 3
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 3
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 2
    }
    ChildrenExist: false
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 13
    TotalGroupCount: 15
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 60000...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976710670
    CreateStep: 1762026547603
    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: 1480
        DataSize: 1480
        IndexSize: 0
      }
      Topics {
        ReserveSize: 0
        AccountSize: 0
        DataSize: 0
        UsedReserveSize: 0
      }
    }
    PQPartitionsInside: 15
    PQPartitionsLimit: 1000000
    SchemeLimits {
      MaxDepth: 32
      MaxPaths: 10000
      MaxChildrenInDir: 100000
      MaxAclBytesSize: 10240
      MaxTableColumns: 200
      MaxTableColumnNameLength: 255
      MaxTableKeyColumns: 30
      MaxTableIndices: 20
      MaxShards: 200000
      MaxShardsInPath: 35000
      MaxConsistentCopyTargets: 10000
      MaxPathElementLength: 255
      ExtraPathSymbolsAllowed: "!\"#$%&\'()*+,-.:;<=>?@[\\]^_`{|}~"
      MaxPQPartitions: 1000000
      MaxTableCdcStreams: 5
      MaxExports: 10
      MaxImports: 10
      MaxColumnTableColumns: 10000
    }
  }
}
Path: "/Root/PQ/rt3.dc1--topic1"
 name rt3.dc1--topic1 version2
2025-11-01T19:49:09.534335Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:09.534386Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-11-01T19:49:09.534946Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-11-01T19:49:09.535199Z 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]:44138
2025-11-01T19:49:09.535243Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:09.535263Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:09.540415Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-11-01T19:49:09.540643Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:09.540661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:09.540676Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:09.540708Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846402742745355:2530] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:09.546498Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846402742745355:2530] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:09.563127Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846402742745355:2530] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:09.587347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846402742745355:2530] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:09.587412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846402742745355:2530] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=0
2025-11-01T19:49:09.587445Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846402742745355:2530] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:09.587496Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-01T19:49:09.589671Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:09.589909Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|44b035a-157ed111-45b6e3da-faa9dffb_0 generated for partition 7 topic 'rt3.dc1--topic1' owner source
2025-11-01T19:49:09.590501Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 7 MaxSeqNo: 5 sessionId: source|44b035a-157ed111-45b6e3da-faa9dffb_0
request: { write_request { sequence_numbers: 6 created_at_ms: 1762026549591 sent_at_ms: 1762026549591 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-11-01T19:49:09.592653Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|44b035a-157ed111-45b6e3da-faa9dffb_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T19:49:09.593026Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T19:49:09.593590Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T19:49:09.600536Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 7 created_at_ms: 1762026549601 sent_at_ms: 1762026549601 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-11-01T19:49:09.602045Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|44b035a-157ed111-45b6e3da-faa9dffb_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T19:49:09.602341Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T19:49:09.602708Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T19:49:09.609752Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 8 created_at_ms: 1762026549611 sent_at_ms: 1762026549611 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-11-01T19:49:09.611828Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|44b035a-157ed111-45b6e3da-faa9dffb_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T19:49:09.612156Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T19:49:09.612669Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T19:49:09.667260Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 9 created_at_ms: 1762026549668 sent_at_ms: 1762026549668 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-11-01T19:49:09.669185Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|44b035a-157ed111-45b6e3da-faa9dffb_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T19:49:09.669490Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T19:49:09.670032Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T19:49:09.677952Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T19:49:09.679489Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|44b035a-157ed111-45b6e3da-faa9dffb_0 grpc read done: success: 0 data: 
2025-11-01T19:49:09.679513Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: source|44b035a-157ed111-45b6e3da-faa9dffb_0 grpc read failed
2025-11-01T19:49:09.679688Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 3 sessionId: source|44b035a-157ed111-45b6e3da-faa9dffb_0
2025-11-01T19:49:09.679720Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: source|44b035a-157ed111-45b6e3da-faa9dffb_0 is DEAD
2025-11-01T19:49:09.680267Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
1 0 
2025-11-01T19:49:09.683234Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:09.683264Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 4
2025-11-01T19:49:09.683832Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-11-01T19:49:09.684067Z 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]:44138
2025-11-01T19:49:09.684097Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:09.684116Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:09.686394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 4 sessionId:  describe result for acl check
2025-11-01T19:49:09.686598Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:09.686617Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:09.686632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:09.686659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846402742745409:2534] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:09.692609Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846402742745409:2534] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:09.716223Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846402742745409:2534] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:09.733796Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846402742745409:2534] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:09.733855Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846402742745409:2534] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=0
2025-11-01T19:49:09.733888Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846402742745409:2534] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:09.735628Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 4 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-01T19:49:09.737024Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:09.737333Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|22fc1757-2c6f6136-f7d26ac4-2ec27fe3_0 generated for partition 7 topic 'rt3.dc1--topic1' owner source
2025-11-01T19:49:09.738196Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 4 partition: 7 MaxSeqNo: 9 sessionId: source|22fc1757-2c6f6136-f7d26ac4-2ec27fe3_0
request: { write_request { sequence_numbers: 10 sequence_numbers: 11 sequence_numbers: 12 sequence_numbers: 13 sequence_numbers: 14 created_at_ms: 1762026549740 created_at_ms: 1762026549740 created_at_ms: 1762026549740 created_at_ms: 1762026549740 created_at_ms: 1762026549740 sent_at_ms: 1762026549740 sent_at_ms: 1762026549740 sent_at_ms: 1762026549740 sent_at_ms: 1762026549740 sent_at_ms: 1762026549740 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-11-01T19:49:09.741290Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|22fc1757-2c6f6136-f7d26ac4-2ec27fe3_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T19:49:09.741963Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T19:49:09.743244Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T19:49:09.753073Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 15 sequence_numbers: 16 sequence_numbers: 17 sequence_numbers: 18 sequence_numbers: 19 created_at_ms: 1762026549754 created_at_ms: 1762026549754 created_at_ms: 1762026549754 created_at_ms: 1762026549754 created_at_ms: 1762026549754 sent_at_ms: 1762026549754 sent_at_ms: 1762026549754 sent_at_ms: 1762026549754 sent_at_ms: 1762026549754 sent_at_ms: 1762026549754 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-11-01T19:49:09.755779Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|22fc1757-2c6f6136-f7d26ac4-2ec27fe3_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T19:49:09.756130Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T19:49:09.756584Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T19:49:09.803460Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 20 sequence_numbers: 21 sequence_numbers: 22 sequence_numbers: 23 sequence_numbers: 24 created_at_ms: 1762026549811 created_at_ms: 1762026549811 created_at_ms: 1762026549811 created_at_ms: 1762026549811 created_at_ms: 1762026549811 sent_at_ms: 1762026549811 sent_at_ms: 1762026549811 sent_at_ms: 1762026549811 sent_at_ms: 1762026549811 sent_at_ms: 1762026549811 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-11-01T19:49:09.812232Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|22fc1757-2c6f6136-f7d26ac4-2ec27fe3_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T19:49:09.812706Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T19:49:09.813094Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T19:49:09.819879Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 25 sequence_numbers: 26 sequence_numbers: 27 sequence_numbers: 28 sequence_numbers: 29 created_at_ms: 1762026549823 created_at_ms: 1762026549823 created_at_ms: 1762026549823 created_at_ms: 1762026549823 created_at_ms: 1762026549823 sent_at_ms: 1762026549823 sent_at_ms: 1762026549823 sent_at_ms: 1762026549823 sent_at_ms: 1762026549823 sent_at_ms: 1762026549823 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-11-01T19:49:09.826872Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|22fc1757-2c6f6136-f7d26ac4-2ec27fe3_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-01T19:49:09.827399Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-01T19:49:09.827855Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T19:49:09.834604Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-01T19:49:09.837523Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|22fc1757-2c6f6136-f7d26ac4-2ec27fe3_0 grpc read done: success: 0 data: 
2025-11-01T19:49:09.837566Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 4 sessionId: source|22fc1757-2c6f6136-f7d26ac4-2ec27fe3_0 grpc read failed
2025-11-01T19:49:09.837805Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 4 sessionId: source|22fc1757-2c6f6136-f7d26ac4-2ec27fe3_0
2025-11-01T19:49:09.837838Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 4 sessionId: source|22fc1757-2c6f6136-f7d26ac4-2ec27fe3_0 is DEAD
1 0 
2025-11-01T19:49:09.838429Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:09.839055Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:09.839084Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 5
2025-11-01T19:49:09.843203Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 5 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic2" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-11-01T19:49:09.843468Z 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]:44138
2025-11-01T19:49:09.843497Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic2 durationSec=0
2025-11-01T19:49:09.843515Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:09.845850Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:815: session v1 error cookie: 5 reason: no path 'Root/PQ/rt3.dc1--topic2', Marker# PQ15 sessionId: 
2025-11-01T19:49:09.846258Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 5 sessionId:  is DEAD
{ status: SCHEME_ERROR issues { message: "no path \'Root/PQ/rt3.dc1--topic2\', Marker# PQ15" issue_code: 500017 severity: 1 } }
2025-11-01T19:49:09.851561Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:09.851615Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 6
2025-11-01T19:49:09.852220Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" partition_group_id: 2 }
2025-11-01T19:49:09.852423Z 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]:44138
2025-11-01T19:49:09.852453Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:09.852470Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:09.856555Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 6 sessionId:  describe result for acl check
2025-11-01T19:49:09.856722Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:09.856737Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:09.856751Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:09.856774Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846402742745475:2541] (SourceId=sid1, PreferedPartition=1) StartKqpSession
2025-11-01T19:49:09.861495Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846402742745475:2541] (SourceId=sid1, PreferedPartition=1) Select from the table
2025-11-01T19:49:09.871889Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846402742745475:2541] (SourceId=sid1, PreferedPartition=1) Update the table
2025-11-01T19:49:09.886155Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846402742745475:2541] (SourceId=sid1, PreferedPartition=1) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:09.886216Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846402742745475:2541] (SourceId=sid1, PreferedPartition=1) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-01T19:49:09.886241Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846402742745475:2541] (SourceId=sid1, PreferedPartition=1) Start idle
2025-11-01T19:49:09.886292Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 6 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-01T19:49:09.888132Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|c679fa27-3860f82a-67b23980-2f09f3f7_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-11-01T19:49:09.887681Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:09.889629Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 6 partition: 1 MaxSeqNo: 0 sessionId: sid1|c679fa27-3860f82a-67b23980-2f09f3f7_0
Init result: { status: SUCCESS init_response { session_id: "sid1|c679fa27-3860f82a-67b23980-2f09f3f7_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:09.895172Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId: sid1|c679fa27-3860f82a-67b23980-2f09f3f7_0 grpc read done: success: 0 data: 
2025-11-01T19:49:09.895209Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 6 sessionId: sid1|c679fa27-3860f82a-67b23980-2f09f3f7_0 grpc read failed
2025-11-01T19:49:09.895256Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 6 sessionId: sid1|c679fa27-3860f82a-67b23980-2f09f3f7_0 grpc closed
2025-11-01T19:49:09.895280Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:09.895291Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 6 sessionId: sid1|c679fa27-3860f82a-67b23980-2f09f3f7_0 is DEAD
2025-11-01T19:49:09.895312Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 7
2025-11-01T19:49:09.895793Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" }
2025-11-01T19:49:09.895965Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 7 topic: "topic1" message_group_id: "sid1" from ipv6:[::1]:44138
2025-11-01T19:49:09.895993Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:09.896010Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:09.896542Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:09.898279Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 7 sessionId:  describe result for acl check
2025-11-01T19:49:09.898452Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:09.898477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:09.898492Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:09.898517Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846402742745510:2545] (SourceId=sid1, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:09.903724Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846402742745510:2545] (SourceId=sid1, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:09.913527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846402742745510:2545] (SourceId=sid1, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:09.936675Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846402742745510:2545] (SourceId=sid1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:09.936739Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846402742745510:2545] (SourceId=sid1, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2025-11-01T19:49:09.936767Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846402742745510:2545] (SourceId=sid1, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:09.936814Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-01T19:49:09.943196Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:09.947284Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|806c96b6-83341b9e-8840dab-1121460d_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-11-01T19:49:09.954846Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: sid1|806c96b6-83341b9e-8840dab-1121460d_0
Init result: { status: SUCCESS init_response { session_id: "sid1|806c96b6-83341b9e-8840dab-1121460d_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:09.962107Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId: sid1|806c96b6-83341b9e-8840dab-1121460d_0 grpc read done: success: 0 data: 
2025-11-01T19:49:09.962151Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 7 sessionId: sid1|806c96b6-83341b9e-8840dab-1121460d_0 grpc read failed
2025-11-01T19:49:09.962196Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 7 sessionId: sid1|806c96b6-83341b9e-8840dab-1121460d_0 grpc closed
2025-11-01T19:49:09.962235Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 7 sessionId: sid1|806c96b6-83341b9e-8840dab-1121460d_0 is DEAD
2025-11-01T19:49:09.963125Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:09.964184Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:09.964225Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 8
2025-11-01T19:49:09.964678Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sidx" }
2025-11-01T19:49:09.964847Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 8 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:44138
2025-11-01T19:49:09.964884Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:09.964912Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:09.967226Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 8 sessionId:  describe result for acl check
2025-11-01T19:49:09.967407Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:09.967428Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:09.967444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:09.967469Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846402742745542:2549] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:09.972365Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846402742745542:2549] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:09.981918Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846402742745542:2549] (SourceId=sidx, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:09.983018Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846402742745558:2549] connected; active server actors: 1
2025-11-01T19:49:09.983618Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846402742745542:2549] (SourceId=sidx, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sidx
2025-11-01T19:49:09.983663Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846402742745542:2549] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:09.984281Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846402742745558:2549] disconnected.
2025-11-01T19:49:09.984323Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846402742745558:2549] disconnected; active server actors: 1
2025-11-01T19:49:09.984348Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846402742745558:2549] disconnected no session
2025-11-01T19:49:09.996483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846402742745542:2549] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:09.996528Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846402742745542:2549] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-01T19:49:09.996550Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846402742745542:2549] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:09.996586Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 8 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-01T19:49:10.000539Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:10.001048Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|38bc325e-5755c248-30c3cd2d-f2311b26_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sidx
2025-11-01T19:49:10.002409Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 8 partition: 8 MaxSeqNo: 0 sessionId: sidx|38bc325e-5755c248-30c3cd2d-f2311b26_0
Init result: { status: SUCCESS init_response { session_id: "sidx|38bc325e-5755c248-30c3cd2d-f2311b26_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:10.009988Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId: sidx|38bc325e-5755c248-30c3cd2d-f2311b26_0 grpc read done: success: 0 data: 
2025-11-01T19:49:10.010021Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 8 sessionId: sidx|38bc325e-5755c248-30c3cd2d-f2311b26_0 grpc read failed
2025-11-01T19:49:10.010056Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 8 sessionId: sidx|38bc325e-5755c248-30c3cd2d-f2311b26_0 grpc closed
2025-11-01T19:49:10.010083Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 8 sessionId: sidx|38bc325e-5755c248-30c3cd2d-f2311b26_0 is DEAD
2025-11-01T19:49:10.011239Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:10.011416Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.011437Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 9
2025-11-01T19:49:10.013009Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sidx" }
2025-11-01T19:49:10.013177Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 9 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:44138
2025-11-01T19:49:10.013201Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.013216Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.015565Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 9 sessionId:  describe result for acl check
2025-11-01T19:49:10.015737Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.015754Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.015776Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.015802Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037712877:2555] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:10.021024Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037712877:2555] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:10.031539Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846407037712877:2555] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:10.050258Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846407037712877:2555] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:10.050321Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846407037712877:2555] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=0
2025-11-01T19:49:10.050352Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846407037712877:2555] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:10.050401Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 9 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-01T19:49:10.053613Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:10.059018Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|ad1f8440-c44f3526-e1d3fb75-4048b69f_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sidx
2025-11-01T19:49:10.067102Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 9 partition: 8 MaxSeqNo: 0 sessionId: sidx|ad1f8440-c44f3526-e1d3fb75-4048b69f_0
Init result: { status: SUCCESS init_response { session_id: "sidx|ad1f8440-c44f3526-e1d3fb75-4048b69f_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:10.070637Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId: sidx|ad1f8440-c44f3526-e1d3fb75-4048b69f_0 grpc read done: success: 0 data: 
2025-11-01T19:49:10.070671Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 9 sessionId: sidx|ad1f8440-c44f3526-e1d3fb75-4048b69f_0 grpc read failed
2025-11-01T19:49:10.070712Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 9 sessionId: sidx|ad1f8440-c44f3526-e1d3fb75-4048b69f_0 grpc closed
2025-11-01T19:49:10.070745Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 9 sessionId: sidx|ad1f8440-c44f3526-e1d3fb75-4048b69f_0 is DEAD
2025-11-01T19:49:10.072266Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:10.072464Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.072490Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 10
2025-11-01T19:49:10.072970Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 10 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" partition_group_id: 3 }
2025-11-01T19:49:10.073181Z 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]:44138
2025-11-01T19:49:10.073224Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.073242Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.075480Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 10 sessionId:  describe result for acl check
2025-11-01T19:49:10.075687Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.075714Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.075731Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.075756Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037712921:2563] (SourceId=sid1, PreferedPartition=2) StartKqpSession
2025-11-01T19:49:10.080891Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037712921:2563] (SourceId=sid1, PreferedPartition=2) Select from the table
2025-11-01T19:49:10.094399Z node 17 :PQ_PARTITION_CHOOSER INFO: partition_chooser_impl__abstract_chooser_actor.h:312: TPartitionChooser [17:7567846407037712921:2563] (SourceId=sid1, PreferedPartition=2) ReplyError: MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all.
2025-11-01T19:49:10.094547Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:815: session v1 error cookie: 10 reason: MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all. sessionId: 
2025-11-01T19:49:10.095012Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 10 sessionId:  is DEAD
Init result: { status: BAD_REQUEST issues { message: "MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all." issue_code: 500003 severity: 1 } }
2025-11-01T19:49:10.098185Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.098210Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 11
2025-11-01T19:49:10.098545Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_0" }
2025-11-01T19:49:10.098661Z 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]:44138
2025-11-01T19:49:10.098678Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=11 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.098689Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.100553Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 11 sessionId:  describe result for acl check
2025-11-01T19:49:10.100720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.100746Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.100763Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.100792Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037712942:2567] (SourceId=sid_rand_0, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:10.106821Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037712942:2567] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:10.118284Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846407037712942:2567] (SourceId=sid_rand_0, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:10.123335Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037712959:2567] connected; active server actors: 1
2025-11-01T19:49:10.124622Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846407037712942:2567] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_0
2025-11-01T19:49:10.124677Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846407037712942:2567] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:10.131462Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037712959:2567] disconnected.
2025-11-01T19:49:10.131531Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037712959:2567] disconnected; active server actors: 1
2025-11-01T19:49:10.131561Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037712959:2567] disconnected no session
2025-11-01T19:49:10.144437Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846407037712942:2567] (SourceId=sid_rand_0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:10.144499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846407037712942:2567] (SourceId=sid_rand_0, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-01T19:49:10.144539Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846407037712942:2567] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:10.144588Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 11 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-01T19:49:10.149592Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:10.149988Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_0|73b3cf1c-ac8e7594-e0929c00-8024f186_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_0
2025-11-01T19:49:10.150619Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 11 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_0|73b3cf1c-ac8e7594-e0929c00-8024f186_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_0|73b3cf1c-ac8e7594-e0929c00-8024f186_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:10.154162Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId: sid_rand_0|73b3cf1c-ac8e7594-e0929c00-8024f186_0 grpc read done: success: 0 data: 
2025-11-01T19:49:10.154197Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 11 sessionId: sid_rand_0|73b3cf1c-ac8e7594-e0929c00-8024f186_0 grpc read failed
2025-11-01T19:49:10.154232Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 11 sessionId: sid_rand_0|73b3cf1c-ac8e7594-e0929c00-8024f186_0 grpc closed
2025-11-01T19:49:10.154256Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 11 sessionId: sid_rand_0|73b3cf1c-ac8e7594-e0929c00-8024f186_0 is DEAD
2025-11-01T19:49:10.155411Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:10.155625Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.155654Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 12
2025-11-01T19:49:10.164028Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_1" }
2025-11-01T19:49:10.164196Z 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]:44138
2025-11-01T19:49:10.164230Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=12 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.164243Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.170314Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 12 sessionId:  describe result for acl check
2025-11-01T19:49:10.170539Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.170569Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.170584Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.170619Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037712977:2571] (SourceId=sid_rand_1, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:10.175957Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037712977:2571] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:10.186079Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846407037712977:2571] (SourceId=sid_rand_1, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:10.188891Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037712996:2571] connected; active server actors: 1
2025-11-01T19:49:10.190035Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846407037712977:2571] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_1
2025-11-01T19:49:10.190074Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846407037712977:2571] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:10.192107Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037712996:2571] disconnected.
2025-11-01T19:49:10.192162Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037712996:2571] disconnected; active server actors: 1
2025-11-01T19:49:10.192195Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037712996:2571] disconnected no session
2025-11-01T19:49:10.205580Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846407037712977:2571] (SourceId=sid_rand_1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:10.205650Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846407037712977:2571] (SourceId=sid_rand_1, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-01T19:49:10.205675Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846407037712977:2571] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:10.205719Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 12 sessionId:  partition: 10 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_1|56e56637-6462b4b0-fb47645b-476ab31f_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:10.207734Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:10.208048Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_1|56e56637-6462b4b0-fb47645b-476ab31f_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_1
2025-11-01T19:49:10.208713Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 12 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_1|56e56637-6462b4b0-fb47645b-476ab31f_0
2025-11-01T19:49:10.215302Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId: sid_rand_1|56e56637-6462b4b0-fb47645b-476ab31f_0 grpc read done: success: 0 data: 
2025-11-01T19:49:10.215342Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 12 sessionId: sid_rand_1|56e56637-6462b4b0-fb47645b-476ab31f_0 grpc read failed
2025-11-01T19:49:10.215386Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 12 sessionId: sid_rand_1|56e56637-6462b4b0-fb47645b-476ab31f_0 grpc closed
2025-11-01T19:49:10.215419Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 12 sessionId: sid_rand_1|56e56637-6462b4b0-fb47645b-476ab31f_0 is DEAD
2025-11-01T19:49:10.216665Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:10.216840Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.216862Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 13
2025-11-01T19:49:10.217694Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_2" }
2025-11-01T19:49:10.217878Z 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]:44138
2025-11-01T19:49:10.217905Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=13 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.217922Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.220180Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 13 sessionId:  describe result for acl check
2025-11-01T19:49:10.220352Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.220369Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.220383Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.220411Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037713014:2575] (SourceId=sid_rand_2, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:10.230409Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037713014:2575] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:10.244640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846407037713014:2575] (SourceId=sid_rand_2, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:10.249127Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713033:2575] connected; active server actors: 1
2025-11-01T19:49:10.255732Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713033:2575] disconnected.
2025-11-01T19:49:10.255786Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713033:2575] disconnected; active server actors: 1
2025-11-01T19:49:10.255814Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713033:2575] disconnected no session
2025-11-01T19:49:10.254918Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846407037713014:2575] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_2
2025-11-01T19:49:10.254966Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846407037713014:2575] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:10.267558Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846407037713014:2575] (SourceId=sid_rand_2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:10.267615Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846407037713014:2575] (SourceId=sid_rand_2, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-01T19:49:10.267646Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846407037713014:2575] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:10.267694Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 13 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-01T19:49:10.269994Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:10.270373Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_2|fb91766b-302145e7-eaa9e015-d51ee65d_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_2
2025-11-01T19:49:10.271000Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 13 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_2|fb91766b-302145e7-eaa9e015-d51ee65d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_2|fb91766b-302145e7-eaa9e015-d51ee65d_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:10.276202Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId: sid_rand_2|fb91766b-302145e7-eaa9e015-d51ee65d_0 grpc read done: success: 0 data: 
2025-11-01T19:49:10.276256Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 13 sessionId: sid_rand_2|fb91766b-302145e7-eaa9e015-d51ee65d_0 grpc read failed
2025-11-01T19:49:10.276838Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 13 sessionId: sid_rand_2|fb91766b-302145e7-eaa9e015-d51ee65d_0
2025-11-01T19:49:10.276870Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 13 sessionId: sid_rand_2|fb91766b-302145e7-eaa9e015-d51ee65d_0 is DEAD
2025-11-01T19:49:10.277338Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:10.278503Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.278532Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 14
2025-11-01T19:49:10.279142Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_3" }
2025-11-01T19:49:10.279458Z 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]:44138
2025-11-01T19:49:10.279491Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=14 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.279509Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.281927Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 14 sessionId:  describe result for acl check
2025-11-01T19:49:10.282116Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.282134Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.282149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.282177Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037713051:2579] (SourceId=sid_rand_3, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:10.287829Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037713051:2579] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:10.299378Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846407037713051:2579] (SourceId=sid_rand_3, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:10.301037Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713067:2579] connected; active server actors: 1
2025-11-01T19:49:10.301734Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846407037713051:2579] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_3
2025-11-01T19:49:10.301770Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846407037713051:2579] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:10.303535Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713067:2579] disconnected.
2025-11-01T19:49:10.303580Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713067:2579] disconnected; active server actors: 1
2025-11-01T19:49:10.303608Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713067:2579] disconnected no session
2025-11-01T19:49:10.317570Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846407037713051:2579] (SourceId=sid_rand_3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:10.317619Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846407037713051:2579] (SourceId=sid_rand_3, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-01T19:49:10.317667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846407037713051:2579] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:10.317712Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 14 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-01T19:49:10.320542Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:10.320851Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_3|4bc25b13-9db555d4-99132539-307073f4_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_3
2025-11-01T19:49:10.321493Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 14 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_3|4bc25b13-9db555d4-99132539-307073f4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_3|4bc25b13-9db555d4-99132539-307073f4_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:10.325792Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId: sid_rand_3|4bc25b13-9db555d4-99132539-307073f4_0 grpc read done: success: 0 data: 
2025-11-01T19:49:10.325818Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 14 sessionId: sid_rand_3|4bc25b13-9db555d4-99132539-307073f4_0 grpc read failed
2025-11-01T19:49:10.326030Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 14 sessionId: sid_rand_3|4bc25b13-9db555d4-99132539-307073f4_0
2025-11-01T19:49:10.326056Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 14 sessionId: sid_rand_3|4bc25b13-9db555d4-99132539-307073f4_0 is DEAD
2025-11-01T19:49:10.326485Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:10.327679Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.327706Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 15
2025-11-01T19:49:10.328285Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_4" }
2025-11-01T19:49:10.328459Z 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]:44138
2025-11-01T19:49:10.328485Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=15 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.328503Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.330928Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 15 sessionId:  describe result for acl check
2025-11-01T19:49:10.331111Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.331131Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.331146Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.331179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037713085:2583] (SourceId=sid_rand_4, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:10.338628Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037713085:2583] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:10.351734Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846407037713085:2583] (SourceId=sid_rand_4, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:10.354354Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713104:2583] connected; active server actors: 1
2025-11-01T19:49:10.356036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846407037713085:2583] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_4
2025-11-01T19:49:10.356074Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846407037713085:2583] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:10.358819Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713104:2583] disconnected.
2025-11-01T19:49:10.358870Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713104:2583] disconnected; active server actors: 1
2025-11-01T19:49:10.358903Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713104:2583] disconnected no session
2025-11-01T19:49:10.376791Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846407037713085:2583] (SourceId=sid_rand_4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:10.376843Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846407037713085:2583] (SourceId=sid_rand_4, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-01T19:49:10.376869Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846407037713085:2583] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:10.376907Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 15 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-01T19:49:10.379500Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:10.379850Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_4|d27ce312-e18d878b-ceda3e5f-3a228528_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_4
2025-11-01T19:49:10.380615Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 15 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_4|d27ce312-e18d878b-ceda3e5f-3a228528_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_4|d27ce312-e18d878b-ceda3e5f-3a228528_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:10.395698Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId: sid_rand_4|d27ce312-e18d878b-ceda3e5f-3a228528_0 grpc read done: success: 0 data: 
2025-11-01T19:49:10.395734Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 15 sessionId: sid_rand_4|d27ce312-e18d878b-ceda3e5f-3a228528_0 grpc read failed
2025-11-01T19:49:10.395776Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 15 sessionId: sid_rand_4|d27ce312-e18d878b-ceda3e5f-3a228528_0 grpc closed
2025-11-01T19:49:10.395800Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 15 sessionId: sid_rand_4|d27ce312-e18d878b-ceda3e5f-3a228528_0 is DEAD
2025-11-01T19:49:10.396911Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:10.397094Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.397122Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 16
2025-11-01T19:49:10.399551Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_5" }
2025-11-01T19:49:10.399723Z 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]:44138
2025-11-01T19:49:10.399748Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=16 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.399762Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.402056Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 16 sessionId:  describe result for acl check
2025-11-01T19:49:10.402274Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.402292Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.402307Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.402332Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037713126:2589] (SourceId=sid_rand_5, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:10.408519Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037713126:2589] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:10.422040Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846407037713126:2589] (SourceId=sid_rand_5, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:10.427287Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713142:2589] connected; active server actors: 1
2025-11-01T19:49:10.431560Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846407037713126:2589] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_5
2025-11-01T19:49:10.431600Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846407037713126:2589] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:10.433297Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713142:2589] disconnected.
2025-11-01T19:49:10.433349Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713142:2589] disconnected; active server actors: 1
2025-11-01T19:49:10.433375Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713142:2589] disconnected no session
2025-11-01T19:49:10.457294Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846407037713126:2589] (SourceId=sid_rand_5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:10.457346Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846407037713126:2589] (SourceId=sid_rand_5, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-01T19:49:10.457371Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846407037713126:2589] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:10.457410Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 16 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-01T19:49:10.459687Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:10.459994Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_5|7f089c3f-a6ebd943-99dcc422-e928963_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_5
2025-11-01T19:49:10.460582Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 16 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_5|7f089c3f-a6ebd943-99dcc422-e928963_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_5|7f089c3f-a6ebd943-99dcc422-e928963_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:10.466926Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId: sid_rand_5|7f089c3f-a6ebd943-99dcc422-e928963_0 grpc read done: success: 0 data: 
2025-11-01T19:49:10.466962Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 16 sessionId: sid_rand_5|7f089c3f-a6ebd943-99dcc422-e928963_0 grpc read failed
2025-11-01T19:49:10.467004Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 16 sessionId: sid_rand_5|7f089c3f-a6ebd943-99dcc422-e928963_0 grpc closed
2025-11-01T19:49:10.467027Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 16 sessionId: sid_rand_5|7f089c3f-a6ebd943-99dcc422-e928963_0 is DEAD
2025-11-01T19:49:10.468131Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:10.468310Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.468339Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 17
2025-11-01T19:49:10.479076Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_6" }
2025-11-01T19:49:10.479288Z 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]:44138
2025-11-01T19:49:10.479329Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=17 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.479346Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.481478Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 17 sessionId:  describe result for acl check
2025-11-01T19:49:10.481679Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.481697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.481710Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.481734Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037713160:2593] (SourceId=sid_rand_6, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:10.486540Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037713160:2593] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:10.497694Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846407037713160:2593] (SourceId=sid_rand_6, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:10.503294Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713179:2593] connected; active server actors: 1
2025-11-01T19:49:10.504240Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846407037713160:2593] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_6
2025-11-01T19:49:10.504287Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846407037713160:2593] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:10.511552Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713179:2593] disconnected.
2025-11-01T19:49:10.511602Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713179:2593] disconnected; active server actors: 1
2025-11-01T19:49:10.511627Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713179:2593] disconnected no session
2025-11-01T19:49:10.529550Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846407037713160:2593] (SourceId=sid_rand_6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:10.529609Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846407037713160:2593] (SourceId=sid_rand_6, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-01T19:49:10.529652Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846407037713160:2593] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:10.529706Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 17 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-01T19:49:10.539068Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:10.570262Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_6|108c63cf-d0c51f17-b9c8c310-d74043b8_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_6
2025-11-01T19:49:10.571926Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 17 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_6|108c63cf-d0c51f17-b9c8c310-d74043b8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_6|108c63cf-d0c51f17-b9c8c310-d74043b8_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:10.575461Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId: sid_rand_6|108c63cf-d0c51f17-b9c8c310-d74043b8_0 grpc read done: success: 0 data: 
2025-11-01T19:49:10.575491Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 17 sessionId: sid_rand_6|108c63cf-d0c51f17-b9c8c310-d74043b8_0 grpc read failed
2025-11-01T19:49:10.575521Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 17 sessionId: sid_rand_6|108c63cf-d0c51f17-b9c8c310-d74043b8_0 grpc closed
2025-11-01T19:49:10.575544Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 17 sessionId: sid_rand_6|108c63cf-d0c51f17-b9c8c310-d74043b8_0 is DEAD
2025-11-01T19:49:10.576510Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:10.576724Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.576742Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 18
2025-11-01T19:49:10.579368Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_7" }
2025-11-01T19:49:10.579564Z 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]:44138
2025-11-01T19:49:10.579591Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=18 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.579609Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.581851Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 18 sessionId:  describe result for acl check
2025-11-01T19:49:10.582035Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.582052Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.582065Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.582089Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037713196:2597] (SourceId=sid_rand_7, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:10.587356Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037713196:2597] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:10.597003Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713212:2597] connected; active server actors: 1
2025-11-01T19:49:10.595367Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846407037713196:2597] (SourceId=sid_rand_7, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:10.597627Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846407037713196:2597] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_7
2025-11-01T19:49:10.597673Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846407037713196:2597] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:10.598922Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713212:2597] disconnected.
2025-11-01T19:49:10.598965Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713212:2597] disconnected; active server actors: 1
2025-11-01T19:49:10.598991Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713212:2597] disconnected no session
2025-11-01T19:49:10.622296Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846407037713196:2597] (SourceId=sid_rand_7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:10.622354Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846407037713196:2597] (SourceId=sid_rand_7, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-01T19:49:10.622382Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846407037713196:2597] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:10.622429Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 18 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-01T19:49:10.627299Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:10.628382Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_7|a3746daf-e64984a8-e40ad398-e4334a21_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_7
2025-11-01T19:49:10.629683Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 18 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_7|a3746daf-e64984a8-e40ad398-e4334a21_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_7|a3746daf-e64984a8-e40ad398-e4334a21_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:10.634183Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId: sid_rand_7|a3746daf-e64984a8-e40ad398-e4334a21_0 grpc read done: success: 0 data: 
2025-11-01T19:49:10.634223Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 18 sessionId: sid_rand_7|a3746daf-e64984a8-e40ad398-e4334a21_0 grpc read failed
2025-11-01T19:49:10.634249Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 18 sessionId: sid_rand_7|a3746daf-e64984a8-e40ad398-e4334a21_0 grpc closed
2025-11-01T19:49:10.634267Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 18 sessionId: sid_rand_7|a3746daf-e64984a8-e40ad398-e4334a21_0 is DEAD
2025-11-01T19:49:10.634322Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.634345Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 19
2025-11-01T19:49:10.634713Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_8" }
2025-11-01T19:49:10.634895Z 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]:44138
2025-11-01T19:49:10.634920Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=19 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.634933Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.635122Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:10.637172Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 19 sessionId:  describe result for acl check
2025-11-01T19:49:10.637337Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.637356Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.637371Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.637394Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037713248:2605] (SourceId=sid_rand_8, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:10.641861Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037713248:2605] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:10.655374Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846407037713248:2605] (SourceId=sid_rand_8, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:10.656308Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713267:2605] connected; active server actors: 1
2025-11-01T19:49:10.657490Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713267:2605] disconnected.
2025-11-01T19:49:10.657523Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713267:2605] disconnected; active server actors: 1
2025-11-01T19:49:10.657545Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713267:2605] disconnected no session
2025-11-01T19:49:10.656914Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846407037713248:2605] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_8
2025-11-01T19:49:10.656950Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846407037713248:2605] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:10.670335Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846407037713248:2605] (SourceId=sid_rand_8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:10.670396Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846407037713248:2605] (SourceId=sid_rand_8, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-01T19:49:10.670426Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846407037713248:2605] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:10.670471Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 19 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-01T19:49:10.672340Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:10.672683Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_8|b540782-3da4ac72-dafaa768-b3945ebe_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_8
2025-11-01T19:49:10.673335Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 19 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_8|b540782-3da4ac72-dafaa768-b3945ebe_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_8|b540782-3da4ac72-dafaa768-b3945ebe_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:10.678689Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId: sid_rand_8|b540782-3da4ac72-dafaa768-b3945ebe_0 grpc read done: success: 0 data: 
2025-11-01T19:49:10.678720Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 19 sessionId: sid_rand_8|b540782-3da4ac72-dafaa768-b3945ebe_0 grpc read failed
2025-11-01T19:49:10.679192Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 19 sessionId: sid_rand_8|b540782-3da4ac72-dafaa768-b3945ebe_0
2025-11-01T19:49:10.679219Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 19 sessionId: sid_rand_8|b540782-3da4ac72-dafaa768-b3945ebe_0 is DEAD
2025-11-01T19:49:10.679652Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:10.683120Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.683164Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 20
2025-11-01T19:49:10.683653Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_9" }
2025-11-01T19:49:10.683836Z 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]:44138
2025-11-01T19:49:10.683863Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=20 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.683881Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.686108Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 20 sessionId:  describe result for acl check
2025-11-01T19:49:10.686289Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.686307Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.686321Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.686347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037713285:2609] (SourceId=sid_rand_9, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:10.691441Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037713285:2609] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:10.701396Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713301:2609] connected; active server actors: 1
2025-11-01T19:49:10.700143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846407037713285:2609] (SourceId=sid_rand_9, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:10.701779Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846407037713285:2609] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_9
2025-11-01T19:49:10.701810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846407037713285:2609] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:10.703082Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713301:2609] disconnected.
2025-11-01T19:49:10.703136Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713301:2609] disconnected; active server actors: 1
2025-11-01T19:49:10.703171Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713301:2609] disconnected no session
2025-11-01T19:49:10.716511Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846407037713285:2609] (SourceId=sid_rand_9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:10.716572Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846407037713285:2609] (SourceId=sid_rand_9, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-01T19:49:10.716603Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846407037713285:2609] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:10.716654Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 20 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-01T19:49:10.720711Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_9|d402e3d6-b10fed94-e14ee382-31562765_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_9
2025-11-01T19:49:10.720264Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:10.723835Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 20 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_9|d402e3d6-b10fed94-e14ee382-31562765_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_9|d402e3d6-b10fed94-e14ee382-31562765_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:10.728656Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId: sid_rand_9|d402e3d6-b10fed94-e14ee382-31562765_0 grpc read done: success: 0 data: 
2025-11-01T19:49:10.728688Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 20 sessionId: sid_rand_9|d402e3d6-b10fed94-e14ee382-31562765_0 grpc read failed
2025-11-01T19:49:10.729030Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.729050Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 21
2025-11-01T19:49:10.729095Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 20 sessionId: sid_rand_9|d402e3d6-b10fed94-e14ee382-31562765_0
2025-11-01T19:49:10.729121Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 20 sessionId: sid_rand_9|d402e3d6-b10fed94-e14ee382-31562765_0 is DEAD
2025-11-01T19:49:10.729478Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_10" }
2025-11-01T19:49:10.729619Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:10.729661Z 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]:44138
2025-11-01T19:49:10.729685Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=21 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.729698Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.732570Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 21 sessionId:  describe result for acl check
2025-11-01T19:49:10.732764Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.732781Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.732794Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.732821Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037713326:2615] (SourceId=sid_rand_10, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:10.737937Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037713326:2615] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:10.750914Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846407037713326:2615] (SourceId=sid_rand_10, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:10.752877Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846407037713326:2615] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_10
2025-11-01T19:49:10.752924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846407037713326:2615] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:10.752297Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713342:2615] connected; active server actors: 1
2025-11-01T19:49:10.754704Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713342:2615] disconnected.
2025-11-01T19:49:10.754791Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713342:2615] disconnected; active server actors: 1
2025-11-01T19:49:10.754822Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713342:2615] disconnected no session
2025-11-01T19:49:10.769739Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846407037713326:2615] (SourceId=sid_rand_10, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:10.769800Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846407037713326:2615] (SourceId=sid_rand_10, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-01T19:49:10.769831Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846407037713326:2615] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:10.769880Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 21 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-01T19:49:10.772250Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:10.772523Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_10|e61b6e98-f055e42b-307f22c4-8ca05b21_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_10
2025-11-01T19:49:10.773085Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 21 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_10|e61b6e98-f055e42b-307f22c4-8ca05b21_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_10|e61b6e98-f055e42b-307f22c4-8ca05b21_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:10.780087Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId: sid_rand_10|e61b6e98-f055e42b-307f22c4-8ca05b21_0 grpc read done: success: 0 data: 
2025-11-01T19:49:10.780123Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 21 sessionId: sid_rand_10|e61b6e98-f055e42b-307f22c4-8ca05b21_0 grpc read failed
2025-11-01T19:49:10.780175Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 21 sessionId: sid_rand_10|e61b6e98-f055e42b-307f22c4-8ca05b21_0 grpc closed
2025-11-01T19:49:10.780202Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 21 sessionId: sid_rand_10|e61b6e98-f055e42b-307f22c4-8ca05b21_0 is DEAD
2025-11-01T19:49:10.780249Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.780273Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 22
2025-11-01T19:49:10.780672Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_11" }
2025-11-01T19:49:10.780855Z 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]:44138
2025-11-01T19:49:10.780888Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=22 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.780904Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.781316Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:10.782966Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 22 sessionId:  describe result for acl check
2025-11-01T19:49:10.783111Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.783126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.783135Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.783154Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037713362:2619] (SourceId=sid_rand_11, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:10.786935Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037713362:2619] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:10.800286Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846407037713362:2619] (SourceId=sid_rand_11, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:10.801886Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846407037713362:2619] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_11
2025-11-01T19:49:10.801925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846407037713362:2619] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:10.801298Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713381:2619] connected; active server actors: 1
2025-11-01T19:49:10.803201Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713381:2619] disconnected.
2025-11-01T19:49:10.803246Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713381:2619] disconnected; active server actors: 1
2025-11-01T19:49:10.803272Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713381:2619] disconnected no session
2025-11-01T19:49:10.817197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846407037713362:2619] (SourceId=sid_rand_11, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:10.817255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846407037713362:2619] (SourceId=sid_rand_11, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-01T19:49:10.817284Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846407037713362:2619] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:10.817328Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 22 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-01T19:49:10.818376Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:10.818559Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_11|4cf21019-413cd36c-80bb21b8-49542c23_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_11
2025-11-01T19:49:10.819317Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 22 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_11|4cf21019-413cd36c-80bb21b8-49542c23_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_11|4cf21019-413cd36c-80bb21b8-49542c23_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:10.821528Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId: sid_rand_11|4cf21019-413cd36c-80bb21b8-49542c23_0 grpc read done: success: 0 data: 
2025-11-01T19:49:10.821557Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 22 sessionId: sid_rand_11|4cf21019-413cd36c-80bb21b8-49542c23_0 grpc read failed
2025-11-01T19:49:10.822043Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.822048Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 22 sessionId: sid_rand_11|4cf21019-413cd36c-80bb21b8-49542c23_0
2025-11-01T19:49:10.822075Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 23
2025-11-01T19:49:10.822081Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 22 sessionId: sid_rand_11|4cf21019-413cd36c-80bb21b8-49542c23_0 is DEAD
2025-11-01T19:49:10.822501Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_12" }
2025-11-01T19:49:10.822641Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:10.822691Z 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]:44138
2025-11-01T19:49:10.822721Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=23 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.822734Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.824885Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 23 sessionId:  describe result for acl check
2025-11-01T19:49:10.825058Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.825076Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.825091Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.825115Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037713399:2623] (SourceId=sid_rand_12, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:10.829955Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037713399:2623] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:10.838995Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846407037713399:2623] (SourceId=sid_rand_12, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:10.840027Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713415:2623] connected; active server actors: 1
2025-11-01T19:49:10.840631Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846407037713399:2623] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_12
2025-11-01T19:49:10.840669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846407037713399:2623] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:10.841443Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713415:2623] disconnected.
2025-11-01T19:49:10.841481Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713415:2623] disconnected; active server actors: 1
2025-11-01T19:49:10.841506Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713415:2623] disconnected no session
2025-11-01T19:49:10.853526Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846407037713399:2623] (SourceId=sid_rand_12, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:10.853583Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846407037713399:2623] (SourceId=sid_rand_12, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-01T19:49:10.853613Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846407037713399:2623] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:10.853666Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 23 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-01T19:49:10.855438Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:10.855821Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_12|af960de0-98b34d4f-ac00497d-1f336511_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_12
2025-11-01T19:49:10.857008Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 23 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_12|af960de0-98b34d4f-ac00497d-1f336511_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_12|af960de0-98b34d4f-ac00497d-1f336511_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:10.860161Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId: sid_rand_12|af960de0-98b34d4f-ac00497d-1f336511_0 grpc read done: success: 0 data: 
2025-11-01T19:49:10.860194Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 23 sessionId: sid_rand_12|af960de0-98b34d4f-ac00497d-1f336511_0 grpc read failed
2025-11-01T19:49:10.860232Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 23 sessionId: sid_rand_12|af960de0-98b34d4f-ac00497d-1f336511_0 grpc closed
2025-11-01T19:49:10.860260Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 23 sessionId: sid_rand_12|af960de0-98b34d4f-ac00497d-1f336511_0 is DEAD
2025-11-01T19:49:10.861291Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.861334Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 24
2025-11-01T19:49:10.861345Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:10.862103Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_13" }
2025-11-01T19:49:10.862276Z 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]:44138
2025-11-01T19:49:10.862309Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=24 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.862322Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.864367Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 24 sessionId:  describe result for acl check
2025-11-01T19:49:10.864537Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.864568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.864582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.864608Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037713435:2627] (SourceId=sid_rand_13, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:10.869472Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037713435:2627] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:10.878229Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846407037713435:2627] (SourceId=sid_rand_13, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:10.879773Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713451:2627] connected; active server actors: 1
2025-11-01T19:49:10.880405Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846407037713435:2627] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_13
2025-11-01T19:49:10.880447Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846407037713435:2627] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:10.881973Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713451:2627] disconnected.
2025-11-01T19:49:10.882019Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713451:2627] disconnected; active server actors: 1
2025-11-01T19:49:10.882044Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713451:2627] disconnected no session
2025-11-01T19:49:10.895833Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846407037713435:2627] (SourceId=sid_rand_13, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:10.895902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846407037713435:2627] (SourceId=sid_rand_13, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-01T19:49:10.895931Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846407037713435:2627] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:10.895972Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 24 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-01T19:49:10.899023Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:10.899371Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_13|f200c818-c5671728-7b811076-c19f16a2_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_13
2025-11-01T19:49:10.900795Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 24 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_13|f200c818-c5671728-7b811076-c19f16a2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_13|f200c818-c5671728-7b811076-c19f16a2_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:10.905296Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId: sid_rand_13|f200c818-c5671728-7b811076-c19f16a2_0 grpc read done: success: 0 data: 
2025-11-01T19:49:10.905336Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 24 sessionId: sid_rand_13|f200c818-c5671728-7b811076-c19f16a2_0 grpc read failed
2025-11-01T19:49:10.905379Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 24 sessionId: sid_rand_13|f200c818-c5671728-7b811076-c19f16a2_0 grpc closed
2025-11-01T19:49:10.905408Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 24 sessionId: sid_rand_13|f200c818-c5671728-7b811076-c19f16a2_0 is DEAD
2025-11-01T19:49:10.906444Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:10.906473Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.906492Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 25
2025-11-01T19:49:10.908902Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_14" }
2025-11-01T19:49:10.909082Z 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]:44138
2025-11-01T19:49:10.909116Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=25 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.909130Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.911519Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 25 sessionId:  describe result for acl check
2025-11-01T19:49:10.911711Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.911737Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.911753Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.911780Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037713468:2631] (SourceId=sid_rand_14, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:10.916839Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037713468:2631] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:10.931026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846407037713468:2631] (SourceId=sid_rand_14, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:10.932784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846407037713468:2631] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_14
2025-11-01T19:49:10.932829Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846407037713468:2631] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:10.931768Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713487:2631] connected; active server actors: 1
2025-11-01T19:49:10.933684Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713487:2631] disconnected.
2025-11-01T19:49:10.933749Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713487:2631] disconnected; active server actors: 1
2025-11-01T19:49:10.933780Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713487:2631] disconnected no session
2025-11-01T19:49:10.953005Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846407037713468:2631] (SourceId=sid_rand_14, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:10.953067Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846407037713468:2631] (SourceId=sid_rand_14, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-01T19:49:10.953097Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846407037713468:2631] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:10.953144Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 25 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-01T19:49:10.954118Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:10.954441Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_14|66c8465a-6353609a-7b4798c3-246613e5_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_14
2025-11-01T19:49:10.955257Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 25 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_14|66c8465a-6353609a-7b4798c3-246613e5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_14|66c8465a-6353609a-7b4798c3-246613e5_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:10.959086Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId: sid_rand_14|66c8465a-6353609a-7b4798c3-246613e5_0 grpc read done: success: 0 data: 
2025-11-01T19:49:10.959125Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 25 sessionId: sid_rand_14|66c8465a-6353609a-7b4798c3-246613e5_0 grpc read failed
2025-11-01T19:49:10.959175Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 25 sessionId: sid_rand_14|66c8465a-6353609a-7b4798c3-246613e5_0 grpc closed
2025-11-01T19:49:10.959203Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 25 sessionId: sid_rand_14|66c8465a-6353609a-7b4798c3-246613e5_0 is DEAD
2025-11-01T19:49:10.959299Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:10.959323Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 26
2025-11-01T19:49:10.959768Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_15" }
2025-11-01T19:49:10.959938Z 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]:44138
2025-11-01T19:49:10.959964Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=26 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:10.959979Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:10.960250Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:10.962121Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 26 sessionId:  describe result for acl check
2025-11-01T19:49:10.962299Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:10.962315Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:10.962328Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:10.962355Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846407037713507:2635] (SourceId=sid_rand_15, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:10.967286Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846407037713507:2635] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:10.980943Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846407037713507:2635] (SourceId=sid_rand_15, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:10.982439Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713523:2635] connected; active server actors: 1
2025-11-01T19:49:10.984017Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713523:2635] disconnected.
2025-11-01T19:49:10.984064Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713523:2635] disconnected; active server actors: 1
2025-11-01T19:49:10.983047Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846407037713507:2635] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_15
2025-11-01T19:49:10.983084Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846407037713507:2635] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:10.984093Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846407037713523:2635] disconnected no session
2025-11-01T19:49:10.998204Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846407037713507:2635] (SourceId=sid_rand_15, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:10.998268Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846407037713507:2635] (SourceId=sid_rand_15, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-01T19:49:10.998297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846407037713507:2635] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:10.998345Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 26 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-01T19:49:10.999776Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:11.000215Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_15|e03e938c-9b122de9-7b97b42c-f0480bb0_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_15
2025-11-01T19:49:11.001478Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 26 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_15|e03e938c-9b122de9-7b97b42c-f0480bb0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_15|e03e938c-9b122de9-7b97b42c-f0480bb0_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.006461Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId: sid_rand_15|e03e938c-9b122de9-7b97b42c-f0480bb0_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.006492Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 26 sessionId: sid_rand_15|e03e938c-9b122de9-7b97b42c-f0480bb0_0 grpc read failed
2025-11-01T19:49:11.007034Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 26 sessionId: sid_rand_15|e03e938c-9b122de9-7b97b42c-f0480bb0_0
2025-11-01T19:49:11.007035Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.007061Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 27
2025-11-01T19:49:11.007079Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 26 sessionId: sid_rand_15|e03e938c-9b122de9-7b97b42c-f0480bb0_0 is DEAD
2025-11-01T19:49:11.007685Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.011395Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_16" }
2025-11-01T19:49:11.011609Z 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]:44138
2025-11-01T19:49:11.011639Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=27 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.011657Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.014306Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 27 sessionId:  describe result for acl check
2025-11-01T19:49:11.014541Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.014569Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.014586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.014614Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332680836:2639] (SourceId=sid_rand_16, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.020416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332680836:2639] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.029738Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332680836:2639] (SourceId=sid_rand_16, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.031447Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332680836:2639] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_16
2025-11-01T19:49:11.031485Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332680836:2639] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.031023Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680852:2639] connected; active server actors: 1
2025-11-01T19:49:11.032855Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680852:2639] disconnected.
2025-11-01T19:49:11.032905Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680852:2639] disconnected; active server actors: 1
2025-11-01T19:49:11.032933Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680852:2639] disconnected no session
2025-11-01T19:49:11.052143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332680836:2639] (SourceId=sid_rand_16, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.052203Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332680836:2639] (SourceId=sid_rand_16, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-01T19:49:11.052233Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332680836:2639] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.052278Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 27 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-01T19:49:11.053462Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:11.053770Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_16|a87c6cb3-94c978b9-cf9607bd-e3e93b1c_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_16
2025-11-01T19:49:11.054555Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 27 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_16|a87c6cb3-94c978b9-cf9607bd-e3e93b1c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_16|a87c6cb3-94c978b9-cf9607bd-e3e93b1c_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.057413Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId: sid_rand_16|a87c6cb3-94c978b9-cf9607bd-e3e93b1c_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.057445Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 27 sessionId: sid_rand_16|a87c6cb3-94c978b9-cf9607bd-e3e93b1c_0 grpc read failed
2025-11-01T19:49:11.058023Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.058047Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 27 sessionId: sid_rand_16|a87c6cb3-94c978b9-cf9607bd-e3e93b1c_0
2025-11-01T19:49:11.058063Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 28
2025-11-01T19:49:11.058095Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 27 sessionId: sid_rand_16|a87c6cb3-94c978b9-cf9607bd-e3e93b1c_0 is DEAD
2025-11-01T19:49:11.058685Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_17" }
2025-11-01T19:49:11.058697Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.058893Z 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]:44138
2025-11-01T19:49:11.058918Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=28 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.058933Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.061331Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 28 sessionId:  describe result for acl check
2025-11-01T19:49:11.061527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.061557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.061577Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.061602Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332680870:2643] (SourceId=sid_rand_17, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.065943Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332680870:2643] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.080068Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332680870:2643] (SourceId=sid_rand_17, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.081571Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680889:2643] connected; active server actors: 1
2025-11-01T19:49:11.082948Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680889:2643] disconnected.
2025-11-01T19:49:11.082998Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680889:2643] disconnected; active server actors: 1
2025-11-01T19:49:11.083030Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680889:2643] disconnected no session
2025-11-01T19:49:11.081826Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332680870:2643] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_17
2025-11-01T19:49:11.081881Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332680870:2643] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.110463Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332680870:2643] (SourceId=sid_rand_17, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.110524Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332680870:2643] (SourceId=sid_rand_17, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-01T19:49:11.110553Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332680870:2643] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.110598Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 28 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-01T19:49:11.113319Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:11.113586Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_17|5d348bd2-23637b28-d4d054d8-d104c90b_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_17
2025-11-01T19:49:11.114429Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 28 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_17|5d348bd2-23637b28-d4d054d8-d104c90b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_17|5d348bd2-23637b28-d4d054d8-d104c90b_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.117726Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId: sid_rand_17|5d348bd2-23637b28-d4d054d8-d104c90b_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.117757Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 28 sessionId: sid_rand_17|5d348bd2-23637b28-d4d054d8-d104c90b_0 grpc read failed
2025-11-01T19:49:11.117949Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 28 sessionId: sid_rand_17|5d348bd2-23637b28-d4d054d8-d104c90b_0
2025-11-01T19:49:11.117976Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 28 sessionId: sid_rand_17|5d348bd2-23637b28-d4d054d8-d104c90b_0 is DEAD
2025-11-01T19:49:11.118425Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.119282Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.119309Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 29
2025-11-01T19:49:11.123623Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_18" }
2025-11-01T19:49:11.123837Z 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]:44138
2025-11-01T19:49:11.123863Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=29 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.123881Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.126461Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 29 sessionId:  describe result for acl check
2025-11-01T19:49:11.126664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.126682Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.126695Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.126721Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332680909:2647] (SourceId=sid_rand_18, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.131977Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332680909:2647] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.142620Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332680909:2647] (SourceId=sid_rand_18, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.144821Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332680909:2647] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_18
2025-11-01T19:49:11.144860Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332680909:2647] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.144223Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680925:2647] connected; active server actors: 1
2025-11-01T19:49:11.146387Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680925:2647] disconnected.
2025-11-01T19:49:11.146423Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680925:2647] disconnected; active server actors: 1
2025-11-01T19:49:11.146451Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680925:2647] disconnected no session
2025-11-01T19:49:11.169844Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332680909:2647] (SourceId=sid_rand_18, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.169907Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332680909:2647] (SourceId=sid_rand_18, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-01T19:49:11.169939Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332680909:2647] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.169993Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 29 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-01T19:49:11.173114Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:11.173740Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_18|993ca012-b68c6189-2167dbe5-53e64af_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_18
2025-11-01T19:49:11.183640Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 29 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_18|993ca012-b68c6189-2167dbe5-53e64af_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_18|993ca012-b68c6189-2167dbe5-53e64af_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.189555Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId: sid_rand_18|993ca012-b68c6189-2167dbe5-53e64af_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.189601Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 29 sessionId: sid_rand_18|993ca012-b68c6189-2167dbe5-53e64af_0 grpc read failed
2025-11-01T19:49:11.189662Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 29 sessionId: sid_rand_18|993ca012-b68c6189-2167dbe5-53e64af_0 grpc closed
2025-11-01T19:49:11.189693Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 29 sessionId: sid_rand_18|993ca012-b68c6189-2167dbe5-53e64af_0 is DEAD
2025-11-01T19:49:11.189781Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.189809Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 30
2025-11-01T19:49:11.190302Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_19" }
2025-11-01T19:49:11.190491Z 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]:44138
2025-11-01T19:49:11.190522Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=30 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.190538Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.191037Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.192999Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 30 sessionId:  describe result for acl check
2025-11-01T19:49:11.193181Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.193210Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.193228Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.193254Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332680942:2651] (SourceId=sid_rand_19, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.200006Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332680942:2651] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.210499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332680942:2651] (SourceId=sid_rand_19, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.214996Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680961:2651] connected; active server actors: 1
2025-11-01T19:49:11.215516Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332680942:2651] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_19
2025-11-01T19:49:11.215567Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332680942:2651] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.218929Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680961:2651] disconnected.
2025-11-01T19:49:11.218991Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680961:2651] disconnected; active server actors: 1
2025-11-01T19:49:11.219021Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680961:2651] disconnected no session
2025-11-01T19:49:11.236062Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332680942:2651] (SourceId=sid_rand_19, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.236122Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332680942:2651] (SourceId=sid_rand_19, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-01T19:49:11.236155Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332680942:2651] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.236198Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 30 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-01T19:49:11.238235Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:11.238420Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_19|dc333152-2fa626d4-513f3155-bb2e610_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_19
2025-11-01T19:49:11.239480Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 30 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_19|dc333152-2fa626d4-513f3155-bb2e610_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_19|dc333152-2fa626d4-513f3155-bb2e610_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.245562Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId: sid_rand_19|dc333152-2fa626d4-513f3155-bb2e610_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.245598Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 30 sessionId: sid_rand_19|dc333152-2fa626d4-513f3155-bb2e610_0 grpc read failed
2025-11-01T19:49:11.246274Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 30 sessionId: sid_rand_19|dc333152-2fa626d4-513f3155-bb2e610_0
2025-11-01T19:49:11.246311Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 30 sessionId: sid_rand_19|dc333152-2fa626d4-513f3155-bb2e610_0 is DEAD
2025-11-01T19:49:11.246874Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.247989Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.248020Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 31
2025-11-01T19:49:11.251139Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_20" }
2025-11-01T19:49:11.251372Z 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]:44138
2025-11-01T19:49:11.251414Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=31 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.251432Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.253889Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 31 sessionId:  describe result for acl check
2025-11-01T19:49:11.254092Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.254112Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.254132Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.254161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332680982:2655] (SourceId=sid_rand_20, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.260103Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332680982:2655] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.273901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332680982:2655] (SourceId=sid_rand_20, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.275435Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680998:2655] connected; active server actors: 1
2025-11-01T19:49:11.278666Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332680982:2655] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_20
2025-11-01T19:49:11.278707Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332680982:2655] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.280564Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680998:2655] disconnected.
2025-11-01T19:49:11.280623Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680998:2655] disconnected; active server actors: 1
2025-11-01T19:49:11.280656Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332680998:2655] disconnected no session
2025-11-01T19:49:11.293395Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332680982:2655] (SourceId=sid_rand_20, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.293448Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332680982:2655] (SourceId=sid_rand_20, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-01T19:49:11.293477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332680982:2655] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.293518Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 31 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-01T19:49:11.296948Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:11.297381Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_20|610b56cc-f89f607e-542421d3-d9cceb8f_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_20
2025-11-01T19:49:11.298585Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 31 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_20|610b56cc-f89f607e-542421d3-d9cceb8f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_20|610b56cc-f89f607e-542421d3-d9cceb8f_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.302352Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId: sid_rand_20|610b56cc-f89f607e-542421d3-d9cceb8f_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.302377Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 31 sessionId: sid_rand_20|610b56cc-f89f607e-542421d3-d9cceb8f_0 grpc read failed
2025-11-01T19:49:11.302409Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 31 sessionId: sid_rand_20|610b56cc-f89f607e-542421d3-d9cceb8f_0 grpc closed
2025-11-01T19:49:11.302435Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 31 sessionId: sid_rand_20|610b56cc-f89f607e-542421d3-d9cceb8f_0 is DEAD
2025-11-01T19:49:11.303505Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.303663Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.303684Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 32
2025-11-01T19:49:11.305164Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_21" }
2025-11-01T19:49:11.305349Z 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]:44138
2025-11-01T19:49:11.305389Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=32 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.305406Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.307940Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 32 sessionId:  describe result for acl check
2025-11-01T19:49:11.308130Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.308152Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.308175Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.308202Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332681017:2659] (SourceId=sid_rand_21, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.313706Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332681017:2659] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.323271Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332681017:2659] (SourceId=sid_rand_21, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.325122Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681033:2659] connected; active server actors: 1
2025-11-01T19:49:11.327456Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681033:2659] disconnected.
2025-11-01T19:49:11.327509Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681033:2659] disconnected; active server actors: 1
2025-11-01T19:49:11.327539Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681033:2659] disconnected no session
2025-11-01T19:49:11.325779Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332681017:2659] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_21
2025-11-01T19:49:11.325819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332681017:2659] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.340073Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332681017:2659] (SourceId=sid_rand_21, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.340138Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332681017:2659] (SourceId=sid_rand_21, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-01T19:49:11.340165Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332681017:2659] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.340209Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 32 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-01T19:49:11.342019Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:11.342241Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_21|ed11ebb0-a6b516fb-9941d4b9-6a55cd70_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_21
2025-11-01T19:49:11.342822Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 32 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_21|ed11ebb0-a6b516fb-9941d4b9-6a55cd70_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_21|ed11ebb0-a6b516fb-9941d4b9-6a55cd70_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.346015Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId: sid_rand_21|ed11ebb0-a6b516fb-9941d4b9-6a55cd70_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.346045Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 32 sessionId: sid_rand_21|ed11ebb0-a6b516fb-9941d4b9-6a55cd70_0 grpc read failed
2025-11-01T19:49:11.346075Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 32 sessionId: sid_rand_21|ed11ebb0-a6b516fb-9941d4b9-6a55cd70_0 grpc closed
2025-11-01T19:49:11.346102Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 32 sessionId: sid_rand_21|ed11ebb0-a6b516fb-9941d4b9-6a55cd70_0 is DEAD
2025-11-01T19:49:11.347167Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.347324Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.347345Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 33
2025-11-01T19:49:11.348320Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_22" }
2025-11-01T19:49:11.348483Z 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]:44138
2025-11-01T19:49:11.348509Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=33 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.348524Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.350834Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 33 sessionId:  describe result for acl check
2025-11-01T19:49:11.351016Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.351034Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.351049Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.351076Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332681051:2663] (SourceId=sid_rand_22, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.356204Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332681051:2663] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.369786Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332681051:2663] (SourceId=sid_rand_22, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.371867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332681051:2663] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_22
2025-11-01T19:49:11.371910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332681051:2663] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.371238Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681070:2663] connected; active server actors: 1
2025-11-01T19:49:11.373565Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681070:2663] disconnected.
2025-11-01T19:49:11.373604Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681070:2663] disconnected; active server actors: 1
2025-11-01T19:49:11.373650Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681070:2663] disconnected no session
2025-11-01T19:49:11.390041Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332681051:2663] (SourceId=sid_rand_22, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.390104Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332681051:2663] (SourceId=sid_rand_22, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-01T19:49:11.390136Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332681051:2663] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.390181Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 33 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-01T19:49:11.391981Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:11.392291Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_22|242cf62e-2e6b9942-d3438d32-76e149a7_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_22
2025-11-01T19:49:11.392950Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 33 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_22|242cf62e-2e6b9942-d3438d32-76e149a7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_22|242cf62e-2e6b9942-d3438d32-76e149a7_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.396154Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId: sid_rand_22|242cf62e-2e6b9942-d3438d32-76e149a7_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.396177Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 33 sessionId: sid_rand_22|242cf62e-2e6b9942-d3438d32-76e149a7_0 grpc read failed
2025-11-01T19:49:11.396209Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 33 sessionId: sid_rand_22|242cf62e-2e6b9942-d3438d32-76e149a7_0 grpc closed
2025-11-01T19:49:11.396248Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 33 sessionId: sid_rand_22|242cf62e-2e6b9942-d3438d32-76e149a7_0 is DEAD
2025-11-01T19:49:11.397230Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.397385Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.397407Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 34
2025-11-01T19:49:11.398363Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_23" }
2025-11-01T19:49:11.398564Z 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]:44138
2025-11-01T19:49:11.398600Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=34 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.398614Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.400924Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 34 sessionId:  describe result for acl check
2025-11-01T19:49:11.401119Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.401137Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.401154Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.401186Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332681092:2669] (SourceId=sid_rand_23, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.406217Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332681092:2669] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.416261Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332681092:2669] (SourceId=sid_rand_23, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.417077Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681108:2669] connected; active server actors: 1
2025-11-01T19:49:11.417482Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332681092:2669] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_23
2025-11-01T19:49:11.417525Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332681092:2669] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.418099Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681108:2669] disconnected.
2025-11-01T19:49:11.418142Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681108:2669] disconnected; active server actors: 1
2025-11-01T19:49:11.418171Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681108:2669] disconnected no session
2025-11-01T19:49:11.437852Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332681092:2669] (SourceId=sid_rand_23, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.437910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332681092:2669] (SourceId=sid_rand_23, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-01T19:49:11.437937Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332681092:2669] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.437984Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 34 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-01T19:49:11.439256Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:11.439533Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_23|de196ed6-ddffee1c-15733d2e-5f930854_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_23
2025-11-01T19:49:11.440153Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 34 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_23|de196ed6-ddffee1c-15733d2e-5f930854_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_23|de196ed6-ddffee1c-15733d2e-5f930854_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.443161Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId: sid_rand_23|de196ed6-ddffee1c-15733d2e-5f930854_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.443202Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 34 sessionId: sid_rand_23|de196ed6-ddffee1c-15733d2e-5f930854_0 grpc read failed
2025-11-01T19:49:11.443240Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 34 sessionId: sid_rand_23|de196ed6-ddffee1c-15733d2e-5f930854_0 grpc closed
2025-11-01T19:49:11.443265Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 34 sessionId: sid_rand_23|de196ed6-ddffee1c-15733d2e-5f930854_0 is DEAD
2025-11-01T19:49:11.444585Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.444621Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 35
2025-11-01T19:49:11.444631Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.445202Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_24" }
2025-11-01T19:49:11.445380Z 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]:44138
2025-11-01T19:49:11.445479Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=35 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.445499Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.448440Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 35 sessionId:  describe result for acl check
2025-11-01T19:49:11.448634Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.448656Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.448670Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.448696Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332681126:2673] (SourceId=sid_rand_24, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.453415Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332681126:2673] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.465039Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332681126:2673] (SourceId=sid_rand_24, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.466661Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681144:2673] connected; active server actors: 1
2025-11-01T19:49:11.466978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332681126:2673] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_24
2025-11-01T19:49:11.467038Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332681126:2673] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.469205Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681144:2673] disconnected.
2025-11-01T19:49:11.469256Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681144:2673] disconnected; active server actors: 1
2025-11-01T19:49:11.469281Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681144:2673] disconnected no session
2025-11-01T19:49:11.484734Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332681126:2673] (SourceId=sid_rand_24, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.484790Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332681126:2673] (SourceId=sid_rand_24, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-01T19:49:11.484816Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332681126:2673] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.484863Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 35 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-01T19:49:11.485671Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:11.485856Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_24|2174ab53-fe3b46d1-b5e8c89a-e9a409b_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_24
2025-11-01T19:49:11.486425Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 35 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_24|2174ab53-fe3b46d1-b5e8c89a-e9a409b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_24|2174ab53-fe3b46d1-b5e8c89a-e9a409b_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.497015Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId: sid_rand_24|2174ab53-fe3b46d1-b5e8c89a-e9a409b_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.497050Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 35 sessionId: sid_rand_24|2174ab53-fe3b46d1-b5e8c89a-e9a409b_0 grpc read failed
2025-11-01T19:49:11.497104Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 35 sessionId: sid_rand_24|2174ab53-fe3b46d1-b5e8c89a-e9a409b_0 grpc closed
2025-11-01T19:49:11.497135Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 35 sessionId: sid_rand_24|2174ab53-fe3b46d1-b5e8c89a-e9a409b_0 is DEAD
2025-11-01T19:49:11.498342Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.498508Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.498532Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 36
2025-11-01T19:49:11.499077Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_25" }
2025-11-01T19:49:11.499240Z 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]:44138
2025-11-01T19:49:11.499266Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=36 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.499280Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.501568Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 36 sessionId:  describe result for acl check
2025-11-01T19:49:11.501782Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.501803Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.501819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.501846Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332681162:2677] (SourceId=sid_rand_25, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.506994Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332681162:2677] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.516106Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332681162:2677] (SourceId=sid_rand_25, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.517765Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332681162:2677] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_25
2025-11-01T19:49:11.517805Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332681162:2677] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.517291Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681181:2677] connected; active server actors: 1
2025-11-01T19:49:11.519343Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681181:2677] disconnected.
2025-11-01T19:49:11.519388Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681181:2677] disconnected; active server actors: 1
2025-11-01T19:49:11.519411Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681181:2677] disconnected no session
2025-11-01T19:49:11.540989Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332681162:2677] (SourceId=sid_rand_25, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.541046Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332681162:2677] (SourceId=sid_rand_25, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-01T19:49:11.541076Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332681162:2677] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.541119Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 36 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-01T19:49:11.543853Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:11.544477Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_25|476d8d03-9d90ac25-d17678e6-508a1817_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_25
2025-11-01T19:49:11.545103Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 36 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_25|476d8d03-9d90ac25-d17678e6-508a1817_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_25|476d8d03-9d90ac25-d17678e6-508a1817_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.549931Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId: sid_rand_25|476d8d03-9d90ac25-d17678e6-508a1817_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.549973Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 36 sessionId: sid_rand_25|476d8d03-9d90ac25-d17678e6-508a1817_0 grpc read failed
2025-11-01T19:49:11.550006Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 36 sessionId: sid_rand_25|476d8d03-9d90ac25-d17678e6-508a1817_0 grpc closed
2025-11-01T19:49:11.550037Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 36 sessionId: sid_rand_25|476d8d03-9d90ac25-d17678e6-508a1817_0 is DEAD
2025-11-01T19:49:11.550178Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.550216Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 37
2025-11-01T19:49:11.550813Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_26" }
2025-11-01T19:49:11.550990Z 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]:44138
2025-11-01T19:49:11.551024Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=37 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.551038Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.551377Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.553149Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 37 sessionId:  describe result for acl check
2025-11-01T19:49:11.553326Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.553350Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.553365Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.553390Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332681199:2681] (SourceId=sid_rand_26, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.558459Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332681199:2681] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.571360Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332681199:2681] (SourceId=sid_rand_26, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.572709Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332681199:2681] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_26
2025-11-01T19:49:11.572745Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332681199:2681] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.572315Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681215:2681] connected; active server actors: 1
2025-11-01T19:49:11.574136Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681215:2681] disconnected.
2025-11-01T19:49:11.574177Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681215:2681] disconnected; active server actors: 1
2025-11-01T19:49:11.574204Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681215:2681] disconnected no session
2025-11-01T19:49:11.586568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332681199:2681] (SourceId=sid_rand_26, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.586633Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332681199:2681] (SourceId=sid_rand_26, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-01T19:49:11.586674Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332681199:2681] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.586724Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 37 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-01T19:49:11.587865Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:11.588046Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_26|f5e416d-ee4233b8-33dacdf0-dbabcfb_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_26
2025-11-01T19:49:11.588718Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 37 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_26|f5e416d-ee4233b8-33dacdf0-dbabcfb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_26|f5e416d-ee4233b8-33dacdf0-dbabcfb_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.591202Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId: sid_rand_26|f5e416d-ee4233b8-33dacdf0-dbabcfb_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.591231Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 37 sessionId: sid_rand_26|f5e416d-ee4233b8-33dacdf0-dbabcfb_0 grpc read failed
2025-11-01T19:49:11.591271Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 37 sessionId: sid_rand_26|f5e416d-ee4233b8-33dacdf0-dbabcfb_0 grpc closed
2025-11-01T19:49:11.591303Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 37 sessionId: sid_rand_26|f5e416d-ee4233b8-33dacdf0-dbabcfb_0 is DEAD
2025-11-01T19:49:11.592502Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.592644Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.592673Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 38
2025-11-01T19:49:11.593044Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_27" }
2025-11-01T19:49:11.593223Z 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]:44138
2025-11-01T19:49:11.593251Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=38 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.593265Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.595581Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 38 sessionId:  describe result for acl check
2025-11-01T19:49:11.595772Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.595799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.595815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.595840Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332681233:2685] (SourceId=sid_rand_27, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.600879Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332681233:2685] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.610802Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332681233:2685] (SourceId=sid_rand_27, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.611424Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681249:2685] connected; active server actors: 1
2025-11-01T19:49:11.611857Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332681233:2685] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_27
2025-11-01T19:49:11.611893Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332681233:2685] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.612972Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681249:2685] disconnected.
2025-11-01T19:49:11.613022Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681249:2685] disconnected; active server actors: 1
2025-11-01T19:49:11.613050Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681249:2685] disconnected no session
2025-11-01T19:49:11.623913Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332681233:2685] (SourceId=sid_rand_27, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.623965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332681233:2685] (SourceId=sid_rand_27, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-01T19:49:11.623988Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332681233:2685] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.624028Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 38 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-01T19:49:11.625463Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:11.625726Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_27|9baa1920-be6f348-78f1dec-681ce9d3_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_27
2025-11-01T19:49:11.626586Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 38 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_27|9baa1920-be6f348-78f1dec-681ce9d3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_27|9baa1920-be6f348-78f1dec-681ce9d3_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.628993Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId: sid_rand_27|9baa1920-be6f348-78f1dec-681ce9d3_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.629019Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 38 sessionId: sid_rand_27|9baa1920-be6f348-78f1dec-681ce9d3_0 grpc read failed
2025-11-01T19:49:11.629046Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 38 sessionId: sid_rand_27|9baa1920-be6f348-78f1dec-681ce9d3_0 grpc closed
2025-11-01T19:49:11.629071Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 38 sessionId: sid_rand_27|9baa1920-be6f348-78f1dec-681ce9d3_0 is DEAD
2025-11-01T19:49:11.629830Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.629984Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.630007Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 39
2025-11-01T19:49:11.630382Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_28" }
2025-11-01T19:49:11.630516Z 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]:44138
2025-11-01T19:49:11.630545Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=39 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.630556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.631948Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 39 sessionId:  describe result for acl check
2025-11-01T19:49:11.632079Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.632101Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.632113Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.632136Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332681272:2691] (SourceId=sid_rand_28, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.635264Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332681272:2691] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.643286Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332681272:2691] (SourceId=sid_rand_28, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.644183Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681291:2691] connected; active server actors: 1
2025-11-01T19:49:11.644596Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332681272:2691] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_28
2025-11-01T19:49:11.644635Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332681272:2691] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.645133Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681291:2691] disconnected.
2025-11-01T19:49:11.645180Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681291:2691] disconnected; active server actors: 1
2025-11-01T19:49:11.645203Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681291:2691] disconnected no session
2025-11-01T19:49:11.655450Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332681272:2691] (SourceId=sid_rand_28, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.655501Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332681272:2691] (SourceId=sid_rand_28, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-01T19:49:11.655527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332681272:2691] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.655564Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 39 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-01T19:49:11.658328Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:11.658786Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_28|efecc237-2bfe90c4-63b5739a-721ed573_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_28
2025-11-01T19:49:11.659865Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 39 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_28|efecc237-2bfe90c4-63b5739a-721ed573_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_28|efecc237-2bfe90c4-63b5739a-721ed573_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.663095Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId: sid_rand_28|efecc237-2bfe90c4-63b5739a-721ed573_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.663118Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 39 sessionId: sid_rand_28|efecc237-2bfe90c4-63b5739a-721ed573_0 grpc read failed
2025-11-01T19:49:11.663143Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 39 sessionId: sid_rand_28|efecc237-2bfe90c4-63b5739a-721ed573_0 grpc closed
2025-11-01T19:49:11.663169Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 39 sessionId: sid_rand_28|efecc237-2bfe90c4-63b5739a-721ed573_0 is DEAD
2025-11-01T19:49:11.663358Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.663380Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 40
2025-11-01T19:49:11.663808Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_29" }
2025-11-01T19:49:11.663952Z 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]:44138
2025-11-01T19:49:11.663978Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=40 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.663992Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.664078Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.666347Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 40 sessionId:  describe result for acl check
2025-11-01T19:49:11.666517Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.666534Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.666549Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.666574Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332681317:2699] (SourceId=sid_rand_29, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.670994Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332681317:2699] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.680622Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332681317:2699] (SourceId=sid_rand_29, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.682462Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332681317:2699] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_29
2025-11-01T19:49:11.682495Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332681317:2699] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.681912Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681333:2699] connected; active server actors: 1
2025-11-01T19:49:11.684040Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681333:2699] disconnected.
2025-11-01T19:49:11.684076Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681333:2699] disconnected; active server actors: 1
2025-11-01T19:49:11.684103Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681333:2699] disconnected no session
2025-11-01T19:49:11.695661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332681317:2699] (SourceId=sid_rand_29, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.695711Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332681317:2699] (SourceId=sid_rand_29, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-01T19:49:11.695735Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332681317:2699] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.695773Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 40 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-01T19:49:11.697795Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:11.698009Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_29|615380e8-3052a930-35ae7c66-f56a844a_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_29
2025-11-01T19:49:11.698491Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 40 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_29|615380e8-3052a930-35ae7c66-f56a844a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_29|615380e8-3052a930-35ae7c66-f56a844a_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.703670Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId: sid_rand_29|615380e8-3052a930-35ae7c66-f56a844a_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.703699Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 40 sessionId: sid_rand_29|615380e8-3052a930-35ae7c66-f56a844a_0 grpc read failed
2025-11-01T19:49:11.704123Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 40 sessionId: sid_rand_29|615380e8-3052a930-35ae7c66-f56a844a_0
2025-11-01T19:49:11.704165Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 40 sessionId: sid_rand_29|615380e8-3052a930-35ae7c66-f56a844a_0 is DEAD
2025-11-01T19:49:11.704640Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.706321Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.706349Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 41
2025-11-01T19:49:11.706752Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_30" }
2025-11-01T19:49:11.706936Z 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]:44138
2025-11-01T19:49:11.706971Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=41 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.706986Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.708969Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 41 sessionId:  describe result for acl check
2025-11-01T19:49:11.709130Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.709146Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.709159Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.709182Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332681351:2703] (SourceId=sid_rand_30, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.713649Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332681351:2703] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.723514Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332681351:2703] (SourceId=sid_rand_30, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.727516Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681367:2703] connected; active server actors: 1
2025-11-01T19:49:11.738897Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332681351:2703] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_30
2025-11-01T19:49:11.738949Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332681351:2703] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.742929Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681367:2703] disconnected.
2025-11-01T19:49:11.742976Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681367:2703] disconnected; active server actors: 1
2025-11-01T19:49:11.743008Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681367:2703] disconnected no session
2025-11-01T19:49:11.763407Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332681351:2703] (SourceId=sid_rand_30, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.763461Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332681351:2703] (SourceId=sid_rand_30, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-01T19:49:11.763489Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332681351:2703] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.763526Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 41 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-01T19:49:11.768656Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_30|23976a86-b88b5054-b03b2c10-99bbf71e_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_30
2025-11-01T19:49:11.768138Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:11.774428Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 41 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_30|23976a86-b88b5054-b03b2c10-99bbf71e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_30|23976a86-b88b5054-b03b2c10-99bbf71e_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.777801Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId: sid_rand_30|23976a86-b88b5054-b03b2c10-99bbf71e_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.777840Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 41 sessionId: sid_rand_30|23976a86-b88b5054-b03b2c10-99bbf71e_0 grpc read failed
2025-11-01T19:49:11.777879Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 41 sessionId: sid_rand_30|23976a86-b88b5054-b03b2c10-99bbf71e_0 grpc closed
2025-11-01T19:49:11.777904Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 41 sessionId: sid_rand_30|23976a86-b88b5054-b03b2c10-99bbf71e_0 is DEAD
2025-11-01T19:49:11.778861Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.779060Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.779080Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 42
2025-11-01T19:49:11.780231Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_31" }
2025-11-01T19:49:11.780388Z 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]:44138
2025-11-01T19:49:11.780410Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=42 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.780423Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.782363Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 42 sessionId:  describe result for acl check
2025-11-01T19:49:11.782524Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.782541Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.782555Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.782578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332681385:2707] (SourceId=sid_rand_31, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.787305Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332681385:2707] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.799266Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332681385:2707] (SourceId=sid_rand_31, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.801158Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332681385:2707] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_31
2025-11-01T19:49:11.801203Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332681385:2707] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.800630Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681404:2707] connected; active server actors: 1
2025-11-01T19:49:11.802415Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681404:2707] disconnected.
2025-11-01T19:49:11.802458Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681404:2707] disconnected; active server actors: 1
2025-11-01T19:49:11.802484Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681404:2707] disconnected no session
2025-11-01T19:49:11.836049Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332681385:2707] (SourceId=sid_rand_31, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.836105Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332681385:2707] (SourceId=sid_rand_31, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-01T19:49:11.836131Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332681385:2707] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.836171Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 42 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-01T19:49:11.838053Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:11.838216Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_31|435276b3-d2c6f371-dce4505d-dcebbb7a_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_31
2025-11-01T19:49:11.843157Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 42 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_31|435276b3-d2c6f371-dce4505d-dcebbb7a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_31|435276b3-d2c6f371-dce4505d-dcebbb7a_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.847730Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId: sid_rand_31|435276b3-d2c6f371-dce4505d-dcebbb7a_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.847760Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 42 sessionId: sid_rand_31|435276b3-d2c6f371-dce4505d-dcebbb7a_0 grpc read failed
2025-11-01T19:49:11.847794Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 42 sessionId: sid_rand_31|435276b3-d2c6f371-dce4505d-dcebbb7a_0 grpc closed
2025-11-01T19:49:11.847819Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 42 sessionId: sid_rand_31|435276b3-d2c6f371-dce4505d-dcebbb7a_0 is DEAD
2025-11-01T19:49:11.848854Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.849010Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.849031Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 43
2025-11-01T19:49:11.850357Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_32" }
2025-11-01T19:49:11.850514Z 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]:44138
2025-11-01T19:49:11.850536Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=43 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.850549Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.852680Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 43 sessionId:  describe result for acl check
2025-11-01T19:49:11.852867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.852886Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.852902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.852929Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332681426:2711] (SourceId=sid_rand_32, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.857750Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332681426:2711] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.870759Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332681426:2711] (SourceId=sid_rand_32, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.873179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332681426:2711] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_32
2025-11-01T19:49:11.873220Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332681426:2711] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.872575Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681442:2711] connected; active server actors: 1
2025-11-01T19:49:11.875348Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681442:2711] disconnected.
2025-11-01T19:49:11.875402Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681442:2711] disconnected; active server actors: 1
2025-11-01T19:49:11.875427Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681442:2711] disconnected no session
2025-11-01T19:49:11.888863Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332681426:2711] (SourceId=sid_rand_32, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.888916Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332681426:2711] (SourceId=sid_rand_32, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-01T19:49:11.888943Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332681426:2711] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.888996Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 43 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-01T19:49:11.891748Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:11.892089Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_32|dda3fdd2-61e96c6c-8b0c355a-65ba82d6_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_32
2025-11-01T19:49:11.892719Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 43 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_32|dda3fdd2-61e96c6c-8b0c355a-65ba82d6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_32|dda3fdd2-61e96c6c-8b0c355a-65ba82d6_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.900078Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId: sid_rand_32|dda3fdd2-61e96c6c-8b0c355a-65ba82d6_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.900113Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 43 sessionId: sid_rand_32|dda3fdd2-61e96c6c-8b0c355a-65ba82d6_0 grpc read failed
2025-11-01T19:49:11.900144Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 43 sessionId: sid_rand_32|dda3fdd2-61e96c6c-8b0c355a-65ba82d6_0 grpc closed
2025-11-01T19:49:11.900169Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 43 sessionId: sid_rand_32|dda3fdd2-61e96c6c-8b0c355a-65ba82d6_0 is DEAD
2025-11-01T19:49:11.901244Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.901505Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.901535Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 44
2025-11-01T19:49:11.906864Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_33" }
2025-11-01T19:49:11.907037Z 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]:44138
2025-11-01T19:49:11.907061Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=44 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.907073Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.909577Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 44 sessionId:  describe result for acl check
2025-11-01T19:49:11.909791Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.909817Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.909832Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.909861Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332681461:2715] (SourceId=sid_rand_33, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.915420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332681461:2715] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.928797Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332681461:2715] (SourceId=sid_rand_33, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.930804Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332681461:2715] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_33
2025-11-01T19:49:11.930853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332681461:2715] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.930247Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681480:2715] connected; active server actors: 1
2025-11-01T19:49:11.932708Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681480:2715] disconnected.
2025-11-01T19:49:11.932750Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681480:2715] disconnected; active server actors: 1
2025-11-01T19:49:11.932783Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681480:2715] disconnected no session
2025-11-01T19:49:11.949784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332681461:2715] (SourceId=sid_rand_33, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:11.949847Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332681461:2715] (SourceId=sid_rand_33, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-01T19:49:11.949876Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332681461:2715] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:11.949919Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 44 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-01T19:49:11.953032Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:11.953540Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_33|2891265e-a59066bc-59227309-f6fe959f_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_33
2025-11-01T19:49:11.956586Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 44 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_33|2891265e-a59066bc-59227309-f6fe959f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_33|2891265e-a59066bc-59227309-f6fe959f_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:11.960714Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId: sid_rand_33|2891265e-a59066bc-59227309-f6fe959f_0 grpc read done: success: 0 data: 
2025-11-01T19:49:11.960742Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 44 sessionId: sid_rand_33|2891265e-a59066bc-59227309-f6fe959f_0 grpc read failed
2025-11-01T19:49:11.960775Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 44 sessionId: sid_rand_33|2891265e-a59066bc-59227309-f6fe959f_0 grpc closed
2025-11-01T19:49:11.960801Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 44 sessionId: sid_rand_33|2891265e-a59066bc-59227309-f6fe959f_0 is DEAD
2025-11-01T19:49:11.961862Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:11.962037Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:11.962058Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 45
2025-11-01T19:49:11.963676Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_34" }
2025-11-01T19:49:11.963866Z 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]:44138
2025-11-01T19:49:11.963892Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=45 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:11.963908Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:11.966358Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 45 sessionId:  describe result for acl check
2025-11-01T19:49:11.966540Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:11.966557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:11.966570Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:11.966593Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846411332681497:2719] (SourceId=sid_rand_34, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:11.971851Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846411332681497:2719] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:11.982146Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846411332681497:2719] (SourceId=sid_rand_34, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:11.987094Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681513:2719] connected; active server actors: 1
2025-11-01T19:49:11.987463Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846411332681497:2719] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_34
2025-11-01T19:49:11.987504Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846411332681497:2719] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:11.995102Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681513:2719] disconnected.
2025-11-01T19:49:11.995157Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681513:2719] disconnected; active server actors: 1
2025-11-01T19:49:11.995198Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846411332681513:2719] disconnected no session
2025-11-01T19:49:12.000920Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846411332681497:2719] (SourceId=sid_rand_34, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.000974Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846411332681497:2719] (SourceId=sid_rand_34, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-01T19:49:12.000999Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846411332681497:2719] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.001040Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 45 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-01T19:49:12.004051Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:12.006414Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_34|d45af912-890144f6-79da085a-c8eb182c_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_34
2025-11-01T19:49:12.007076Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 45 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_34|d45af912-890144f6-79da085a-c8eb182c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_34|d45af912-890144f6-79da085a-c8eb182c_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.009329Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId: sid_rand_34|d45af912-890144f6-79da085a-c8eb182c_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.009355Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 45 sessionId: sid_rand_34|d45af912-890144f6-79da085a-c8eb182c_0 grpc read failed
2025-11-01T19:49:12.009396Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 45 sessionId: sid_rand_34|d45af912-890144f6-79da085a-c8eb182c_0 grpc closed
2025-11-01T19:49:12.009421Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 45 sessionId: sid_rand_34|d45af912-890144f6-79da085a-c8eb182c_0 is DEAD
2025-11-01T19:49:12.010593Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.010735Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.010755Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 46
2025-11-01T19:49:12.011891Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_35" }
2025-11-01T19:49:12.012079Z 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]:44138
2025-11-01T19:49:12.012105Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=46 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.012118Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.014483Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 46 sessionId:  describe result for acl check
2025-11-01T19:49:12.014668Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.014686Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.014700Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.014733Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627648829:2723] (SourceId=sid_rand_35, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.019999Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627648829:2723] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.029596Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627648829:2723] (SourceId=sid_rand_35, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.031046Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648845:2723] connected; active server actors: 1
2025-11-01T19:49:12.031463Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627648829:2723] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_35
2025-11-01T19:49:12.031501Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627648829:2723] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.033084Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648845:2723] disconnected.
2025-11-01T19:49:12.033130Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648845:2723] disconnected; active server actors: 1
2025-11-01T19:49:12.033154Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648845:2723] disconnected no session
2025-11-01T19:49:12.044982Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627648829:2723] (SourceId=sid_rand_35, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.045038Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627648829:2723] (SourceId=sid_rand_35, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-01T19:49:12.045066Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627648829:2723] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.045113Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 46 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-01T19:49:12.048714Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:12.049210Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_35|9e45a598-9466bdf9-6df7b5b-446dcd63_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_35
2025-11-01T19:49:12.050572Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 46 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_35|9e45a598-9466bdf9-6df7b5b-446dcd63_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_35|9e45a598-9466bdf9-6df7b5b-446dcd63_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.053403Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId: sid_rand_35|9e45a598-9466bdf9-6df7b5b-446dcd63_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.053429Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 46 sessionId: sid_rand_35|9e45a598-9466bdf9-6df7b5b-446dcd63_0 grpc read failed
2025-11-01T19:49:12.053459Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 46 sessionId: sid_rand_35|9e45a598-9466bdf9-6df7b5b-446dcd63_0 grpc closed
2025-11-01T19:49:12.053484Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 46 sessionId: sid_rand_35|9e45a598-9466bdf9-6df7b5b-446dcd63_0 is DEAD
2025-11-01T19:49:12.054712Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.054914Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.054937Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 47
2025-11-01T19:49:12.056318Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_36" }
2025-11-01T19:49:12.056543Z 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]:44138
2025-11-01T19:49:12.056570Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=47 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.056583Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.059162Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 47 sessionId:  describe result for acl check
2025-11-01T19:49:12.059366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.059385Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.059399Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.059434Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627648862:2727] (SourceId=sid_rand_36, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.065128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627648862:2727] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.082291Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627648862:2727] (SourceId=sid_rand_36, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.084125Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648881:2727] connected; active server actors: 1
2025-11-01T19:49:12.084924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627648862:2727] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_36
2025-11-01T19:49:12.084972Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627648862:2727] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.087044Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648881:2727] disconnected.
2025-11-01T19:49:12.087095Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648881:2727] disconnected; active server actors: 1
2025-11-01T19:49:12.087124Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648881:2727] disconnected no session
2025-11-01T19:49:12.099526Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627648862:2727] (SourceId=sid_rand_36, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.099578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627648862:2727] (SourceId=sid_rand_36, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-01T19:49:12.099605Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627648862:2727] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.099648Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 47 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-01T19:49:12.101878Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
Init result: { 2025-11-01T19:49:12.102065Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_36|5d51b06c-c45d6825-a97047fa-98e295d4_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_36
2025-11-01T19:49:12.102550Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 47 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_36|5d51b06c-c45d6825-a97047fa-98e295d4_0
status: SUCCESS init_response { session_id: "sid_rand_36|5d51b06c-c45d6825-a97047fa-98e295d4_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.104909Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId: sid_rand_36|5d51b06c-c45d6825-a97047fa-98e295d4_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.104943Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 47 sessionId: sid_rand_36|5d51b06c-c45d6825-a97047fa-98e295d4_0 grpc read failed
2025-11-01T19:49:12.104972Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 47 sessionId: sid_rand_36|5d51b06c-c45d6825-a97047fa-98e295d4_0 grpc closed
2025-11-01T19:49:12.104997Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 47 sessionId: sid_rand_36|5d51b06c-c45d6825-a97047fa-98e295d4_0 is DEAD
2025-11-01T19:49:12.106162Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.106330Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.106358Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 48
2025-11-01T19:49:12.106820Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_37" }
2025-11-01T19:49:12.106983Z 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]:44138
2025-11-01T19:49:12.107014Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=48 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.107029Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.109191Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 48 sessionId:  describe result for acl check
2025-11-01T19:49:12.109369Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.109399Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.109423Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.109453Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627648899:2731] (SourceId=sid_rand_37, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.114257Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627648899:2731] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.124293Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627648899:2731] (SourceId=sid_rand_37, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.126138Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648915:2731] connected; active server actors: 1
2025-11-01T19:49:12.126822Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627648899:2731] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_37
2025-11-01T19:49:12.126857Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627648899:2731] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.128408Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648915:2731] disconnected.
2025-11-01T19:49:12.128453Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648915:2731] disconnected; active server actors: 1
2025-11-01T19:49:12.128477Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648915:2731] disconnected no session
2025-11-01T19:49:12.139640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627648899:2731] (SourceId=sid_rand_37, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.139696Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627648899:2731] (SourceId=sid_rand_37, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-01T19:49:12.139721Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627648899:2731] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.139767Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 48 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-01T19:49:12.141612Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:12.141834Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_37|a0ade2ba-ff86d6c8-7470bc39-1caacb04_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_37
2025-11-01T19:49:12.142329Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 48 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_37|a0ade2ba-ff86d6c8-7470bc39-1caacb04_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_37|a0ade2ba-ff86d6c8-7470bc39-1caacb04_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.147296Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId: sid_rand_37|a0ade2ba-ff86d6c8-7470bc39-1caacb04_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.147340Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 48 sessionId: sid_rand_37|a0ade2ba-ff86d6c8-7470bc39-1caacb04_0 grpc read failed
2025-11-01T19:49:12.147383Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 48 sessionId: sid_rand_37|a0ade2ba-ff86d6c8-7470bc39-1caacb04_0 grpc closed
2025-11-01T19:49:12.147414Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 48 sessionId: sid_rand_37|a0ade2ba-ff86d6c8-7470bc39-1caacb04_0 is DEAD
2025-11-01T19:49:12.148509Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.148657Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.148677Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 49
2025-11-01T19:49:12.151352Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_38" }
2025-11-01T19:49:12.151539Z 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]:44138
2025-11-01T19:49:12.151564Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=49 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.151578Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.154010Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 49 sessionId:  describe result for acl check
2025-11-01T19:49:12.154211Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.154230Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.154244Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.154279Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627648933:2735] (SourceId=sid_rand_38, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.159732Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627648933:2735] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.169524Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627648933:2735] (SourceId=sid_rand_38, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.171770Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648949:2735] connected; active server actors: 1
2025-11-01T19:49:12.172320Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627648933:2735] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_38
2025-11-01T19:49:12.172360Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627648933:2735] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.174032Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648949:2735] disconnected.
2025-11-01T19:49:12.174078Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648949:2735] disconnected; active server actors: 1
2025-11-01T19:49:12.174125Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648949:2735] disconnected no session
2025-11-01T19:49:12.190439Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627648933:2735] (SourceId=sid_rand_38, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.190498Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627648933:2735] (SourceId=sid_rand_38, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-01T19:49:12.190525Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627648933:2735] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.190568Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 49 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-01T19:49:12.192382Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:12.192578Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_38|c2b52243-5d7648d3-a7d415cb-991e7404_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_38
2025-11-01T19:49:12.193221Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 49 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_38|c2b52243-5d7648d3-a7d415cb-991e7404_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_38|c2b52243-5d7648d3-a7d415cb-991e7404_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.198857Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId: sid_rand_38|c2b52243-5d7648d3-a7d415cb-991e7404_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.198896Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 49 sessionId: sid_rand_38|c2b52243-5d7648d3-a7d415cb-991e7404_0 grpc read failed
2025-11-01T19:49:12.198939Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 49 sessionId: sid_rand_38|c2b52243-5d7648d3-a7d415cb-991e7404_0 grpc closed
2025-11-01T19:49:12.198969Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 49 sessionId: sid_rand_38|c2b52243-5d7648d3-a7d415cb-991e7404_0 is DEAD
2025-11-01T19:49:12.200115Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.200295Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.200320Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 50
2025-11-01T19:49:12.202642Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_39" }
2025-11-01T19:49:12.202864Z 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]:44138
2025-11-01T19:49:12.202900Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=50 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.202917Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.205177Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 50 sessionId:  describe result for acl check
2025-11-01T19:49:12.205374Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.205394Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.205408Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.205434Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627648967:2739] (SourceId=sid_rand_39, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.210149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627648967:2739] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.226917Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627648967:2739] (SourceId=sid_rand_39, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.228152Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648986:2739] connected; active server actors: 1
2025-11-01T19:49:12.228496Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627648967:2739] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_39
2025-11-01T19:49:12.228536Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627648967:2739] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.229991Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648986:2739] disconnected.
2025-11-01T19:49:12.230038Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648986:2739] disconnected; active server actors: 1
2025-11-01T19:49:12.230063Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627648986:2739] disconnected no session
2025-11-01T19:49:12.242327Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627648967:2739] (SourceId=sid_rand_39, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.242385Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627648967:2739] (SourceId=sid_rand_39, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-01T19:49:12.242412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627648967:2739] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.242462Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 50 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-01T19:49:12.244307Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:12.244641Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_39|f1527232-4cb0f91c-27a248a-1fc63118_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_39
2025-11-01T19:49:12.245259Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 50 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_39|f1527232-4cb0f91c-27a248a-1fc63118_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_39|f1527232-4cb0f91c-27a248a-1fc63118_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.251683Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId: sid_rand_39|f1527232-4cb0f91c-27a248a-1fc63118_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.251720Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 50 sessionId: sid_rand_39|f1527232-4cb0f91c-27a248a-1fc63118_0 grpc read failed
2025-11-01T19:49:12.252152Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 50 sessionId: sid_rand_39|f1527232-4cb0f91c-27a248a-1fc63118_0
2025-11-01T19:49:12.252193Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 50 sessionId: sid_rand_39|f1527232-4cb0f91c-27a248a-1fc63118_0 is DEAD
2025-11-01T19:49:12.252600Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.252766Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.252787Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 51
2025-11-01T19:49:12.253315Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_40" }
2025-11-01T19:49:12.253503Z 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]:44138
2025-11-01T19:49:12.253537Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=51 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.253550Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.256205Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 51 sessionId:  describe result for acl check
2025-11-01T19:49:12.256410Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.256439Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.256452Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.256477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627649007:2743] (SourceId=sid_rand_40, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.261047Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627649007:2743] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.274091Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627649007:2743] (SourceId=sid_rand_40, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.275288Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649023:2743] connected; active server actors: 1
2025-11-01T19:49:12.275908Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627649007:2743] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_40
2025-11-01T19:49:12.275948Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627649007:2743] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.277221Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649023:2743] disconnected.
2025-11-01T19:49:12.277266Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649023:2743] disconnected; active server actors: 1
2025-11-01T19:49:12.277290Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649023:2743] disconnected no session
2025-11-01T19:49:12.289156Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627649007:2743] (SourceId=sid_rand_40, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.289219Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627649007:2743] (SourceId=sid_rand_40, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-01T19:49:12.289249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627649007:2743] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.289304Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 51 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-01T19:49:12.292030Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:12.292227Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_40|278fd66c-e1261112-5ffe294c-465f89b9_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_40
2025-11-01T19:49:12.292962Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 51 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_40|278fd66c-e1261112-5ffe294c-465f89b9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_40|278fd66c-e1261112-5ffe294c-465f89b9_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.296128Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId: sid_rand_40|278fd66c-e1261112-5ffe294c-465f89b9_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.296158Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 51 sessionId: sid_rand_40|278fd66c-e1261112-5ffe294c-465f89b9_0 grpc read failed
2025-11-01T19:49:12.296219Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 51 sessionId: sid_rand_40|278fd66c-e1261112-5ffe294c-465f89b9_0
2025-11-01T19:49:12.296246Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 51 sessionId: sid_rand_40|278fd66c-e1261112-5ffe294c-465f89b9_0 is DEAD
2025-11-01T19:49:12.296690Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.297150Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.297171Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 52
2025-11-01T19:49:12.297700Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_41" }
2025-11-01T19:49:12.297868Z 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]:44138
2025-11-01T19:49:12.297904Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=52 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.297921Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.300444Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 52 sessionId:  describe result for acl check
2025-11-01T19:49:12.300638Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.300662Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.300678Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.300705Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627649041:2747] (SourceId=sid_rand_41, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.306341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627649041:2747] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.315047Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627649041:2747] (SourceId=sid_rand_41, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.319951Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649057:2747] connected; active server actors: 1
2025-11-01T19:49:12.321336Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649057:2747] disconnected.
2025-11-01T19:49:12.321376Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649057:2747] disconnected; active server actors: 1
2025-11-01T19:49:12.321402Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649057:2747] disconnected no session
2025-11-01T19:49:12.320756Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627649041:2747] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_41
2025-11-01T19:49:12.320794Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627649041:2747] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.333956Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627649041:2747] (SourceId=sid_rand_41, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.334012Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627649041:2747] (SourceId=sid_rand_41, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-01T19:49:12.334039Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627649041:2747] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.334084Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 52 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-01T19:49:12.335008Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:12.335182Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_41|4241106f-d2551ef8-b38e1ca7-d00af46d_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_41
2025-11-01T19:49:12.335791Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 52 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_41|4241106f-d2551ef8-b38e1ca7-d00af46d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_41|4241106f-d2551ef8-b38e1ca7-d00af46d_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.338713Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId: sid_rand_41|4241106f-d2551ef8-b38e1ca7-d00af46d_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.338748Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 52 sessionId: sid_rand_41|4241106f-d2551ef8-b38e1ca7-d00af46d_0 grpc read failed
2025-11-01T19:49:12.338817Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 52 sessionId: sid_rand_41|4241106f-d2551ef8-b38e1ca7-d00af46d_0
2025-11-01T19:49:12.338847Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 52 sessionId: sid_rand_41|4241106f-d2551ef8-b38e1ca7-d00af46d_0 is DEAD
2025-11-01T19:49:12.339364Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.339397Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 53
2025-11-01T19:49:12.339777Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_42" }
2025-11-01T19:49:12.339852Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.339931Z 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]:44138
2025-11-01T19:49:12.339955Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=53 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.339968Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.342436Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 53 sessionId:  describe result for acl check
2025-11-01T19:49:12.342650Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.342678Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.342694Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.342722Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627649094:2755] (SourceId=sid_rand_42, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.347800Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627649094:2755] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.361237Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627649094:2755] (SourceId=sid_rand_42, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.363928Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649113:2755] connected; active server actors: 1
2025-11-01T19:49:12.364723Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627649094:2755] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_42
2025-11-01T19:49:12.364765Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627649094:2755] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.366528Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649113:2755] disconnected.
2025-11-01T19:49:12.366573Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649113:2755] disconnected; active server actors: 1
2025-11-01T19:49:12.366598Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649113:2755] disconnected no session
2025-11-01T19:49:12.380867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627649094:2755] (SourceId=sid_rand_42, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.380928Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627649094:2755] (SourceId=sid_rand_42, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-01T19:49:12.380956Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627649094:2755] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.381001Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 53 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-01T19:49:12.382231Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:12.382468Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_42|dca95576-ef7ac97e-58dc2991-e9d3287e_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_42
Init result: { status: SUCCESS init_response { session_id: "sid_rand_42|dca95576-ef7ac97e-58dc2991-e9d3287e_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.383741Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 53 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_42|dca95576-ef7ac97e-58dc2991-e9d3287e_0
2025-11-01T19:49:12.386849Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId: sid_rand_42|dca95576-ef7ac97e-58dc2991-e9d3287e_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.386874Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 53 sessionId: sid_rand_42|dca95576-ef7ac97e-58dc2991-e9d3287e_0 grpc read failed
2025-11-01T19:49:12.386904Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 53 sessionId: sid_rand_42|dca95576-ef7ac97e-58dc2991-e9d3287e_0 grpc closed
2025-11-01T19:49:12.386927Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 53 sessionId: sid_rand_42|dca95576-ef7ac97e-58dc2991-e9d3287e_0 is DEAD
2025-11-01T19:49:12.387834Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.388008Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.388026Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 54
2025-11-01T19:49:12.388485Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_43" }
2025-11-01T19:49:12.388641Z 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]:44138
2025-11-01T19:49:12.388665Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=54 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.388677Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.392887Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 54 sessionId:  describe result for acl check
2025-11-01T19:49:12.393078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.393099Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.393113Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.393139Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627649135:2761] (SourceId=sid_rand_43, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.404836Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627649135:2761] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.413752Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627649135:2761] (SourceId=sid_rand_43, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.414421Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649159:2761] connected; active server actors: 1
2025-11-01T19:49:12.417317Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627649135:2761] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_43
2025-11-01T19:49:12.417361Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627649135:2761] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.418096Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649159:2761] disconnected.
2025-11-01T19:49:12.418170Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649159:2761] disconnected; active server actors: 1
2025-11-01T19:49:12.418198Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649159:2761] disconnected no session
2025-11-01T19:49:12.440055Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627649135:2761] (SourceId=sid_rand_43, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.440115Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627649135:2761] (SourceId=sid_rand_43, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-01T19:49:12.440145Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627649135:2761] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.440196Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 54 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-01T19:49:12.442590Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:12.442857Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_43|ea84517e-f71cb529-4069f943-bc1e3cda_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_43
2025-11-01T19:49:12.443442Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 54 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_43|ea84517e-f71cb529-4069f943-bc1e3cda_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_43|ea84517e-f71cb529-4069f943-bc1e3cda_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.446798Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId: sid_rand_43|ea84517e-f71cb529-4069f943-bc1e3cda_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.446824Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 54 sessionId: sid_rand_43|ea84517e-f71cb529-4069f943-bc1e3cda_0 grpc read failed
2025-11-01T19:49:12.446857Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 54 sessionId: sid_rand_43|ea84517e-f71cb529-4069f943-bc1e3cda_0 grpc closed
2025-11-01T19:49:12.446882Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 54 sessionId: sid_rand_43|ea84517e-f71cb529-4069f943-bc1e3cda_0 is DEAD
2025-11-01T19:49:12.447177Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.447196Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 55
2025-11-01T19:49:12.447843Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.448045Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_44" }
2025-11-01T19:49:12.448226Z 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]:44138
2025-11-01T19:49:12.448257Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=55 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.448270Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.449907Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 55 sessionId:  describe result for acl check
2025-11-01T19:49:12.450044Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.450055Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.450065Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.450086Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627649177:2767] (SourceId=sid_rand_44, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.453877Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627649177:2767] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.463184Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627649177:2767] (SourceId=sid_rand_44, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.463978Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649193:2767] connected; active server actors: 1
2025-11-01T19:49:12.464341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627649177:2767] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_44
2025-11-01T19:49:12.464376Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627649177:2767] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.465201Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649193:2767] disconnected.
2025-11-01T19:49:12.465260Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649193:2767] disconnected; active server actors: 1
2025-11-01T19:49:12.465286Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649193:2767] disconnected no session
2025-11-01T19:49:12.476832Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627649177:2767] (SourceId=sid_rand_44, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.476893Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627649177:2767] (SourceId=sid_rand_44, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-01T19:49:12.476920Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627649177:2767] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.476964Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 55 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-01T19:49:12.478287Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:12.478655Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_44|72a2af1d-22e737a9-f90789da-3cc928b5_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_44
2025-11-01T19:49:12.479969Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 55 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_44|72a2af1d-22e737a9-f90789da-3cc928b5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_44|72a2af1d-22e737a9-f90789da-3cc928b5_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.484058Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId: sid_rand_44|72a2af1d-22e737a9-f90789da-3cc928b5_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.484087Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 55 sessionId: sid_rand_44|72a2af1d-22e737a9-f90789da-3cc928b5_0 grpc read failed
2025-11-01T19:49:12.484119Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.484120Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 55 sessionId: sid_rand_44|72a2af1d-22e737a9-f90789da-3cc928b5_0 grpc closed
2025-11-01T19:49:12.484142Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 56
2025-11-01T19:49:12.484142Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 55 sessionId: sid_rand_44|72a2af1d-22e737a9-f90789da-3cc928b5_0 is DEAD
2025-11-01T19:49:12.484535Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_45" }
2025-11-01T19:49:12.484696Z 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]:44138
2025-11-01T19:49:12.484727Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=56 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.484748Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.485138Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.486950Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 56 sessionId:  describe result for acl check
2025-11-01T19:49:12.487126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.487146Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.487160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.487185Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627649211:2771] (SourceId=sid_rand_45, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.492884Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627649211:2771] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.506865Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627649211:2771] (SourceId=sid_rand_45, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.508207Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649232:2771] connected; active server actors: 1
2025-11-01T19:49:12.508671Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627649211:2771] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_45
2025-11-01T19:49:12.508709Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627649211:2771] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.510267Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649232:2771] disconnected.
2025-11-01T19:49:12.510321Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649232:2771] disconnected; active server actors: 1
2025-11-01T19:49:12.510345Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649232:2771] disconnected no session
2025-11-01T19:49:12.523861Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627649211:2771] (SourceId=sid_rand_45, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.523921Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627649211:2771] (SourceId=sid_rand_45, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-01T19:49:12.523952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627649211:2771] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.524000Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 56 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-01T19:49:12.525441Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:12.525822Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_45|3c2b8920-cb57bf23-788ff36f-6d659fd5_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_45
2025-11-01T19:49:12.527088Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 56 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_45|3c2b8920-cb57bf23-788ff36f-6d659fd5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_45|3c2b8920-cb57bf23-788ff36f-6d659fd5_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.530243Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId: sid_rand_45|3c2b8920-cb57bf23-788ff36f-6d659fd5_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.530270Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 56 sessionId: sid_rand_45|3c2b8920-cb57bf23-788ff36f-6d659fd5_0 grpc read failed
2025-11-01T19:49:12.530304Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 56 sessionId: sid_rand_45|3c2b8920-cb57bf23-788ff36f-6d659fd5_0 grpc closed
2025-11-01T19:49:12.530331Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 56 sessionId: sid_rand_45|3c2b8920-cb57bf23-788ff36f-6d659fd5_0 is DEAD
2025-11-01T19:49:12.530565Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.530588Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 57
2025-11-01T19:49:12.531033Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_46" }
2025-11-01T19:49:12.531213Z 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]:44138
2025-11-01T19:49:12.531239Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=57 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.531255Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.531422Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.534256Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 57 sessionId:  describe result for acl check
2025-11-01T19:49:12.534474Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.534502Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.534516Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.534545Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627649249:2775] (SourceId=sid_rand_46, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.539640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627649249:2775] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.550544Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627649249:2775] (SourceId=sid_rand_46, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.551861Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649265:2775] connected; active server actors: 1
2025-11-01T19:49:12.552099Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627649249:2775] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_46
2025-11-01T19:49:12.552137Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627649249:2775] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.553792Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649265:2775] disconnected.
2025-11-01T19:49:12.553854Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649265:2775] disconnected; active server actors: 1
2025-11-01T19:49:12.553885Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649265:2775] disconnected no session
2025-11-01T19:49:12.566164Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627649249:2775] (SourceId=sid_rand_46, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.566224Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627649249:2775] (SourceId=sid_rand_46, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-01T19:49:12.566251Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627649249:2775] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.566292Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 57 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-01T19:49:12.568097Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:12.568592Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_46|f201a384-1b032eba-a1e928df-e19b26f3_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_46
2025-11-01T19:49:12.569168Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 57 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_46|f201a384-1b032eba-a1e928df-e19b26f3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_46|f201a384-1b032eba-a1e928df-e19b26f3_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.572373Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId: sid_rand_46|f201a384-1b032eba-a1e928df-e19b26f3_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.572399Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 57 sessionId: sid_rand_46|f201a384-1b032eba-a1e928df-e19b26f3_0 grpc read failed
2025-11-01T19:49:12.572433Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 57 sessionId: sid_rand_46|f201a384-1b032eba-a1e928df-e19b26f3_0 grpc closed
2025-11-01T19:49:12.572457Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 57 sessionId: sid_rand_46|f201a384-1b032eba-a1e928df-e19b26f3_0 is DEAD
2025-11-01T19:49:12.573735Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.573891Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.573910Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 58
2025-11-01T19:49:12.574952Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_47" }
2025-11-01T19:49:12.575133Z 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]:44138
2025-11-01T19:49:12.575163Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=58 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.575178Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.577232Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 58 sessionId:  describe result for acl check
2025-11-01T19:49:12.577419Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.577435Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.577452Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.577483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627649283:2779] (SourceId=sid_rand_47, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.582347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627649283:2779] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.592643Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627649283:2779] (SourceId=sid_rand_47, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.594589Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649299:2779] connected; active server actors: 1
2025-11-01T19:49:12.595432Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627649283:2779] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_47
2025-11-01T19:49:12.595465Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627649283:2779] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.596062Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649299:2779] disconnected.
2025-11-01T19:49:12.596101Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649299:2779] disconnected; active server actors: 1
2025-11-01T19:49:12.596125Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649299:2779] disconnected no session
2025-11-01T19:49:12.625294Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627649283:2779] (SourceId=sid_rand_47, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.625348Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627649283:2779] (SourceId=sid_rand_47, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-01T19:49:12.625376Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627649283:2779] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.625417Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 58 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-01T19:49:12.632356Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:12.632932Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_47|69ad7e8f-3bc6cb73-8a328de9-1b4fc126_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_47
2025-11-01T19:49:12.634868Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 58 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_47|69ad7e8f-3bc6cb73-8a328de9-1b4fc126_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_47|69ad7e8f-3bc6cb73-8a328de9-1b4fc126_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.638483Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId: sid_rand_47|69ad7e8f-3bc6cb73-8a328de9-1b4fc126_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.638527Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 58 sessionId: sid_rand_47|69ad7e8f-3bc6cb73-8a328de9-1b4fc126_0 grpc read failed
2025-11-01T19:49:12.638567Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 58 sessionId: sid_rand_47|69ad7e8f-3bc6cb73-8a328de9-1b4fc126_0 grpc closed
2025-11-01T19:49:12.638595Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 58 sessionId: sid_rand_47|69ad7e8f-3bc6cb73-8a328de9-1b4fc126_0 is DEAD
2025-11-01T19:49:12.638932Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.638959Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 59
2025-11-01T19:49:12.639419Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_48" }
2025-11-01T19:49:12.639611Z 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]:44138
2025-11-01T19:49:12.639637Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=59 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.639653Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.640085Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.641838Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 59 sessionId:  describe result for acl check
2025-11-01T19:49:12.642037Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.642062Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.642078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.642107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627649316:2783] (SourceId=sid_rand_48, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.647138Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627649316:2783] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.657543Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627649316:2783] (SourceId=sid_rand_48, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.662918Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649335:2783] connected; active server actors: 1
2025-11-01T19:49:12.664310Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649335:2783] disconnected.
2025-11-01T19:49:12.664357Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649335:2783] disconnected; active server actors: 1
2025-11-01T19:49:12.664383Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649335:2783] disconnected no session
2025-11-01T19:49:12.663245Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627649316:2783] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_48
2025-11-01T19:49:12.663285Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627649316:2783] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.679475Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627649316:2783] (SourceId=sid_rand_48, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.679524Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627649316:2783] (SourceId=sid_rand_48, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-01T19:49:12.679552Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627649316:2783] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.679596Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 59 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-01T19:49:12.681388Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:12.681551Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_48|bae230df-6a3dad62-8880887e-7cf627b7_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_48
2025-11-01T19:49:12.682290Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 59 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_48|bae230df-6a3dad62-8880887e-7cf627b7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_48|bae230df-6a3dad62-8880887e-7cf627b7_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.689881Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId: sid_rand_48|bae230df-6a3dad62-8880887e-7cf627b7_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.689916Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 59 sessionId: sid_rand_48|bae230df-6a3dad62-8880887e-7cf627b7_0 grpc read failed
2025-11-01T19:49:12.689955Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 59 sessionId: sid_rand_48|bae230df-6a3dad62-8880887e-7cf627b7_0 grpc closed
2025-11-01T19:49:12.689983Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 59 sessionId: sid_rand_48|bae230df-6a3dad62-8880887e-7cf627b7_0 is DEAD
2025-11-01T19:49:12.690502Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.690532Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 60
2025-11-01T19:49:12.691023Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.691884Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_49" }
2025-11-01T19:49:12.692070Z 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]:44138
2025-11-01T19:49:12.692094Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=60 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.692109Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.694790Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 60 sessionId:  describe result for acl check
2025-11-01T19:49:12.694977Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.694998Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.695014Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.695040Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627649355:2787] (SourceId=sid_rand_49, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.700094Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627649355:2787] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.709751Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627649355:2787] (SourceId=sid_rand_49, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.710839Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649371:2787] connected; active server actors: 1
2025-11-01T19:49:12.711270Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627649355:2787] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_49
2025-11-01T19:49:12.711304Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627649355:2787] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.712936Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649371:2787] disconnected.
2025-11-01T19:49:12.712984Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649371:2787] disconnected; active server actors: 1
2025-11-01T19:49:12.713011Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649371:2787] disconnected no session
2025-11-01T19:49:12.726517Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627649355:2787] (SourceId=sid_rand_49, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.726574Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627649355:2787] (SourceId=sid_rand_49, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-01T19:49:12.726602Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627649355:2787] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.726642Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 60 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-01T19:49:12.728029Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:12.728206Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_49|8d733a33-8ba4020f-c416b8ec-48f309f8_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_49
2025-11-01T19:49:12.728765Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 60 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_49|8d733a33-8ba4020f-c416b8ec-48f309f8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_49|8d733a33-8ba4020f-c416b8ec-48f309f8_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.732905Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId: sid_rand_49|8d733a33-8ba4020f-c416b8ec-48f309f8_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.732938Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 60 sessionId: sid_rand_49|8d733a33-8ba4020f-c416b8ec-48f309f8_0 grpc read failed
2025-11-01T19:49:12.732973Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 60 sessionId: sid_rand_49|8d733a33-8ba4020f-c416b8ec-48f309f8_0 grpc closed
2025-11-01T19:49:12.733000Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 60 sessionId: sid_rand_49|8d733a33-8ba4020f-c416b8ec-48f309f8_0 is DEAD
2025-11-01T19:49:12.733023Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.733048Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 61
2025-11-01T19:49:12.733423Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_50" }
2025-11-01T19:49:12.733597Z 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]:44138
2025-11-01T19:49:12.733621Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=61 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.733649Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.734062Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.736099Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 61 sessionId:  describe result for acl check
2025-11-01T19:49:12.736279Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.736301Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.736314Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.736339Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627649389:2791] (SourceId=sid_rand_50, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.741338Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627649389:2791] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.750762Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627649389:2791] (SourceId=sid_rand_50, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.752122Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649405:2791] connected; active server actors: 1
2025-11-01T19:49:12.752644Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627649389:2791] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_50
2025-11-01T19:49:12.752681Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627649389:2791] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.754457Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649405:2791] disconnected.
2025-11-01T19:49:12.754522Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649405:2791] disconnected; active server actors: 1
2025-11-01T19:49:12.754552Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649405:2791] disconnected no session
2025-11-01T19:49:12.776071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627649389:2791] (SourceId=sid_rand_50, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.776128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627649389:2791] (SourceId=sid_rand_50, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-01T19:49:12.776155Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627649389:2791] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.776193Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 61 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-01T19:49:12.787530Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:12.787995Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_50|f1d79048-cf1c2ea4-f8e8d366-dd34b8d_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_50
2025-11-01T19:49:12.790023Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 61 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_50|f1d79048-cf1c2ea4-f8e8d366-dd34b8d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_50|f1d79048-cf1c2ea4-f8e8d366-dd34b8d_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.796731Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 61 sessionId: sid_rand_50|f1d79048-cf1c2ea4-f8e8d366-dd34b8d_0 grpc closed
2025-11-01T19:49:12.796777Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 61 sessionId: sid_rand_50|f1d79048-cf1c2ea4-f8e8d366-dd34b8d_0 is DEAD
2025-11-01T19:49:12.797343Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.801170Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.801206Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 62
2025-11-01T19:49:12.803193Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_51" }
2025-11-01T19:49:12.803385Z 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]:44138
2025-11-01T19:49:12.803410Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=62 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.803424Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.805854Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 62 sessionId:  describe result for acl check
2025-11-01T19:49:12.806043Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.806062Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.806076Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.806100Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627649422:2795] (SourceId=sid_rand_51, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.811508Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627649422:2795] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.823669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627649422:2795] (SourceId=sid_rand_51, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.825763Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649441:2795] connected; active server actors: 1
2025-11-01T19:49:12.826470Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627649422:2795] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_51
2025-11-01T19:49:12.826509Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627649422:2795] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.827547Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649441:2795] disconnected.
2025-11-01T19:49:12.827596Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649441:2795] disconnected; active server actors: 1
2025-11-01T19:49:12.827629Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649441:2795] disconnected no session
2025-11-01T19:49:12.840829Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627649422:2795] (SourceId=sid_rand_51, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.840882Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627649422:2795] (SourceId=sid_rand_51, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-01T19:49:12.840908Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627649422:2795] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.840949Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 62 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-01T19:49:12.841981Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:12.842141Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_51|1424114b-cdef6f7-be6138b6-b2d37ef7_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_51
2025-11-01T19:49:12.842643Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 62 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_51|1424114b-cdef6f7-be6138b6-b2d37ef7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_51|1424114b-cdef6f7-be6138b6-b2d37ef7_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.848837Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId: sid_rand_51|1424114b-cdef6f7-be6138b6-b2d37ef7_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.848869Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 62 sessionId: sid_rand_51|1424114b-cdef6f7-be6138b6-b2d37ef7_0 grpc read failed
2025-11-01T19:49:12.848928Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 62 sessionId: sid_rand_51|1424114b-cdef6f7-be6138b6-b2d37ef7_0
2025-11-01T19:49:12.848953Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 62 sessionId: sid_rand_51|1424114b-cdef6f7-be6138b6-b2d37ef7_0 is DEAD
2025-11-01T19:49:12.849324Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.850308Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.850343Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 63
2025-11-01T19:49:12.850957Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_52" }
2025-11-01T19:49:12.851151Z 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]:44138
2025-11-01T19:49:12.851183Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=63 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.851200Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.853051Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 63 sessionId:  describe result for acl check
2025-11-01T19:49:12.853197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.853210Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.853220Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.853239Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627649467:2799] (SourceId=sid_rand_52, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.856931Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627649467:2799] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.872301Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627649467:2799] (SourceId=sid_rand_52, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.874162Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649483:2799] connected; active server actors: 1
2025-11-01T19:49:12.875426Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627649467:2799] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_52
2025-11-01T19:49:12.875474Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627649467:2799] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.877254Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649483:2799] disconnected.
2025-11-01T19:49:12.877330Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649483:2799] disconnected; active server actors: 1
2025-11-01T19:49:12.877363Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649483:2799] disconnected no session
2025-11-01T19:49:12.895259Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627649467:2799] (SourceId=sid_rand_52, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.895318Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627649467:2799] (SourceId=sid_rand_52, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-01T19:49:12.895351Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627649467:2799] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.895394Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 63 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-01T19:49:12.899830Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:12.901389Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 63 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_52|69a36521-e7d9e70d-cae72dd9-ea3c165c_0
2025-11-01T19:49:12.900314Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_52|69a36521-e7d9e70d-cae72dd9-ea3c165c_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_52
Init result: { status: SUCCESS init_response { session_id: "sid_rand_52|69a36521-e7d9e70d-cae72dd9-ea3c165c_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.909061Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId: sid_rand_52|69a36521-e7d9e70d-cae72dd9-ea3c165c_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.909098Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 63 sessionId: sid_rand_52|69a36521-e7d9e70d-cae72dd9-ea3c165c_0 grpc read failed
2025-11-01T19:49:12.909139Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 63 sessionId: sid_rand_52|69a36521-e7d9e70d-cae72dd9-ea3c165c_0 grpc closed
2025-11-01T19:49:12.909174Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 63 sessionId: sid_rand_52|69a36521-e7d9e70d-cae72dd9-ea3c165c_0 is DEAD
2025-11-01T19:49:12.909252Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.909278Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 64
2025-11-01T19:49:12.909744Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_53" }
2025-11-01T19:49:12.909954Z 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]:44138
2025-11-01T19:49:12.909990Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=64 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.910014Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.910539Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.913983Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 64 sessionId:  describe result for acl check
2025-11-01T19:49:12.914203Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.914223Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.914238Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.914265Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627649500:2803] (SourceId=sid_rand_53, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.919408Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627649500:2803] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.931436Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627649500:2803] (SourceId=sid_rand_53, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.933227Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649517:2803] connected; active server actors: 1
2025-11-01T19:49:12.933702Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627649500:2803] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_53
2025-11-01T19:49:12.933748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627649500:2803] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.935189Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649517:2803] disconnected.
2025-11-01T19:49:12.935246Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649517:2803] disconnected; active server actors: 1
2025-11-01T19:49:12.935273Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649517:2803] disconnected no session
2025-11-01T19:49:12.958480Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627649500:2803] (SourceId=sid_rand_53, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:12.958533Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627649500:2803] (SourceId=sid_rand_53, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-01T19:49:12.958561Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627649500:2803] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:12.958601Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 64 sessionId:  partition: 9 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_53|133b30-34a328ab-b581013e-3459e082_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:12.961826Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:12.962146Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_53|133b30-34a328ab-b581013e-3459e082_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_53
2025-11-01T19:49:12.962868Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 64 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_53|133b30-34a328ab-b581013e-3459e082_0
2025-11-01T19:49:12.969060Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId: sid_rand_53|133b30-34a328ab-b581013e-3459e082_0 grpc read done: success: 0 data: 
2025-11-01T19:49:12.969081Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 64 sessionId: sid_rand_53|133b30-34a328ab-b581013e-3459e082_0 grpc read failed
2025-11-01T19:49:12.969115Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 64 sessionId: sid_rand_53|133b30-34a328ab-b581013e-3459e082_0 grpc closed
2025-11-01T19:49:12.969138Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 64 sessionId: sid_rand_53|133b30-34a328ab-b581013e-3459e082_0 is DEAD
2025-11-01T19:49:12.969807Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:12.969837Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 65
2025-11-01T19:49:12.970128Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:12.971194Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_54" }
2025-11-01T19:49:12.971394Z 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]:44138
2025-11-01T19:49:12.971418Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=65 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:12.971434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:12.973647Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 65 sessionId:  describe result for acl check
2025-11-01T19:49:12.973845Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:12.973863Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:12.973877Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:12.973903Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846415627649538:2807] (SourceId=sid_rand_54, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:12.979279Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846415627649538:2807] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:12.990661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846415627649538:2807] (SourceId=sid_rand_54, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:12.992518Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649554:2807] connected; active server actors: 1
2025-11-01T19:49:12.993276Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846415627649538:2807] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_54
2025-11-01T19:49:12.993316Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846415627649538:2807] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:12.995054Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649554:2807] disconnected.
2025-11-01T19:49:12.995101Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649554:2807] disconnected; active server actors: 1
2025-11-01T19:49:12.995131Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846415627649554:2807] disconnected no session
2025-11-01T19:49:13.012284Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846415627649538:2807] (SourceId=sid_rand_54, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:13.012338Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846415627649538:2807] (SourceId=sid_rand_54, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-01T19:49:13.012364Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846415627649538:2807] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:13.012408Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 65 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-01T19:49:13.015201Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:13.015452Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_54|199c0e47-ac3643e9-745753b1-27093897_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_54
2025-11-01T19:49:13.016188Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 65 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_54|199c0e47-ac3643e9-745753b1-27093897_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_54|199c0e47-ac3643e9-745753b1-27093897_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:13.019462Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId: sid_rand_54|199c0e47-ac3643e9-745753b1-27093897_0 grpc read done: success: 0 data: 
2025-11-01T19:49:13.019489Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 65 sessionId: sid_rand_54|199c0e47-ac3643e9-745753b1-27093897_0 grpc read failed
2025-11-01T19:49:13.019527Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 65 sessionId: sid_rand_54|199c0e47-ac3643e9-745753b1-27093897_0 grpc closed
2025-11-01T19:49:13.019556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 65 sessionId: sid_rand_54|199c0e47-ac3643e9-745753b1-27093897_0 is DEAD
2025-11-01T19:49:13.020403Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:13.020564Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:13.020591Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 66
2025-11-01T19:49:13.021384Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_55" }
2025-11-01T19:49:13.021544Z 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]:44138
2025-11-01T19:49:13.021576Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=66 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:13.021588Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:13.023847Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 66 sessionId:  describe result for acl check
2025-11-01T19:49:13.024019Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:13.024039Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:13.024054Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:13.024080Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846419922616870:2811] (SourceId=sid_rand_55, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:13.029483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846419922616870:2811] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:13.040815Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846419922616870:2811] (SourceId=sid_rand_55, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:13.042398Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922616886:2811] connected; active server actors: 1
2025-11-01T19:49:13.043984Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846419922616870:2811] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_55
2025-11-01T19:49:13.044023Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846419922616870:2811] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:13.045568Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922616886:2811] disconnected.
2025-11-01T19:49:13.045619Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922616886:2811] disconnected; active server actors: 1
2025-11-01T19:49:13.045663Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922616886:2811] disconnected no session
2025-11-01T19:49:13.062175Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846419922616870:2811] (SourceId=sid_rand_55, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:13.062238Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846419922616870:2811] (SourceId=sid_rand_55, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-01T19:49:13.062265Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846419922616870:2811] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:13.062310Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 66 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-01T19:49:13.066247Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:13.066905Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_55|ff39e265-61e69075-83fa7f6d-a983a43d_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_55
2025-11-01T19:49:13.067503Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 66 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_55|ff39e265-61e69075-83fa7f6d-a983a43d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_55|ff39e265-61e69075-83fa7f6d-a983a43d_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:13.072013Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId: sid_rand_55|ff39e265-61e69075-83fa7f6d-a983a43d_0 grpc read done: success: 0 data: 
2025-11-01T19:49:13.072046Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 66 sessionId: sid_rand_55|ff39e265-61e69075-83fa7f6d-a983a43d_0 grpc read failed
2025-11-01T19:49:13.072083Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 66 sessionId: sid_rand_55|ff39e265-61e69075-83fa7f6d-a983a43d_0 grpc closed
2025-11-01T19:49:13.072109Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 66 sessionId: sid_rand_55|ff39e265-61e69075-83fa7f6d-a983a43d_0 is DEAD
2025-11-01T19:49:13.072138Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:13.072164Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 67
2025-11-01T19:49:13.073117Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:13.073281Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_56" }
2025-11-01T19:49:13.073413Z 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]:44138
2025-11-01T19:49:13.073432Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=67 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:13.073443Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:13.075426Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 67 sessionId:  describe result for acl check
2025-11-01T19:49:13.075603Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:13.075623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:13.075636Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:13.075663Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846419922616907:2815] (SourceId=sid_rand_56, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:13.080074Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846419922616907:2815] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:13.089155Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846419922616907:2815] (SourceId=sid_rand_56, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:13.091140Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846419922616907:2815] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_56
2025-11-01T19:49:13.091171Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846419922616907:2815] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:13.090757Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922616926:2815] connected; active server actors: 1
2025-11-01T19:49:13.092043Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922616926:2815] disconnected.
2025-11-01T19:49:13.092096Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922616926:2815] disconnected; active server actors: 1
2025-11-01T19:49:13.092123Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922616926:2815] disconnected no session
2025-11-01T19:49:13.101597Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846419922616907:2815] (SourceId=sid_rand_56, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:13.101658Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846419922616907:2815] (SourceId=sid_rand_56, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-01T19:49:13.101688Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846419922616907:2815] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:13.101730Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 67 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-01T19:49:13.103110Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:13.103289Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_56|59ef6245-797ddca1-5c3d5f06-1dec92b9_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_56
2025-11-01T19:49:13.103872Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 67 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_56|59ef6245-797ddca1-5c3d5f06-1dec92b9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_56|59ef6245-797ddca1-5c3d5f06-1dec92b9_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:13.115137Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId: sid_rand_56|59ef6245-797ddca1-5c3d5f06-1dec92b9_0 grpc read done: success: 0 data: 
2025-11-01T19:49:13.115178Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 67 sessionId: sid_rand_56|59ef6245-797ddca1-5c3d5f06-1dec92b9_0 grpc read failed
2025-11-01T19:49:13.115218Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 67 sessionId: sid_rand_56|59ef6245-797ddca1-5c3d5f06-1dec92b9_0 grpc closed
2025-11-01T19:49:13.115229Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:13.115257Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 68
2025-11-01T19:49:13.115257Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 67 sessionId: sid_rand_56|59ef6245-797ddca1-5c3d5f06-1dec92b9_0 is DEAD
2025-11-01T19:49:13.115659Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_57" }
2025-11-01T19:49:13.115831Z 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]:44138
2025-11-01T19:49:13.115858Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=68 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:13.115875Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:13.116309Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:13.120538Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 68 sessionId:  describe result for acl check
2025-11-01T19:49:13.120695Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:13.120715Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:13.120729Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:13.120748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846419922616944:2819] (SourceId=sid_rand_57, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:13.124922Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846419922616944:2819] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:13.133093Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846419922616944:2819] (SourceId=sid_rand_57, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:13.134634Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922616960:2819] connected; active server actors: 1
2025-11-01T19:49:13.135092Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846419922616944:2819] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_57
2025-11-01T19:49:13.135125Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846419922616944:2819] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:13.135813Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922616960:2819] disconnected.
2025-11-01T19:49:13.135860Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922616960:2819] disconnected; active server actors: 1
2025-11-01T19:49:13.135890Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922616960:2819] disconnected no session
2025-11-01T19:49:13.149264Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846419922616944:2819] (SourceId=sid_rand_57, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:13.149317Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846419922616944:2819] (SourceId=sid_rand_57, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-01T19:49:13.149343Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846419922616944:2819] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:13.149386Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 68 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-01T19:49:13.152057Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:13.152410Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_57|6a7d3975-7cdef2e3-19419b1d-235ba83d_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_57
2025-11-01T19:49:13.153537Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 68 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_57|6a7d3975-7cdef2e3-19419b1d-235ba83d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_57|6a7d3975-7cdef2e3-19419b1d-235ba83d_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:13.156294Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId: sid_rand_57|6a7d3975-7cdef2e3-19419b1d-235ba83d_0 grpc read done: success: 0 data: 
2025-11-01T19:49:13.156321Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 68 sessionId: sid_rand_57|6a7d3975-7cdef2e3-19419b1d-235ba83d_0 grpc read failed
2025-11-01T19:49:13.156353Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 68 sessionId: sid_rand_57|6a7d3975-7cdef2e3-19419b1d-235ba83d_0 grpc closed
2025-11-01T19:49:13.156376Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 68 sessionId: sid_rand_57|6a7d3975-7cdef2e3-19419b1d-235ba83d_0 is DEAD
2025-11-01T19:49:13.157425Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:13.157602Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:13.157623Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 69
2025-11-01T19:49:13.158102Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_58" }
2025-11-01T19:49:13.158256Z 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]:44138
2025-11-01T19:49:13.158286Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=69 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:13.158302Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:13.159920Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 69 sessionId:  describe result for acl check
2025-11-01T19:49:13.160078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:13.160101Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:13.160115Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:13.160141Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846419922616977:2823] (SourceId=sid_rand_58, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:13.164410Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846419922616977:2823] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:13.193211Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846419922616977:2823] (SourceId=sid_rand_58, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:13.195363Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922616994:2823] connected; active server actors: 1
2025-11-01T19:49:13.199557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846419922616977:2823] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_58
2025-11-01T19:49:13.199610Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846419922616977:2823] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:13.200424Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922616994:2823] disconnected.
2025-11-01T19:49:13.200482Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922616994:2823] disconnected; active server actors: 1
2025-11-01T19:49:13.200514Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922616994:2823] disconnected no session
2025-11-01T19:49:13.238062Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846419922616977:2823] (SourceId=sid_rand_58, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:13.238121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846419922616977:2823] (SourceId=sid_rand_58, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-01T19:49:13.238149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846419922616977:2823] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:13.238194Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 69 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-01T19:49:13.241033Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:13.247119Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_58|bce0ad20-e5be656c-643beb1e-48563b0f_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_58
2025-11-01T19:49:13.255279Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 69 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_58|bce0ad20-e5be656c-643beb1e-48563b0f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_58|bce0ad20-e5be656c-643beb1e-48563b0f_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:13.262662Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId: sid_rand_58|bce0ad20-e5be656c-643beb1e-48563b0f_0 grpc read done: success: 0 data: 
2025-11-01T19:49:13.262702Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 69 sessionId: sid_rand_58|bce0ad20-e5be656c-643beb1e-48563b0f_0 grpc read failed
2025-11-01T19:49:13.262742Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 69 sessionId: sid_rand_58|bce0ad20-e5be656c-643beb1e-48563b0f_0 grpc closed
2025-11-01T19:49:13.262802Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 69 sessionId: sid_rand_58|bce0ad20-e5be656c-643beb1e-48563b0f_0 is DEAD
2025-11-01T19:49:13.264189Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:13.264383Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:13.264405Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 70
2025-11-01T19:49:13.265547Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_59" }
2025-11-01T19:49:13.265767Z 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]:44138
2025-11-01T19:49:13.265795Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=70 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:13.265822Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:13.268201Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 70 sessionId:  describe result for acl check
2025-11-01T19:49:13.268416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:13.268439Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:13.268453Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:13.268479Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846419922617016:2827] (SourceId=sid_rand_59, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:13.273971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846419922617016:2827] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:13.296046Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846419922617016:2827] (SourceId=sid_rand_59, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:13.300927Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617035:2827] connected; active server actors: 1
2025-11-01T19:49:13.303089Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617035:2827] disconnected.
2025-11-01T19:49:13.301520Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846419922617016:2827] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_59
2025-11-01T19:49:13.301562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846419922617016:2827] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:13.303136Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617035:2827] disconnected; active server actors: 1
2025-11-01T19:49:13.303163Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617035:2827] disconnected no session
2025-11-01T19:49:13.323052Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846419922617016:2827] (SourceId=sid_rand_59, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:13.323100Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846419922617016:2827] (SourceId=sid_rand_59, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-01T19:49:13.323119Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846419922617016:2827] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:13.323152Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 70 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-01T19:49:13.324212Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:13.324482Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_59|f48dc419-c14cffab-b71c7a79-f78192d0_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_59
2025-11-01T19:49:13.325009Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 70 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_59|f48dc419-c14cffab-b71c7a79-f78192d0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_59|f48dc419-c14cffab-b71c7a79-f78192d0_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:13.332121Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId: sid_rand_59|f48dc419-c14cffab-b71c7a79-f78192d0_0 grpc read done: success: 0 data: 
2025-11-01T19:49:13.332156Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 70 sessionId: sid_rand_59|f48dc419-c14cffab-b71c7a79-f78192d0_0 grpc read failed
2025-11-01T19:49:13.332203Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 70 sessionId: sid_rand_59|f48dc419-c14cffab-b71c7a79-f78192d0_0 grpc closed
2025-11-01T19:49:13.332228Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 70 sessionId: sid_rand_59|f48dc419-c14cffab-b71c7a79-f78192d0_0 is DEAD
2025-11-01T19:49:13.333354Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:13.333523Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:13.333542Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 71
2025-11-01T19:49:13.334045Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_60" }
2025-11-01T19:49:13.334199Z 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]:44138
2025-11-01T19:49:13.334221Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=71 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:13.334234Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:13.336224Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 71 sessionId:  describe result for acl check
2025-11-01T19:49:13.336415Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:13.336435Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:13.336448Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:13.336472Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846419922617055:2831] (SourceId=sid_rand_60, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:13.341412Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846419922617055:2831] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:13.349455Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846419922617055:2831] (SourceId=sid_rand_60, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:13.350519Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617074:2831] connected; active server actors: 1
2025-11-01T19:49:13.351908Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846419922617055:2831] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_60
2025-11-01T19:49:13.351940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846419922617055:2831] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:13.353164Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617074:2831] disconnected.
2025-11-01T19:49:13.353229Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617074:2831] disconnected; active server actors: 1
2025-11-01T19:49:13.353268Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617074:2831] disconnected no session
2025-11-01T19:49:13.370086Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846419922617055:2831] (SourceId=sid_rand_60, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:13.370135Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846419922617055:2831] (SourceId=sid_rand_60, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-01T19:49:13.370159Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846419922617055:2831] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:13.370197Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 71 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-01T19:49:13.379494Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:13.383234Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_60|166bdb7f-940affe4-b983d922-450239ce_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_60
Init result: { status: SUCCESS init_response { session_id: "sid_rand_60|166bdb7f-940affe4-b983d922-450239ce_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:13.389059Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 71 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_60|166bdb7f-940affe4-b983d922-450239ce_0
2025-11-01T19:49:13.398875Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId: sid_rand_60|166bdb7f-940affe4-b983d922-450239ce_0 grpc read done: success: 0 data: 
2025-11-01T19:49:13.398910Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 71 sessionId: sid_rand_60|166bdb7f-940affe4-b983d922-450239ce_0 grpc read failed
2025-11-01T19:49:13.398947Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 71 sessionId: sid_rand_60|166bdb7f-940affe4-b983d922-450239ce_0 grpc closed
2025-11-01T19:49:13.398971Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 71 sessionId: sid_rand_60|166bdb7f-940affe4-b983d922-450239ce_0 is DEAD
2025-11-01T19:49:13.400029Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:13.400407Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:13.400426Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 72
2025-11-01T19:49:13.407018Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_61" }
2025-11-01T19:49:13.407210Z 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]:44138
2025-11-01T19:49:13.407233Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=72 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:13.407248Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:13.412528Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 72 sessionId:  describe result for acl check
2025-11-01T19:49:13.412712Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:13.412729Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:13.412743Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:13.412770Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846419922617104:2843] (SourceId=sid_rand_61, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:13.417154Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846419922617104:2843] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:13.429920Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846419922617104:2843] (SourceId=sid_rand_61, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:13.431652Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617124:2843] connected; active server actors: 1
2025-11-01T19:49:13.433789Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617124:2843] disconnected.
2025-11-01T19:49:13.433830Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617124:2843] disconnected; active server actors: 1
2025-11-01T19:49:13.433852Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617124:2843] disconnected no session
2025-11-01T19:49:13.432289Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846419922617104:2843] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_61
2025-11-01T19:49:13.432320Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846419922617104:2843] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:13.460057Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846419922617104:2843] (SourceId=sid_rand_61, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:13.460116Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846419922617104:2843] (SourceId=sid_rand_61, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-01T19:49:13.460139Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846419922617104:2843] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:13.460180Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 72 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-01T19:49:13.462514Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:13.462748Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_61|a72dcfa5-57cdeb95-6d2a6c9a-7b316232_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_61
2025-11-01T19:49:13.463327Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 72 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_61|a72dcfa5-57cdeb95-6d2a6c9a-7b316232_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_61|a72dcfa5-57cdeb95-6d2a6c9a-7b316232_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:13.474895Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId: sid_rand_61|a72dcfa5-57cdeb95-6d2a6c9a-7b316232_0 grpc read done: success: 0 data: 
2025-11-01T19:49:13.474933Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 72 sessionId: sid_rand_61|a72dcfa5-57cdeb95-6d2a6c9a-7b316232_0 grpc read failed
2025-11-01T19:49:13.474968Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 72 sessionId: sid_rand_61|a72dcfa5-57cdeb95-6d2a6c9a-7b316232_0 grpc closed
2025-11-01T19:49:13.474994Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 72 sessionId: sid_rand_61|a72dcfa5-57cdeb95-6d2a6c9a-7b316232_0 is DEAD
2025-11-01T19:49:13.476062Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:13.476222Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:13.476250Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 73
2025-11-01T19:49:13.477511Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_62" }
2025-11-01T19:49:13.477726Z 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]:44138
2025-11-01T19:49:13.477752Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=73 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:13.477773Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:13.479794Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 73 sessionId:  describe result for acl check
2025-11-01T19:49:13.479968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:13.479984Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:13.479997Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:13.480021Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846419922617142:2847] (SourceId=sid_rand_62, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:13.488579Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846419922617142:2847] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:13.538296Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846419922617142:2847] (SourceId=sid_rand_62, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:13.541158Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617160:2847] connected; active server actors: 1
2025-11-01T19:49:13.545549Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617160:2847] disconnected.
2025-11-01T19:49:13.545598Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617160:2847] disconnected; active server actors: 1
2025-11-01T19:49:13.545624Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617160:2847] disconnected no session
2025-11-01T19:49:13.543915Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846419922617142:2847] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_62
2025-11-01T19:49:13.543955Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846419922617142:2847] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:13.568051Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846419922617142:2847] (SourceId=sid_rand_62, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:13.568101Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846419922617142:2847] (SourceId=sid_rand_62, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-01T19:49:13.568132Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846419922617142:2847] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:13.568172Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 73 sessionId:  partition: 5 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_62|a6b370cc-59c53825-cf46d060-f7ff3b8f_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:13.575216Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:13.575449Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_62|a6b370cc-59c53825-cf46d060-f7ff3b8f_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_62
2025-11-01T19:49:13.575941Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 73 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_62|a6b370cc-59c53825-cf46d060-f7ff3b8f_0
2025-11-01T19:49:13.578824Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId: sid_rand_62|a6b370cc-59c53825-cf46d060-f7ff3b8f_0 grpc read done: success: 0 data: 
2025-11-01T19:49:13.578851Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 73 sessionId: sid_rand_62|a6b370cc-59c53825-cf46d060-f7ff3b8f_0 grpc read failed
2025-11-01T19:49:13.578883Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 73 sessionId: sid_rand_62|a6b370cc-59c53825-cf46d060-f7ff3b8f_0 grpc closed
2025-11-01T19:49:13.578907Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 73 sessionId: sid_rand_62|a6b370cc-59c53825-cf46d060-f7ff3b8f_0 is DEAD
2025-11-01T19:49:13.579824Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:13.579997Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:13.580017Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 74
2025-11-01T19:49:13.581142Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_63" }
2025-11-01T19:49:13.581303Z 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]:44138
2025-11-01T19:49:13.581332Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=74 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:13.581344Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:13.583560Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 74 sessionId:  describe result for acl check
2025-11-01T19:49:13.583742Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:13.583758Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:13.583771Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:13.583794Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846419922617178:2851] (SourceId=sid_rand_63, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:13.607180Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846419922617178:2851] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:13.667555Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846419922617178:2851] (SourceId=sid_rand_63, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:13.678273Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617198:2851] connected; active server actors: 1
2025-11-01T19:49:13.694917Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846419922617178:2851] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_63
2025-11-01T19:49:13.694965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846419922617178:2851] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:13.698940Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617198:2851] disconnected.
2025-11-01T19:49:13.699007Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617198:2851] disconnected; active server actors: 1
2025-11-01T19:49:13.699038Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617198:2851] disconnected no session
2025-11-01T19:49:13.716172Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846419922617178:2851] (SourceId=sid_rand_63, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:13.716224Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846419922617178:2851] (SourceId=sid_rand_63, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-01T19:49:13.716247Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846419922617178:2851] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:13.716288Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 74 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-01T19:49:13.719411Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:13.719852Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_63|46a92de6-aea01452-75822772-8c2d7efd_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_63
2025-11-01T19:49:13.720980Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 74 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_63|46a92de6-aea01452-75822772-8c2d7efd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_63|46a92de6-aea01452-75822772-8c2d7efd_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:13.724005Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId: sid_rand_63|46a92de6-aea01452-75822772-8c2d7efd_0 grpc read done: success: 0 data: 
2025-11-01T19:49:13.724029Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 74 sessionId: sid_rand_63|46a92de6-aea01452-75822772-8c2d7efd_0 grpc read failed
2025-11-01T19:49:13.724055Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 74 sessionId: sid_rand_63|46a92de6-aea01452-75822772-8c2d7efd_0 grpc closed
2025-11-01T19:49:13.724086Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 74 sessionId: sid_rand_63|46a92de6-aea01452-75822772-8c2d7efd_0 is DEAD
2025-11-01T19:49:13.725047Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:13.725263Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:13.725284Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 75
2025-11-01T19:49:13.726395Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_64" }
2025-11-01T19:49:13.726593Z 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]:44138
2025-11-01T19:49:13.726625Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=75 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:13.726642Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:13.728680Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 75 sessionId:  describe result for acl check
2025-11-01T19:49:13.728857Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:13.728873Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:13.728886Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:13.728907Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846419922617215:2855] (SourceId=sid_rand_64, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:13.733726Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846419922617215:2855] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:13.750960Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846419922617215:2855] (SourceId=sid_rand_64, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:13.752819Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617231:2855] connected; active server actors: 1
2025-11-01T19:49:13.753515Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846419922617215:2855] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_64
2025-11-01T19:49:13.753548Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846419922617215:2855] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:13.755217Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617231:2855] disconnected.
2025-11-01T19:49:13.755263Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617231:2855] disconnected; active server actors: 1
2025-11-01T19:49:13.755289Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617231:2855] disconnected no session
2025-11-01T19:49:13.767919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846419922617215:2855] (SourceId=sid_rand_64, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:13.767971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846419922617215:2855] (SourceId=sid_rand_64, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-01T19:49:13.768020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846419922617215:2855] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:13.768068Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 75 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-01T19:49:13.772312Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:13.772551Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_64|f5cb4a98-ccc23241-1a99a455-4b8b9b27_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_64
2025-11-01T19:49:13.774146Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 75 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_64|f5cb4a98-ccc23241-1a99a455-4b8b9b27_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_64|f5cb4a98-ccc23241-1a99a455-4b8b9b27_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:13.777124Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId: sid_rand_64|f5cb4a98-ccc23241-1a99a455-4b8b9b27_0 grpc read done: success: 0 data: 
2025-11-01T19:49:13.777154Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 75 sessionId: sid_rand_64|f5cb4a98-ccc23241-1a99a455-4b8b9b27_0 grpc read failed
2025-11-01T19:49:13.777345Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 75 sessionId: sid_rand_64|f5cb4a98-ccc23241-1a99a455-4b8b9b27_0
2025-11-01T19:49:13.777380Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 75 sessionId: sid_rand_64|f5cb4a98-ccc23241-1a99a455-4b8b9b27_0 is DEAD
2025-11-01T19:49:13.777897Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:13.778072Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:13.778094Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 76
2025-11-01T19:49:13.778679Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_65" }
2025-11-01T19:49:13.778915Z 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]:44138
2025-11-01T19:49:13.778955Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=76 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:13.778968Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:13.780927Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 76 sessionId:  describe result for acl check
2025-11-01T19:49:13.781113Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:13.781139Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:13.781152Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:13.781176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846419922617249:2859] (SourceId=sid_rand_65, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:13.785878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846419922617249:2859] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:13.804675Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846419922617249:2859] (SourceId=sid_rand_65, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:13.806604Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617268:2859] connected; active server actors: 1
2025-11-01T19:49:13.807403Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846419922617249:2859] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_65
2025-11-01T19:49:13.807435Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846419922617249:2859] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:13.809025Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617268:2859] disconnected.
2025-11-01T19:49:13.809066Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617268:2859] disconnected; active server actors: 1
2025-11-01T19:49:13.809091Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617268:2859] disconnected no session
2025-11-01T19:49:13.826731Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846419922617249:2859] (SourceId=sid_rand_65, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:13.826801Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846419922617249:2859] (SourceId=sid_rand_65, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-01T19:49:13.826826Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846419922617249:2859] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:13.826869Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 76 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-01T19:49:13.838478Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-11-01T19:49:13.839035Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_65|f3ef533b-afef32e3-eb8aa68f-9bd095d7_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_65
Init result: { status: SUCCESS init_response { session_id: "sid_rand_65|f3ef533b-afef32e3-eb8aa68f-9bd095d7_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:13.847598Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 76 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_65|f3ef533b-afef32e3-eb8aa68f-9bd095d7_0
2025-11-01T19:49:13.851365Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId: sid_rand_65|f3ef533b-afef32e3-eb8aa68f-9bd095d7_0 grpc read done: success: 0 data: 
2025-11-01T19:49:13.851394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 76 sessionId: sid_rand_65|f3ef533b-afef32e3-eb8aa68f-9bd095d7_0 grpc read failed
2025-11-01T19:49:13.851426Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 76 sessionId: sid_rand_65|f3ef533b-afef32e3-eb8aa68f-9bd095d7_0 grpc closed
2025-11-01T19:49:13.851449Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 76 sessionId: sid_rand_65|f3ef533b-afef32e3-eb8aa68f-9bd095d7_0 is DEAD
2025-11-01T19:49:13.853289Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:13.853474Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:13.853491Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 77
2025-11-01T19:49:13.854003Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_66" }
2025-11-01T19:49:13.854158Z 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]:44138
2025-11-01T19:49:13.854183Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=77 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:13.854197Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:13.856777Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 77 sessionId:  describe result for acl check
2025-11-01T19:49:13.856978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:13.856995Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:13.857008Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:13.857031Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846419922617288:2863] (SourceId=sid_rand_66, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:13.861787Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846419922617288:2863] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:13.877227Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846419922617288:2863] (SourceId=sid_rand_66, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:13.879071Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617304:2863] connected; active server actors: 1
2025-11-01T19:49:13.882081Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617304:2863] disconnected.
2025-11-01T19:49:13.882142Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617304:2863] disconnected; active server actors: 1
2025-11-01T19:49:13.882166Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617304:2863] disconnected no session
2025-11-01T19:49:13.879802Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846419922617288:2863] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_66
2025-11-01T19:49:13.879834Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846419922617288:2863] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:13.904064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846419922617288:2863] (SourceId=sid_rand_66, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:13.904120Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846419922617288:2863] (SourceId=sid_rand_66, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-01T19:49:13.904185Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846419922617288:2863] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:13.904226Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 77 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-01T19:49:13.906707Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-11-01T19:49:13.906938Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_66|d0a404bd-4d9ef78a-98497581-9f075081_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_66
2025-11-01T19:49:13.907444Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 77 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_66|d0a404bd-4d9ef78a-98497581-9f075081_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_66|d0a404bd-4d9ef78a-98497581-9f075081_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:13.914747Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId: sid_rand_66|d0a404bd-4d9ef78a-98497581-9f075081_0 grpc read done: success: 0 data: 
2025-11-01T19:49:13.914801Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 77 sessionId: sid_rand_66|d0a404bd-4d9ef78a-98497581-9f075081_0 grpc read failed
2025-11-01T19:49:13.914849Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 77 sessionId: sid_rand_66|d0a404bd-4d9ef78a-98497581-9f075081_0 grpc closed
2025-11-01T19:49:13.914871Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 77 sessionId: sid_rand_66|d0a404bd-4d9ef78a-98497581-9f075081_0 is DEAD
2025-11-01T19:49:13.916056Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:13.916220Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:13.916244Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 78
2025-11-01T19:49:13.916761Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_67" }
2025-11-01T19:49:13.916935Z 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]:44138
2025-11-01T19:49:13.916961Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=78 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:13.916973Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:13.918988Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 78 sessionId:  describe result for acl check
2025-11-01T19:49:13.919172Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:13.919195Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:13.919208Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:13.919229Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846419922617322:2867] (SourceId=sid_rand_67, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:13.923680Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846419922617322:2867] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:13.933939Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846419922617322:2867] (SourceId=sid_rand_67, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:13.935367Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617341:2867] connected; active server actors: 1
2025-11-01T19:49:13.935911Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846419922617322:2867] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_67
2025-11-01T19:49:13.935951Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846419922617322:2867] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:13.937427Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617341:2867] disconnected.
2025-11-01T19:49:13.937466Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617341:2867] disconnected; active server actors: 1
2025-11-01T19:49:13.937489Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617341:2867] disconnected no session
2025-11-01T19:49:13.952577Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846419922617322:2867] (SourceId=sid_rand_67, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:13.952632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846419922617322:2867] (SourceId=sid_rand_67, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-01T19:49:13.952658Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846419922617322:2867] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:13.952702Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 78 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-01T19:49:13.959669Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:13.960220Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_67|8fab76b5-a812c95d-ed09773d-650bb2fd_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_67
2025-11-01T19:49:13.961291Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 78 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_67|8fab76b5-a812c95d-ed09773d-650bb2fd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_67|8fab76b5-a812c95d-ed09773d-650bb2fd_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:13.965236Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId: sid_rand_67|8fab76b5-a812c95d-ed09773d-650bb2fd_0 grpc read done: success: 0 data: 
2025-11-01T19:49:13.965268Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 78 sessionId: sid_rand_67|8fab76b5-a812c95d-ed09773d-650bb2fd_0 grpc read failed
2025-11-01T19:49:13.965720Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 78 sessionId: sid_rand_67|8fab76b5-a812c95d-ed09773d-650bb2fd_0
2025-11-01T19:49:13.965758Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 78 sessionId: sid_rand_67|8fab76b5-a812c95d-ed09773d-650bb2fd_0 is DEAD
2025-11-01T19:49:13.966251Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:13.968208Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:13.968244Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 79
2025-11-01T19:49:13.968670Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_68" }
2025-11-01T19:49:13.968853Z 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]:44138
2025-11-01T19:49:13.968883Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=79 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:13.968895Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:13.971359Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 79 sessionId:  describe result for acl check
2025-11-01T19:49:13.971539Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:13.971562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:13.971577Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:13.971598Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846419922617378:2875] (SourceId=sid_rand_68, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:13.976014Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846419922617378:2875] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:13.983985Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846419922617378:2875] (SourceId=sid_rand_68, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:13.984645Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617394:2875] connected; active server actors: 1
2025-11-01T19:49:13.985194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846419922617378:2875] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_68
2025-11-01T19:49:13.985229Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846419922617378:2875] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:13.986347Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617394:2875] disconnected.
2025-11-01T19:49:13.986392Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617394:2875] disconnected; active server actors: 1
2025-11-01T19:49:13.986420Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846419922617394:2875] disconnected no session
2025-11-01T19:49:13.997728Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846419922617378:2875] (SourceId=sid_rand_68, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:13.997793Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846419922617378:2875] (SourceId=sid_rand_68, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-01T19:49:13.997825Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846419922617378:2875] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:13.997873Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 79 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-01T19:49:13.999727Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:13.999913Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_68|966095fc-4c2f50da-d5e2903a-aeb29791_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_68
2025-11-01T19:49:14.000756Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 79 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_68|966095fc-4c2f50da-d5e2903a-aeb29791_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_68|966095fc-4c2f50da-d5e2903a-aeb29791_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:14.004248Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId: sid_rand_68|966095fc-4c2f50da-d5e2903a-aeb29791_0 grpc read done: success: 0 data: 
2025-11-01T19:49:14.004282Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 79 sessionId: sid_rand_68|966095fc-4c2f50da-d5e2903a-aeb29791_0 grpc read failed
2025-11-01T19:49:14.004316Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 79 sessionId: sid_rand_68|966095fc-4c2f50da-d5e2903a-aeb29791_0 grpc closed
2025-11-01T19:49:14.004343Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 79 sessionId: sid_rand_68|966095fc-4c2f50da-d5e2903a-aeb29791_0 is DEAD
2025-11-01T19:49:14.005605Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:14.005806Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:14.005830Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 80
2025-11-01T19:49:14.007436Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_69" }
2025-11-01T19:49:14.007615Z 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]:44138
2025-11-01T19:49:14.007641Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=80 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:14.007656Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:14.010123Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 80 sessionId:  describe result for acl check
2025-11-01T19:49:14.010322Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:14.010341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:14.010353Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:14.010380Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846424217584708:2879] (SourceId=sid_rand_69, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:14.015525Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846424217584708:2879] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:14.024598Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846424217584708:2879] (SourceId=sid_rand_69, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:14.025399Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584724:2879] connected; active server actors: 1
2025-11-01T19:49:14.026060Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846424217584708:2879] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_69
2025-11-01T19:49:14.026091Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846424217584708:2879] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:14.029202Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584724:2879] disconnected.
2025-11-01T19:49:14.029270Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584724:2879] disconnected; active server actors: 1
2025-11-01T19:49:14.029310Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584724:2879] disconnected no session
2025-11-01T19:49:14.037542Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846424217584708:2879] (SourceId=sid_rand_69, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:14.037591Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846424217584708:2879] (SourceId=sid_rand_69, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-01T19:49:14.037615Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846424217584708:2879] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:14.037670Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 80 sessionId:  partition: 12 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_69|907d167e-6ee510dc-b1938f12-25321328_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:14.039579Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:14.039807Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_69|907d167e-6ee510dc-b1938f12-25321328_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_69
2025-11-01T19:49:14.040318Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 80 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_69|907d167e-6ee510dc-b1938f12-25321328_0
2025-11-01T19:49:14.043720Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId: sid_rand_69|907d167e-6ee510dc-b1938f12-25321328_0 grpc read done: success: 0 data: 
2025-11-01T19:49:14.043747Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 80 sessionId: sid_rand_69|907d167e-6ee510dc-b1938f12-25321328_0 grpc read failed
2025-11-01T19:49:14.043776Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 80 sessionId: sid_rand_69|907d167e-6ee510dc-b1938f12-25321328_0 grpc closed
2025-11-01T19:49:14.043799Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 80 sessionId: sid_rand_69|907d167e-6ee510dc-b1938f12-25321328_0 is DEAD
2025-11-01T19:49:14.044820Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:14.045224Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:14.045246Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 81
2025-11-01T19:49:14.047476Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_70" }
2025-11-01T19:49:14.047669Z 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]:44138
2025-11-01T19:49:14.047697Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=81 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:14.047711Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:14.051134Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 81 sessionId:  describe result for acl check
2025-11-01T19:49:14.051306Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:14.051322Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:14.051335Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:14.051358Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846424217584750:2883] (SourceId=sid_rand_70, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:14.055785Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846424217584750:2883] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:14.064357Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846424217584750:2883] (SourceId=sid_rand_70, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:14.066821Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846424217584750:2883] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_70
2025-11-01T19:49:14.066346Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584769:2883] connected; active server actors: 1
2025-11-01T19:49:14.066849Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846424217584750:2883] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:14.067620Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584769:2883] disconnected.
2025-11-01T19:49:14.067660Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584769:2883] disconnected; active server actors: 1
2025-11-01T19:49:14.067685Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584769:2883] disconnected no session
2025-11-01T19:49:14.092627Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846424217584750:2883] (SourceId=sid_rand_70, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:14.092690Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846424217584750:2883] (SourceId=sid_rand_70, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-01T19:49:14.092722Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846424217584750:2883] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:14.092783Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 81 sessionId:  partition: 13 expectedGeneration: (NULL)
Init result: { 2025-11-01T19:49:14.095407Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
status: SUCCESS init_response { session_id: "sid_rand_70|d97c682d-ed88aee2-11902948-a44edb6e_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:14.095642Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_70|d97c682d-ed88aee2-11902948-a44edb6e_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_70
2025-11-01T19:49:14.096185Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 81 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_70|d97c682d-ed88aee2-11902948-a44edb6e_0
2025-11-01T19:49:14.102856Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId: sid_rand_70|d97c682d-ed88aee2-11902948-a44edb6e_0 grpc read done: success: 0 data: 
2025-11-01T19:49:14.102892Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 81 sessionId: sid_rand_70|d97c682d-ed88aee2-11902948-a44edb6e_0 grpc read failed
2025-11-01T19:49:14.102929Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 81 sessionId: sid_rand_70|d97c682d-ed88aee2-11902948-a44edb6e_0 grpc closed
2025-11-01T19:49:14.102953Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 81 sessionId: sid_rand_70|d97c682d-ed88aee2-11902948-a44edb6e_0 is DEAD
2025-11-01T19:49:14.103868Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:14.103892Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 82
2025-11-01T19:49:14.104254Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:14.104317Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_71" }
2025-11-01T19:49:14.104470Z 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]:44138
2025-11-01T19:49:14.104492Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=82 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:14.104506Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:14.106522Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 82 sessionId:  describe result for acl check
2025-11-01T19:49:14.106720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:14.106744Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:14.106759Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:14.106807Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846424217584787:2889] (SourceId=sid_rand_71, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:14.111940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846424217584787:2889] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:14.122506Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584803:2889] connected; active server actors: 1
2025-11-01T19:49:14.120767Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846424217584787:2889] (SourceId=sid_rand_71, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:14.123038Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846424217584787:2889] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_71
2025-11-01T19:49:14.123063Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846424217584787:2889] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:14.124647Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584803:2889] disconnected.
2025-11-01T19:49:14.124696Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584803:2889] disconnected; active server actors: 1
2025-11-01T19:49:14.124721Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584803:2889] disconnected no session
2025-11-01T19:49:14.134154Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846424217584787:2889] (SourceId=sid_rand_71, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:14.134193Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846424217584787:2889] (SourceId=sid_rand_71, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-01T19:49:14.134211Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846424217584787:2889] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:14.134243Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 82 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-01T19:49:14.135650Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:14.135902Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_71|775e039b-6215dae3-8a0d5e24-b6ac70dd_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_71
2025-11-01T19:49:14.136330Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 82 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_71|775e039b-6215dae3-8a0d5e24-b6ac70dd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_71|775e039b-6215dae3-8a0d5e24-b6ac70dd_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:14.138756Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId: sid_rand_71|775e039b-6215dae3-8a0d5e24-b6ac70dd_0 grpc read done: success: 0 data: 
2025-11-01T19:49:14.138797Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 82 sessionId: sid_rand_71|775e039b-6215dae3-8a0d5e24-b6ac70dd_0 grpc read failed
2025-11-01T19:49:14.138827Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 82 sessionId: sid_rand_71|775e039b-6215dae3-8a0d5e24-b6ac70dd_0 grpc closed
2025-11-01T19:49:14.138850Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 82 sessionId: sid_rand_71|775e039b-6215dae3-8a0d5e24-b6ac70dd_0 is DEAD
2025-11-01T19:49:14.138892Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:14.138913Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 83
2025-11-01T19:49:14.139842Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:14.141230Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_72" }
2025-11-01T19:49:14.141365Z 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]:44138
2025-11-01T19:49:14.141388Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=83 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:14.141401Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:14.143702Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 83 sessionId:  describe result for acl check
2025-11-01T19:49:14.143903Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:14.143923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:14.143938Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:14.143967Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846424217584823:2893] (SourceId=sid_rand_72, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:14.149370Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846424217584823:2893] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:14.158410Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846424217584823:2893] (SourceId=sid_rand_72, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:14.159270Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584839:2893] connected; active server actors: 1
2025-11-01T19:49:14.159697Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846424217584823:2893] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_72
2025-11-01T19:49:14.159732Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846424217584823:2893] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:14.160907Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584839:2893] disconnected.
2025-11-01T19:49:14.160947Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584839:2893] disconnected; active server actors: 1
2025-11-01T19:49:14.160972Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584839:2893] disconnected no session
2025-11-01T19:49:14.171413Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846424217584823:2893] (SourceId=sid_rand_72, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:14.171462Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846424217584823:2893] (SourceId=sid_rand_72, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-01T19:49:14.171486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846424217584823:2893] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:14.171527Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 83 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-01T19:49:14.174229Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:14.174504Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_72|5c4a32bd-5c44edbd-6fc23403-7adc7eaf_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_72
Init result: { status: SUCCESS init_response { session_id: "sid_rand_72|5c4a32bd-5c44edbd-6fc23403-7adc7eaf_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:14.175027Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 83 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_72|5c4a32bd-5c44edbd-6fc23403-7adc7eaf_0
2025-11-01T19:49:14.177762Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId: sid_rand_72|5c4a32bd-5c44edbd-6fc23403-7adc7eaf_0 grpc read done: success: 0 data: 
2025-11-01T19:49:14.177779Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 83 sessionId: sid_rand_72|5c4a32bd-5c44edbd-6fc23403-7adc7eaf_0 grpc read failed
2025-11-01T19:49:14.177808Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 83 sessionId: sid_rand_72|5c4a32bd-5c44edbd-6fc23403-7adc7eaf_0 grpc closed
2025-11-01T19:49:14.177828Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 83 sessionId: sid_rand_72|5c4a32bd-5c44edbd-6fc23403-7adc7eaf_0 is DEAD
2025-11-01T19:49:14.178570Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:14.178681Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:14.178694Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 84
2025-11-01T19:49:14.179403Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_73" }
2025-11-01T19:49:14.179588Z 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]:44138
2025-11-01T19:49:14.179617Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=84 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:14.179630Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:14.181936Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 84 sessionId:  describe result for acl check
2025-11-01T19:49:14.182114Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:14.182129Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:14.182143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:14.182169Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846424217584857:2897] (SourceId=sid_rand_73, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:14.186947Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846424217584857:2897] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:14.213863Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846424217584857:2897] (SourceId=sid_rand_73, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:14.219468Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584876:2897] connected; active server actors: 1
2025-11-01T19:49:14.223777Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846424217584857:2897] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_73
2025-11-01T19:49:14.223821Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846424217584857:2897] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:14.225685Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584876:2897] disconnected.
2025-11-01T19:49:14.225731Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584876:2897] disconnected; active server actors: 1
2025-11-01T19:49:14.225758Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584876:2897] disconnected no session
2025-11-01T19:49:14.256212Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846424217584857:2897] (SourceId=sid_rand_73, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:14.256276Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846424217584857:2897] (SourceId=sid_rand_73, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-01T19:49:14.256305Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846424217584857:2897] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:14.256348Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 84 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-01T19:49:14.257393Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:14.257697Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_73|d4459138-f4499c08-d14b637c-63e2bc23_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_73
2025-11-01T19:49:14.258270Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 84 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_73|d4459138-f4499c08-d14b637c-63e2bc23_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_73|d4459138-f4499c08-d14b637c-63e2bc23_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-01T19:49:14.265373Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId: sid_rand_73|d4459138-f4499c08-d14b637c-63e2bc23_0 grpc read done: success: 0 data: 
2025-11-01T19:49:14.265410Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 84 sessionId: sid_rand_73|d4459138-f4499c08-d14b637c-63e2bc23_0 grpc read failed
2025-11-01T19:49:14.265442Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 84 sessionId: sid_rand_73|d4459138-f4499c08-d14b637c-63e2bc23_0 grpc closed
2025-11-01T19:49:14.265466Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 84 sessionId: sid_rand_73|d4459138-f4499c08-d14b637c-63e2bc23_0 is DEAD
2025-11-01T19:49:14.266493Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-01T19:49:14.266645Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-01T19:49:14.266666Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 85
2025-11-01T19:49:14.267917Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_74" }
2025-11-01T19:49:14.268094Z 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]:44138
2025-11-01T19:49:14.268126Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=85 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:44138 proto=v1  topic=topic1 durationSec=0
2025-11-01T19:49:14.268141Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-01T19:49:14.272634Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 85 sessionId:  describe result for acl check
2025-11-01T19:49:14.272844Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-11-01T19:49:14.272866Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-01T19:49:14.272879Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-11-01T19:49:14.272904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567846424217584897:2901] (SourceId=sid_rand_74, PreferedPartition=(NULL)) StartKqpSession
2025-11-01T19:49:14.277176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567846424217584897:2901] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Select from the table
2025-11-01T19:49:14.294679Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567846424217584897:2901] (SourceId=sid_rand_74, PreferedPartition=(NULL)) RequestPQRB
2025-11-01T19:49:14.298130Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584913:2901] connected; active server actors: 1
2025-11-01T19:49:14.298447Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567846424217584897:2901] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_74
2025-11-01T19:49:14.298495Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567846424217584897:2901] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Update the table
2025-11-01T19:49:14.299980Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584913:2901] disconnected.
2025-11-01T19:49:14.300035Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584913:2901] disconnected; active server actors: 1
2025-11-01T19:49:14.300062Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7567846424217584913:2901] disconnected no session
Init result: { status: SUCCESS init_response { session_id: "sid_rand_74|a8ad235b-3dc1480c-40b8fab3-164f7ecb_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
Round robin check: 0:5
Round robin check: 1:5
Round robin check: 2:5
Round robin check: 3:5
Round robin check: 4:5
Round robin check: 5:5
Round robin check: 6:4
Round robin check: 7:4
Round robin check: 8:4
Round robin check: 9:5
Round robin check: 10:5
Round robin check: 11:6
Round robin check: 12:6
Round robin check: 13:6
Round robin check: 14:5
2025-11-01T19:49:14.318529Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567846424217584897:2901] (SourceId=sid_rand_74, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-01T19:49:14.318592Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567846424217584897:2901] (SourceId=sid_rand_74, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-01T19:49:14.318631Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567846424217584897:2901] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Start idle
2025-11-01T19:49:14.318675Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 85 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-01T19:49:14.320138Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-11-01T19:49:14.320366Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_74|a8ad235b-3dc1480c-40b8fab3-164f7ecb_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_74
2025-11-01T19:49:14.320973Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 85 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_74|a8ad235b-3dc1480c-40b8fab3-164f7ecb_0
2025-11-01T19:49:14.323591Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId: sid_rand_74|a8ad235b-3dc1480c-40b8fab3-164f7ecb_0 grpc read done: success: 0 data: 
2025-11-01T19:49:14.323621Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 85 sessionId: sid_rand_74|a8ad235b-3dc1480c-40b8fab3-164f7ecb_0 grpc read failed
2025-11-01T19:49:14.323653Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 85 sessionId: sid_rand_74|a8ad235b-3dc1480c-40b8fab3-164f7ecb_0 grpc closed
2025-11-01T19:49:14.323678Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 85 sessionId: sid_rand_74|a8ad235b-3dc1480c-40b8fab3-164f7ecb_0 is DEAD
2025-11-01T19:49:14.324805Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
