2025-11-06T10:05:13.250260Z node 17 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[17:7569551352455831196:2085];send_to=[0:7307199536658146131:7762515];
2025-11-06T10:05:13.250383Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2025-11-06T10:05:13.251373Z node 18 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[18:7569551352480836144:2086];send_to=[0:7307199536658146131:7762515];
2025-11-06T10:05:13.251478Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/4esq/0044a0/r3tmp/tmp8gYRGs/pdisk_1.dat
2025-11-06T10:05:13.252123Z node 17 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-11-06T10:05:13.252694Z 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-06T10:05:13.253497Z node 18 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-11-06T10:05:13.253694Z 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-06T10:05:13.267115Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-11-06T10:05:13.272323Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-11-06T10:05:13.272349Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-11-06T10:05:13.273779Z node 17 :HIVE WARN: hive_impl.cpp:811: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 18 Cookie 18
2025-11-06T10:05:13.274021Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 62491, node 17
2025-11-06T10:05:13.280308Z 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/4esq/0044a0/r3tmp/yandextXudcQ.tmp
2025-11-06T10:05:13.280316Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/4esq/0044a0/r3tmp/yandextXudcQ.tmp
2025-11-06T10:05:13.280374Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/4esq/0044a0/r3tmp/yandextXudcQ.tmp
2025-11-06T10:05:13.280439Z node 17 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-11-06T10:05:13.282994Z INFO: TTestServer started on Port 27882 GrpcPort 62491
TClient is connected to server localhost:27882
PQClient connected to localhost:62491
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-06T10:05:13.296972Z 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-06T10:05:13.307723Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710659:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
waiting...
waiting...
waiting...
2025-11-06T10:05:13.352026Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-11-06T10:05:13.352052Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-11-06T10:05:13.353605Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-11-06T10:05:13.453586Z 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-06T10:05:13.505018Z 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-06T10:05:13.550563Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7569551352455832166:2326], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-06T10:05:13.550588Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-06T10:05:13.550642Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7569551352455832191:2329], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-06T10:05:13.550652Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7569551352455832192:2330], 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-06T10:05:13.550657Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-06T10:05:13.551372Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateResourcePool, opId: 281474976710662: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-06T10:05:13.551520Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7569551352455832224:2333], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-06T10:05:13.551533Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-06T10:05:13.551552Z node 17 :KQP_WORKLOAD_SERVICE WARN: scheme_actors.cpp:225: [WorkloadService] [TPoolFetcherActor] ActorId: [17:7569551352455832227:2334], DatabaseId: /Root, PoolId: default, Failed to fetch pool info, NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-06T10:05:13.551560Z node 17 :KQP_WORKLOAD_SERVICE WARN: kqp_workload_service.cpp:263: [WorkloadService] [Service] Failed to fetch pool default, DatabaseId: /Root, status: NOT_FOUND, issues: { <main>: Error: Resource pool default not found or you don't have access permissions }
2025-11-06T10:05:13.555217Z node 17 :KQP_WORKLOAD_SERVICE WARN: helpers.h:73: [WorkloadService] [TPoolCreatorActor] ActorId: [17:7569551352455832195:2331], DatabaseId: /Root, PoolId: default, Scheduled retry for error: { <main>: Error: Transaction 281474976710662 completed, doublechecking }
2025-11-06T10:05:13.556573Z 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-06T10:05:13.570871Z 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)
2025-11-06T10:05:13.587783Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710665: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-06T10:05:13.621532Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976710666. Ctx: { TraceId: 01k9ca18g3b56rdzfy2d6hszsw, Database: , SessionId: ydb://session/3?node_id=17&id=NDU2NTM1ZmItYTA1YmQyYzctZmFkNWViNDUtMTMwZjg4YmU=, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [17:7569551352455832702:3039] 
2025-11-06T10:05:13.648022Z node 17 :TX_PROXY ERROR: schemereq.cpp:593: Actor# [17:7569551352455832709:3043] txid# 281474976710667, issues: { message: "Check failed: path: \'/Root/.metadata/workload_manager/pools/default\', error: path exist, request accepts it (id: [OwnerId: 72057594046644480, LocalPathId: 9], type: EPathTypeResourcePool, state: EPathStateNoChanges), source_location: ydb/core/tx/schemeshard/schemeshard__operation_create_resource_pool.cpp:92" severity: 1 }
2025-11-06T10:05:14.252001Z node 17 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-11-06T10:05:14.253536Z node 18 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-11-06T10:05:18.250215Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[17:7569551352455831196:2085];send_to=[0:7307199536658146131:7762515];
2025-11-06T10:05:18.250254Z 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-06T10:05:18.251240Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[18:7569551352480836144:2086];send_to=[0:7307199536658146131:7762515];
2025-11-06T10:05:18.251276Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
=== CheckClustersList. Ok
PQ Client: create topic: rt3.dc1--topic1 with 10 partitions
CallPersQueueGRPC request to localhost:62491
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-06T10:05:18.854117Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1524: proxy answer <none>
CallPersQueueGRPC response:
Status: 128
ErrorReason: "the following topics are not created: rt3.dc1--topic1, Marker# PQ95"
ErrorCode: UNKNOWN_TOPIC
CallPersQueueGRPC request to localhost:62491
MetaRequest {
  CmdCreateTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 10
    Config {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000
      }
      LocalDC: true
      Codecs {
        Ids: 0
        Ids: 1
        Ids: 2
        Codecs: "raw"
        Codecs: "gzip"
        Codecs: "lzop"
      }
      Consumers {
        Name: "user"
        ReadFromTimestampsMs: 0
        FormatVersion: 0
        Version: 0
      }
    }
  }
}
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976710674
  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-06T10:05:18.860553Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][] pipe [17:7569551373930669616:3284] connected; active server actors: 1
2025-11-06T10:05:18.860806Z node 17 :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-06T10:05:18.860925Z node 17 :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-06T10:05:18.861287Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-06T10:05:18.861304Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037893] doesn't have tx writes info
2025-11-06T10:05:18.861351Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-06T10:05:18.861363Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037892] doesn't have tx writes info
2025-11-06T10:05:18.861394Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:404: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037893, NodeId 18, Generation 1
2025-11-06T10:05:18.861495Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:404: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037892, NodeId 17, Generation 1
2025-11-06T10:05:18.861659Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:140: [72075186224037894][rt3.dc1--topic1] BALANCER INIT DONE for rt3.dc1--topic1: (0, 72075186224037892) (1, 72075186224037892) (2, 72075186224037893) (3, 72075186224037892) (4, 72075186224037893) (5, 72075186224037893) (6, 72075186224037892) (7, 72075186224037893) (8, 72075186224037892) (9, 72075186224037893) 
2025-11-06T10:05:18.865223Z node 17 :PERSQUEUE INFO: partition_init.cpp:1102: [72075186224037892][Partition][3][StateInit] bootstrapping 3 [17:7569551373930669724:2457]
2025-11-06T10:05:18.865707Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][3][StateInit] init complete for topic 'rt3.dc1--topic1' partition 3 generation 1 [17:7569551373930669724:2457]
2025-11-06T10:05:18.865747Z node 18 :PERSQUEUE INFO: partition_init.cpp:1102: [72075186224037893][Partition][9][StateInit] bootstrapping 9 [18:7569551373955673363:2377]
2025-11-06T10:05:18.866010Z node 17 :PERSQUEUE INFO: partition_init.cpp:1102: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [17:7569551373930669725:2457]
2025-11-06T10:05:18.866220Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][9][StateInit] init complete for topic 'rt3.dc1--topic1' partition 9 generation 1 [18:7569551373955673363:2377]
2025-11-06T10:05:18.866311Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][0][StateInit] init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [17:7569551373930669725:2457]
2025-11-06T10:05:18.866479Z node 18 :PERSQUEUE INFO: partition_init.cpp:1102: [72075186224037893][Partition][2][StateInit] bootstrapping 2 [18:7569551373955673364:2377]
2025-11-06T10:05:18.866496Z node 17 :PERSQUEUE INFO: partition_init.cpp:1102: [72075186224037892][Partition][1][StateInit] bootstrapping 1 [17:7569551373930669726:2457]
2025-11-06T10:05:18.866772Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][1][StateInit] init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [17:7569551373930669726:2457]
2025-11-06T10:05:18.866787Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][2][StateInit] init complete for topic 'rt3.dc1--topic1' partition 2 generation 1 [18:7569551373955673364:2377]
2025-11-06T10:05:18.866970Z node 17 :PERSQUEUE INFO: partition_init.cpp:1102: [72075186224037892][Partition][6][StateInit] bootstrapping 6 [17:7569551373930669727:2457]
2025-11-06T10:05:18.866970Z node 18 :PERSQUEUE INFO: partition_init.cpp:1102: [72075186224037893][Partition][5][StateInit] bootstrapping 5 [18:7569551373955673365:2377]
2025-11-06T10:05:18.867244Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][6][StateInit] init complete for topic 'rt3.dc1--topic1' partition 6 generation 1 [17:7569551373930669727:2457]
2025-11-06T10:05:18.867277Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][5][StateInit] init complete for topic 'rt3.dc1--topic1' partition 5 generation 1 [18:7569551373955673365:2377]
2025-11-06T10:05:18.867405Z node 17 :PERSQUEUE INFO: partition_init.cpp:1102: [72075186224037892][Partition][8][StateInit] bootstrapping 8 [17:7569551373930669728:2457]
2025-11-06T10:05:18.867476Z node 18 :PERSQUEUE INFO: partition_init.cpp:1102: [72075186224037893][Partition][7][StateInit] bootstrapping 7 [18:7569551373955673366:2377]
2025-11-06T10:05:18.867696Z node 17 :PERSQUEUE INFO: partition.cpp:707: [72075186224037892][Partition][8][StateInit] init complete for topic 'rt3.dc1--topic1' partition 8 generation 1 [17:7569551373930669728:2457]
2025-11-06T10:05:18.867789Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][7][StateInit] init complete for topic 'rt3.dc1--topic1' partition 7 generation 1 [18:7569551373955673366:2377]
2025-11-06T10:05:18.868006Z node 18 :PERSQUEUE INFO: partition_init.cpp:1102: [72075186224037893][Partition][4][StateInit] bootstrapping 4 [18:7569551373955673367:2377]
2025-11-06T10:05:18.868321Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037893][Partition][4][StateInit] init complete for topic 'rt3.dc1--topic1' partition 4 generation 1 [18:7569551373955673367:2377]
2025-11-06T10:05:18.869488Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976710675. Ctx: { TraceId: 01k9ca1dma8npkqpv2ftgjfedg, Database: , SessionId: ydb://session/3?node_id=17&id=YjBlNzJjODQtMjUzNDFhNGMtOTIxNjZjNDMtMmI2NWYyM2E=, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
2025-11-06T10:05:18.870098Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-06T10:05:18.870469Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
===Query complete
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 13
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976710674
    CreateStep: 1762423518912
    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: 281474976710674
    CreateStep: 1762423518912
    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:62491
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-06T10:05:18.947467Z 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-06T10:05:19.047796Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:19.047811Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-11-06T10:05:19.047952Z 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-06T10:05:19.047981Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:57470
2025-11-06T10:05:19.047984Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:19.047988Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:19.048374Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-11-06T10:05:19.048403Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:19.048404Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:19.048406Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:19.048411Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551378225637153:2472] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:19.048872Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551378225637153:2472] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:19.072197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551378225637153:2472] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:19.072249Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637187:2472] connected; active server actors: 1
2025-11-06T10:05:19.072267Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551378225637153:2472] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=12345678
2025-11-06T10:05:19.072279Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551378225637153:2472] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:19.072356Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637187:2472] disconnected.
2025-11-06T10:05:19.072365Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637187:2472] disconnected; active server actors: 1
2025-11-06T10:05:19.072367Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637187:2472] disconnected no session
2025-11-06T10:05:19.088929Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551378225637153:2472] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:19.088942Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551378225637153:2472] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-06T10:05:19.088945Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551378225637153:2472] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:19.088952Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-06T10:05:19.089166Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:19.089233Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 12345678|4f7997fe-e9284aa2-2a12b934-f46ba994_0 generated for partition 5 topic 'rt3.dc1--topic1' owner 12345678
2025-11-06T10:05:19.089477Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 5 MaxSeqNo: 0 sessionId: 12345678|4f7997fe-e9284aa2-2a12b934-f46ba994_0
2025-11-06T10:05:19.089975Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: 12345678|4f7997fe-e9284aa2-2a12b934-f46ba994_0 grpc read done: success: 0 data: 
2025-11-06T10:05:19.089983Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: 12345678|4f7997fe-e9284aa2-2a12b934-f46ba994_0 grpc read failed
2025-11-06T10:05:19.090060Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 1 sessionId: 12345678|4f7997fe-e9284aa2-2a12b934-f46ba994_0
2025-11-06T10:05:19.090069Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: 12345678|4f7997fe-e9284aa2-2a12b934-f46ba994_0 is DEAD
Finish: 0 
2025-11-06T10:05:19.090142Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:19.090489Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:19.090496Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-11-06T10:05:19.090671Z 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-06T10:05:19.090696Z 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]:57470
2025-11-06T10:05:19.090699Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:19.090702Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:19.091103Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-11-06T10:05:19.091139Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:19.091141Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:19.091143Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:19.091149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551378225637212:2482] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:19.091727Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551378225637212:2482] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:19.093673Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551378225637212:2482] (SourceId=source, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:19.093733Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637228:2482] connected; active server actors: 1
2025-11-06T10:05:19.093758Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551378225637212:2482] (SourceId=source, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=source
2025-11-06T10:05:19.093766Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551378225637212:2482] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:19.093827Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637228:2482] disconnected.
2025-11-06T10:05:19.093832Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637228:2482] disconnected; active server actors: 1
request: { 2025-11-06T10:05:19.093834Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637228:2482] disconnected no session
2025-11-06T10:05:19.096502Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551378225637212:2482] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:19.096507Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551378225637212:2482] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-06T10:05:19.096510Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551378225637212:2482] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:19.096516Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-06T10:05:19.096649Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:19.096691Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|6409325c-f56fce21-3788fae2-9bf04ac7_0 generated for partition 6 topic 'rt3.dc1--topic1' owner source
2025-11-06T10:05:19.096813Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 6 MaxSeqNo: 0 sessionId: source|6409325c-f56fce21-3788fae2-9bf04ac7_0
write_request { sequence_numbers: 2 created_at_ms: 1762423519097 sent_at_ms: 1762423519097 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-06T10:05:19.151524Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|6409325c-f56fce21-3788fae2-9bf04ac7_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-06T10:05:19.151673Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-06T10:05:19.151780Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-06T10:05:19.152960Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 3 created_at_ms: 1762423519153 sent_at_ms: 1762423519153 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-06T10:05:19.153302Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|6409325c-f56fce21-3788fae2-9bf04ac7_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-06T10:05:19.153393Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-06T10:05:19.153450Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-06T10:05:19.153987Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 4 created_at_ms: 1762423519154 sent_at_ms: 1762423519154 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-06T10:05:19.154222Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|6409325c-f56fce21-3788fae2-9bf04ac7_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-06T10:05:19.154290Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-06T10:05:19.154332Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-06T10:05:19.154882Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 5 created_at_ms: 1762423519154 sent_at_ms: 1762423519154 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-06T10:05:19.155120Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|6409325c-f56fce21-3788fae2-9bf04ac7_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-06T10:05:19.155155Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-06T10:05:19.155188Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-06T10:05:19.155572Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-06T10:05:19.155778Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|6409325c-f56fce21-3788fae2-9bf04ac7_0 grpc read done: success: 0 data: 
2025-11-06T10:05:19.155784Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: source|6409325c-f56fce21-3788fae2-9bf04ac7_0 grpc read failed
2025-11-06T10:05:19.155839Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 2 sessionId: source|6409325c-f56fce21-3788fae2-9bf04ac7_0
2025-11-06T10:05:19.155846Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: source|6409325c-f56fce21-3788fae2-9bf04ac7_0 is DEAD
1 0 
CallPersQueueGRPC request to localhost:62491
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-06T10:05:19.155937Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:19.156656Z 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:62491
MetaRequest {
  CmdChangeTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 15
  }
}
2025-11-06T10:05:19.157637Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterPersQueueGroup, opId: 281474976710680: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:311)
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976710680
  SchemeShardTabletId: 72057594046644480
}
ErrorCode: OK
Alter got 1
2025-11-06T10:05:19.160697Z node 17 :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-06T10:05:19.162102Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-06T10:05:19.162130Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037895] doesn't have tx writes info
2025-11-06T10:05:19.166354Z node 18 :PERSQUEUE INFO: partition_init.cpp:1102: [72075186224037895][Partition][11][StateInit] bootstrapping 11 [18:7569551378250640789:2383]
2025-11-06T10:05:19.166406Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-06T10:05:19.166864Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-06T10:05:19.167000Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][11][StateInit] init complete for topic 'rt3.dc1--topic1' partition 11 generation 1 [18:7569551378250640789:2383]
2025-11-06T10:05:19.167408Z node 18 :PERSQUEUE INFO: partition_init.cpp:1102: [72075186224037895][Partition][13][StateInit] bootstrapping 13 [18:7569551378250640793:2383]
2025-11-06T10:05:19.167495Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976710681. Ctx: { TraceId: 01k9ca1dxrak66vwdt0c4pxq2z, Database: , SessionId: ydb://session/3?node_id=17&id=YWRhMmZjZjEtNmFjNmYxOGQtMmY1ZGY2NjMtZmJiYmJmZjU=, PoolId: default, DatabaseId: /Root}. Database not set, use /Root
2025-11-06T10:05:19.167928Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][13][StateInit] init complete for topic 'rt3.dc1--topic1' partition 13 generation 1 [18:7569551378250640793:2383]
CallPersQueueGRPC request to localhost:2025-11-06T10:05:19.168259Z node 18 :PERSQUEUE INFO: partition_init.cpp:1102: [72075186224037895][Partition][14][StateInit] bootstrapping 14 [18:7569551378250640794:2383]
62491
2025-11-06T10:05:19.168754Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][14][StateInit] init complete for topic 'rt3.dc1--topic1' partition 14 generation 1 [18:7569551378250640794:2383]
2025-11-06T10:05:19.169023Z node 18 :PERSQUEUE INFO: partition_init.cpp:1102: [72075186224037895][Partition][12][StateInit] bootstrapping 12 [18:7569551378250640796:2383]
2025-11-06T10:05:19.169463Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][12][StateInit] init complete for topic 'rt3.dc1--topic1' partition 12 generation 1 [18:7569551378250640796:2383]
2025-11-06T10:05:19.169684Z node 18 :PERSQUEUE INFO: partition_init.cpp:1102: [72075186224037895][Partition][10][StateInit] bootstrapping 10 [18:7569551378250640802:2383]
2025-11-06T10:05:19.170126Z node 18 :PERSQUEUE INFO: partition.cpp:707: [72075186224037895][Partition][10][StateInit] init complete for topic 'rt3.dc1--topic1' partition 10 generation 1 [18:7569551378250640802:2383]
2025-11-06T10:05:19.173037Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-11-06T10:05:19.252819Z 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: 281474976710674
    CreateStep: 1762423518912
    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: 281474976710674
    CreateStep: 1762423518912
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 3
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 3
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 2
    }
    ChildrenExist: false
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 13
    TotalGroupCount: 15
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000
      }
      LocalDC: true
      Codecs {
        Ids: 0
        Ids: 1
        Ids: 2
        Codecs: "raw"
        Codecs: "gzip"
        Codecs: "lzop"
      }
      YdbDatabasePath: "/Root"
      Consumers {
        Name: "user"
        ReadFromTimestampsMs: 0
        FormatVersion: 0
        Version: 0
      }
    }
    Partitions {
      PartitionId: 0
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 1
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 2
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 3
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 4
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 5
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 6
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 7
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 8
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 9
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 10
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 11
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 12
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 13
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 14
      TabletId: 72075186224037895
      Status: Active
    }
    AlterVersion: 2
    BalancerTabletID: 72075186224037894
    NextPartitionId: 15
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 1
      PlanResolution: 7
      Coordinators: 72057594046316545
      TimeCastBucketsPerMediator: 2
      Mediators: 72057594046382081
    }
    DomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    PathsInside: 12
    PathsLimit: 10000
    ShardsInside: 8
    ShardsLimit: 200000
    ResourcesDomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    DiskSpaceUsage {
      Tables {
        TotalSize: 0
        DataSize: 0
        IndexSize: 0
      }
      Topics {
        ReserveSize: 0
        AccountSize: 0
        DataSize: 0
        UsedReserveSize: 0
      }
    }
    PQPartitionsInside: 15
    PQPartitionsLimit: 1000000
    SchemeLimits {
      MaxDepth: 32
      MaxPaths: 10000
      MaxChildrenInDir: 100000
      MaxAclBytesSize: 10240
      MaxTableColumns: 200
      MaxTableColumnNameLength: 255
      MaxTableKeyColumns: 30
      MaxTableIndices: 20
      MaxShards: 200000
      MaxShardsInPath: 35000
      MaxConsistentCopyTargets: 10000
      MaxPathElementLength: 255
      ExtraPathSymbolsAllowed: "!\"#$%&\'()*+,-.:;<=>?@[\\]^_`{|}~"
      MaxPQPartitions: 1000000
      MaxTableCdcStreams: 5
      MaxExports: 10
      MaxImports: 10
      MaxColumnTableColumns: 10000
    }
  }
}
Path: "/Root/PQ/rt3.dc1--topic1"
 name rt3.dc1--topic1 version2
2025-11-06T10:05:19.354260Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:19.354282Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-11-06T10:05:19.354440Z 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-06T10:05:19.354483Z 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]:57470
2025-11-06T10:05:19.354492Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:19.354496Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:19.354902Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-11-06T10:05:19.354935Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:19.354939Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:19.354940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:19.354945Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551378225637483:2504] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:19.355466Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551378225637483:2504] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:19.357646Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551378225637483:2504] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:19.360661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551378225637483:2504] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:19.360676Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551378225637483:2504] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=0
2025-11-06T10:05:19.360680Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551378225637483:2504] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:19.360688Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-06T10:05:19.360837Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:19.360874Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|d701634b-461ef505-a3c2edb2-3c7eee97_0 generated for partition 6 topic 'rt3.dc1--topic1' owner source
2025-11-06T10:05:19.361006Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 6 MaxSeqNo: 5 sessionId: source|d701634b-461ef505-a3c2edb2-3c7eee97_0
request: { write_request { sequence_numbers: 6 created_at_ms: 1762423519361 sent_at_ms: 1762423519361 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-06T10:05:19.361467Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|d701634b-461ef505-a3c2edb2-3c7eee97_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-06T10:05:19.361605Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-06T10:05:19.361665Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-06T10:05:19.362608Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 7 created_at_ms: 1762423519362 sent_at_ms: 1762423519362 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-06T10:05:19.362931Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|d701634b-461ef505-a3c2edb2-3c7eee97_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-06T10:05:19.363020Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-06T10:05:19.363088Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-06T10:05:19.363802Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 8 created_at_ms: 1762423519363 sent_at_ms: 1762423519363 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-06T10:05:19.364125Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|d701634b-461ef505-a3c2edb2-3c7eee97_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-06T10:05:19.364219Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-06T10:05:19.364277Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-06T10:05:19.364896Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 9 created_at_ms: 1762423519365 sent_at_ms: 1762423519365 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-06T10:05:19.365172Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|d701634b-461ef505-a3c2edb2-3c7eee97_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-06T10:05:19.365247Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-06T10:05:19.365295Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-06T10:05:19.365874Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-06T10:05:19.366105Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|d701634b-461ef505-a3c2edb2-3c7eee97_0 grpc read done: success: 0 data: 
2025-11-06T10:05:19.366114Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: source|d701634b-461ef505-a3c2edb2-3c7eee97_0 grpc read failed
2025-11-06T10:05:19.366201Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 3 sessionId: source|d701634b-461ef505-a3c2edb2-3c7eee97_0
2025-11-06T10:05:19.366211Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: source|d701634b-461ef505-a3c2edb2-3c7eee97_0 is DEAD
1 0 
2025-11-06T10:05:19.366334Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:19.366539Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:19.366550Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 4
2025-11-06T10:05:19.366668Z 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-06T10:05:19.366705Z 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]:57470
2025-11-06T10:05:19.366717Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:19.366720Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:19.367103Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 4 sessionId:  describe result for acl check
2025-11-06T10:05:19.367141Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:19.367142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
request: { 2025-11-06T10:05:19.367144Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:19.367150Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551378225637535:2508] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:19.367733Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551378225637535:2508] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:19.369832Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551378225637535:2508] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:19.372227Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551378225637535:2508] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:19.372234Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551378225637535:2508] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=0
2025-11-06T10:05:19.372237Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551378225637535:2508] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:19.372244Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 4 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-06T10:05:19.372393Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
write_request { sequence_numbers: 10 sequence_numbers: 11 sequence_numbers: 12 sequence_numbers: 13 sequence_numbers: 14 created_at_ms: 1762423519372 created_at_ms: 1762423519372 created_at_ms: 1762423519372 created_at_ms: 1762423519372 created_at_ms: 1762423519372 sent_at_ms: 1762423519372 sent_at_ms: 1762423519372 sent_at_ms: 1762423519372 sent_at_ms: 1762423519372 sent_at_ms: 1762423519372 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-06T10:05:19.372429Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|b27edf22-935e7759-bc640b57-51fafafc_0 generated for partition 6 topic 'rt3.dc1--topic1' owner source
2025-11-06T10:05:19.372513Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 4 partition: 6 MaxSeqNo: 9 sessionId: source|b27edf22-935e7759-bc640b57-51fafafc_0
2025-11-06T10:05:19.458394Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|b27edf22-935e7759-bc640b57-51fafafc_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-06T10:05:19.458569Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-06T10:05:19.458687Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-06T10:05:19.459880Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 15 sequence_numbers: 16 sequence_numbers: 17 sequence_numbers: 18 sequence_numbers: 19 created_at_ms: 1762423519460 created_at_ms: 1762423519460 created_at_ms: 1762423519460 created_at_ms: 1762423519460 created_at_ms: 1762423519460 sent_at_ms: 1762423519460 sent_at_ms: 1762423519460 sent_at_ms: 1762423519460 sent_at_ms: 1762423519460 sent_at_ms: 1762423519460 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-06T10:05:19.460281Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|b27edf22-935e7759-bc640b57-51fafafc_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-06T10:05:19.460376Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-06T10:05:19.460437Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-06T10:05:19.461176Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 20 sequence_numbers: 21 sequence_numbers: 22 sequence_numbers: 23 sequence_numbers: 24 created_at_ms: 1762423519461 created_at_ms: 1762423519461 created_at_ms: 1762423519461 created_at_ms: 1762423519461 created_at_ms: 1762423519461 sent_at_ms: 1762423519461 sent_at_ms: 1762423519461 sent_at_ms: 1762423519461 sent_at_ms: 1762423519461 sent_at_ms: 1762423519461 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-06T10:05:19.461480Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|b27edf22-935e7759-bc640b57-51fafafc_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-06T10:05:19.461562Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-06T10:05:19.461614Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-06T10:05:19.462230Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 25 sequence_numbers: 26 sequence_numbers: 27 sequence_numbers: 28 sequence_numbers: 29 created_at_ms: 1762423519462 created_at_ms: 1762423519462 created_at_ms: 1762423519462 created_at_ms: 1762423519462 created_at_ms: 1762423519462 sent_at_ms: 1762423519462 sent_at_ms: 1762423519462 sent_at_ms: 1762423519462 sent_at_ms: 1762423519462 sent_at_ms: 1762423519462 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-06T10:05:19.462486Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|b27edf22-935e7759-bc640b57-51fafafc_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-06T10:05:19.462547Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-06T10:05:19.462593Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-06T10:05:19.463228Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-11-06T10:05:19.463428Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|b27edf22-935e7759-bc640b57-51fafafc_0 grpc read done: success: 0 data: 
2025-11-06T10:05:19.463434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 4 sessionId: source|b27edf22-935e7759-bc640b57-51fafafc_0 grpc read failed
1 0 
2025-11-06T10:05:19.463500Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 4 sessionId: source|b27edf22-935e7759-bc640b57-51fafafc_0
2025-11-06T10:05:19.463509Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 4 sessionId: source|b27edf22-935e7759-bc640b57-51fafafc_0 is DEAD
2025-11-06T10:05:19.463625Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:19.463838Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:19.463847Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 5
2025-11-06T10:05:19.463958Z 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-06T10:05:19.463992Z 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]:57470
2025-11-06T10:05:19.464001Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic2 durationSec=0
2025-11-06T10:05:19.464005Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:19.464276Z 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-06T10:05:19.464389Z 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-06T10:05:19.559624Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:19.559658Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 6
2025-11-06T10:05:19.559813Z 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-06T10:05:19.559853Z 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]:57470
2025-11-06T10:05:19.559863Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:19.559869Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:19.560327Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 6 sessionId:  describe result for acl check
2025-11-06T10:05:19.560367Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:19.560373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:19.560376Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:19.560383Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551378225637599:2516] (SourceId=sid1, PreferedPartition=1) StartKqpSession
2025-11-06T10:05:19.560923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551378225637599:2516] (SourceId=sid1, PreferedPartition=1) Select from the table
2025-11-06T10:05:19.562954Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551378225637599:2516] (SourceId=sid1, PreferedPartition=1) Update the table
2025-11-06T10:05:19.566084Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551378225637599:2516] (SourceId=sid1, PreferedPartition=1) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:19.566100Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551378225637599:2516] (SourceId=sid1, PreferedPartition=1) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-06T10:05:19.566104Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551378225637599:2516] (SourceId=sid1, PreferedPartition=1) Start idle
2025-11-06T10:05:19.566114Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 6 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-06T10:05:19.566275Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:19.566327Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|9ba9cf49-8f08cd7a-f87a6835-48316c77_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-11-06T10:05:19.566476Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 6 partition: 1 MaxSeqNo: 0 sessionId: sid1|9ba9cf49-8f08cd7a-f87a6835-48316c77_0
Init result: { status: SUCCESS init_response { session_id: "sid1|9ba9cf49-8f08cd7a-f87a6835-48316c77_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:19.567102Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId: sid1|9ba9cf49-8f08cd7a-f87a6835-48316c77_0 grpc read done: success: 0 data: 
2025-11-06T10:05:19.567109Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 6 sessionId: sid1|9ba9cf49-8f08cd7a-f87a6835-48316c77_0 grpc read failed
2025-11-06T10:05:19.567116Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 6 sessionId: sid1|9ba9cf49-8f08cd7a-f87a6835-48316c77_0 grpc closed
2025-11-06T10:05:19.567121Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 6 sessionId: sid1|9ba9cf49-8f08cd7a-f87a6835-48316c77_0 is DEAD
2025-11-06T10:05:19.567256Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:19.567266Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 7
2025-11-06T10:05:19.567395Z 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-06T10:05:19.567424Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 7 topic: "topic1" message_group_id: "sid1" from ipv6:[::1]:57470
2025-11-06T10:05:19.567427Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:19.567430Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:19.567433Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:19.567798Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 7 sessionId:  describe result for acl check
2025-11-06T10:05:19.567830Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:19.567837Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:19.567838Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
Init result: { 2025-11-06T10:05:19.567843Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551378225637635:2520] (SourceId=sid1, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:19.568451Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551378225637635:2520] (SourceId=sid1, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:19.570547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551378225637635:2520] (SourceId=sid1, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:19.573662Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551378225637635:2520] (SourceId=sid1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:19.573669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551378225637635:2520] (SourceId=sid1, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2025-11-06T10:05:19.573673Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551378225637635:2520] (SourceId=sid1, PreferedPartition=(NULL)) Start idle
status: SUCCESS init_response { session_id: "sid1|e36388b-30e8ab71-be8f2292-d9c6319f_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:19.573682Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-06T10:05:19.573847Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:19.573897Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|e36388b-30e8ab71-be8f2292-d9c6319f_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-11-06T10:05:19.574046Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: sid1|e36388b-30e8ab71-be8f2292-d9c6319f_0
2025-11-06T10:05:19.660333Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId: sid1|e36388b-30e8ab71-be8f2292-d9c6319f_0 grpc read done: success: 0 data: 
2025-11-06T10:05:19.660342Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 7 sessionId: sid1|e36388b-30e8ab71-be8f2292-d9c6319f_0 grpc read failed
2025-11-06T10:05:19.660350Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 7 sessionId: sid1|e36388b-30e8ab71-be8f2292-d9c6319f_0 grpc closed
2025-11-06T10:05:19.660355Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 7 sessionId: sid1|e36388b-30e8ab71-be8f2292-d9c6319f_0 is DEAD
2025-11-06T10:05:19.660485Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:19.660500Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 8
2025-11-06T10:05:19.660617Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:19.660628Z 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-06T10:05:19.660655Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 8 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:57470
2025-11-06T10:05:19.660666Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:19.660670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:19.661070Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 8 sessionId:  describe result for acl check
2025-11-06T10:05:19.661106Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:19.661109Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:19.661111Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:19.661118Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551378225637669:2524] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:19.661751Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551378225637669:2524] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:19.663672Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551378225637669:2524] (SourceId=sidx, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:19.663740Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637685:2524] connected; active server actors: 1
2025-11-06T10:05:19.663759Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551378225637669:2524] (SourceId=sidx, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sidx
2025-11-06T10:05:19.663771Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551378225637669:2524] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:19.663824Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637685:2524] disconnected.
2025-11-06T10:05:19.663832Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637685:2524] disconnected; active server actors: 1
2025-11-06T10:05:19.663834Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637685:2524] disconnected no session
2025-11-06T10:05:19.667038Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551378225637669:2524] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:19.667052Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551378225637669:2524] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-06T10:05:19.667057Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551378225637669:2524] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:19.667066Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 8 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-06T10:05:19.667330Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:19.667413Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|d7316b48-9f26505e-5349ea85-534dcf97_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sidx
2025-11-06T10:05:19.667702Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 8 partition: 7 MaxSeqNo: 0 sessionId: sidx|d7316b48-9f26505e-5349ea85-534dcf97_0
Init result: { status: SUCCESS init_response { session_id: "sidx|d7316b48-9f26505e-5349ea85-534dcf97_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:19.668459Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId: sidx|d7316b48-9f26505e-5349ea85-534dcf97_0 grpc read done: success: 0 data: 
2025-11-06T10:05:19.668470Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 8 sessionId: sidx|d7316b48-9f26505e-5349ea85-534dcf97_0 grpc read failed
2025-11-06T10:05:19.668477Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 8 sessionId: sidx|d7316b48-9f26505e-5349ea85-534dcf97_0 grpc closed
2025-11-06T10:05:19.668481Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 8 sessionId: sidx|d7316b48-9f26505e-5349ea85-534dcf97_0 is DEAD
2025-11-06T10:05:19.668573Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:19.668582Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 9
2025-11-06T10:05:19.668721Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:19.668734Z 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-06T10:05:19.668757Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 9 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:57470
2025-11-06T10:05:19.668767Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:19.668770Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:19.669142Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 9 sessionId:  describe result for acl check
2025-11-06T10:05:19.669174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:19.669180Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:19.669183Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:19.674817Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|9fbfce31-fd0bc15c-517a56ef-ea36ddbc_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sidx
Init result: 2025-11-06T10:05:19.669187Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551378225637703:2528] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
{ 2025-11-06T10:05:19.669749Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551378225637703:2528] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:19.671518Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551378225637703:2528] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:19.674499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551378225637703:2528] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:19.674506Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551378225637703:2528] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=0
2025-11-06T10:05:19.674509Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551378225637703:2528] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:19.674516Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 9 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-06T10:05:19.674749Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:19.675061Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 9 partition: 7 MaxSeqNo: 0 sessionId: sidx|9fbfce31-fd0bc15c-517a56ef-ea36ddbc_0
status: SUCCESS init_response { session_id: "sidx|9fbfce31-fd0bc15c-517a56ef-ea36ddbc_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:19.761548Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId: sidx|9fbfce31-fd0bc15c-517a56ef-ea36ddbc_0 grpc read done: success: 0 data: 
2025-11-06T10:05:19.761572Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 9 sessionId: sidx|9fbfce31-fd0bc15c-517a56ef-ea36ddbc_0 grpc read failed
2025-11-06T10:05:19.761581Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 9 sessionId: sidx|9fbfce31-fd0bc15c-517a56ef-ea36ddbc_0 grpc closed
2025-11-06T10:05:19.761589Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 9 sessionId: sidx|9fbfce31-fd0bc15c-517a56ef-ea36ddbc_0 is DEAD
2025-11-06T10:05:19.761684Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:19.761707Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 10
2025-11-06T10:05:19.761866Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:19.761877Z 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-06T10:05:19.761903Z 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]:57470
2025-11-06T10:05:19.761912Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:19.761916Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:19.762376Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 10 sessionId:  describe result for acl check
2025-11-06T10:05:19.762413Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:19.762419Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:19.762421Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:19.762427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551378225637738:2532] (SourceId=sid1, PreferedPartition=2) StartKqpSession
2025-11-06T10:05:19.762997Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551378225637738:2532] (SourceId=sid1, PreferedPartition=2) Select from the table
2025-11-06T10:05:19.765049Z node 17 :PQ_PARTITION_CHOOSER INFO: partition_chooser_impl__abstract_chooser_actor.h:312: TPartitionChooser [17:7569551378225637738:2532] (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-06T10:05:19.765069Z 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-06T10:05:19.765181Z 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-06T10:05:19.765636Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:19.765648Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 11
2025-11-06T10:05:19.765739Z 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-06T10:05:19.765762Z 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]:57470
2025-11-06T10:05:19.765768Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=11 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:19.765771Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:19.766098Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 11 sessionId:  describe result for acl check
2025-11-06T10:05:19.766123Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:19.766125Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:19.766126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:19.766130Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551378225637763:2536] (SourceId=sid_rand_0, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:19.766567Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551378225637763:2536] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:19.768381Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551378225637763:2536] (SourceId=sid_rand_0, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:19.768469Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637779:2536] connected; active server actors: 1
2025-11-06T10:05:19.768489Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551378225637763:2536] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_0
2025-11-06T10:05:19.768495Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551378225637763:2536] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:19.768543Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637779:2536] disconnected.
2025-11-06T10:05:19.768551Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637779:2536] disconnected; active server actors: 1
2025-11-06T10:05:19.768554Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637779:2536] disconnected no session
2025-11-06T10:05:19.771299Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551378225637763:2536] (SourceId=sid_rand_0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:19.771313Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551378225637763:2536] (SourceId=sid_rand_0, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
Init result: { 2025-11-06T10:05:19.771317Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551378225637763:2536] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:19.771324Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 11 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-06T10:05:19.771458Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:19.771495Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_0|1939b148-2e71fe8f-b00f180d-22664333_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_0
2025-11-06T10:05:19.771629Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 11 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_0|1939b148-2e71fe8f-b00f180d-22664333_0
status: SUCCESS init_response { session_id: "sid_rand_0|1939b148-2e71fe8f-b00f180d-22664333_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:19.862717Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId: sid_rand_0|1939b148-2e71fe8f-b00f180d-22664333_0 grpc read done: success: 0 data: 
2025-11-06T10:05:19.862726Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 11 sessionId: sid_rand_0|1939b148-2e71fe8f-b00f180d-22664333_0 grpc read failed
2025-11-06T10:05:19.862734Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 11 sessionId: sid_rand_0|1939b148-2e71fe8f-b00f180d-22664333_0 grpc closed
2025-11-06T10:05:19.862740Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 11 sessionId: sid_rand_0|1939b148-2e71fe8f-b00f180d-22664333_0 is DEAD
2025-11-06T10:05:19.862977Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:19.863052Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:19.863061Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 12
2025-11-06T10:05:19.863130Z 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-06T10:05:19.863151Z 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]:57470
2025-11-06T10:05:19.863154Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=12 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:19.863157Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:19.863453Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 12 sessionId:  describe result for acl check
2025-11-06T10:05:19.863474Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:19.863478Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:19.863479Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:19.863484Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551378225637815:2547] (SourceId=sid_rand_1, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:19.863934Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551378225637815:2547] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:19.865722Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551378225637815:2547] (SourceId=sid_rand_1, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:19.865850Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637831:2547] connected; active server actors: 1
2025-11-06T10:05:19.865866Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551378225637815:2547] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_1
2025-11-06T10:05:19.865868Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551378225637815:2547] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:19.865907Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637831:2547] disconnected.
2025-11-06T10:05:19.865913Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637831:2547] disconnected; active server actors: 1
2025-11-06T10:05:19.865915Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637831:2547] disconnected no session
2025-11-06T10:05:19.868649Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551378225637815:2547] (SourceId=sid_rand_1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:19.868663Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551378225637815:2547] (SourceId=sid_rand_1, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-06T10:05:19.868667Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551378225637815:2547] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:19.868676Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 12 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-06T10:05:19.869181Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:19.869257Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_1|4b119462-7c18c647-1a7869c7-10479aa6_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_1
2025-11-06T10:05:19.869543Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 12 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_1|4b119462-7c18c647-1a7869c7-10479aa6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_1|4b119462-7c18c647-1a7869c7-10479aa6_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:19.870223Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId: sid_rand_1|4b119462-7c18c647-1a7869c7-10479aa6_0 grpc read done: success: 0 data: 
2025-11-06T10:05:19.870234Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 12 sessionId: sid_rand_1|4b119462-7c18c647-1a7869c7-10479aa6_0 grpc read failed
2025-11-06T10:05:19.870239Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 12 sessionId: sid_rand_1|4b119462-7c18c647-1a7869c7-10479aa6_0 grpc closed
2025-11-06T10:05:19.870244Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 12 sessionId: sid_rand_1|4b119462-7c18c647-1a7869c7-10479aa6_0 is DEAD
2025-11-06T10:05:19.870501Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:19.870549Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:19.870557Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 13
2025-11-06T10:05:19.870628Z 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-06T10:05:19.870655Z 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]:57470
2025-11-06T10:05:19.870664Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=13 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:19.870667Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:19.871044Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 13 sessionId:  describe result for acl check
2025-11-06T10:05:19.871071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:19.876708Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_2|294daaaf-fca796bd-5690ced-28e68b0e_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_2
Init result: { 2025-11-06T10:05:19.871078Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:19.871080Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:19.871085Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551378225637849:2551] (SourceId=sid_rand_2, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:19.871663Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551378225637849:2551] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:19.873504Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551378225637849:2551] (SourceId=sid_rand_2, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:19.873672Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637866:2551] connected; active server actors: 1
2025-11-06T10:05:19.873680Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551378225637849:2551] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_2
2025-11-06T10:05:19.873683Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551378225637849:2551] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:19.873740Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637866:2551] disconnected.
2025-11-06T10:05:19.873744Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637866:2551] disconnected; active server actors: 1
2025-11-06T10:05:19.873746Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637866:2551] disconnected no session
2025-11-06T10:05:19.876213Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551378225637849:2551] (SourceId=sid_rand_2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:19.876221Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551378225637849:2551] (SourceId=sid_rand_2, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-06T10:05:19.876225Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551378225637849:2551] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Start idle
status: SUCCESS init_response { session_id: "sid_rand_2|294daaaf-fca796bd-5690ced-28e68b0e_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:19.876232Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 13 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-06T10:05:19.876638Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:19.876944Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 13 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_2|294daaaf-fca796bd-5690ced-28e68b0e_0
2025-11-06T10:05:19.963740Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId: sid_rand_2|294daaaf-fca796bd-5690ced-28e68b0e_0 grpc read done: success: 0 data: 
2025-11-06T10:05:19.963751Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 13 sessionId: sid_rand_2|294daaaf-fca796bd-5690ced-28e68b0e_0 grpc read failed
2025-11-06T10:05:19.963758Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 13 sessionId: sid_rand_2|294daaaf-fca796bd-5690ced-28e68b0e_0 grpc closed
2025-11-06T10:05:19.963764Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 13 sessionId: sid_rand_2|294daaaf-fca796bd-5690ced-28e68b0e_0 is DEAD
2025-11-06T10:05:19.963932Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:19.963942Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 14
2025-11-06T10:05:19.964021Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:19.964036Z 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-06T10:05:19.964058Z 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]:57470
2025-11-06T10:05:19.964065Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=14 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:19.964068Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:19.964434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 14 sessionId:  describe result for acl check
2025-11-06T10:05:19.964462Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:19.964466Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:19.964468Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:19.964472Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551378225637902:2558] (SourceId=sid_rand_3, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:19.964925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551378225637902:2558] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:19.966580Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551378225637902:2558] (SourceId=sid_rand_3, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:19.966645Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637918:2558] connected; active server actors: 1
2025-11-06T10:05:19.966662Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551378225637902:2558] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_3
2025-11-06T10:05:19.966672Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551378225637902:2558] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:19.966713Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637918:2558] disconnected.
2025-11-06T10:05:19.966721Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637918:2558] disconnected; active server actors: 1
2025-11-06T10:05:19.966724Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637918:2558] disconnected no session
2025-11-06T10:05:19.969270Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551378225637902:2558] (SourceId=sid_rand_3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:19.969280Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551378225637902:2558] (SourceId=sid_rand_3, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-06T10:05:19.969282Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551378225637902:2558] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:19.969287Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 14 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-06T10:05:19.969462Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:19.969526Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_3|e4af81d6-54577cd7-540e7389-3ff1f028_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_3
2025-11-06T10:05:19.969730Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 14 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_3|e4af81d6-54577cd7-540e7389-3ff1f028_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_3|e4af81d6-54577cd7-540e7389-3ff1f028_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:19.970204Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId: sid_rand_3|e4af81d6-54577cd7-540e7389-3ff1f028_0 grpc read done: success: 0 data: 
2025-11-06T10:05:19.970209Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 14 sessionId: sid_rand_3|e4af81d6-54577cd7-540e7389-3ff1f028_0 grpc read failed
2025-11-06T10:05:19.970212Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 14 sessionId: sid_rand_3|e4af81d6-54577cd7-540e7389-3ff1f028_0 grpc closed
2025-11-06T10:05:19.970215Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 14 sessionId: sid_rand_3|e4af81d6-54577cd7-540e7389-3ff1f028_0 is DEAD
2025-11-06T10:05:19.970331Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:19.970340Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 15
2025-11-06T10:05:19.970373Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:19.970412Z 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-06T10:05:19.970431Z 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]:57470
2025-11-06T10:05:19.970438Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=15 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:19.970440Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:19.970660Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 15 sessionId:  describe result for acl check
2025-11-06T10:05:19.970677Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:19.970681Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:19.975143Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_4|3709624e-49b87d2b-d85bbb1b-9949b036_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_4
Init result: 2025-11-06T10:05:19.970682Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:19.970685Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551378225637936:2562] (SourceId=sid_rand_4, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:19.971030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551378225637936:2562] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:19.972507Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551378225637936:2562] (SourceId=sid_rand_4, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:19.972543Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637952:2562] connected; active server actors: 1
2025-11-06T10:05:19.972551Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551378225637936:2562] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_4
2025-11-06T10:05:19.972553Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551378225637936:2562] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:19.972593Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637952:2562] disconnected.
2025-11-06T10:05:19.972595Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637952:2562] disconnected; active server actors: 1
2025-11-06T10:05:19.972596Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551378225637952:2562] disconnected no session
status: SUCCESS init_response { session_id: "sid_rand_4|3709624e-49b87d2b-d85bbb1b-9949b036_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:19.974895Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551378225637936:2562] (SourceId=sid_rand_4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:19.974901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551378225637936:2562] (SourceId=sid_rand_4, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-06T10:05:19.974904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551378225637936:2562] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:19.974909Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 15 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-06T10:05:19.975078Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:19.975323Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 15 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_4|3709624e-49b87d2b-d85bbb1b-9949b036_0
2025-11-06T10:05:20.064914Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 15 sessionId: sid_rand_4|3709624e-49b87d2b-d85bbb1b-9949b036_0 grpc closed
2025-11-06T10:05:20.064931Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 15 sessionId: sid_rand_4|3709624e-49b87d2b-d85bbb1b-9949b036_0 is DEAD
2025-11-06T10:05:20.065022Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.065033Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 16
2025-11-06T10:05:20.065110Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.065126Z 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-06T10:05:20.065147Z 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]:57470
2025-11-06T10:05:20.065152Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=16 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.065157Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.065655Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 16 sessionId:  describe result for acl check
2025-11-06T10:05:20.065700Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.065709Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.065712Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.065719Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605266:2566] (SourceId=sid_rand_5, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.066395Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605266:2566] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.069074Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605266:2566] (SourceId=sid_rand_5, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.069147Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605282:2566] connected; active server actors: 1
2025-11-06T10:05:20.069166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605266:2566] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_5
2025-11-06T10:05:20.069179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605266:2566] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.069239Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605282:2566] disconnected.
2025-11-06T10:05:20.069247Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605282:2566] disconnected; active server actors: 1
2025-11-06T10:05:20.069250Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605282:2566] disconnected no session
2025-11-06T10:05:20.071786Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605266:2566] (SourceId=sid_rand_5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.071796Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605266:2566] (SourceId=sid_rand_5, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-06T10:05:20.071799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605266:2566] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.071806Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 16 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-06T10:05:20.072010Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:20.072076Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_5|84fb2358-1d5590e9-7a10570a-5f98d350_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_5
2025-11-06T10:05:20.072335Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 16 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_5|84fb2358-1d5590e9-7a10570a-5f98d350_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_5|84fb2358-1d5590e9-7a10570a-5f98d350_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.072912Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId: sid_rand_5|84fb2358-1d5590e9-7a10570a-5f98d350_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.072918Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 16 sessionId: sid_rand_5|84fb2358-1d5590e9-7a10570a-5f98d350_0 grpc read failed
2025-11-06T10:05:20.072921Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 16 sessionId: sid_rand_5|84fb2358-1d5590e9-7a10570a-5f98d350_0 grpc closed
2025-11-06T10:05:20.072926Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 16 sessionId: sid_rand_5|84fb2358-1d5590e9-7a10570a-5f98d350_0 is DEAD
2025-11-06T10:05:20.073091Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.073102Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 17
2025-11-06T10:05:20.073112Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.073182Z 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-06T10:05:20.073207Z 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]:57470
2025-11-06T10:05:20.073213Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=17 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.073217Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.073563Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 17 sessionId:  describe result for acl check
2025-11-06T10:05:20.073597Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.073603Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.073606Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.073610Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605300:2570] (SourceId=sid_rand_6, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.074206Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605300:2570] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.075952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605300:2570] (SourceId=sid_rand_6, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.076005Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605316:2570] connected; active server actors: 1
2025-11-06T10:05:20.076021Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605300:2570] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_6
2025-11-06T10:05:20.078645Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_6|dedee2b7-e7e91881-7e74c1a3-b48cde36_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_6
Init result: { 2025-11-06T10:05:20.076030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605300:2570] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.076069Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605316:2570] disconnected.
2025-11-06T10:05:20.076072Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605316:2570] disconnected; active server actors: 1
2025-11-06T10:05:20.076075Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605316:2570] disconnected no session
2025-11-06T10:05:20.078385Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605300:2570] (SourceId=sid_rand_6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.078390Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605300:2570] (SourceId=sid_rand_6, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-06T10:05:20.078392Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605300:2570] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.078397Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 17 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-06T10:05:20.078587Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:20.078883Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 17 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_6|dedee2b7-e7e91881-7e74c1a3-b48cde36_0
status: SUCCESS init_response { session_id: "sid_rand_6|dedee2b7-e7e91881-7e74c1a3-b48cde36_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.166622Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId: sid_rand_6|dedee2b7-e7e91881-7e74c1a3-b48cde36_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.166634Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 17 sessionId: sid_rand_6|dedee2b7-e7e91881-7e74c1a3-b48cde36_0 grpc read failed
2025-11-06T10:05:20.166643Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 17 sessionId: sid_rand_6|dedee2b7-e7e91881-7e74c1a3-b48cde36_0 grpc closed
2025-11-06T10:05:20.166658Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 17 sessionId: sid_rand_6|dedee2b7-e7e91881-7e74c1a3-b48cde36_0 is DEAD
2025-11-06T10:05:20.166807Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.166818Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 18
2025-11-06T10:05:20.166953Z 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-06T10:05:20.166978Z 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]:57470
2025-11-06T10:05:20.166984Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.166986Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=18 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.166989Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.167343Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 18 sessionId:  describe result for acl check
2025-11-06T10:05:20.167372Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.167379Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.167381Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.167387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605336:2574] (SourceId=sid_rand_7, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.167853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605336:2574] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.170036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605336:2574] (SourceId=sid_rand_7, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.170112Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605355:2574] connected; active server actors: 1
2025-11-06T10:05:20.170131Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605336:2574] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_7
2025-11-06T10:05:20.170134Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605336:2574] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.170192Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605355:2574] disconnected.
2025-11-06T10:05:20.170199Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605355:2574] disconnected; active server actors: 1
2025-11-06T10:05:20.170202Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605355:2574] disconnected no session
2025-11-06T10:05:20.172485Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605336:2574] (SourceId=sid_rand_7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.172496Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605336:2574] (SourceId=sid_rand_7, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-06T10:05:20.172499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605336:2574] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.172507Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 18 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-06T10:05:20.172642Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:20.172690Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_7|35a988ff-668945a3-4538fb11-dab2ce3b_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_7
2025-11-06T10:05:20.172804Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 18 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_7|35a988ff-668945a3-4538fb11-dab2ce3b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_7|35a988ff-668945a3-4538fb11-dab2ce3b_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.173427Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId: sid_rand_7|35a988ff-668945a3-4538fb11-dab2ce3b_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.173436Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 18 sessionId: sid_rand_7|35a988ff-668945a3-4538fb11-dab2ce3b_0 grpc read failed
2025-11-06T10:05:20.173442Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 18 sessionId: sid_rand_7|35a988ff-668945a3-4538fb11-dab2ce3b_0 grpc closed
2025-11-06T10:05:20.173446Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 18 sessionId: sid_rand_7|35a988ff-668945a3-4538fb11-dab2ce3b_0 is DEAD
2025-11-06T10:05:20.173616Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.173627Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 19
2025-11-06T10:05:20.173705Z 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-06T10:05:20.173723Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.173726Z 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]:57470
2025-11-06T10:05:20.173729Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=19 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.173731Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.174022Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 19 sessionId:  describe result for acl check
Init result: { 2025-11-06T10:05:20.174045Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.174046Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.174047Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.174049Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605374:2578] (SourceId=sid_rand_8, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.174452Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605374:2578] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.175810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605374:2578] (SourceId=sid_rand_8, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.175865Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605390:2578] connected; active server actors: 1
2025-11-06T10:05:20.175877Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605374:2578] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_8
2025-11-06T10:05:20.175881Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605374:2578] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.175919Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605390:2578] disconnected.
2025-11-06T10:05:20.175921Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605390:2578] disconnected; active server actors: 1
status: SUCCESS init_response { session_id: "sid_rand_8|ccf1d464-26444cda-3311b3b9-231089ef_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.175923Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605390:2578] disconnected no session
2025-11-06T10:05:20.178232Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605374:2578] (SourceId=sid_rand_8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.178238Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605374:2578] (SourceId=sid_rand_8, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-06T10:05:20.178242Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605374:2578] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.178248Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 19 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-06T10:05:20.178357Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:20.178398Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_8|ccf1d464-26444cda-3311b3b9-231089ef_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_8
2025-11-06T10:05:20.178511Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 19 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_8|ccf1d464-26444cda-3311b3b9-231089ef_0
2025-11-06T10:05:20.267676Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId: sid_rand_8|ccf1d464-26444cda-3311b3b9-231089ef_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.267692Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 19 sessionId: sid_rand_8|ccf1d464-26444cda-3311b3b9-231089ef_0 grpc read failed
2025-11-06T10:05:20.267701Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 19 sessionId: sid_rand_8|ccf1d464-26444cda-3311b3b9-231089ef_0 grpc closed
2025-11-06T10:05:20.267708Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 19 sessionId: sid_rand_8|ccf1d464-26444cda-3311b3b9-231089ef_0 is DEAD
2025-11-06T10:05:20.267801Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.267815Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 20
2025-11-06T10:05:20.267912Z 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-06T10:05:20.267945Z 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]:57470
2025-11-06T10:05:20.267953Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=20 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.267957Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.268024Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.268402Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 20 sessionId:  describe result for acl check
2025-11-06T10:05:20.268435Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.268441Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.268444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.268450Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605417:2584] (SourceId=sid_rand_9, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.269060Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605417:2584] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.270940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605417:2584] (SourceId=sid_rand_9, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.271060Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605433:2584] connected; active server actors: 1
2025-11-06T10:05:20.271074Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605417:2584] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_9
2025-11-06T10:05:20.271082Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605417:2584] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.271140Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605433:2584] disconnected.
2025-11-06T10:05:20.271147Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605433:2584] disconnected; active server actors: 1
2025-11-06T10:05:20.271149Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605433:2584] disconnected no session
2025-11-06T10:05:20.274075Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605417:2584] (SourceId=sid_rand_9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.274091Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605417:2584] (SourceId=sid_rand_9, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-06T10:05:20.274096Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605417:2584] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.274104Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 20 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-06T10:05:20.274354Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:20.274487Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_9|65ca832f-13ed176f-312815e5-94849b78_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_9
2025-11-06T10:05:20.274741Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 20 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_9|65ca832f-13ed176f-312815e5-94849b78_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_9|65ca832f-13ed176f-312815e5-94849b78_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.275448Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId: sid_rand_9|65ca832f-13ed176f-312815e5-94849b78_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.275455Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 20 sessionId: sid_rand_9|65ca832f-13ed176f-312815e5-94849b78_0 grpc read failed
2025-11-06T10:05:20.275459Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 20 sessionId: sid_rand_9|65ca832f-13ed176f-312815e5-94849b78_0 grpc closed
2025-11-06T10:05:20.275463Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 20 sessionId: sid_rand_9|65ca832f-13ed176f-312815e5-94849b78_0 is DEAD
2025-11-06T10:05:20.275508Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.275518Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 21
2025-11-06T10:05:20.275588Z 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-06T10:05:20.275609Z 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]:57470
2025-11-06T10:05:20.275615Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=21 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.275619Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.275687Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.275885Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 21 sessionId:  describe result for acl check
2025-11-06T10:05:20.275907Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.275911Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.275912Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.275916Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605451:2588] (SourceId=sid_rand_10, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.276346Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605451:2588] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.277615Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605451:2588] (SourceId=sid_rand_10, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.277675Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605467:2588] connected; active server actors: 1
2025-11-06T10:05:20.277692Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605451:2588] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_10
Init result: { 2025-11-06T10:05:20.277696Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605451:2588] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.277744Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605467:2588] disconnected.
2025-11-06T10:05:20.277747Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605467:2588] disconnected; active server actors: 1
2025-11-06T10:05:20.277749Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605467:2588] disconnected no session
2025-11-06T10:05:20.280005Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605451:2588] (SourceId=sid_rand_10, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.280011Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605451:2588] (SourceId=sid_rand_10, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-06T10:05:20.280014Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605451:2588] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Start idle
status: SUCCESS init_response { session_id: "sid_rand_10|ed9cf02f-bca845e7-4924e36b-8bd2a131_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }2025-11-06T10:05:20.280021Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 21 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-06T10:05:20.280116Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:20.280150Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_10|ed9cf02f-bca845e7-4924e36b-8bd2a131_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_10
2025-11-06T10:05:20.280254Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 21 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_10|ed9cf02f-bca845e7-4924e36b-8bd2a131_0
2025-11-06T10:05:20.369520Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId: sid_rand_10|ed9cf02f-bca845e7-4924e36b-8bd2a131_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.369534Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 21 sessionId: sid_rand_10|ed9cf02f-bca845e7-4924e36b-8bd2a131_0 grpc read failed
2025-11-06T10:05:20.369544Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 21 sessionId: sid_rand_10|ed9cf02f-bca845e7-4924e36b-8bd2a131_0 grpc closed
2025-11-06T10:05:20.369569Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 21 sessionId: sid_rand_10|ed9cf02f-bca845e7-4924e36b-8bd2a131_0 is DEAD
2025-11-06T10:05:20.369696Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.369707Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 22
2025-11-06T10:05:20.369845Z 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-06T10:05:20.369865Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.369869Z 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]:57470
2025-11-06T10:05:20.369873Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=22 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.369877Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.370231Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 22 sessionId:  describe result for acl check
2025-11-06T10:05:20.370264Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.370271Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.370274Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.370280Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605490:2592] (SourceId=sid_rand_11, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.370839Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605490:2592] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.372777Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605490:2592] (SourceId=sid_rand_11, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.372848Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605509:2592] connected; active server actors: 1
2025-11-06T10:05:20.372869Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605490:2592] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_11
2025-11-06T10:05:20.372873Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605490:2592] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.372921Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605509:2592] disconnected.
2025-11-06T10:05:20.372927Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605509:2592] disconnected; active server actors: 1
2025-11-06T10:05:20.372929Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605509:2592] disconnected no session
2025-11-06T10:05:20.375536Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605490:2592] (SourceId=sid_rand_11, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.375551Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605490:2592] (SourceId=sid_rand_11, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-06T10:05:20.375555Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605490:2592] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.375563Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 22 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-06T10:05:20.375806Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:20.375902Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_11|7719961c-c13d2e48-466bb087-42db9235_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_11
2025-11-06T10:05:20.376251Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 22 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_11|7719961c-c13d2e48-466bb087-42db9235_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_11|7719961c-c13d2e48-466bb087-42db9235_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.376967Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId: sid_rand_11|7719961c-c13d2e48-466bb087-42db9235_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.376977Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 22 sessionId: sid_rand_11|7719961c-c13d2e48-466bb087-42db9235_0 grpc read failed
2025-11-06T10:05:20.376983Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 22 sessionId: sid_rand_11|7719961c-c13d2e48-466bb087-42db9235_0 grpc closed
2025-11-06T10:05:20.376988Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 22 sessionId: sid_rand_11|7719961c-c13d2e48-466bb087-42db9235_0 is DEAD
2025-11-06T10:05:20.377092Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.377101Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 23
2025-11-06T10:05:20.377240Z 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-06T10:05:20.377255Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.377261Z 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]:57470
2025-11-06T10:05:20.377265Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=23 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.383002Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_12|7511330b-c9abf4cd-545da293-53860439_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_12
Init result: { 2025-11-06T10:05:20.377268Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.377599Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 23 sessionId:  describe result for acl check
2025-11-06T10:05:20.377617Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.377619Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.377620Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.377624Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605527:2596] (SourceId=sid_rand_12, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.378063Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605527:2596] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.379773Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605527:2596] (SourceId=sid_rand_12, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.379830Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605543:2596] connected; active server actors: 1
2025-11-06T10:05:20.379844Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605527:2596] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_12
2025-11-06T10:05:20.379848Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605527:2596] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.379887Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605543:2596] disconnected.
2025-11-06T10:05:20.379890Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605543:2596] disconnected; active server actors: 1
2025-11-06T10:05:20.379893Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605543:2596] disconnected no session
status: SUCCESS init_response { session_id: "sid_rand_12|7511330b-c9abf4cd-545da293-53860439_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP }2025-11-06T10:05:20.382658Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605527:2596] (SourceId=sid_rand_12, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.382665Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605527:2596] (SourceId=sid_rand_12, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
 }
2025-11-06T10:05:20.382669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605527:2596] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.382677Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 23 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-06T10:05:20.382917Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:20.383269Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 23 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_12|7511330b-c9abf4cd-545da293-53860439_0
2025-11-06T10:05:20.470435Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId: sid_rand_12|7511330b-c9abf4cd-545da293-53860439_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.470448Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 23 sessionId: sid_rand_12|7511330b-c9abf4cd-545da293-53860439_0 grpc read failed
2025-11-06T10:05:20.470458Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 23 sessionId: sid_rand_12|7511330b-c9abf4cd-545da293-53860439_0 grpc closed
2025-11-06T10:05:20.470466Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 23 sessionId: sid_rand_12|7511330b-c9abf4cd-545da293-53860439_0 is DEAD
2025-11-06T10:05:20.470589Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.470601Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 24
2025-11-06T10:05:20.470772Z 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-06T10:05:20.470776Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.470804Z 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]:57470
2025-11-06T10:05:20.470813Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=24 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.470819Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.471182Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 24 sessionId:  describe result for acl check
2025-11-06T10:05:20.471207Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.471212Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.471214Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.471219Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605562:2600] (SourceId=sid_rand_13, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.471781Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605562:2600] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.473506Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605562:2600] (SourceId=sid_rand_13, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.473579Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605578:2600] connected; active server actors: 1
2025-11-06T10:05:20.473599Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605562:2600] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_13
2025-11-06T10:05:20.473604Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605562:2600] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.473660Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605578:2600] disconnected.
2025-11-06T10:05:20.473674Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605578:2600] disconnected; active server actors: 1
2025-11-06T10:05:20.473679Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605578:2600] disconnected no session
2025-11-06T10:05:20.476407Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605562:2600] (SourceId=sid_rand_13, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.476419Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605562:2600] (SourceId=sid_rand_13, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-06T10:05:20.476422Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605562:2600] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.476428Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 24 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-06T10:05:20.476655Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:20.476744Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_13|3bdc837b-4131d1bc-5745afe6-b430fdf1_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_13
2025-11-06T10:05:20.477062Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 24 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_13|3bdc837b-4131d1bc-5745afe6-b430fdf1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_13|3bdc837b-4131d1bc-5745afe6-b430fdf1_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.477685Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId: sid_rand_13|3bdc837b-4131d1bc-5745afe6-b430fdf1_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.477693Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 24 sessionId: sid_rand_13|3bdc837b-4131d1bc-5745afe6-b430fdf1_0 grpc read failed
2025-11-06T10:05:20.477698Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 24 sessionId: sid_rand_13|3bdc837b-4131d1bc-5745afe6-b430fdf1_0 grpc closed
2025-11-06T10:05:20.477702Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 24 sessionId: sid_rand_13|3bdc837b-4131d1bc-5745afe6-b430fdf1_0 is DEAD
2025-11-06T10:05:20.477849Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.477860Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 25
2025-11-06T10:05:20.477941Z 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-06T10:05:20.477965Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.477971Z 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]:57470
2025-11-06T10:05:20.477976Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=25 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.477980Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.478297Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 25 sessionId:  describe result for acl check
2025-11-06T10:05:20.478321Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.478326Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.483880Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_14|5ecf5280-44132dc5-c8bf5d8b-67201247_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_14
Init result: { 2025-11-06T10:05:20.478327Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.478330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605596:2604] (SourceId=sid_rand_14, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.478812Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605596:2604] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.480672Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605596:2604] (SourceId=sid_rand_14, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.480733Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605612:2604] connected; active server actors: 1
2025-11-06T10:05:20.480743Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605596:2604] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_14
2025-11-06T10:05:20.480747Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605596:2604] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.480793Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605612:2604] disconnected.
2025-11-06T10:05:20.480796Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605612:2604] disconnected; active server actors: 1
2025-11-06T10:05:20.480799Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605612:2604] disconnected no session
status: SUCCESS init_response { session_id: "sid_rand_14|5ecf5280-44132dc5-c8bf5d8b-67201247_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.483573Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605596:2604] (SourceId=sid_rand_14, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.483580Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605596:2604] (SourceId=sid_rand_14, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-06T10:05:20.483584Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605596:2604] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.483591Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 25 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-06T10:05:20.483809Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:20.484114Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 25 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_14|5ecf5280-44132dc5-c8bf5d8b-67201247_0
2025-11-06T10:05:20.571458Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId: sid_rand_14|5ecf5280-44132dc5-c8bf5d8b-67201247_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.571478Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 25 sessionId: sid_rand_14|5ecf5280-44132dc5-c8bf5d8b-67201247_0 grpc read failed
2025-11-06T10:05:20.571490Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 25 sessionId: sid_rand_14|5ecf5280-44132dc5-c8bf5d8b-67201247_0 grpc closed
2025-11-06T10:05:20.571500Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 25 sessionId: sid_rand_14|5ecf5280-44132dc5-c8bf5d8b-67201247_0 is DEAD
2025-11-06T10:05:20.571613Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.571627Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 26
2025-11-06T10:05:20.571759Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.571767Z 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-06T10:05:20.571793Z 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]:57470
2025-11-06T10:05:20.571804Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=26 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.571810Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.572204Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 26 sessionId:  describe result for acl check
2025-11-06T10:05:20.572237Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.572244Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.572246Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.572252Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605633:2609] (SourceId=sid_rand_15, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.572863Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605633:2609] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.575312Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605633:2609] (SourceId=sid_rand_15, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.575389Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605652:2609] connected; active server actors: 1
2025-11-06T10:05:20.575408Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605633:2609] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_15
2025-11-06T10:05:20.575419Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605633:2609] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.575465Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605652:2609] disconnected.
2025-11-06T10:05:20.575475Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605652:2609] disconnected; active server actors: 1
2025-11-06T10:05:20.575485Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605652:2609] disconnected no session
2025-11-06T10:05:20.578048Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605633:2609] (SourceId=sid_rand_15, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.578066Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605633:2609] (SourceId=sid_rand_15, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-06T10:05:20.578070Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605633:2609] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.578079Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 26 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-06T10:05:20.578307Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:20.578377Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_15|8aecec84-eafe6a52-c753b8a3-69f29480_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_15
2025-11-06T10:05:20.578641Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 26 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_15|8aecec84-eafe6a52-c753b8a3-69f29480_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_15|8aecec84-eafe6a52-c753b8a3-69f29480_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.579276Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId: sid_rand_15|8aecec84-eafe6a52-c753b8a3-69f29480_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.579288Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 26 sessionId: sid_rand_15|8aecec84-eafe6a52-c753b8a3-69f29480_0 grpc read failed
2025-11-06T10:05:20.579295Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 26 sessionId: sid_rand_15|8aecec84-eafe6a52-c753b8a3-69f29480_0 grpc closed
2025-11-06T10:05:20.579300Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 26 sessionId: sid_rand_15|8aecec84-eafe6a52-c753b8a3-69f29480_0 is DEAD
2025-11-06T10:05:20.579416Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.579427Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 27
2025-11-06T10:05:20.579583Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.579585Z 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-06T10:05:20.579606Z 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]:57470
2025-11-06T10:05:20.579616Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=27 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.579619Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.579959Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 27 sessionId:  describe result for acl check
2025-11-06T10:05:20.579985Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.579991Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.579993Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.579996Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605671:2613] (SourceId=sid_rand_16, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.580446Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605671:2613] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.581932Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605671:2613] (SourceId=sid_rand_16, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.582000Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605687:2613] connected; active server actors: 1
2025-11-06T10:05:20.582020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605671:2613] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_16
2025-11-06T10:05:20.585119Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_16|124be24-c6a1641e-69cea850-73b93d52_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_16
Init result: { 2025-11-06T10:05:20.582024Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605671:2613] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.582071Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605687:2613] disconnected.
2025-11-06T10:05:20.582074Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605687:2613] disconnected; active server actors: 1
2025-11-06T10:05:20.582077Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605687:2613] disconnected no session
2025-11-06T10:05:20.584803Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605671:2613] (SourceId=sid_rand_16, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.584810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605671:2613] (SourceId=sid_rand_16, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-06T10:05:20.584814Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605671:2613] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.584821Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 27 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-06T10:05:20.585065Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:20.585362Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 27 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_16|124be24-c6a1641e-69cea850-73b93d52_0
status: SUCCESS init_response { session_id: "sid_rand_16|124be24-c6a1641e-69cea850-73b93d52_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.673248Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId: sid_rand_16|124be24-c6a1641e-69cea850-73b93d52_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.673263Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 27 sessionId: sid_rand_16|124be24-c6a1641e-69cea850-73b93d52_0 grpc read failed
2025-11-06T10:05:20.673285Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 27 sessionId: sid_rand_16|124be24-c6a1641e-69cea850-73b93d52_0 grpc closed
2025-11-06T10:05:20.673292Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 27 sessionId: sid_rand_16|124be24-c6a1641e-69cea850-73b93d52_0 is DEAD
2025-11-06T10:05:20.673385Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.673400Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 28
2025-11-06T10:05:20.673481Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.673503Z 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-06T10:05:20.673537Z 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]:57470
2025-11-06T10:05:20.673543Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=28 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.673548Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.674024Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 28 sessionId:  describe result for acl check
2025-11-06T10:05:20.674060Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.674062Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.674064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.674070Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605705:2617] (SourceId=sid_rand_17, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.674720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605705:2617] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.677311Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605705:2617] (SourceId=sid_rand_17, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.677418Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605721:2617] connected; active server actors: 1
2025-11-06T10:05:20.677440Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605705:2617] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_17
2025-11-06T10:05:20.677455Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605705:2617] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.677570Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605721:2617] disconnected.
2025-11-06T10:05:20.677580Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605721:2617] disconnected; active server actors: 1
2025-11-06T10:05:20.677582Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605721:2617] disconnected no session
2025-11-06T10:05:20.680791Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605705:2617] (SourceId=sid_rand_17, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.680809Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605705:2617] (SourceId=sid_rand_17, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-06T10:05:20.680813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605705:2617] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.680822Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 28 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-06T10:05:20.680980Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:20.681011Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_17|24178590-cd67477e-12b82c70-16f6cf8c_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_17
2025-11-06T10:05:20.681136Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 28 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_17|24178590-cd67477e-12b82c70-16f6cf8c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_17|24178590-cd67477e-12b82c70-16f6cf8c_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.681841Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId: sid_rand_17|24178590-cd67477e-12b82c70-16f6cf8c_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.681849Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 28 sessionId: sid_rand_17|24178590-cd67477e-12b82c70-16f6cf8c_0 grpc read failed
2025-11-06T10:05:20.681854Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 28 sessionId: sid_rand_17|24178590-cd67477e-12b82c70-16f6cf8c_0 grpc closed
2025-11-06T10:05:20.681859Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 28 sessionId: sid_rand_17|24178590-cd67477e-12b82c70-16f6cf8c_0 is DEAD
2025-11-06T10:05:20.682012Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.682026Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 29
2025-11-06T10:05:20.682101Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.682117Z 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-06T10:05:20.682146Z 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]:57470
2025-11-06T10:05:20.682156Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=29 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.682161Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.682536Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 29 sessionId:  describe result for acl check
2025-11-06T10:05:20.682569Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.682575Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
Init result: { 2025-11-06T10:05:20.682578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.682582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605740:2621] (SourceId=sid_rand_18, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.683188Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605740:2621] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.684953Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605740:2621] (SourceId=sid_rand_18, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.685002Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605756:2621] connected; active server actors: 1
status: SUCCESS init_response { session_id: "sid_rand_18|eb156ea-e0fc321-f2ffb4db-327ebcac_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.685017Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605740:2621] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_18
2025-11-06T10:05:20.685023Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605740:2621] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.685075Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605756:2621] disconnected.
2025-11-06T10:05:20.685078Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605756:2621] disconnected; active server actors: 1
2025-11-06T10:05:20.685081Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605756:2621] disconnected no session
2025-11-06T10:05:20.687900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605740:2621] (SourceId=sid_rand_18, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.687905Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605740:2621] (SourceId=sid_rand_18, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-06T10:05:20.687907Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605740:2621] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.687914Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 29 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-06T10:05:20.688054Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:20.688092Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_18|eb156ea-e0fc321-f2ffb4db-327ebcac_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_18
2025-11-06T10:05:20.688198Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 29 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_18|eb156ea-e0fc321-f2ffb4db-327ebcac_0
2025-11-06T10:05:20.774326Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId: sid_rand_18|eb156ea-e0fc321-f2ffb4db-327ebcac_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.774341Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 29 sessionId: sid_rand_18|eb156ea-e0fc321-f2ffb4db-327ebcac_0 grpc read failed
2025-11-06T10:05:20.774348Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 29 sessionId: sid_rand_18|eb156ea-e0fc321-f2ffb4db-327ebcac_0 grpc closed
2025-11-06T10:05:20.774354Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 29 sessionId: sid_rand_18|eb156ea-e0fc321-f2ffb4db-327ebcac_0 is DEAD
2025-11-06T10:05:20.774448Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.774463Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 30
2025-11-06T10:05:20.774622Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.774629Z 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-06T10:05:20.774658Z 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]:57470
2025-11-06T10:05:20.774670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=30 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.774675Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.775119Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 30 sessionId:  describe result for acl check
2025-11-06T10:05:20.775161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.775168Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.775170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.775177Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605777:2625] (SourceId=sid_rand_19, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.775867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605777:2625] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.777792Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605777:2625] (SourceId=sid_rand_19, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.777858Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605796:2625] connected; active server actors: 1
2025-11-06T10:05:20.777882Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605777:2625] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_19
2025-11-06T10:05:20.777891Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605777:2625] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.777945Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605796:2625] disconnected.
2025-11-06T10:05:20.777953Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605796:2625] disconnected; active server actors: 1
2025-11-06T10:05:20.777956Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605796:2625] disconnected no session
2025-11-06T10:05:20.780331Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605777:2625] (SourceId=sid_rand_19, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.780344Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605777:2625] (SourceId=sid_rand_19, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-06T10:05:20.780347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605777:2625] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.780355Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 30 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-06T10:05:20.780577Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:20.780656Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_19|a9ae61d4-bf3c873b-2b4ea532-7b09a8db_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_19
2025-11-06T10:05:20.780884Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 30 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_19|a9ae61d4-bf3c873b-2b4ea532-7b09a8db_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_19|a9ae61d4-bf3c873b-2b4ea532-7b09a8db_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.781426Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId: sid_rand_19|a9ae61d4-bf3c873b-2b4ea532-7b09a8db_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.781437Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 30 sessionId: sid_rand_19|a9ae61d4-bf3c873b-2b4ea532-7b09a8db_0 grpc read failed
2025-11-06T10:05:20.781444Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 30 sessionId: sid_rand_19|a9ae61d4-bf3c873b-2b4ea532-7b09a8db_0 grpc closed
2025-11-06T10:05:20.781449Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 30 sessionId: sid_rand_19|a9ae61d4-bf3c873b-2b4ea532-7b09a8db_0 is DEAD
2025-11-06T10:05:20.781591Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.781604Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 31
2025-11-06T10:05:20.781716Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.781734Z 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-06T10:05:20.781756Z 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]:57470
2025-11-06T10:05:20.781764Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=31 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.781768Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.782131Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 31 sessionId:  describe result for acl check
2025-11-06T10:05:20.782164Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.782166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
Init result: { 2025-11-06T10:05:20.782169Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.782173Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605814:2629] (SourceId=sid_rand_20, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.782721Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605814:2629] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.784137Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605814:2629] (SourceId=sid_rand_20, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.784182Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605830:2629] connected; active server actors: 1
2025-11-06T10:05:20.784198Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605814:2629] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_20
2025-11-06T10:05:20.784204Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605814:2629] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.784250Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605830:2629] disconnected.
status: SUCCESS init_response { session_id: "sid_rand_20|3cc99b1c-a8d380a7-867d8542-d9b9155a_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.784255Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605830:2629] disconnected; active server actors: 1
2025-11-06T10:05:20.784258Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605830:2629] disconnected no session
2025-11-06T10:05:20.786490Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605814:2629] (SourceId=sid_rand_20, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.786496Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605814:2629] (SourceId=sid_rand_20, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-06T10:05:20.786500Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605814:2629] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.786506Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 31 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-06T10:05:20.786631Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:20.786671Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_20|3cc99b1c-a8d380a7-867d8542-d9b9155a_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_20
2025-11-06T10:05:20.786800Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 31 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_20|3cc99b1c-a8d380a7-867d8542-d9b9155a_0
2025-11-06T10:05:20.875523Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId: sid_rand_20|3cc99b1c-a8d380a7-867d8542-d9b9155a_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.875533Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 31 sessionId: sid_rand_20|3cc99b1c-a8d380a7-867d8542-d9b9155a_0 grpc read failed
2025-11-06T10:05:20.875542Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 31 sessionId: sid_rand_20|3cc99b1c-a8d380a7-867d8542-d9b9155a_0 grpc closed
2025-11-06T10:05:20.875548Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 31 sessionId: sid_rand_20|3cc99b1c-a8d380a7-867d8542-d9b9155a_0 is DEAD
2025-11-06T10:05:20.875665Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.875679Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 32
2025-11-06T10:05:20.875855Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.875863Z 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-06T10:05:20.875889Z 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]:57470
2025-11-06T10:05:20.875899Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=32 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.875905Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.876304Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 32 sessionId:  describe result for acl check
2025-11-06T10:05:20.876335Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.876341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.876343Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.876347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605849:2633] (SourceId=sid_rand_21, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.876808Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605849:2633] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.878538Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605849:2633] (SourceId=sid_rand_21, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.878611Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605865:2633] connected; active server actors: 1
2025-11-06T10:05:20.878631Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605849:2633] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_21
2025-11-06T10:05:20.878653Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605849:2633] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.878704Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605865:2633] disconnected.
2025-11-06T10:05:20.878712Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605865:2633] disconnected; active server actors: 1
2025-11-06T10:05:20.878715Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605865:2633] disconnected no session
2025-11-06T10:05:20.881382Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605849:2633] (SourceId=sid_rand_21, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.881406Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605849:2633] (SourceId=sid_rand_21, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-06T10:05:20.881411Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605849:2633] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.881420Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 32 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-06T10:05:20.881696Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:20.881764Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_21|55071e46-9eb229aa-185aed2b-4de9881c_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_21
2025-11-06T10:05:20.882021Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 32 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_21|55071e46-9eb229aa-185aed2b-4de9881c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_21|55071e46-9eb229aa-185aed2b-4de9881c_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.882646Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId: sid_rand_21|55071e46-9eb229aa-185aed2b-4de9881c_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.882656Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 32 sessionId: sid_rand_21|55071e46-9eb229aa-185aed2b-4de9881c_0 grpc read failed
2025-11-06T10:05:20.882748Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 32 sessionId: sid_rand_21|55071e46-9eb229aa-185aed2b-4de9881c_0
2025-11-06T10:05:20.882757Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 32 sessionId: sid_rand_21|55071e46-9eb229aa-185aed2b-4de9881c_0 is DEAD
2025-11-06T10:05:20.882794Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.882804Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 33
2025-11-06T10:05:20.882848Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.882891Z 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-06T10:05:20.882920Z 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]:57470
2025-11-06T10:05:20.882929Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=33 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.882932Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.883272Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 33 sessionId:  describe result for acl check
2025-11-06T10:05:20.883297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.883298Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.889095Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_22|b2d7a46e-a2f04d78-862de34f-8b9b8783_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_22
Init result: { 2025-11-06T10:05:20.883299Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.883302Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605883:2637] (SourceId=sid_rand_22, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.883714Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605883:2637] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.885763Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605883:2637] (SourceId=sid_rand_22, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.885897Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605903:2637] connected; active server actors: 1
2025-11-06T10:05:20.885908Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605883:2637] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_22
2025-11-06T10:05:20.885912Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605883:2637] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.885976Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605903:2637] disconnected.
2025-11-06T10:05:20.885979Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605903:2637] disconnected; active server actors: 1
2025-11-06T10:05:20.885982Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605903:2637] disconnected no session
2025-11-06T10:05:20.888528Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605883:2637] (SourceId=sid_rand_22, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.888535Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605883:2637] (SourceId=sid_rand_22, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
status: SUCCESS init_response { session_id: "sid_rand_22|b2d7a46e-a2f04d78-862de34f-8b9b8783_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.888538Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605883:2637] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.888544Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 33 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-06T10:05:20.888853Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:20.889576Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 33 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_22|b2d7a46e-a2f04d78-862de34f-8b9b8783_0
2025-11-06T10:05:20.976815Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId: sid_rand_22|b2d7a46e-a2f04d78-862de34f-8b9b8783_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.976828Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 33 sessionId: sid_rand_22|b2d7a46e-a2f04d78-862de34f-8b9b8783_0 grpc read failed
2025-11-06T10:05:20.976837Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 33 sessionId: sid_rand_22|b2d7a46e-a2f04d78-862de34f-8b9b8783_0 grpc closed
2025-11-06T10:05:20.976842Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 33 sessionId: sid_rand_22|b2d7a46e-a2f04d78-862de34f-8b9b8783_0 is DEAD
2025-11-06T10:05:20.976987Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.977001Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 34
2025-11-06T10:05:20.977168Z 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-06T10:05:20.977170Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.977202Z 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]:57470
2025-11-06T10:05:20.977212Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=34 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.977216Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.977731Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 34 sessionId:  describe result for acl check
2025-11-06T10:05:20.977770Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.977777Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.977779Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.977785Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605951:2651] (SourceId=sid_rand_23, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.978366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605951:2651] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.980678Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605951:2651] (SourceId=sid_rand_23, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.980760Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605967:2651] connected; active server actors: 1
2025-11-06T10:05:20.980783Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605951:2651] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_23
2025-11-06T10:05:20.980796Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605951:2651] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.980859Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605967:2651] disconnected.
2025-11-06T10:05:20.980868Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605967:2651] disconnected; active server actors: 1
2025-11-06T10:05:20.980871Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520605967:2651] disconnected no session
2025-11-06T10:05:20.983911Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605951:2651] (SourceId=sid_rand_23, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.983929Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605951:2651] (SourceId=sid_rand_23, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-06T10:05:20.983933Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605951:2651] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.983941Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 34 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-06T10:05:20.984102Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:20.984155Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_23|ea33c179-be77ecf3-20cc355d-b3f7d6a2_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_23
2025-11-06T10:05:20.984342Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 34 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_23|ea33c179-be77ecf3-20cc355d-b3f7d6a2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_23|ea33c179-be77ecf3-20cc355d-b3f7d6a2_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.985076Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId: sid_rand_23|ea33c179-be77ecf3-20cc355d-b3f7d6a2_0 grpc read done: success: 0 data: 
2025-11-06T10:05:20.985088Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 34 sessionId: sid_rand_23|ea33c179-be77ecf3-20cc355d-b3f7d6a2_0 grpc read failed
2025-11-06T10:05:20.985095Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 34 sessionId: sid_rand_23|ea33c179-be77ecf3-20cc355d-b3f7d6a2_0 grpc closed
2025-11-06T10:05:20.985101Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 34 sessionId: sid_rand_23|ea33c179-be77ecf3-20cc355d-b3f7d6a2_0 is DEAD
2025-11-06T10:05:20.985222Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:20.985234Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 35
2025-11-06T10:05:20.985401Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:20.985437Z 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-06T10:05:20.985472Z 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]:57470
2025-11-06T10:05:20.985482Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=35 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:20.985486Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:20.985910Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 35 sessionId:  describe result for acl check
2025-11-06T10:05:20.985949Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:20.985951Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:20.992389Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_24|8b53f751-57ac6a2c-aa66fb31-5c21b528_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_24
Init result: { 2025-11-06T10:05:20.985954Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:20.985958Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551382520605986:2655] (SourceId=sid_rand_24, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:20.986615Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551382520605986:2655] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:20.988796Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551382520605986:2655] (SourceId=sid_rand_24, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:20.988916Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520606002:2655] connected; active server actors: 1
2025-11-06T10:05:20.988934Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551382520605986:2655] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_24
2025-11-06T10:05:20.988939Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551382520605986:2655] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:20.988995Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520606002:2655] disconnected.
2025-11-06T10:05:20.988998Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520606002:2655] disconnected; active server actors: 1
2025-11-06T10:05:20.989001Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551382520606002:2655] disconnected no session
status: SUCCESS init_response { session_id: "sid_rand_24|8b53f751-57ac6a2c-aa66fb31-5c21b528_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:20.991953Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551382520605986:2655] (SourceId=sid_rand_24, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:20.991960Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551382520605986:2655] (SourceId=sid_rand_24, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-06T10:05:20.991965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551382520605986:2655] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:20.991973Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 35 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-06T10:05:20.992241Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:20.992694Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 35 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_24|8b53f751-57ac6a2c-aa66fb31-5c21b528_0
2025-11-06T10:05:21.078299Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId: sid_rand_24|8b53f751-57ac6a2c-aa66fb31-5c21b528_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.078310Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 35 sessionId: sid_rand_24|8b53f751-57ac6a2c-aa66fb31-5c21b528_0 grpc read failed
2025-11-06T10:05:21.078320Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 35 sessionId: sid_rand_24|8b53f751-57ac6a2c-aa66fb31-5c21b528_0 grpc closed
2025-11-06T10:05:21.078326Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 35 sessionId: sid_rand_24|8b53f751-57ac6a2c-aa66fb31-5c21b528_0 is DEAD
2025-11-06T10:05:21.078417Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.078432Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 36
2025-11-06T10:05:21.078572Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.078611Z 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-06T10:05:21.078644Z 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]:57470
2025-11-06T10:05:21.078654Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=36 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.078658Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.079078Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 36 sessionId:  describe result for acl check
2025-11-06T10:05:21.079119Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.079126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:21.079128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.079135Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573316:2659] (SourceId=sid_rand_25, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.079771Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573316:2659] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.081799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573316:2659] (SourceId=sid_rand_25, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:21.081868Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573336:2659] connected; active server actors: 1
2025-11-06T10:05:21.081889Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573316:2659] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_25
2025-11-06T10:05:21.081894Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573316:2659] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.081958Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573336:2659] disconnected.
2025-11-06T10:05:21.081970Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573336:2659] disconnected; active server actors: 1
2025-11-06T10:05:21.081972Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573336:2659] disconnected no session
2025-11-06T10:05:21.084523Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573316:2659] (SourceId=sid_rand_25, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.084534Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573316:2659] (SourceId=sid_rand_25, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-06T10:05:21.084537Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573316:2659] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.084543Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 36 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-06T10:05:21.084657Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:21.084701Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_25|2699af43-29a3c559-a0c3deb8-acb4ea43_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_25
2025-11-06T10:05:21.084812Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 36 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_25|2699af43-29a3c559-a0c3deb8-acb4ea43_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_25|2699af43-29a3c559-a0c3deb8-acb4ea43_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.085483Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId: sid_rand_25|2699af43-29a3c559-a0c3deb8-acb4ea43_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.085491Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 36 sessionId: sid_rand_25|2699af43-29a3c559-a0c3deb8-acb4ea43_0 grpc read failed
2025-11-06T10:05:21.085496Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 36 sessionId: sid_rand_25|2699af43-29a3c559-a0c3deb8-acb4ea43_0 grpc closed
2025-11-06T10:05:21.085501Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 36 sessionId: sid_rand_25|2699af43-29a3c559-a0c3deb8-acb4ea43_0 is DEAD
2025-11-06T10:05:21.085596Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.085607Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 37
2025-11-06T10:05:21.085706Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.085732Z 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-06T10:05:21.085761Z 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]:57470
2025-11-06T10:05:21.085766Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=37 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.085769Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.086101Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 37 sessionId:  describe result for acl check
2025-11-06T10:05:21.086135Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.086142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:21.086144Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.086149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573355:2663] (SourceId=sid_rand_26, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.086702Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573355:2663] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.088315Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573355:2663] (SourceId=sid_rand_26, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:21.088382Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573371:2663] connected; active server actors: 1
2025-11-06T10:05:21.088405Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573355:2663] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_26
2025-11-06T10:05:21.091461Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_26|5754cf44-a937f749-375854d7-2925e26b_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_26
Init result: { 2025-11-06T10:05:21.088409Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573355:2663] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.088460Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573371:2663] disconnected.
2025-11-06T10:05:21.088463Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573371:2663] disconnected; active server actors: 1
2025-11-06T10:05:21.088477Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573371:2663] disconnected no session
2025-11-06T10:05:21.091174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573355:2663] (SourceId=sid_rand_26, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.091179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573355:2663] (SourceId=sid_rand_26, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-06T10:05:21.091182Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573355:2663] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Start idle
status: SUCCESS init_response { session_id: "sid_rand_26|5754cf44-a937f749-375854d7-2925e26b_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.091187Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 37 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-06T10:05:21.091394Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:21.091736Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 37 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_26|5754cf44-a937f749-375854d7-2925e26b_0
2025-11-06T10:05:21.180032Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId: sid_rand_26|5754cf44-a937f749-375854d7-2925e26b_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.180042Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 37 sessionId: sid_rand_26|5754cf44-a937f749-375854d7-2925e26b_0 grpc read failed
2025-11-06T10:05:21.180049Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 37 sessionId: sid_rand_26|5754cf44-a937f749-375854d7-2925e26b_0 grpc closed
2025-11-06T10:05:21.180055Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 37 sessionId: sid_rand_26|5754cf44-a937f749-375854d7-2925e26b_0 is DEAD
2025-11-06T10:05:21.180141Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.180155Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 38
2025-11-06T10:05:21.180332Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.180339Z 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-06T10:05:21.180375Z 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]:57470
2025-11-06T10:05:21.180389Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=38 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.180394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.180821Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 38 sessionId:  describe result for acl check
2025-11-06T10:05:21.180857Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.180864Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:21.180866Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.180872Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573389:2667] (SourceId=sid_rand_27, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.181477Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573389:2667] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.183142Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573389:2667] (SourceId=sid_rand_27, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:21.183204Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573405:2667] connected; active server actors: 1
2025-11-06T10:05:21.183223Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573389:2667] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_27
2025-11-06T10:05:21.183233Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573389:2667] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.183284Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573405:2667] disconnected.
2025-11-06T10:05:21.183292Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573405:2667] disconnected; active server actors: 1
2025-11-06T10:05:21.183295Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573405:2667] disconnected no session
2025-11-06T10:05:21.185834Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573389:2667] (SourceId=sid_rand_27, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.185848Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573389:2667] (SourceId=sid_rand_27, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-06T10:05:21.185852Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573389:2667] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.185859Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 38 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-06T10:05:21.185975Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:21.186024Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_27|35ead71a-61b10766-36bd3259-6f9c9b33_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_27
2025-11-06T10:05:21.186160Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 38 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_27|35ead71a-61b10766-36bd3259-6f9c9b33_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_27|35ead71a-61b10766-36bd3259-6f9c9b33_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.186635Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId: sid_rand_27|35ead71a-61b10766-36bd3259-6f9c9b33_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.186640Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 38 sessionId: sid_rand_27|35ead71a-61b10766-36bd3259-6f9c9b33_0 grpc read failed
2025-11-06T10:05:21.186645Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 38 sessionId: sid_rand_27|35ead71a-61b10766-36bd3259-6f9c9b33_0 grpc closed
2025-11-06T10:05:21.186649Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 38 sessionId: sid_rand_27|35ead71a-61b10766-36bd3259-6f9c9b33_0 is DEAD
2025-11-06T10:05:21.186789Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.186798Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 39
2025-11-06T10:05:21.186832Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.186903Z 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-06T10:05:21.186927Z 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]:57470
2025-11-06T10:05:21.186932Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=39 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.186935Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.187254Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 39 sessionId:  describe result for acl check
2025-11-06T10:05:21.187283Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.187291Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
Init result: { 2025-11-06T10:05:21.187294Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.187297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573424:2671] (SourceId=sid_rand_28, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.187809Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573424:2671] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.189601Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573424:2671] (SourceId=sid_rand_28, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:21.189648Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573440:2671] connected; active server actors: 1
2025-11-06T10:05:21.189664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573424:2671] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_28
2025-11-06T10:05:21.189670Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573424:2671] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.189721Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573440:2671] disconnected.
2025-11-06T10:05:21.189725Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573440:2671] disconnected; active server actors: 1
status: SUCCESS init_response { session_id: "sid_rand_28|43c93ab9-ae36583a-5ca72470-8ca1019a_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.189727Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573440:2671] disconnected no session
2025-11-06T10:05:21.192025Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573424:2671] (SourceId=sid_rand_28, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.192030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573424:2671] (SourceId=sid_rand_28, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-06T10:05:21.192033Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573424:2671] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.192038Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 39 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-06T10:05:21.192141Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:21.192174Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_28|43c93ab9-ae36583a-5ca72470-8ca1019a_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_28
2025-11-06T10:05:21.192324Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 39 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_28|43c93ab9-ae36583a-5ca72470-8ca1019a_0
2025-11-06T10:05:21.281161Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId: sid_rand_28|43c93ab9-ae36583a-5ca72470-8ca1019a_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.281171Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 39 sessionId: sid_rand_28|43c93ab9-ae36583a-5ca72470-8ca1019a_0 grpc read failed
2025-11-06T10:05:21.281179Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 39 sessionId: sid_rand_28|43c93ab9-ae36583a-5ca72470-8ca1019a_0 grpc closed
2025-11-06T10:05:21.281185Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 39 sessionId: sid_rand_28|43c93ab9-ae36583a-5ca72470-8ca1019a_0 is DEAD
2025-11-06T10:05:21.281243Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.281258Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 40
2025-11-06T10:05:21.281424Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.281427Z 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-06T10:05:21.281456Z 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]:57470
2025-11-06T10:05:21.281469Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=40 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.281477Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.281905Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 40 sessionId:  describe result for acl check
2025-11-06T10:05:21.281944Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.281952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:21.281954Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.281960Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573468:2677] (SourceId=sid_rand_29, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.282583Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573468:2677] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.284509Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573468:2677] (SourceId=sid_rand_29, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:21.284581Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573487:2677] connected; active server actors: 1
2025-11-06T10:05:21.284604Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573468:2677] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_29
2025-11-06T10:05:21.284616Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573468:2677] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.284670Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573487:2677] disconnected.
2025-11-06T10:05:21.284678Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573487:2677] disconnected; active server actors: 1
2025-11-06T10:05:21.284681Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573487:2677] disconnected no session
2025-11-06T10:05:21.287213Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573468:2677] (SourceId=sid_rand_29, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.287226Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573468:2677] (SourceId=sid_rand_29, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-06T10:05:21.287230Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573468:2677] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.287237Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 40 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-06T10:05:21.287458Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:21.287538Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_29|a1bde31a-b52847c3-e0ec596e-416817de_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_29
2025-11-06T10:05:21.287821Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 40 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_29|a1bde31a-b52847c3-e0ec596e-416817de_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_29|a1bde31a-b52847c3-e0ec596e-416817de_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.288430Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId: sid_rand_29|a1bde31a-b52847c3-e0ec596e-416817de_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.288438Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 40 sessionId: sid_rand_29|a1bde31a-b52847c3-e0ec596e-416817de_0 grpc read failed
2025-11-06T10:05:21.288444Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 40 sessionId: sid_rand_29|a1bde31a-b52847c3-e0ec596e-416817de_0 grpc closed
2025-11-06T10:05:21.288448Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 40 sessionId: sid_rand_29|a1bde31a-b52847c3-e0ec596e-416817de_0 is DEAD
2025-11-06T10:05:21.288569Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.288577Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 41
2025-11-06T10:05:21.288688Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.288702Z 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-06T10:05:21.288729Z 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]:57470
2025-11-06T10:05:21.288739Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=41 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.288743Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.289073Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 41 sessionId:  describe result for acl check
2025-11-06T10:05:21.289099Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.289105Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
Init result: { 2025-11-06T10:05:21.289107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.289111Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573505:2681] (SourceId=sid_rand_30, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.289516Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573505:2681] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.290853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573505:2681] (SourceId=sid_rand_30, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:21.290889Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573521:2681] connected; active server actors: 1
2025-11-06T10:05:21.290898Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573505:2681] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_30
2025-11-06T10:05:21.290901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573505:2681] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.290930Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573521:2681] disconnected.
2025-11-06T10:05:21.290932Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573521:2681] disconnected; active server actors: 1
2025-11-06T10:05:21.290934Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573521:2681] disconnected no session
status: SUCCESS init_response { session_id: "sid_rand_30|fdc991c-27ac17a0-5067b6f3-f82eb9d4_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.293211Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573505:2681] (SourceId=sid_rand_30, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.293217Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573505:2681] (SourceId=sid_rand_30, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-06T10:05:21.293220Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573505:2681] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.293227Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 41 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-06T10:05:21.293324Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:21.293347Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_30|fdc991c-27ac17a0-5067b6f3-f82eb9d4_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_30
2025-11-06T10:05:21.293456Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 41 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_30|fdc991c-27ac17a0-5067b6f3-f82eb9d4_0
2025-11-06T10:05:21.382270Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId: sid_rand_30|fdc991c-27ac17a0-5067b6f3-f82eb9d4_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.382280Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 41 sessionId: sid_rand_30|fdc991c-27ac17a0-5067b6f3-f82eb9d4_0 grpc read failed
2025-11-06T10:05:21.382288Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 41 sessionId: sid_rand_30|fdc991c-27ac17a0-5067b6f3-f82eb9d4_0 grpc closed
2025-11-06T10:05:21.382295Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 41 sessionId: sid_rand_30|fdc991c-27ac17a0-5067b6f3-f82eb9d4_0 is DEAD
2025-11-06T10:05:21.382390Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.382406Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 42
2025-11-06T10:05:21.382568Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.382593Z 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-06T10:05:21.382624Z 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]:57470
2025-11-06T10:05:21.382633Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=42 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.382638Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.383023Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 42 sessionId:  describe result for acl check
2025-11-06T10:05:21.383048Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.383054Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:21.383056Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.383062Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573543:2685] (SourceId=sid_rand_31, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.383557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573543:2685] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.385818Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573543:2685] (SourceId=sid_rand_31, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:21.385885Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573559:2685] connected; active server actors: 1
2025-11-06T10:05:21.385903Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573543:2685] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_31
2025-11-06T10:05:21.385914Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573543:2685] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.385955Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573559:2685] disconnected.
2025-11-06T10:05:21.385962Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573559:2685] disconnected; active server actors: 1
2025-11-06T10:05:21.385964Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573559:2685] disconnected no session
2025-11-06T10:05:21.388814Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573543:2685] (SourceId=sid_rand_31, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.388826Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573543:2685] (SourceId=sid_rand_31, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-06T10:05:21.388829Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573543:2685] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.388835Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 42 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-06T10:05:21.389055Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:21.389164Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_31|92ad4e52-917f8d52-b1aef84e-a6657cf7_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_31
2025-11-06T10:05:21.389469Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 42 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_31|92ad4e52-917f8d52-b1aef84e-a6657cf7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_31|92ad4e52-917f8d52-b1aef84e-a6657cf7_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.390156Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId: sid_rand_31|92ad4e52-917f8d52-b1aef84e-a6657cf7_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.390163Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 42 sessionId: sid_rand_31|92ad4e52-917f8d52-b1aef84e-a6657cf7_0 grpc read failed
2025-11-06T10:05:21.390168Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 42 sessionId: sid_rand_31|92ad4e52-917f8d52-b1aef84e-a6657cf7_0 grpc closed
2025-11-06T10:05:21.390172Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 42 sessionId: sid_rand_31|92ad4e52-917f8d52-b1aef84e-a6657cf7_0 is DEAD
2025-11-06T10:05:21.390275Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.390286Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 43
2025-11-06T10:05:21.390371Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.390394Z 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-06T10:05:21.390422Z 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]:57470
2025-11-06T10:05:21.390432Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=43 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.390435Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.390916Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 43 sessionId:  describe result for acl check
2025-11-06T10:05:21.390952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.390954Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:21.395997Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_32|11010277-f6517304-be160b42-c2185102_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_32
Init result: { 2025-11-06T10:05:21.390956Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.390961Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573577:2689] (SourceId=sid_rand_32, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.391483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573577:2689] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.393073Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573577:2689] (SourceId=sid_rand_32, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:21.393121Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573593:2689] connected; active server actors: 1
2025-11-06T10:05:21.393133Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573577:2689] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_32
2025-11-06T10:05:21.393136Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573577:2689] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Update the table
status: SUCCESS init_response { session_id: "sid_rand_32|11010277-f6517304-be160b42-c2185102_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.393183Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573593:2689] disconnected.
2025-11-06T10:05:21.393186Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573593:2689] disconnected; active server actors: 1
2025-11-06T10:05:21.393188Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573593:2689] disconnected no session
2025-11-06T10:05:21.395696Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573577:2689] (SourceId=sid_rand_32, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.395701Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573577:2689] (SourceId=sid_rand_32, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-06T10:05:21.395704Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573577:2689] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.395709Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 43 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-06T10:05:21.395898Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:21.396340Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 43 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_32|11010277-f6517304-be160b42-c2185102_0
2025-11-06T10:05:21.483421Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId: sid_rand_32|11010277-f6517304-be160b42-c2185102_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.483434Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 43 sessionId: sid_rand_32|11010277-f6517304-be160b42-c2185102_0 grpc read failed
2025-11-06T10:05:21.483442Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 43 sessionId: sid_rand_32|11010277-f6517304-be160b42-c2185102_0 grpc closed
2025-11-06T10:05:21.483449Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 43 sessionId: sid_rand_32|11010277-f6517304-be160b42-c2185102_0 is DEAD
2025-11-06T10:05:21.483575Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.483590Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 44
2025-11-06T10:05:21.483700Z 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-06T10:05:21.483722Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.483733Z 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]:57470
2025-11-06T10:05:21.483739Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=44 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.483748Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.484187Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 44 sessionId:  describe result for acl check
2025-11-06T10:05:21.484227Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.484233Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:21.484236Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.484242Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573613:2693] (SourceId=sid_rand_33, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.484851Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573613:2693] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.486811Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573613:2693] (SourceId=sid_rand_33, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:21.486870Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573632:2693] connected; active server actors: 1
2025-11-06T10:05:21.486889Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573613:2693] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_33
2025-11-06T10:05:21.486900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573613:2693] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.486952Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573632:2693] disconnected.
2025-11-06T10:05:21.486959Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573632:2693] disconnected; active server actors: 1
2025-11-06T10:05:21.486962Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573632:2693] disconnected no session
2025-11-06T10:05:21.489442Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573613:2693] (SourceId=sid_rand_33, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.489454Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573613:2693] (SourceId=sid_rand_33, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-06T10:05:21.489457Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573613:2693] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.489462Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 44 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-06T10:05:21.489592Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:21.489635Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_33|7295f68d-e45d59b9-16a59fe8-7c8b28e9_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_33
2025-11-06T10:05:21.489772Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 44 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_33|7295f68d-e45d59b9-16a59fe8-7c8b28e9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_33|7295f68d-e45d59b9-16a59fe8-7c8b28e9_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.490310Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId: sid_rand_33|7295f68d-e45d59b9-16a59fe8-7c8b28e9_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.490319Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 44 sessionId: sid_rand_33|7295f68d-e45d59b9-16a59fe8-7c8b28e9_0 grpc read failed
2025-11-06T10:05:21.490325Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 44 sessionId: sid_rand_33|7295f68d-e45d59b9-16a59fe8-7c8b28e9_0 grpc closed
2025-11-06T10:05:21.490329Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 44 sessionId: sid_rand_33|7295f68d-e45d59b9-16a59fe8-7c8b28e9_0 is DEAD
2025-11-06T10:05:21.490484Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.490497Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 45
2025-11-06T10:05:21.490561Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.490576Z 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-06T10:05:21.490603Z 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]:57470
2025-11-06T10:05:21.490612Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=45 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.490615Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.490964Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 45 sessionId:  describe result for acl check
2025-11-06T10:05:21.490999Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.491005Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:21.496568Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_34|22fcaf2d-edd5404c-71ef4d05-8154c732_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_34
Init result: 2025-11-06T10:05:21.491007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.491011Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573651:2697] (SourceId=sid_rand_34, PreferedPartition=(NULL)) StartKqpSession
{ 2025-11-06T10:05:21.491568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573651:2697] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.493308Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573651:2697] (SourceId=sid_rand_34, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:21.493356Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573667:2697] connected; active server actors: 1
2025-11-06T10:05:21.493367Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573651:2697] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_34
2025-11-06T10:05:21.493370Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573651:2697] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.493403Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573667:2697] disconnected.
2025-11-06T10:05:21.493406Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573667:2697] disconnected; active server actors: 1
2025-11-06T10:05:21.493409Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573667:2697] disconnected no session
2025-11-06T10:05:21.496188Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573651:2697] (SourceId=sid_rand_34, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.496194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573651:2697] (SourceId=sid_rand_34, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-06T10:05:21.496197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573651:2697] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.496202Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 45 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-06T10:05:21.496488Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:21.496888Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 45 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_34|22fcaf2d-edd5404c-71ef4d05-8154c732_0
status: SUCCESS init_response { session_id: "sid_rand_34|22fcaf2d-edd5404c-71ef4d05-8154c732_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.584756Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId: sid_rand_34|22fcaf2d-edd5404c-71ef4d05-8154c732_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.584775Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 45 sessionId: sid_rand_34|22fcaf2d-edd5404c-71ef4d05-8154c732_0 grpc read failed
2025-11-06T10:05:21.584784Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 45 sessionId: sid_rand_34|22fcaf2d-edd5404c-71ef4d05-8154c732_0 grpc closed
2025-11-06T10:05:21.584792Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 45 sessionId: sid_rand_34|22fcaf2d-edd5404c-71ef4d05-8154c732_0 is DEAD
2025-11-06T10:05:21.584873Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.584889Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 46
2025-11-06T10:05:21.585016Z 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-06T10:05:21.585047Z 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]:57470
2025-11-06T10:05:21.585053Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=46 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.585061Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.585145Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.585540Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 46 sessionId:  describe result for acl check
2025-11-06T10:05:21.585589Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.585597Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:21.585599Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.585606Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573688:2702] (SourceId=sid_rand_35, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.586221Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573688:2702] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.588548Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573688:2702] (SourceId=sid_rand_35, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:21.588610Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573704:2702] connected; active server actors: 1
2025-11-06T10:05:21.588627Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573688:2702] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_35
2025-11-06T10:05:21.588639Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573688:2702] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.588682Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573704:2702] disconnected.
2025-11-06T10:05:21.588688Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573704:2702] disconnected; active server actors: 1
2025-11-06T10:05:21.588691Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573704:2702] disconnected no session
2025-11-06T10:05:21.591447Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573688:2702] (SourceId=sid_rand_35, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.591460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573688:2702] (SourceId=sid_rand_35, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-06T10:05:21.591463Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573688:2702] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.591470Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 46 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-06T10:05:21.591585Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:21.591626Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_35|2b7decdf-c204bf36-c4444cb8-5624f2bd_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_35
2025-11-06T10:05:21.591726Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 46 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_35|2b7decdf-c204bf36-c4444cb8-5624f2bd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_35|2b7decdf-c204bf36-c4444cb8-5624f2bd_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.592223Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId: sid_rand_35|2b7decdf-c204bf36-c4444cb8-5624f2bd_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.592229Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 46 sessionId: sid_rand_35|2b7decdf-c204bf36-c4444cb8-5624f2bd_0 grpc read failed
2025-11-06T10:05:21.592259Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 46 sessionId: sid_rand_35|2b7decdf-c204bf36-c4444cb8-5624f2bd_0
2025-11-06T10:05:21.592266Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 46 sessionId: sid_rand_35|2b7decdf-c204bf36-c4444cb8-5624f2bd_0 is DEAD
2025-11-06T10:05:21.592361Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.592420Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.592426Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 47
2025-11-06T10:05:21.592512Z 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-06T10:05:21.592531Z 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]:57470
2025-11-06T10:05:21.592537Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=47 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.592539Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.592917Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 47 sessionId:  describe result for acl check
2025-11-06T10:05:21.598342Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_36|3bb1cca5-48597e7f-873fb44e-af2d17a4_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_36
Init result: { 2025-11-06T10:05:21.592954Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.592956Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:21.592958Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.592963Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573723:2706] (SourceId=sid_rand_36, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.593542Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573723:2706] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.595159Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573723:2706] (SourceId=sid_rand_36, PreferedPartition=(NULL)) RequestPQRB
status: SUCCESS init_response { session_id: "sid_rand_36|3bb1cca5-48597e7f-873fb44e-af2d17a4_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.595204Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573739:2706] connected; active server actors: 1
2025-11-06T10:05:21.595216Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573723:2706] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_36
2025-11-06T10:05:21.595231Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573723:2706] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.595274Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573739:2706] disconnected.
2025-11-06T10:05:21.595276Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573739:2706] disconnected; active server actors: 1
2025-11-06T10:05:21.595278Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573739:2706] disconnected no session
2025-11-06T10:05:21.598052Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573723:2706] (SourceId=sid_rand_36, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.598057Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573723:2706] (SourceId=sid_rand_36, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-06T10:05:21.598059Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573723:2706] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.598064Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 47 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-06T10:05:21.598269Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:21.598606Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 47 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_36|3bb1cca5-48597e7f-873fb44e-af2d17a4_0
2025-11-06T10:05:21.685697Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId: sid_rand_36|3bb1cca5-48597e7f-873fb44e-af2d17a4_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.685722Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 47 sessionId: sid_rand_36|3bb1cca5-48597e7f-873fb44e-af2d17a4_0 grpc read failed
2025-11-06T10:05:21.685731Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 47 sessionId: sid_rand_36|3bb1cca5-48597e7f-873fb44e-af2d17a4_0 grpc closed
2025-11-06T10:05:21.685741Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 47 sessionId: sid_rand_36|3bb1cca5-48597e7f-873fb44e-af2d17a4_0 is DEAD
2025-11-06T10:05:21.685817Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.685832Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 48
2025-11-06T10:05:21.685955Z 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-06T10:05:21.685989Z 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]:57470
2025-11-06T10:05:21.685995Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=48 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.686000Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.686099Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.686473Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 48 sessionId:  describe result for acl check
2025-11-06T10:05:21.686516Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.686523Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:21.686525Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.686532Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573758:2710] (SourceId=sid_rand_37, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.687172Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573758:2710] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.689002Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573758:2710] (SourceId=sid_rand_37, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:21.689070Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573777:2710] connected; active server actors: 1
2025-11-06T10:05:21.689105Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573758:2710] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_37
2025-11-06T10:05:21.689110Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573758:2710] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.689166Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573777:2710] disconnected.
2025-11-06T10:05:21.689174Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573777:2710] disconnected; active server actors: 1
2025-11-06T10:05:21.689177Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573777:2710] disconnected no session
2025-11-06T10:05:21.691688Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573758:2710] (SourceId=sid_rand_37, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.691700Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573758:2710] (SourceId=sid_rand_37, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-06T10:05:21.691702Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573758:2710] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.691708Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 48 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-06T10:05:21.691929Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:21.691997Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_37|bc1f17be-ec2f297f-b3ccd311-6b42a577_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_37
2025-11-06T10:05:21.692303Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 48 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_37|bc1f17be-ec2f297f-b3ccd311-6b42a577_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_37|bc1f17be-ec2f297f-b3ccd311-6b42a577_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.692931Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId: sid_rand_37|bc1f17be-ec2f297f-b3ccd311-6b42a577_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.692941Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 48 sessionId: sid_rand_37|bc1f17be-ec2f297f-b3ccd311-6b42a577_0 grpc read failed
2025-11-06T10:05:21.692947Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 48 sessionId: sid_rand_37|bc1f17be-ec2f297f-b3ccd311-6b42a577_0 grpc closed
2025-11-06T10:05:21.692952Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 48 sessionId: sid_rand_37|bc1f17be-ec2f297f-b3ccd311-6b42a577_0 is DEAD
2025-11-06T10:05:21.693018Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.693029Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 49
2025-11-06T10:05:21.693115Z 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-06T10:05:21.693142Z 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]:57470
2025-11-06T10:05:21.693151Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=49 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.693154Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.693221Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.693567Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 49 sessionId:  describe result for acl check
2025-11-06T10:05:21.693599Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.693606Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:21.693607Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.693613Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573795:2714] (SourceId=sid_rand_38, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.694177Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573795:2714] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.696225Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573795:2714] (SourceId=sid_rand_38, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:21.696302Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573811:2714] connected; active server actors: 1
2025-11-06T10:05:21.696321Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573795:2714] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_38
2025-11-06T10:05:21.699344Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_38|b98ee81a-8f680818-46585796-f523b4cc_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_38
Init result: 2025-11-06T10:05:21.696329Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573795:2714] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.696359Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573811:2714] disconnected.
{ 2025-11-06T10:05:21.696361Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573811:2714] disconnected; active server actors: 1
2025-11-06T10:05:21.696363Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573811:2714] disconnected no session
2025-11-06T10:05:21.699004Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573795:2714] (SourceId=sid_rand_38, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.699012Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573795:2714] (SourceId=sid_rand_38, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-06T10:05:21.699017Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573795:2714] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.699025Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 49 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-06T10:05:21.699269Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:21.699585Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 49 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_38|b98ee81a-8f680818-46585796-f523b4cc_0
status: SUCCESS init_response { session_id: "sid_rand_38|b98ee81a-8f680818-46585796-f523b4cc_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.787669Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId: sid_rand_38|b98ee81a-8f680818-46585796-f523b4cc_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.787688Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 49 sessionId: sid_rand_38|b98ee81a-8f680818-46585796-f523b4cc_0 grpc read failed
2025-11-06T10:05:21.787696Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 49 sessionId: sid_rand_38|b98ee81a-8f680818-46585796-f523b4cc_0 grpc closed
2025-11-06T10:05:21.787703Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 49 sessionId: sid_rand_38|b98ee81a-8f680818-46585796-f523b4cc_0 is DEAD
2025-11-06T10:05:21.787920Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.787935Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 50
2025-11-06T10:05:21.788045Z 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-06T10:05:21.788053Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.788080Z 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]:57470
2025-11-06T10:05:21.788086Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=50 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.788090Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.788487Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 50 sessionId:  describe result for acl check
2025-11-06T10:05:21.788515Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.788517Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:21.788518Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.788523Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573830:2718] (SourceId=sid_rand_39, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.789026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573830:2718] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.791278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573830:2718] (SourceId=sid_rand_39, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:21.791356Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573846:2718] connected; active server actors: 1
2025-11-06T10:05:21.791379Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573830:2718] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_39
2025-11-06T10:05:21.791393Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573830:2718] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.791452Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573846:2718] disconnected.
2025-11-06T10:05:21.791465Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573846:2718] disconnected; active server actors: 1
2025-11-06T10:05:21.791468Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573846:2718] disconnected no session
2025-11-06T10:05:21.794326Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573830:2718] (SourceId=sid_rand_39, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.794339Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573830:2718] (SourceId=sid_rand_39, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-06T10:05:21.794342Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573830:2718] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.794348Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 50 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-06T10:05:21.794571Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:21.794647Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_39|6514ed96-80dbda30-3eece34b-1f741aa4_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_39
2025-11-06T10:05:21.794934Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 50 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_39|6514ed96-80dbda30-3eece34b-1f741aa4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_39|6514ed96-80dbda30-3eece34b-1f741aa4_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.795547Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId: sid_rand_39|6514ed96-80dbda30-3eece34b-1f741aa4_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.795556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 50 sessionId: sid_rand_39|6514ed96-80dbda30-3eece34b-1f741aa4_0 grpc read failed
2025-11-06T10:05:21.795561Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 50 sessionId: sid_rand_39|6514ed96-80dbda30-3eece34b-1f741aa4_0 grpc closed
2025-11-06T10:05:21.795565Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 50 sessionId: sid_rand_39|6514ed96-80dbda30-3eece34b-1f741aa4_0 is DEAD
2025-11-06T10:05:21.795770Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.795783Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 51
2025-11-06T10:05:21.795787Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.795897Z 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-06T10:05:21.795926Z 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]:57470
2025-11-06T10:05:21.795932Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=51 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.801701Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_40|9cb16ba5-176d282-827860-a3f03557_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_40
2025-11-06T10:05:21.795934Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.796349Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 51 sessionId:  describe result for acl check
Init result: { 2025-11-06T10:05:21.796378Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.796380Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:21.796382Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.796387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573864:2722] (SourceId=sid_rand_40, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.796985Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573864:2722] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.798361Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573864:2722] (SourceId=sid_rand_40, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:21.798408Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573880:2722] connected; active server actors: 1
2025-11-06T10:05:21.798417Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573864:2722] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_40
2025-11-06T10:05:21.798420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573864:2722] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.798445Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573880:2722] disconnected.
2025-11-06T10:05:21.798447Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573880:2722] disconnected; active server actors: 1
2025-11-06T10:05:21.798449Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573880:2722] disconnected no session
2025-11-06T10:05:21.801396Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573864:2722] (SourceId=sid_rand_40, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
status: SUCCESS init_response { session_id: "sid_rand_40|9cb16ba5-176d282-827860-a3f03557_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.801402Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573864:2722] (SourceId=sid_rand_40, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-06T10:05:21.801406Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573864:2722] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.801413Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 51 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-06T10:05:21.801624Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:21.801961Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 51 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_40|9cb16ba5-176d282-827860-a3f03557_0
2025-11-06T10:05:21.888616Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId: sid_rand_40|9cb16ba5-176d282-827860-a3f03557_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.888630Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 51 sessionId: sid_rand_40|9cb16ba5-176d282-827860-a3f03557_0 grpc read failed
2025-11-06T10:05:21.888638Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 51 sessionId: sid_rand_40|9cb16ba5-176d282-827860-a3f03557_0 grpc closed
2025-11-06T10:05:21.888645Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 51 sessionId: sid_rand_40|9cb16ba5-176d282-827860-a3f03557_0 is DEAD
2025-11-06T10:05:21.888764Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.888776Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 52
2025-11-06T10:05:21.888886Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.888907Z 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-06T10:05:21.888932Z 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]:57470
2025-11-06T10:05:21.888939Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=52 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.888942Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.889314Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 52 sessionId:  describe result for acl check
2025-11-06T10:05:21.889342Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.889346Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:21.889350Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.889355Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573899:2726] (SourceId=sid_rand_41, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.889909Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573899:2726] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.891999Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573899:2726] (SourceId=sid_rand_41, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:21.892065Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573918:2726] connected; active server actors: 1
2025-11-06T10:05:21.892096Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573899:2726] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_41
2025-11-06T10:05:21.892104Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573899:2726] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.892151Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573918:2726] disconnected.
2025-11-06T10:05:21.892160Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573918:2726] disconnected; active server actors: 1
2025-11-06T10:05:21.892163Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573918:2726] disconnected no session
2025-11-06T10:05:21.894978Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573899:2726] (SourceId=sid_rand_41, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.894994Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573899:2726] (SourceId=sid_rand_41, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-06T10:05:21.894998Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573899:2726] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.895006Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 52 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-06T10:05:21.895217Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:21.895287Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_41|bcb8f079-4e857319-2f84fd1b-de1778c7_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_41
2025-11-06T10:05:21.895503Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 52 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_41|bcb8f079-4e857319-2f84fd1b-de1778c7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_41|bcb8f079-4e857319-2f84fd1b-de1778c7_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.896141Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId: sid_rand_41|bcb8f079-4e857319-2f84fd1b-de1778c7_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.896149Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 52 sessionId: sid_rand_41|bcb8f079-4e857319-2f84fd1b-de1778c7_0 grpc read failed
2025-11-06T10:05:21.896154Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 52 sessionId: sid_rand_41|bcb8f079-4e857319-2f84fd1b-de1778c7_0 grpc closed
2025-11-06T10:05:21.896158Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 52 sessionId: sid_rand_41|bcb8f079-4e857319-2f84fd1b-de1778c7_0 is DEAD
2025-11-06T10:05:21.896229Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.896243Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 53
2025-11-06T10:05:21.896372Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.896410Z 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-06T10:05:21.896433Z 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]:57470
2025-11-06T10:05:21.896440Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=53 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.896443Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.896802Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 53 sessionId:  describe result for acl check
2025-11-06T10:05:21.896836Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.896843Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
Init result: { 2025-11-06T10:05:21.896845Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.896850Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815573936:2730] (SourceId=sid_rand_42, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.897377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815573936:2730] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.898726Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815573936:2730] (SourceId=sid_rand_42, PreferedPartition=(NULL)) RequestPQRB
status: SUCCESS init_response { session_id: "sid_rand_42|561f918b-181a8577-9898c647-85ba97c2_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }2025-11-06T10:05:21.898778Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573952:2730] connected; active server actors: 1
2025-11-06T10:05:21.898788Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815573936:2730] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_42
2025-11-06T10:05:21.898790Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815573936:2730] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.898823Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573952:2730] disconnected.
2025-11-06T10:05:21.898825Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573952:2730] disconnected; active server actors: 1
2025-11-06T10:05:21.898827Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815573952:2730] disconnected no session
2025-11-06T10:05:21.901090Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815573936:2730] (SourceId=sid_rand_42, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.901097Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815573936:2730] (SourceId=sid_rand_42, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-06T10:05:21.901101Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815573936:2730] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.901107Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 53 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-06T10:05:21.901223Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:21.901267Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_42|561f918b-181a8577-9898c647-85ba97c2_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_42
2025-11-06T10:05:21.901388Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 53 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_42|561f918b-181a8577-9898c647-85ba97c2_0
2025-11-06T10:05:21.989696Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId: sid_rand_42|561f918b-181a8577-9898c647-85ba97c2_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.989711Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 53 sessionId: sid_rand_42|561f918b-181a8577-9898c647-85ba97c2_0 grpc read failed
2025-11-06T10:05:21.989721Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 53 sessionId: sid_rand_42|561f918b-181a8577-9898c647-85ba97c2_0 grpc closed
2025-11-06T10:05:21.989728Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 53 sessionId: sid_rand_42|561f918b-181a8577-9898c647-85ba97c2_0 is DEAD
2025-11-06T10:05:21.989890Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.989906Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 54
2025-11-06T10:05:21.989980Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.990033Z 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-06T10:05:21.990066Z 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]:57470
2025-11-06T10:05:21.990077Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=54 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.990081Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.990533Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 54 sessionId:  describe result for acl check
2025-11-06T10:05:21.990572Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.990579Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:21.990582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.990588Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815574003:2744] (SourceId=sid_rand_43, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.991226Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815574003:2744] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:21.993139Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815574003:2744] (SourceId=sid_rand_43, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:21.993207Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815574019:2744] connected; active server actors: 1
2025-11-06T10:05:21.993228Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815574003:2744] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_43
2025-11-06T10:05:21.993240Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815574003:2744] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:21.993294Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815574019:2744] disconnected.
2025-11-06T10:05:21.993302Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815574019:2744] disconnected; active server actors: 1
2025-11-06T10:05:21.993305Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815574019:2744] disconnected no session
2025-11-06T10:05:21.995989Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815574003:2744] (SourceId=sid_rand_43, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:21.996001Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815574003:2744] (SourceId=sid_rand_43, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-06T10:05:21.996006Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815574003:2744] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:21.996013Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 54 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-06T10:05:21.996218Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:21.996304Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_43|6972c415-6a8d86af-959b521d-36663eb2_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_43
2025-11-06T10:05:21.996561Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 54 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_43|6972c415-6a8d86af-959b521d-36663eb2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_43|6972c415-6a8d86af-959b521d-36663eb2_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:21.997130Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId: sid_rand_43|6972c415-6a8d86af-959b521d-36663eb2_0 grpc read done: success: 0 data: 
2025-11-06T10:05:21.997138Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 54 sessionId: sid_rand_43|6972c415-6a8d86af-959b521d-36663eb2_0 grpc read failed
2025-11-06T10:05:21.997145Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 54 sessionId: sid_rand_43|6972c415-6a8d86af-959b521d-36663eb2_0 grpc closed
2025-11-06T10:05:21.997149Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 54 sessionId: sid_rand_43|6972c415-6a8d86af-959b521d-36663eb2_0 is DEAD
2025-11-06T10:05:21.997294Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:21.997317Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 55
2025-11-06T10:05:21.997375Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:21.997405Z 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-06T10:05:21.997433Z 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]:57470
2025-11-06T10:05:21.997443Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=55 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:21.997446Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:21.997833Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 55 sessionId:  describe result for acl check
2025-11-06T10:05:21.997867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:21.997873Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:21.997875Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:21.997880Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551386815574037:2748] (SourceId=sid_rand_44, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:21.998426Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551386815574037:2748] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.000007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551386815574037:2748] (SourceId=sid_rand_44, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.000063Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815574053:2748] connected; active server actors: 1
2025-11-06T10:05:22.000082Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551386815574037:2748] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_44
2025-11-06T10:05:22.002881Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_44|295ccc8e-662da273-8416ce65-f13ee86e_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_44
Init result: { 2025-11-06T10:05:22.000093Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551386815574037:2748] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.000139Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815574053:2748] disconnected.
2025-11-06T10:05:22.000143Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815574053:2748] disconnected; active server actors: 1
2025-11-06T10:05:22.000145Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551386815574053:2748] disconnected no session
2025-11-06T10:05:22.002600Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551386815574037:2748] (SourceId=sid_rand_44, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.002607Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551386815574037:2748] (SourceId=sid_rand_44, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-06T10:05:22.002610Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551386815574037:2748] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.002616Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 55 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-06T10:05:22.002790Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:22.003151Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 55 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_44|295ccc8e-662da273-8416ce65-f13ee86e_0
status: SUCCESS init_response { session_id: "sid_rand_44|295ccc8e-662da273-8416ce65-f13ee86e_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:22.091531Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId: sid_rand_44|295ccc8e-662da273-8416ce65-f13ee86e_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.091543Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 55 sessionId: sid_rand_44|295ccc8e-662da273-8416ce65-f13ee86e_0 grpc read failed
2025-11-06T10:05:22.091550Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 55 sessionId: sid_rand_44|295ccc8e-662da273-8416ce65-f13ee86e_0 grpc closed
2025-11-06T10:05:22.091556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 55 sessionId: sid_rand_44|295ccc8e-662da273-8416ce65-f13ee86e_0 is DEAD
2025-11-06T10:05:22.091715Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.091730Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 56
2025-11-06T10:05:22.091816Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.091836Z 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-06T10:05:22.091869Z 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]:57470
2025-11-06T10:05:22.091875Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=56 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.091879Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.092311Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 56 sessionId:  describe result for acl check
2025-11-06T10:05:22.092347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.092355Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:22.092357Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.092363Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541369:2752] (SourceId=sid_rand_45, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.093017Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541369:2752] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.094904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541369:2752] (SourceId=sid_rand_45, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.094973Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541388:2752] connected; active server actors: 1
2025-11-06T10:05:22.094991Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541369:2752] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_45
2025-11-06T10:05:22.095004Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541369:2752] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.095059Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541388:2752] disconnected.
2025-11-06T10:05:22.095067Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541388:2752] disconnected; active server actors: 1
2025-11-06T10:05:22.095070Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541388:2752] disconnected no session
2025-11-06T10:05:22.097748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541369:2752] (SourceId=sid_rand_45, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.097762Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541369:2752] (SourceId=sid_rand_45, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-06T10:05:22.097765Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541369:2752] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.097774Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 56 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-06T10:05:22.097988Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:22.098064Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_45|9f8404b6-9cadddd3-c3b1a658-b28cd3c9_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_45
2025-11-06T10:05:22.098308Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 56 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_45|9f8404b6-9cadddd3-c3b1a658-b28cd3c9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_45|9f8404b6-9cadddd3-c3b1a658-b28cd3c9_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:22.098790Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId: sid_rand_45|9f8404b6-9cadddd3-c3b1a658-b28cd3c9_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.098798Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 56 sessionId: sid_rand_45|9f8404b6-9cadddd3-c3b1a658-b28cd3c9_0 grpc read failed
2025-11-06T10:05:22.098803Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 56 sessionId: sid_rand_45|9f8404b6-9cadddd3-c3b1a658-b28cd3c9_0 grpc closed
2025-11-06T10:05:22.098806Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 56 sessionId: sid_rand_45|9f8404b6-9cadddd3-c3b1a658-b28cd3c9_0 is DEAD
2025-11-06T10:05:22.098959Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.098972Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 57
2025-11-06T10:05:22.098980Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.099075Z 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-06T10:05:22.099094Z 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]:57470
2025-11-06T10:05:22.099100Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=57 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.104727Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_46|4e2c7d8c-9278316f-d915a884-9bd63755_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_46
Init result: { 2025-11-06T10:05:22.099102Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.099419Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 57 sessionId:  describe result for acl check
2025-11-06T10:05:22.099445Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.099447Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
status: SUCCESS init_response { session_id: "sid_rand_46|4e2c7d8c-9278316f-d915a884-9bd63755_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:22.099449Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.099453Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541406:2756] (SourceId=sid_rand_46, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.100022Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541406:2756] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.101459Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541406:2756] (SourceId=sid_rand_46, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.101506Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541422:2756] connected; active server actors: 1
2025-11-06T10:05:22.101523Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541406:2756] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_46
2025-11-06T10:05:22.101528Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541406:2756] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.101605Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541422:2756] disconnected.
2025-11-06T10:05:22.101608Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541422:2756] disconnected; active server actors: 1
2025-11-06T10:05:22.101611Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541422:2756] disconnected no session
2025-11-06T10:05:22.104395Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541406:2756] (SourceId=sid_rand_46, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.104403Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541406:2756] (SourceId=sid_rand_46, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-06T10:05:22.104407Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541406:2756] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.104415Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 57 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-06T10:05:22.104630Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:22.105062Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 57 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_46|4e2c7d8c-9278316f-d915a884-9bd63755_0
2025-11-06T10:05:22.192352Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId: sid_rand_46|4e2c7d8c-9278316f-d915a884-9bd63755_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.192366Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 57 sessionId: sid_rand_46|4e2c7d8c-9278316f-d915a884-9bd63755_0 grpc read failed
2025-11-06T10:05:22.192380Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 57 sessionId: sid_rand_46|4e2c7d8c-9278316f-d915a884-9bd63755_0 grpc closed
2025-11-06T10:05:22.192388Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 57 sessionId: sid_rand_46|4e2c7d8c-9278316f-d915a884-9bd63755_0 is DEAD
2025-11-06T10:05:22.192505Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.192521Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 58
2025-11-06T10:05:22.192620Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.192647Z 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-06T10:05:22.192676Z 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]:57470
2025-11-06T10:05:22.192688Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=58 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.192692Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.193161Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 58 sessionId:  describe result for acl check
2025-11-06T10:05:22.193204Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.193212Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:22.193215Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.193222Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541440:2760] (SourceId=sid_rand_47, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.193909Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541440:2760] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.195843Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541440:2760] (SourceId=sid_rand_47, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.195899Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541456:2760] connected; active server actors: 1
2025-11-06T10:05:22.195918Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541440:2760] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_47
2025-11-06T10:05:22.195923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541440:2760] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.195977Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541456:2760] disconnected.
2025-11-06T10:05:22.195987Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541456:2760] disconnected; active server actors: 1
2025-11-06T10:05:22.195990Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541456:2760] disconnected no session
2025-11-06T10:05:22.198552Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541440:2760] (SourceId=sid_rand_47, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.198562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541440:2760] (SourceId=sid_rand_47, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-06T10:05:22.198565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541440:2760] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.198571Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 58 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-06T10:05:22.198741Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:22.198810Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_47|9a908675-7fb2c630-64d44d61-7f558186_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_47
2025-11-06T10:05:22.198995Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 58 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_47|9a908675-7fb2c630-64d44d61-7f558186_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_47|9a908675-7fb2c630-64d44d61-7f558186_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:22.199523Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId: sid_rand_47|9a908675-7fb2c630-64d44d61-7f558186_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.199530Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 58 sessionId: sid_rand_47|9a908675-7fb2c630-64d44d61-7f558186_0 grpc read failed
2025-11-06T10:05:22.199535Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 58 sessionId: sid_rand_47|9a908675-7fb2c630-64d44d61-7f558186_0 grpc closed
2025-11-06T10:05:22.199539Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 58 sessionId: sid_rand_47|9a908675-7fb2c630-64d44d61-7f558186_0 is DEAD
2025-11-06T10:05:22.199642Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.199655Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 59
2025-11-06T10:05:22.199702Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.199734Z 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-06T10:05:22.199755Z 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]:57470
2025-11-06T10:05:22.199760Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=59 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.199763Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.200096Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 59 sessionId:  describe result for acl check
2025-11-06T10:05:22.200130Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.200138Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:22.204834Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_48|d51596ee-7a956e77-af935b48-1a3617aa_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_48
Init result: 2025-11-06T10:05:22.200140Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.200144Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541474:2764] (SourceId=sid_rand_48, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.200700Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541474:2764] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.202322Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541474:2764] (SourceId=sid_rand_48, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.202376Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541490:2764] connected; active server actors: 1
2025-11-06T10:05:22.202387Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541474:2764] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_48
2025-11-06T10:05:22.202390Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541474:2764] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.202416Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541490:2764] disconnected.
2025-11-06T10:05:22.202418Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541490:2764] disconnected; active server actors: 1
2025-11-06T10:05:22.202419Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541490:2764] disconnected no session
2025-11-06T10:05:22.204615Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541474:2764] (SourceId=sid_rand_48, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.204620Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541474:2764] (SourceId=sid_rand_48, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-06T10:05:22.204623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541474:2764] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Start idle
status: SUCCESS init_response { session_id: "sid_rand_48|d51596ee-7a956e77-af935b48-1a3617aa_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP }2025-11-06T10:05:22.204629Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 59 sessionId:  partition: 14 expectedGeneration: (NULL)
 }2025-11-06T10:05:22.204779Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:22.205007Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 59 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_48|d51596ee-7a956e77-af935b48-1a3617aa_0
2025-11-06T10:05:22.293540Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId: sid_rand_48|d51596ee-7a956e77-af935b48-1a3617aa_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.293564Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 59 sessionId: sid_rand_48|d51596ee-7a956e77-af935b48-1a3617aa_0 grpc read failed
2025-11-06T10:05:22.293573Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 59 sessionId: sid_rand_48|d51596ee-7a956e77-af935b48-1a3617aa_0 grpc closed
2025-11-06T10:05:22.293581Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 59 sessionId: sid_rand_48|d51596ee-7a956e77-af935b48-1a3617aa_0 is DEAD
2025-11-06T10:05:22.293666Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.293686Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 60
2025-11-06T10:05:22.293796Z 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-06T10:05:22.293830Z 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]:57470
2025-11-06T10:05:22.293841Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=60 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.293849Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.293963Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.294298Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 60 sessionId:  describe result for acl check
2025-11-06T10:05:22.294342Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.294351Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:22.294353Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.294360Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541520:2770] (SourceId=sid_rand_49, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.295026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541520:2770] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.296811Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541520:2770] (SourceId=sid_rand_49, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.296883Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541539:2770] connected; active server actors: 1
2025-11-06T10:05:22.296906Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541520:2770] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_49
2025-11-06T10:05:22.296920Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541520:2770] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.296976Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541539:2770] disconnected.
2025-11-06T10:05:22.296985Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541539:2770] disconnected; active server actors: 1
2025-11-06T10:05:22.296988Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541539:2770] disconnected no session
2025-11-06T10:05:22.299343Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541520:2770] (SourceId=sid_rand_49, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.299357Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541520:2770] (SourceId=sid_rand_49, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-06T10:05:22.299361Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541520:2770] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.299368Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 60 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-06T10:05:22.299501Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:22.299550Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_49|ca50211e-b48e78c8-6b3c4d65-efa20702_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_49
2025-11-06T10:05:22.299717Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 60 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_49|ca50211e-b48e78c8-6b3c4d65-efa20702_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_49|ca50211e-b48e78c8-6b3c4d65-efa20702_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:22.300370Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId: sid_rand_49|ca50211e-b48e78c8-6b3c4d65-efa20702_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.300383Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 60 sessionId: sid_rand_49|ca50211e-b48e78c8-6b3c4d65-efa20702_0 grpc read failed
2025-11-06T10:05:22.300389Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 60 sessionId: sid_rand_49|ca50211e-b48e78c8-6b3c4d65-efa20702_0 grpc closed
2025-11-06T10:05:22.300394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 60 sessionId: sid_rand_49|ca50211e-b48e78c8-6b3c4d65-efa20702_0 is DEAD
2025-11-06T10:05:22.300464Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.300477Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 61
2025-11-06T10:05:22.300619Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.300648Z 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-06T10:05:22.300677Z 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]:57470
2025-11-06T10:05:22.300690Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=61 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.300697Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.301093Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 61 sessionId:  describe result for acl check
2025-11-06T10:05:22.301129Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.301139Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
Init result: { 2025-11-06T10:05:22.301141Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.301145Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541558:2774] (SourceId=sid_rand_50, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.301712Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541558:2774] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.303176Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541558:2774] (SourceId=sid_rand_50, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.303223Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541574:2774] connected; active server actors: 1
2025-11-06T10:05:22.303235Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541558:2774] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_50
2025-11-06T10:05:22.303239Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541558:2774] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.303279Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541574:2774] disconnected.
status: SUCCESS init_response { session_id: "sid_rand_50|13d836c0-b2fd08e8-2575c6fe-5e983a37_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:22.303282Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541574:2774] disconnected; active server actors: 1
2025-11-06T10:05:22.303284Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541574:2774] disconnected no session
2025-11-06T10:05:22.305994Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541558:2774] (SourceId=sid_rand_50, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.305999Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541558:2774] (SourceId=sid_rand_50, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-06T10:05:22.306001Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541558:2774] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.306006Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 61 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-06T10:05:22.306118Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:22.306148Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_50|13d836c0-b2fd08e8-2575c6fe-5e983a37_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_50
2025-11-06T10:05:22.306245Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 61 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_50|13d836c0-b2fd08e8-2575c6fe-5e983a37_0
2025-11-06T10:05:22.394635Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId: sid_rand_50|13d836c0-b2fd08e8-2575c6fe-5e983a37_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.394653Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 61 sessionId: sid_rand_50|13d836c0-b2fd08e8-2575c6fe-5e983a37_0 grpc read failed
2025-11-06T10:05:22.394661Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 61 sessionId: sid_rand_50|13d836c0-b2fd08e8-2575c6fe-5e983a37_0 grpc closed
2025-11-06T10:05:22.394670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 61 sessionId: sid_rand_50|13d836c0-b2fd08e8-2575c6fe-5e983a37_0 is DEAD
2025-11-06T10:05:22.394742Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.394757Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 62
2025-11-06T10:05:22.394884Z 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-06T10:05:22.394908Z 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]:57470
2025-11-06T10:05:22.394915Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=62 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.394918Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.395024Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.395267Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 62 sessionId:  describe result for acl check
2025-11-06T10:05:22.395295Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.395300Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:22.395302Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.395307Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541593:2778] (SourceId=sid_rand_51, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.395786Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541593:2778] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.397540Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541593:2778] (SourceId=sid_rand_51, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.397629Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541609:2778] connected; active server actors: 1
2025-11-06T10:05:22.397650Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541593:2778] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_51
2025-11-06T10:05:22.397659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541593:2778] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.397720Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541609:2778] disconnected.
2025-11-06T10:05:22.397727Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541609:2778] disconnected; active server actors: 1
2025-11-06T10:05:22.397729Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541609:2778] disconnected no session
2025-11-06T10:05:22.400346Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541593:2778] (SourceId=sid_rand_51, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.400362Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541593:2778] (SourceId=sid_rand_51, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-06T10:05:22.400364Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541593:2778] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.400370Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 62 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-06T10:05:22.400576Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:22.400647Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_51|249b0b9e-1cbbce7a-115f84c5-e04e159c_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_51
2025-11-06T10:05:22.400865Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 62 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_51|249b0b9e-1cbbce7a-115f84c5-e04e159c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_51|249b0b9e-1cbbce7a-115f84c5-e04e159c_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:22.401377Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId: sid_rand_51|249b0b9e-1cbbce7a-115f84c5-e04e159c_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.401383Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 62 sessionId: sid_rand_51|249b0b9e-1cbbce7a-115f84c5-e04e159c_0 grpc read failed
2025-11-06T10:05:22.401387Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 62 sessionId: sid_rand_51|249b0b9e-1cbbce7a-115f84c5-e04e159c_0 grpc closed
2025-11-06T10:05:22.401394Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 62 sessionId: sid_rand_51|249b0b9e-1cbbce7a-115f84c5-e04e159c_0 is DEAD
2025-11-06T10:05:22.401498Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.401728Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.401739Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 63
2025-11-06T10:05:22.401827Z 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-06T10:05:22.401848Z 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]:57470
2025-11-06T10:05:22.401855Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=63 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.401858Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.402211Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 63 sessionId:  describe result for acl check
2025-11-06T10:05:22.402243Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.402249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
Init result: { status: SUCCESS init_response { session_id: "sid_rand_52|cdfb15ac-cc1c746d-280106ad-d166336a_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:22.402250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.402254Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541627:2782] (SourceId=sid_rand_52, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.402669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541627:2782] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.403843Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541627:2782] (SourceId=sid_rand_52, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.403881Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541643:2782] connected; active server actors: 1
2025-11-06T10:05:22.403890Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541627:2782] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_52
2025-11-06T10:05:22.403892Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541627:2782] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.403922Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541643:2782] disconnected.
2025-11-06T10:05:22.403925Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541643:2782] disconnected; active server actors: 1
2025-11-06T10:05:22.403926Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541643:2782] disconnected no session
2025-11-06T10:05:22.406362Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541627:2782] (SourceId=sid_rand_52, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.406366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541627:2782] (SourceId=sid_rand_52, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-06T10:05:22.406369Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541627:2782] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.406373Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 63 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-06T10:05:22.406473Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:22.406510Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_52|cdfb15ac-cc1c746d-280106ad-d166336a_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_52
2025-11-06T10:05:22.406594Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 63 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_52|cdfb15ac-cc1c746d-280106ad-d166336a_0
2025-11-06T10:05:22.495811Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId: sid_rand_52|cdfb15ac-cc1c746d-280106ad-d166336a_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.495828Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 63 sessionId: sid_rand_52|cdfb15ac-cc1c746d-280106ad-d166336a_0 grpc read failed
2025-11-06T10:05:22.495838Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 63 sessionId: sid_rand_52|cdfb15ac-cc1c746d-280106ad-d166336a_0 grpc closed
2025-11-06T10:05:22.495847Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 63 sessionId: sid_rand_52|cdfb15ac-cc1c746d-280106ad-d166336a_0 is DEAD
2025-11-06T10:05:22.495934Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.495947Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 64
2025-11-06T10:05:22.496077Z 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-06T10:05:22.496102Z 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]:57470
2025-11-06T10:05:22.496110Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=64 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.496114Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.496193Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.496501Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 64 sessionId:  describe result for acl check
2025-11-06T10:05:22.496531Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.496537Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:22.496538Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.496542Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541664:2786] (SourceId=sid_rand_53, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.497030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541664:2786] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.498775Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541664:2786] (SourceId=sid_rand_53, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.498827Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541683:2786] connected; active server actors: 1
2025-11-06T10:05:22.498845Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541664:2786] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_53
2025-11-06T10:05:22.498855Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541664:2786] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.498891Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541683:2786] disconnected.
2025-11-06T10:05:22.498898Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541683:2786] disconnected; active server actors: 1
2025-11-06T10:05:22.498900Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541683:2786] disconnected no session
2025-11-06T10:05:22.501235Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541664:2786] (SourceId=sid_rand_53, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.501247Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541664:2786] (SourceId=sid_rand_53, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-06T10:05:22.501250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541664:2786] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.501256Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 64 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-06T10:05:22.501476Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:22.501549Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_53|c4b5d4cc-f244117a-162da5d6-6d4c2a6a_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_53
2025-11-06T10:05:22.501784Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 64 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_53|c4b5d4cc-f244117a-162da5d6-6d4c2a6a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_53|c4b5d4cc-f244117a-162da5d6-6d4c2a6a_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:22.502302Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId: sid_rand_53|c4b5d4cc-f244117a-162da5d6-6d4c2a6a_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.502309Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 64 sessionId: sid_rand_53|c4b5d4cc-f244117a-162da5d6-6d4c2a6a_0 grpc read failed
2025-11-06T10:05:22.502314Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 64 sessionId: sid_rand_53|c4b5d4cc-f244117a-162da5d6-6d4c2a6a_0 grpc closed
2025-11-06T10:05:22.502319Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 64 sessionId: sid_rand_53|c4b5d4cc-f244117a-162da5d6-6d4c2a6a_0 is DEAD
2025-11-06T10:05:22.502421Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.502431Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 65
2025-11-06T10:05:22.502540Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.502587Z 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-06T10:05:22.502610Z 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]:57470
2025-11-06T10:05:22.502617Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=65 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.502619Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.502895Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 65 sessionId:  describe result for acl check
2025-11-06T10:05:22.502919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.502920Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:22.507567Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_54|8991829f-4a1ad6-67e0430e-b74a539e_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_54
Init result: { 2025-11-06T10:05:22.502922Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.502924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541701:2790] (SourceId=sid_rand_54, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.503319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541701:2790] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.504864Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541701:2790] (SourceId=sid_rand_54, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.504922Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541717:2790] connected; active server actors: 1
2025-11-06T10:05:22.504932Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541701:2790] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_54
2025-11-06T10:05:22.504935Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541701:2790] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.504982Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541717:2790] disconnected.
2025-11-06T10:05:22.504984Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541717:2790] disconnected; active server actors: 1
2025-11-06T10:05:22.504985Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541717:2790] disconnected no session
2025-11-06T10:05:22.507326Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541701:2790] (SourceId=sid_rand_54, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
status: SUCCESS init_response { session_id: "sid_rand_54|8991829f-4a1ad6-67e0430e-b74a539e_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:22.507332Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541701:2790] (SourceId=sid_rand_54, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-06T10:05:22.507334Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541701:2790] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.507339Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 65 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-06T10:05:22.507497Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:22.507757Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 65 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_54|8991829f-4a1ad6-67e0430e-b74a539e_0
2025-11-06T10:05:22.596856Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId: sid_rand_54|8991829f-4a1ad6-67e0430e-b74a539e_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.596870Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 65 sessionId: sid_rand_54|8991829f-4a1ad6-67e0430e-b74a539e_0 grpc read failed
2025-11-06T10:05:22.596880Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 65 sessionId: sid_rand_54|8991829f-4a1ad6-67e0430e-b74a539e_0 grpc closed
2025-11-06T10:05:22.596887Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 65 sessionId: sid_rand_54|8991829f-4a1ad6-67e0430e-b74a539e_0 is DEAD
2025-11-06T10:05:22.596979Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.596994Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 66
2025-11-06T10:05:22.597130Z 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-06T10:05:22.597156Z 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]:57470
2025-11-06T10:05:22.597165Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=66 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.597176Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.597301Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.597534Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 66 sessionId:  describe result for acl check
2025-11-06T10:05:22.597573Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.597578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:22.597580Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.597588Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541738:2795] (SourceId=sid_rand_55, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.598072Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541738:2795] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.599923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541738:2795] (SourceId=sid_rand_55, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.599998Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541754:2795] connected; active server actors: 1
2025-11-06T10:05:22.600022Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541738:2795] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_55
2025-11-06T10:05:22.600026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541738:2795] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.600100Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541754:2795] disconnected.
2025-11-06T10:05:22.600109Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541754:2795] disconnected; active server actors: 1
2025-11-06T10:05:22.600111Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541754:2795] disconnected no session
2025-11-06T10:05:22.602579Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541738:2795] (SourceId=sid_rand_55, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.602596Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541738:2795] (SourceId=sid_rand_55, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-06T10:05:22.602600Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541738:2795] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.602609Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 66 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-06T10:05:22.602746Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:22.602793Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_55|452d1b2c-f9dedcd7-1f3a0fbe-eeda3ce5_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_55
2025-11-06T10:05:22.602932Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 66 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_55|452d1b2c-f9dedcd7-1f3a0fbe-eeda3ce5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_55|452d1b2c-f9dedcd7-1f3a0fbe-eeda3ce5_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:22.603520Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId: sid_rand_55|452d1b2c-f9dedcd7-1f3a0fbe-eeda3ce5_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.603527Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 66 sessionId: sid_rand_55|452d1b2c-f9dedcd7-1f3a0fbe-eeda3ce5_0 grpc read failed
2025-11-06T10:05:22.603610Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 66 sessionId: sid_rand_55|452d1b2c-f9dedcd7-1f3a0fbe-eeda3ce5_0
2025-11-06T10:05:22.603623Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 66 sessionId: sid_rand_55|452d1b2c-f9dedcd7-1f3a0fbe-eeda3ce5_0 is DEAD
2025-11-06T10:05:22.603716Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.603780Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.603787Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 67
2025-11-06T10:05:22.603900Z 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-06T10:05:22.603925Z 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]:57470
2025-11-06T10:05:22.603936Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=67 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.603939Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.604315Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 67 sessionId:  describe result for acl check
2025-11-06T10:05:22.604345Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.604350Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:22.604352Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.604356Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541773:2799] (SourceId=sid_rand_56, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.604941Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541773:2799] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.606103Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541773:2799] (SourceId=sid_rand_56, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.606149Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541789:2799] connected; active server actors: 1
2025-11-06T10:05:22.606175Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541773:2799] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_56
2025-11-06T10:05:22.606184Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541773:2799] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.606224Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541789:2799] disconnected.
2025-11-06T10:05:22.606232Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541789:2799] disconnected; active server actors: 1
2025-11-06T10:05:22.606235Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541789:2799] disconnected no session
2025-11-06T10:05:22.608666Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541773:2799] (SourceId=sid_rand_56, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.608677Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541773:2799] (SourceId=sid_rand_56, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-06T10:05:22.608680Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541773:2799] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.608972Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_56|10345640-eb1030f7-5eec1aa4-803d14c4_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_56
Init result: { 2025-11-06T10:05:22.608685Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 67 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-06T10:05:22.608879Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:22.609255Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 67 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_56|10345640-eb1030f7-5eec1aa4-803d14c4_0
status: SUCCESS init_response { session_id: "sid_rand_56|10345640-eb1030f7-5eec1aa4-803d14c4_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:22.701219Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId: sid_rand_56|10345640-eb1030f7-5eec1aa4-803d14c4_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.701233Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 67 sessionId: sid_rand_56|10345640-eb1030f7-5eec1aa4-803d14c4_0 grpc read failed
2025-11-06T10:05:22.701243Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 67 sessionId: sid_rand_56|10345640-eb1030f7-5eec1aa4-803d14c4_0 grpc closed
2025-11-06T10:05:22.701251Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 67 sessionId: sid_rand_56|10345640-eb1030f7-5eec1aa4-803d14c4_0 is DEAD
2025-11-06T10:05:22.701372Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.701386Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 68
2025-11-06T10:05:22.701551Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.701575Z 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-06T10:05:22.701610Z 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]:57470
2025-11-06T10:05:22.701621Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=68 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.701625Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.702130Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 68 sessionId:  describe result for acl check
2025-11-06T10:05:22.702166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.702173Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:22.702175Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.702181Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541808:2803] (SourceId=sid_rand_57, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.702789Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541808:2803] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.705097Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541808:2803] (SourceId=sid_rand_57, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.705186Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541827:2803] connected; active server actors: 1
2025-11-06T10:05:22.705204Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541808:2803] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_57
2025-11-06T10:05:22.705208Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541808:2803] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.705262Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541827:2803] disconnected.
2025-11-06T10:05:22.705269Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541827:2803] disconnected; active server actors: 1
2025-11-06T10:05:22.705272Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541827:2803] disconnected no session
2025-11-06T10:05:22.708153Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541808:2803] (SourceId=sid_rand_57, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.708167Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541808:2803] (SourceId=sid_rand_57, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-11-06T10:05:22.708170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541808:2803] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.708179Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 68 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-11-06T10:05:22.708421Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:22.708524Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_57|2a73960c-fe920232-3a38b0c5-8f7aa2b2_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_57
2025-11-06T10:05:22.708776Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 68 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_57|2a73960c-fe920232-3a38b0c5-8f7aa2b2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_57|2a73960c-fe920232-3a38b0c5-8f7aa2b2_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:22.709385Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId: sid_rand_57|2a73960c-fe920232-3a38b0c5-8f7aa2b2_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.709395Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 68 sessionId: sid_rand_57|2a73960c-fe920232-3a38b0c5-8f7aa2b2_0 grpc read failed
2025-11-06T10:05:22.709401Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 68 sessionId: sid_rand_57|2a73960c-fe920232-3a38b0c5-8f7aa2b2_0 grpc closed
2025-11-06T10:05:22.709405Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 68 sessionId: sid_rand_57|2a73960c-fe920232-3a38b0c5-8f7aa2b2_0 is DEAD
2025-11-06T10:05:22.709451Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.709463Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 69
2025-11-06T10:05:22.709569Z 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-06T10:05:22.709596Z 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]:57470
2025-11-06T10:05:22.709601Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=69 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.709604Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.709658Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.709941Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 69 sessionId:  describe result for acl check
2025-11-06T10:05:22.709967Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.709969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
Init result: { 2025-11-06T10:05:22.709971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.709975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541845:2807] (SourceId=sid_rand_58, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.710486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541845:2807] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.712439Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541845:2807] (SourceId=sid_rand_58, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.712485Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541861:2807] connected; active server actors: 1
status: SUCCESS init_response { session_id: "sid_rand_58|38d8d96e-e77fa486-6a4e9bb2-1611d91b_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }2025-11-06T10:05:22.712496Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541845:2807] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_58
2025-11-06T10:05:22.712499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541845:2807] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.712540Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541861:2807] disconnected.
2025-11-06T10:05:22.712544Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541861:2807] disconnected; active server actors: 1
2025-11-06T10:05:22.712548Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541861:2807] disconnected no session
2025-11-06T10:05:22.715161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541845:2807] (SourceId=sid_rand_58, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.715167Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541845:2807] (SourceId=sid_rand_58, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-11-06T10:05:22.715170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541845:2807] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.715177Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 69 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-11-06T10:05:22.715290Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:22.715330Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_58|38d8d96e-e77fa486-6a4e9bb2-1611d91b_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_58
2025-11-06T10:05:22.715459Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 69 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_58|38d8d96e-e77fa486-6a4e9bb2-1611d91b_0
2025-11-06T10:05:22.802533Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId: sid_rand_58|38d8d96e-e77fa486-6a4e9bb2-1611d91b_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.802546Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 69 sessionId: sid_rand_58|38d8d96e-e77fa486-6a4e9bb2-1611d91b_0 grpc read failed
2025-11-06T10:05:22.802556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 69 sessionId: sid_rand_58|38d8d96e-e77fa486-6a4e9bb2-1611d91b_0 grpc closed
2025-11-06T10:05:22.802563Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 69 sessionId: sid_rand_58|38d8d96e-e77fa486-6a4e9bb2-1611d91b_0 is DEAD
2025-11-06T10:05:22.802729Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.802742Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 70
2025-11-06T10:05:22.802839Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.802843Z 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-06T10:05:22.802863Z 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]:57470
2025-11-06T10:05:22.802866Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=70 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.802870Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.803229Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 70 sessionId:  describe result for acl check
2025-11-06T10:05:22.803252Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.803256Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:22.803258Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.803265Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541881:2811] (SourceId=sid_rand_59, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.803743Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541881:2811] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.805880Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541881:2811] (SourceId=sid_rand_59, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.805948Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541897:2811] connected; active server actors: 1
2025-11-06T10:05:22.805969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541881:2811] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_59
2025-11-06T10:05:22.805973Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541881:2811] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.806016Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541897:2811] disconnected.
2025-11-06T10:05:22.806024Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541897:2811] disconnected; active server actors: 1
2025-11-06T10:05:22.806027Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541897:2811] disconnected no session
2025-11-06T10:05:22.809004Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541881:2811] (SourceId=sid_rand_59, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.809019Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541881:2811] (SourceId=sid_rand_59, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-11-06T10:05:22.809023Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541881:2811] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.809045Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 70 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-11-06T10:05:22.809263Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:22.809332Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_59|4e20c93-8950aa9c-6eec918-36263c71_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_59
2025-11-06T10:05:22.809546Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 70 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_59|4e20c93-8950aa9c-6eec918-36263c71_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_59|4e20c93-8950aa9c-6eec918-36263c71_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:22.810184Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId: sid_rand_59|4e20c93-8950aa9c-6eec918-36263c71_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.810192Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 70 sessionId: sid_rand_59|4e20c93-8950aa9c-6eec918-36263c71_0 grpc read failed
2025-11-06T10:05:22.810197Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 70 sessionId: sid_rand_59|4e20c93-8950aa9c-6eec918-36263c71_0 grpc closed
2025-11-06T10:05:22.810202Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 70 sessionId: sid_rand_59|4e20c93-8950aa9c-6eec918-36263c71_0 is DEAD
2025-11-06T10:05:22.810327Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.810425Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.810435Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 71
2025-11-06T10:05:22.810536Z 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-06T10:05:22.810570Z 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]:57470
2025-11-06T10:05:22.810579Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=71 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.810583Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.810902Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 71 sessionId:  describe result for acl check
2025-11-06T10:05:22.810929Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.810935Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:22.816766Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_60|7784716f-6a98a541-e3a554ba-a3b1b8a8_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_60
Init result: { 2025-11-06T10:05:22.810936Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.810939Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541915:2815] (SourceId=sid_rand_60, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.811388Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541915:2815] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.813234Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541915:2815] (SourceId=sid_rand_60, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.813285Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541931:2815] connected; active server actors: 1
2025-11-06T10:05:22.813294Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541915:2815] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_60
2025-11-06T10:05:22.813297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541915:2815] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.813340Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541931:2815] disconnected.
2025-11-06T10:05:22.813345Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541931:2815] disconnected; active server actors: 1
2025-11-06T10:05:22.813347Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541931:2815] disconnected no session
status: SUCCESS init_response { session_id: "sid_rand_60|7784716f-6a98a541-e3a554ba-a3b1b8a8_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:22.816160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541915:2815] (SourceId=sid_rand_60, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.816166Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541915:2815] (SourceId=sid_rand_60, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-11-06T10:05:22.816170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541915:2815] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.816176Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 71 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-11-06T10:05:22.816501Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:22.817032Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 71 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_60|7784716f-6a98a541-e3a554ba-a3b1b8a8_0
2025-11-06T10:05:22.903709Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId: sid_rand_60|7784716f-6a98a541-e3a554ba-a3b1b8a8_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.903727Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 71 sessionId: sid_rand_60|7784716f-6a98a541-e3a554ba-a3b1b8a8_0 grpc read failed
2025-11-06T10:05:22.903736Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 71 sessionId: sid_rand_60|7784716f-6a98a541-e3a554ba-a3b1b8a8_0 grpc closed
2025-11-06T10:05:22.903745Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 71 sessionId: sid_rand_60|7784716f-6a98a541-e3a554ba-a3b1b8a8_0 is DEAD
2025-11-06T10:05:22.903818Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.903831Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 72
2025-11-06T10:05:22.903931Z 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-06T10:05:22.903963Z 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]:57470
2025-11-06T10:05:22.903971Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=72 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.903974Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.904036Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.904393Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 72 sessionId:  describe result for acl check
2025-11-06T10:05:22.904422Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.904424Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:22.904426Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.904432Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541950:2819] (SourceId=sid_rand_61, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.905039Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541950:2819] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.907153Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541950:2819] (SourceId=sid_rand_61, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.907217Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541969:2819] connected; active server actors: 1
2025-11-06T10:05:22.907239Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541950:2819] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_61
2025-11-06T10:05:22.907248Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541950:2819] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.907299Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541969:2819] disconnected.
2025-11-06T10:05:22.907308Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541969:2819] disconnected; active server actors: 1
2025-11-06T10:05:22.907310Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110541969:2819] disconnected no session
2025-11-06T10:05:22.909824Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541950:2819] (SourceId=sid_rand_61, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.909845Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541950:2819] (SourceId=sid_rand_61, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-11-06T10:05:22.909850Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541950:2819] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.909859Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 72 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-11-06T10:05:22.909985Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:22.910018Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_61|fcc6c12-560c9fab-ce147203-16b194a_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_61
2025-11-06T10:05:22.910172Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 72 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_61|fcc6c12-560c9fab-ce147203-16b194a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_61|fcc6c12-560c9fab-ce147203-16b194a_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:22.911033Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId: sid_rand_61|fcc6c12-560c9fab-ce147203-16b194a_0 grpc read done: success: 0 data: 
2025-11-06T10:05:22.911044Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 72 sessionId: sid_rand_61|fcc6c12-560c9fab-ce147203-16b194a_0 grpc read failed
2025-11-06T10:05:22.911049Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 72 sessionId: sid_rand_61|fcc6c12-560c9fab-ce147203-16b194a_0 grpc closed
2025-11-06T10:05:22.911053Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 72 sessionId: sid_rand_61|fcc6c12-560c9fab-ce147203-16b194a_0 is DEAD
2025-11-06T10:05:22.911073Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:22.911077Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 73
2025-11-06T10:05:22.911194Z 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-06T10:05:22.911216Z 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]:57470
2025-11-06T10:05:22.911224Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=73 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:22.911226Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:22.911292Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:22.911525Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 73 sessionId:  describe result for acl check
2025-11-06T10:05:22.911552Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:22.911558Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:22.916920Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_62|86fde6b7-c2d40f6f-9be1c694-a9b342a7_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_62
Init result: { 2025-11-06T10:05:22.911559Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:22.911562Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551391110541988:2823] (SourceId=sid_rand_62, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:22.912099Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551391110541988:2823] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:22.913502Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551391110541988:2823] (SourceId=sid_rand_62, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:22.913552Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110542004:2823] connected; active server actors: 1
2025-11-06T10:05:22.913578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551391110541988:2823] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_62
2025-11-06T10:05:22.913582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551391110541988:2823] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:22.913621Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110542004:2823] disconnected.
status: SUCCESS init_response { session_id: "sid_rand_62|86fde6b7-c2d40f6f-9be1c694-a9b342a7_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:22.913624Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110542004:2823] disconnected; active server actors: 1
2025-11-06T10:05:22.913626Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551391110542004:2823] disconnected no session
2025-11-06T10:05:22.916624Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551391110541988:2823] (SourceId=sid_rand_62, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:22.916630Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551391110541988:2823] (SourceId=sid_rand_62, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-11-06T10:05:22.916632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551391110541988:2823] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:22.916637Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 73 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-11-06T10:05:22.916839Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:22.917219Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 73 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_62|86fde6b7-c2d40f6f-9be1c694-a9b342a7_0
2025-11-06T10:05:23.004970Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId: sid_rand_62|86fde6b7-c2d40f6f-9be1c694-a9b342a7_0 grpc read done: success: 0 data: 
2025-11-06T10:05:23.004980Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 73 sessionId: sid_rand_62|86fde6b7-c2d40f6f-9be1c694-a9b342a7_0 grpc read failed
2025-11-06T10:05:23.004987Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 73 sessionId: sid_rand_62|86fde6b7-c2d40f6f-9be1c694-a9b342a7_0 grpc closed
2025-11-06T10:05:23.004994Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 73 sessionId: sid_rand_62|86fde6b7-c2d40f6f-9be1c694-a9b342a7_0 is DEAD
2025-11-06T10:05:23.005329Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:23.005390Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:23.005403Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 74
2025-11-06T10:05:23.005534Z 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-06T10:05:23.005578Z 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]:57470
2025-11-06T10:05:23.005585Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=74 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:23.005588Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:23.005935Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 74 sessionId:  describe result for acl check
2025-11-06T10:05:23.005960Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:23.005965Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:23.005966Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:23.005970Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551395405509348:2837] (SourceId=sid_rand_63, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:23.006489Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551395405509348:2837] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:23.008121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551395405509348:2837] (SourceId=sid_rand_63, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:23.008193Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509365:2837] connected; active server actors: 1
2025-11-06T10:05:23.008214Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551395405509348:2837] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_63
2025-11-06T10:05:23.008218Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551395405509348:2837] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:23.008265Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509365:2837] disconnected.
2025-11-06T10:05:23.008274Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509365:2837] disconnected; active server actors: 1
2025-11-06T10:05:23.008276Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509365:2837] disconnected no session
2025-11-06T10:05:23.010739Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551395405509348:2837] (SourceId=sid_rand_63, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:23.010756Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551395405509348:2837] (SourceId=sid_rand_63, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-11-06T10:05:23.010759Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551395405509348:2837] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:23.010766Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 74 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-11-06T10:05:23.010899Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:23.010931Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_63|3a87ba43-f675cf97-a0cb553f-32aecc94_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_63
2025-11-06T10:05:23.011085Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 74 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_63|3a87ba43-f675cf97-a0cb553f-32aecc94_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_63|3a87ba43-f675cf97-a0cb553f-32aecc94_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:23.011742Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId: sid_rand_63|3a87ba43-f675cf97-a0cb553f-32aecc94_0 grpc read done: success: 0 data: 
2025-11-06T10:05:23.011752Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 74 sessionId: sid_rand_63|3a87ba43-f675cf97-a0cb553f-32aecc94_0 grpc read failed
2025-11-06T10:05:23.011757Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 74 sessionId: sid_rand_63|3a87ba43-f675cf97-a0cb553f-32aecc94_0 grpc closed
2025-11-06T10:05:23.011762Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 74 sessionId: sid_rand_63|3a87ba43-f675cf97-a0cb553f-32aecc94_0 is DEAD
2025-11-06T10:05:23.011861Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:23.011869Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 75
2025-11-06T10:05:23.011998Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:23.012040Z 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-06T10:05:23.012061Z 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]:57470
2025-11-06T10:05:23.012067Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=75 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:23.017204Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_64|56c64ad-64d82fa5-5f8e05c0-73ff13e7_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_64
Init result: 2025-11-06T10:05:23.012069Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
{ 2025-11-06T10:05:23.012410Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 75 sessionId:  describe result for acl check
2025-11-06T10:05:23.012430Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:23.012432Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:23.012433Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:23.012436Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551395405509384:2841] (SourceId=sid_rand_64, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:23.012850Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551395405509384:2841] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:23.014315Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551395405509384:2841] (SourceId=sid_rand_64, PreferedPartition=(NULL)) RequestPQRB
status: SUCCESS init_response { session_id: "sid_rand_64|56c64ad-64d82fa5-5f8e05c0-73ff13e7_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:23.014351Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509400:2841] connected; active server actors: 1
2025-11-06T10:05:23.014361Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551395405509384:2841] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_64
2025-11-06T10:05:23.014364Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551395405509384:2841] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:23.014393Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509400:2841] disconnected.
2025-11-06T10:05:23.014396Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509400:2841] disconnected; active server actors: 1
2025-11-06T10:05:23.014398Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509400:2841] disconnected no session
2025-11-06T10:05:23.016895Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551395405509384:2841] (SourceId=sid_rand_64, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:23.016901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551395405509384:2841] (SourceId=sid_rand_64, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-11-06T10:05:23.016904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551395405509384:2841] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:23.016910Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 75 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-11-06T10:05:23.017123Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 18, Generation: 1
2025-11-06T10:05:23.017467Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 75 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_64|56c64ad-64d82fa5-5f8e05c0-73ff13e7_0
2025-11-06T10:05:23.105918Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId: sid_rand_64|56c64ad-64d82fa5-5f8e05c0-73ff13e7_0 grpc read done: success: 0 data: 
2025-11-06T10:05:23.105939Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 75 sessionId: sid_rand_64|56c64ad-64d82fa5-5f8e05c0-73ff13e7_0 grpc read failed
2025-11-06T10:05:23.105956Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 75 sessionId: sid_rand_64|56c64ad-64d82fa5-5f8e05c0-73ff13e7_0 grpc closed
2025-11-06T10:05:23.105964Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 75 sessionId: sid_rand_64|56c64ad-64d82fa5-5f8e05c0-73ff13e7_0 is DEAD
2025-11-06T10:05:23.106064Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:23.106080Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 76
2025-11-06T10:05:23.106185Z 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-06T10:05:23.106209Z 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]:57470
2025-11-06T10:05:23.106218Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=76 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:23.106222Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:23.106317Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:23.106622Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 76 sessionId:  describe result for acl check
2025-11-06T10:05:23.106663Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:23.106673Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:23.106675Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:23.106681Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551395405509420:2845] (SourceId=sid_rand_65, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:23.107294Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551395405509420:2845] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:23.109647Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551395405509420:2845] (SourceId=sid_rand_65, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:23.109727Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509439:2845] connected; active server actors: 1
2025-11-06T10:05:23.109748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551395405509420:2845] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_65
2025-11-06T10:05:23.109758Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551395405509420:2845] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:23.109817Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509439:2845] disconnected.
2025-11-06T10:05:23.109826Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509439:2845] disconnected; active server actors: 1
2025-11-06T10:05:23.109828Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509439:2845] disconnected no session
2025-11-06T10:05:23.112496Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551395405509420:2845] (SourceId=sid_rand_65, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:23.112509Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551395405509420:2845] (SourceId=sid_rand_65, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-11-06T10:05:23.112513Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551395405509420:2845] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:23.112519Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 76 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-11-06T10:05:23.112771Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:23.112860Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_65|e04f93-d5dce1e3-c9e812ef-5986b535_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_65
2025-11-06T10:05:23.113179Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 76 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_65|e04f93-d5dce1e3-c9e812ef-5986b535_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_65|e04f93-d5dce1e3-c9e812ef-5986b535_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:23.113827Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId: sid_rand_65|e04f93-d5dce1e3-c9e812ef-5986b535_0 grpc read done: success: 0 data: 
2025-11-06T10:05:23.113838Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 76 sessionId: sid_rand_65|e04f93-d5dce1e3-c9e812ef-5986b535_0 grpc read failed
2025-11-06T10:05:23.113844Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 76 sessionId: sid_rand_65|e04f93-d5dce1e3-c9e812ef-5986b535_0 grpc closed
2025-11-06T10:05:23.113849Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 76 sessionId: sid_rand_65|e04f93-d5dce1e3-c9e812ef-5986b535_0 is DEAD
2025-11-06T10:05:23.113937Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:23.113948Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 77
2025-11-06T10:05:23.114077Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:23.114091Z 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-06T10:05:23.114115Z 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]:57470
2025-11-06T10:05:23.114125Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=77 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:23.114128Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:23.114497Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 77 sessionId:  describe result for acl check
2025-11-06T10:05:23.114531Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:23.114536Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:23.114538Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:23.114541Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551395405509457:2849] (SourceId=sid_rand_66, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:23.114994Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551395405509457:2849] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:23.116902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551395405509457:2849] (SourceId=sid_rand_66, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:23.116989Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509473:2849] connected; active server actors: 1
2025-11-06T10:05:23.117020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551395405509457:2849] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_66
2025-11-06T10:05:23.120563Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_66|2e7c77a1-104038d0-7b0dcbf3-30fdfc44_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_66
Init result: { 2025-11-06T10:05:23.117033Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551395405509457:2849] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Update the table
status: SUCCESS init_response { session_id: "sid_rand_66|2e7c77a1-104038d0-7b0dcbf3-30fdfc44_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:23.117094Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509473:2849] disconnected.
2025-11-06T10:05:23.117098Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509473:2849] disconnected; active server actors: 1
2025-11-06T10:05:23.117101Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509473:2849] disconnected no session
2025-11-06T10:05:23.120178Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551395405509457:2849] (SourceId=sid_rand_66, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:23.120184Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551395405509457:2849] (SourceId=sid_rand_66, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-11-06T10:05:23.120188Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551395405509457:2849] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:23.120195Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 77 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-11-06T10:05:23.120468Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:23.120855Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 77 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_66|2e7c77a1-104038d0-7b0dcbf3-30fdfc44_0
2025-11-06T10:05:23.207950Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId: sid_rand_66|2e7c77a1-104038d0-7b0dcbf3-30fdfc44_0 grpc read done: success: 0 data: 
2025-11-06T10:05:23.207976Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 77 sessionId: sid_rand_66|2e7c77a1-104038d0-7b0dcbf3-30fdfc44_0 grpc read failed
2025-11-06T10:05:23.207988Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 77 sessionId: sid_rand_66|2e7c77a1-104038d0-7b0dcbf3-30fdfc44_0 grpc closed
2025-11-06T10:05:23.207998Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 77 sessionId: sid_rand_66|2e7c77a1-104038d0-7b0dcbf3-30fdfc44_0 is DEAD
2025-11-06T10:05:23.208435Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:23.208486Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:23.208496Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 78
2025-11-06T10:05:23.208634Z 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-06T10:05:23.208659Z 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]:57470
2025-11-06T10:05:23.208668Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=78 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:23.208672Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:23.209053Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 78 sessionId:  describe result for acl check
2025-11-06T10:05:23.209085Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:23.209091Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:23.209094Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:23.209100Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551395405509492:2853] (SourceId=sid_rand_67, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:23.209705Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551395405509492:2853] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:23.211902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551395405509492:2853] (SourceId=sid_rand_67, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:23.211978Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509509:2853] connected; active server actors: 1
2025-11-06T10:05:23.211998Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551395405509492:2853] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_67
2025-11-06T10:05:23.212007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551395405509492:2853] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:23.212059Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509509:2853] disconnected.
2025-11-06T10:05:23.212069Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509509:2853] disconnected; active server actors: 1
2025-11-06T10:05:23.212083Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509509:2853] disconnected no session
2025-11-06T10:05:23.215056Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551395405509492:2853] (SourceId=sid_rand_67, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:23.215070Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551395405509492:2853] (SourceId=sid_rand_67, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-11-06T10:05:23.215073Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551395405509492:2853] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:23.215079Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 78 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-11-06T10:05:23.215320Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:23.215411Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_67|811e1df5-436ce077-653bc67c-f5eb7976_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_67
2025-11-06T10:05:23.215692Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 78 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_67|811e1df5-436ce077-653bc67c-f5eb7976_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_67|811e1df5-436ce077-653bc67c-f5eb7976_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:23.216364Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId: sid_rand_67|811e1df5-436ce077-653bc67c-f5eb7976_0 grpc read done: success: 0 data: 
2025-11-06T10:05:23.216373Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 78 sessionId: sid_rand_67|811e1df5-436ce077-653bc67c-f5eb7976_0 grpc read failed
2025-11-06T10:05:23.216379Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 78 sessionId: sid_rand_67|811e1df5-436ce077-653bc67c-f5eb7976_0 grpc closed
2025-11-06T10:05:23.216383Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 78 sessionId: sid_rand_67|811e1df5-436ce077-653bc67c-f5eb7976_0 is DEAD
2025-11-06T10:05:23.216505Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:23.216514Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 79
2025-11-06T10:05:23.216661Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:23.216690Z 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-06T10:05:23.216714Z 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]:57470
2025-11-06T10:05:23.216721Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=79 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:23.221664Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_68|bd5c8136-46b668e-b35c9447-8f87fb81_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_68
Init result: { 2025-11-06T10:05:23.216725Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:23.217099Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 79 sessionId:  describe result for acl check
2025-11-06T10:05:23.217121Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:23.217123Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:23.217125Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:23.217128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551395405509530:2857] (SourceId=sid_rand_68, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:23.217673Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551395405509530:2857] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:23.219059Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551395405509530:2857] (SourceId=sid_rand_68, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:23.219112Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509546:2857] connected; active server actors: 1
2025-11-06T10:05:23.219127Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551395405509530:2857] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_68
2025-11-06T10:05:23.219131Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551395405509530:2857] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:23.219175Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509546:2857] disconnected.
status: SUCCESS init_response { session_id: "sid_rand_68|bd5c8136-46b668e-b35c9447-8f87fb81_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:23.219178Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509546:2857] disconnected; active server actors: 1
2025-11-06T10:05:23.219181Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509546:2857] disconnected no session
2025-11-06T10:05:23.221402Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551395405509530:2857] (SourceId=sid_rand_68, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:23.221406Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551395405509530:2857] (SourceId=sid_rand_68, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-06T10:05:23.221408Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551395405509530:2857] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:23.221413Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 79 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-06T10:05:23.221597Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:23.221858Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 79 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_68|bd5c8136-46b668e-b35c9447-8f87fb81_0
2025-11-06T10:05:23.308922Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId: sid_rand_68|bd5c8136-46b668e-b35c9447-8f87fb81_0 grpc read done: success: 0 data: 
2025-11-06T10:05:23.308934Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 79 sessionId: sid_rand_68|bd5c8136-46b668e-b35c9447-8f87fb81_0 grpc read failed
2025-11-06T10:05:23.308942Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 79 sessionId: sid_rand_68|bd5c8136-46b668e-b35c9447-8f87fb81_0 grpc closed
2025-11-06T10:05:23.308948Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 79 sessionId: sid_rand_68|bd5c8136-46b668e-b35c9447-8f87fb81_0 is DEAD
2025-11-06T10:05:23.309032Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:23.309052Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 80
2025-11-06T10:05:23.309189Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:23.309214Z 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-06T10:05:23.309243Z 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]:57470
2025-11-06T10:05:23.309247Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=80 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:23.309252Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:23.309661Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 80 sessionId:  describe result for acl check
2025-11-06T10:05:23.309691Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:23.309696Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:23.309698Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:23.309702Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551395405509578:2863] (SourceId=sid_rand_69, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:23.310175Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551395405509578:2863] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:23.312149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551395405509578:2863] (SourceId=sid_rand_69, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:23.312239Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509597:2863] connected; active server actors: 1
2025-11-06T10:05:23.312255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551395405509578:2863] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_69
2025-11-06T10:05:23.312260Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551395405509578:2863] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:23.312304Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509597:2863] disconnected.
2025-11-06T10:05:23.312309Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509597:2863] disconnected; active server actors: 1
2025-11-06T10:05:23.312311Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509597:2863] disconnected no session
2025-11-06T10:05:23.314780Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551395405509578:2863] (SourceId=sid_rand_69, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:23.314790Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551395405509578:2863] (SourceId=sid_rand_69, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-06T10:05:23.314793Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551395405509578:2863] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:23.314799Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 80 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-06T10:05:23.315020Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:23.315132Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_69|f6170160-c29b704-a93b98e3-e46c84cb_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_69
2025-11-06T10:05:23.315437Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 80 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_69|f6170160-c29b704-a93b98e3-e46c84cb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_69|f6170160-c29b704-a93b98e3-e46c84cb_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:23.316017Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId: sid_rand_69|f6170160-c29b704-a93b98e3-e46c84cb_0 grpc read done: success: 0 data: 
2025-11-06T10:05:23.316025Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 80 sessionId: sid_rand_69|f6170160-c29b704-a93b98e3-e46c84cb_0 grpc read failed
2025-11-06T10:05:23.316031Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 80 sessionId: sid_rand_69|f6170160-c29b704-a93b98e3-e46c84cb_0 grpc closed
2025-11-06T10:05:23.316036Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 80 sessionId: sid_rand_69|f6170160-c29b704-a93b98e3-e46c84cb_0 is DEAD
2025-11-06T10:05:23.316109Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:23.316120Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 81
2025-11-06T10:05:23.316212Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:23.316242Z 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-06T10:05:23.316261Z 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]:57470
2025-11-06T10:05:23.316267Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=81 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:23.316270Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:23.316606Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 81 sessionId:  describe result for acl check
2025-11-06T10:05:23.316637Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:23.316644Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
Init result: { 2025-11-06T10:05:23.316646Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:23.316650Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551395405509615:2867] (SourceId=sid_rand_70, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:23.317065Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551395405509615:2867] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:23.318309Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551395405509615:2867] (SourceId=sid_rand_70, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:23.318349Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509632:2867] connected; active server actors: 1
2025-11-06T10:05:23.318358Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551395405509615:2867] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_70
2025-11-06T10:05:23.318360Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551395405509615:2867] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:23.318387Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509632:2867] disconnected.
2025-11-06T10:05:23.318390Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509632:2867] disconnected; active server actors: 1
status: SUCCESS init_response { session_id: "sid_rand_70|2efe58e4-200ffb11-57f928ac-4cecffc5_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }2025-11-06T10:05:23.318391Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509632:2867] disconnected no session
2025-11-06T10:05:23.320822Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551395405509615:2867] (SourceId=sid_rand_70, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:23.320826Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551395405509615:2867] (SourceId=sid_rand_70, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-06T10:05:23.320828Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551395405509615:2867] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:23.320833Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 81 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-06T10:05:23.320941Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:23.320974Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_70|2efe58e4-200ffb11-57f928ac-4cecffc5_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_70
2025-11-06T10:05:23.321077Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 81 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_70|2efe58e4-200ffb11-57f928ac-4cecffc5_0
2025-11-06T10:05:23.410194Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId: sid_rand_70|2efe58e4-200ffb11-57f928ac-4cecffc5_0 grpc read done: success: 0 data: 
2025-11-06T10:05:23.410205Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 81 sessionId: sid_rand_70|2efe58e4-200ffb11-57f928ac-4cecffc5_0 grpc read failed
2025-11-06T10:05:23.410213Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 81 sessionId: sid_rand_70|2efe58e4-200ffb11-57f928ac-4cecffc5_0 grpc closed
2025-11-06T10:05:23.410220Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 81 sessionId: sid_rand_70|2efe58e4-200ffb11-57f928ac-4cecffc5_0 is DEAD
2025-11-06T10:05:23.410394Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:23.410417Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 82
2025-11-06T10:05:23.410507Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:23.410556Z 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-06T10:05:23.410585Z 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]:57470
2025-11-06T10:05:23.410590Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=82 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:23.410594Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:23.411056Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 82 sessionId:  describe result for acl check
2025-11-06T10:05:23.411109Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:23.411117Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:23.411120Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:23.411128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551395405509653:2871] (SourceId=sid_rand_71, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:23.411802Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551395405509653:2871] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:23.413606Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551395405509653:2871] (SourceId=sid_rand_71, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:23.413667Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509669:2871] connected; active server actors: 1
2025-11-06T10:05:23.413692Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551395405509653:2871] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_71
2025-11-06T10:05:23.413703Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551395405509653:2871] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:23.413769Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509669:2871] disconnected.
2025-11-06T10:05:23.413780Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509669:2871] disconnected; active server actors: 1
2025-11-06T10:05:23.413782Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509669:2871] disconnected no session
2025-11-06T10:05:23.416177Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551395405509653:2871] (SourceId=sid_rand_71, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:23.416191Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551395405509653:2871] (SourceId=sid_rand_71, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-11-06T10:05:23.416194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551395405509653:2871] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:23.416203Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 82 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-11-06T10:05:23.416364Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:23.416415Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_71|c2ae650e-c4ecb0ae-ab5ea834-b558430d_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_71
2025-11-06T10:05:23.416535Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 82 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_71|c2ae650e-c4ecb0ae-ab5ea834-b558430d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_71|c2ae650e-c4ecb0ae-ab5ea834-b558430d_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:23.417128Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId: sid_rand_71|c2ae650e-c4ecb0ae-ab5ea834-b558430d_0 grpc read done: success: 0 data: 
2025-11-06T10:05:23.417136Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 82 sessionId: sid_rand_71|c2ae650e-c4ecb0ae-ab5ea834-b558430d_0 grpc read failed
2025-11-06T10:05:23.417141Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 82 sessionId: sid_rand_71|c2ae650e-c4ecb0ae-ab5ea834-b558430d_0 grpc closed
2025-11-06T10:05:23.417145Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 82 sessionId: sid_rand_71|c2ae650e-c4ecb0ae-ab5ea834-b558430d_0 is DEAD
2025-11-06T10:05:23.417274Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:23.417284Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 83
2025-11-06T10:05:23.417341Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:23.417372Z 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-06T10:05:23.417393Z 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]:57470
2025-11-06T10:05:23.417399Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=83 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:23.417402Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:23.417730Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 83 sessionId:  describe result for acl check
2025-11-06T10:05:23.417759Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:23.417763Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:23.422438Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_72|e52f2fe8-6baec612-fadb6b8f-13b55489_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_72
Init result: { 2025-11-06T10:05:23.417766Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:23.417769Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551395405509689:2875] (SourceId=sid_rand_72, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:23.418260Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551395405509689:2875] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:23.419857Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551395405509689:2875] (SourceId=sid_rand_72, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:23.419904Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509705:2875] connected; active server actors: 1
2025-11-06T10:05:23.419920Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551395405509689:2875] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_72
status: SUCCESS init_response { session_id: "sid_rand_72|e52f2fe8-6baec612-fadb6b8f-13b55489_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:23.419924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551395405509689:2875] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:23.419967Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509705:2875] disconnected.
2025-11-06T10:05:23.419970Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509705:2875] disconnected; active server actors: 1
2025-11-06T10:05:23.419973Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509705:2875] disconnected no session
2025-11-06T10:05:23.422214Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551395405509689:2875] (SourceId=sid_rand_72, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:23.422219Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551395405509689:2875] (SourceId=sid_rand_72, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-11-06T10:05:23.422221Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551395405509689:2875] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:23.422229Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 83 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-11-06T10:05:23.422375Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:23.422629Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 83 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_72|e52f2fe8-6baec612-fadb6b8f-13b55489_0
2025-11-06T10:05:23.511517Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId: sid_rand_72|e52f2fe8-6baec612-fadb6b8f-13b55489_0 grpc read done: success: 0 data: 
2025-11-06T10:05:23.511531Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 83 sessionId: sid_rand_72|e52f2fe8-6baec612-fadb6b8f-13b55489_0 grpc read failed
2025-11-06T10:05:23.511540Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 83 sessionId: sid_rand_72|e52f2fe8-6baec612-fadb6b8f-13b55489_0 grpc closed
2025-11-06T10:05:23.511548Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 83 sessionId: sid_rand_72|e52f2fe8-6baec612-fadb6b8f-13b55489_0 is DEAD
2025-11-06T10:05:23.511632Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:23.511644Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 84
2025-11-06T10:05:23.511766Z 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-06T10:05:23.511802Z 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]:57470
2025-11-06T10:05:23.511810Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=84 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:23.511813Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:23.511906Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:23.512268Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 84 sessionId:  describe result for acl check
2025-11-06T10:05:23.512333Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:23.512340Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $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-06T10:05:23.512342Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:23.512349Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551395405509724:2879] (SourceId=sid_rand_73, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:23.513007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551395405509724:2879] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:23.515008Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551395405509724:2879] (SourceId=sid_rand_73, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:23.515082Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509743:2879] connected; active server actors: 1
2025-11-06T10:05:23.515102Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551395405509724:2879] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_73
2025-11-06T10:05:23.515110Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551395405509724:2879] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Update the table
2025-11-06T10:05:23.515146Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509743:2879] disconnected.
2025-11-06T10:05:23.515155Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509743:2879] disconnected; active server actors: 1
2025-11-06T10:05:23.515158Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509743:2879] disconnected no session
2025-11-06T10:05:23.517951Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551395405509724:2879] (SourceId=sid_rand_73, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:23.517964Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551395405509724:2879] (SourceId=sid_rand_73, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-11-06T10:05:23.517968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551395405509724:2879] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:23.517975Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 84 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-11-06T10:05:23.518185Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 18, Generation: 1
2025-11-06T10:05:23.518268Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_73|49ae0397-db6763ba-487f5355-68cc66e2_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_73
2025-11-06T10:05:23.518556Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 84 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_73|49ae0397-db6763ba-487f5355-68cc66e2_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_73|49ae0397-db6763ba-487f5355-68cc66e2_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:23.519064Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId: sid_rand_73|49ae0397-db6763ba-487f5355-68cc66e2_0 grpc read done: success: 0 data: 
2025-11-06T10:05:23.519073Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 84 sessionId: sid_rand_73|49ae0397-db6763ba-487f5355-68cc66e2_0 grpc read failed
2025-11-06T10:05:23.519077Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 84 sessionId: sid_rand_73|49ae0397-db6763ba-487f5355-68cc66e2_0 grpc closed
2025-11-06T10:05:23.519081Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 84 sessionId: sid_rand_73|49ae0397-db6763ba-487f5355-68cc66e2_0 is DEAD
2025-11-06T10:05:23.519236Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-11-06T10:05:23.519244Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 85
2025-11-06T10:05:23.519315Z 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-06T10:05:23.519320Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-11-06T10:05:23.519334Z 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]:57470
2025-11-06T10:05:23.519340Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=85 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:57470 proto=v1  topic=topic1 durationSec=0
2025-11-06T10:05:23.519342Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-11-06T10:05:23.519651Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 85 sessionId:  describe result for acl check
2025-11-06T10:05:23.519682Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS 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-06T10:05:23.519686Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
Init result: { 2025-11-06T10:05:23.519688Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; 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-06T10:05:23.519691Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7569551395405509761:2883] (SourceId=sid_rand_74, PreferedPartition=(NULL)) StartKqpSession
2025-11-06T10:05:23.520069Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7569551395405509761:2883] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Select from the table
2025-11-06T10:05:23.521507Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7569551395405509761:2883] (SourceId=sid_rand_74, PreferedPartition=(NULL)) RequestPQRB
2025-11-06T10:05:23.521546Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1655: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509777:2883] connected; active server actors: 1
2025-11-06T10:05:23.521554Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7569551395405509761:2883] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_74
2025-11-06T10:05:23.521557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7569551395405509761:2883] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Update the table
status: SUCCESS init_response { session_id: "sid_rand_74|bc5f07e6-84b329e9-529afe1d-9876f3e7_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-11-06T10:05:23.521611Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1659: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509777:2883] disconnected.
2025-11-06T10:05:23.521613Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1670: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509777:2883] disconnected; active server actors: 1
2025-11-06T10:05:23.521617Z node 17 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1695: [72075186224037894][rt3.dc1--topic1] pipe [17:7569551395405509777:2883] disconnected no session
2025-11-06T10:05:23.524056Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7569551395405509761:2883] (SourceId=sid_rand_74, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-06T10:05:23.524060Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7569551395405509761:2883] (SourceId=sid_rand_74, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-06T10:05:23.524063Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7569551395405509761:2883] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Start idle
2025-11-06T10:05:23.524067Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 85 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-06T10:05:23.524161Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 17, Generation: 1
2025-11-06T10:05:23.524191Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_74|bc5f07e6-84b329e9-529afe1d-9876f3e7_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_74
2025-11-06T10:05:23.524293Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 85 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_74|bc5f07e6-84b329e9-529afe1d-9876f3e7_0
Round robin check: 0:6
Round robin check: 1:5
Round robin check: 2:5
Round robin check: 3:5
Round robin check: 4:5
Round robin check: 5:4
Round robin check: 6:4
Round robin check: 7:4
Round robin check: 8:5
Round robin check: 9:5
Round robin check: 10:5
Round robin check: 11:5
Round robin check: 12:5
Round robin check: 13:6
Round robin check: 14:6
2025-11-06T10:05:23.612701Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId: sid_rand_74|bc5f07e6-84b329e9-529afe1d-9876f3e7_0 grpc read done: success: 0 data: 
2025-11-06T10:05:23.612712Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 85 sessionId: sid_rand_74|bc5f07e6-84b329e9-529afe1d-9876f3e7_0 grpc read failed
2025-11-06T10:05:23.612720Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 85 sessionId: sid_rand_74|bc5f07e6-84b329e9-529afe1d-9876f3e7_0 grpc closed
2025-11-06T10:05:23.612731Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 85 sessionId: sid_rand_74|bc5f07e6-84b329e9-529afe1d-9876f3e7_0 is DEAD
2025-11-06T10:05:23.612985Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
